Stop,of course i forgot the -D option in the start-script ;-) -----Originalnachricht----- Von: Arenz, Ralph An: 'Chris Withers '; Arenz, Ralph Cc: '''Jamie Heilman' ' '; '''zope@zope.org' ' ' Gesendet: 26.09.2003 12:35 Betreff: AW: z2 startup exception, only with -D? 1)Traceback: ------------------ ------ 2003-09-26T12:33:03 INFO(0) zdaemon Started subprocess: pid 10697 ------ 2003-09-26T12:33:08 INFO(0) ReplaceSupport Applied patch version 0.4.2. ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZRTChat.ZRTChat.ZRTChat: "manage_workspace" != "manage_properties" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSAttribute.ZSSAttr: "manage_main" != "manage" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSAttribute.ZSSAttr: "manage_main" != "manage_propertiesForm" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSAttribute.ZSSAttr: "manage_main" != "manage_workspace" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSRule.ZSSRule: "manage_main" != "manage" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSRule.ZSSRule: "manage_main" != "manage_workspace" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZStyleSheet.ZStyleSheet: "manage_main" != "manage" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZStyleSheet.ZStyleSheet: "manage_main" != "manage_workspace" ------ 2003-09-26T12:33:19 INFO(0) ZODB Opening database for mounting: '155240984_1064326409.346646' ------ 2003-09-26T12:33:19 INFO(0) ZODB Mounted database '155240984_1064326409.346646' at /temp_folder ------ 2003-09-26T12:33:19 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x06\x0f\x8f' Traceback (innermost last): File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 554, in setstate File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 590, in _set_ghost_state ImportError: No module named Splitter ------ 2003-09-26T12:33:19 ERROR(200) Zope Couldn't install PythonScripts Traceback (innermost last): File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 629, in install_product (Object: Zope) (Info: PythonScripts) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PythonScri pts/__init__.py, line 41, in initialize File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 335, in registerHelp File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 257, in registerHelpTopic File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/ObjectManager.p y, line 272, in _setObject (Object: Help) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 79, in manage_afterAdd (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 92, in index_object (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/Z Catalog.py, line 500, in catalog_object (Object: catalog) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/C atalog.py, line 377, in catalogObject File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PluginInde xes/TextIndex/TextIndex.py, line 309, in index_object (Object: SearchableText) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 554, in setstate File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 590, in _set_ghost_state ImportError: No module named Splitter ------ 2003-09-26T12:33:19 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/opt/Zope/server/Zope-2.6.2-src/z2.py, line 585, in ? (Object: ZLogger) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in startup (Object: startup) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Zope/App/startup.py , line 92, in startup File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 409, in initialize (Object: Zope) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 567, in install_products (Object: Zope) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 629, in install_product (Object: Zope) (Info: PythonScripts) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PythonScri pts/__init__.py, line 41, in initialize File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 335, in registerHelp File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 257, in registerHelpTopic File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/ObjectManager.p y, line 272, in _setObject (Object: Help) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 79, in manage_afterAdd (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 92, in index_object (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/Z Catalog.py, line 500, in catalog_object (Object: catalog) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/C atalog.py, line 377, in catalogObject File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PluginInde xes/TextIndex/TextIndex.py, line 309, in index_object (Object: SearchableText) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 554, in setstate File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 590, in _set_ghost_state ImportError: No module named Splitter 2)start-script: ----------------- #! /bin/sh . profile reldir=`dirname $0` export INSTANCE_HOME=`cd $reldir; pwd` exec $PYTHON \ $PYTHONHOME1/z2.py \ -X -t 10 -u zope -w 4711 -f 4712 -W 4713 -d 0.08.15.77 "$@" profile: ----------- export PYTHONHOME1=/usr/local/opt/Zope/server/Zope-2.6.2-src export PYTHON=/usr/local/bin/python2.2.3 export PROFILE_PUBLISHR=$PYTHONHOME1/var/profile.log export LANG=german export ZOPE=/usr/local/opt/Zope export STUPID_LOG_FILE=/var/log/zope/stupid1.log export ORACLE_HOME=/opt/oracle/OraHome1 3)In the data.fs there aren't any ZCatalogs-Instances in except for ZCatalog is subclass from e.g Squishdot and other parent-classes 4)Note that the error doesn't occur by initialize the Instance_Home products but the PYTHONHOME1 products. Ralph -----Originalnachricht----- Von: Chris Withers An: Arenz, Ralph Cc: ''Jamie Heilman' '; ''zope@zope.org' ' Gesendet: 26.09.2003 10:50 Betreff: Re: z2 startup exception, only with -D? Arenz, Ralph wrote:
My intension was to upgrade Zope-2.4.2 to Zope-2.6.2.
That's quite a big leap, I'm not suprised there are problems...
I installed the Zope-2.6.2-src compiled it and started it without Instance_Home. Anything was fine until i tried to to use 2.6.2 with Instance_Home. I got the z2-startup-exception.
Can you give the complete traceback again?
(Module Splitter not found) -> although it is there!
What does your start script look like?
In mind that i was succesful in starting Zope in that Configuartion i unpacked an backup of an earlier root.fs played around in the start-script in Instance_Home. Beginning with no args in the startline,successively i added my arguments and looked for the startup behaviour. Reaching "-D" lets the startup end in an "z2 Startup exception".
Most odd... Does the Data.fs have any ZCatalogs in it? Chris
When I add a FileSystem Directory View in order to install PloneCalendar in my portal_skins Folder, I choose the Id: PloneCalendar no problem the Filesystem Directory View at portal_skins/PloneCal is well populated but I can notice now in the directory plone_3rdParty a new directory created at the same time 2003-09-26 13:01 it is called PloneCalendar-1.0.2 (despite the fact that I have renamed in my file system the directory PloneCalendar-1.0.2 to PloneCalendar) (There are currently no items in PloneCalendar-1.0.2) and ... all my skins but Custom seem to have been modified Last Modified Time 2003-09-26 13:01 Is it supposed to happen? Shall I add that I "loose" skins every timeI update Plone?
Ralph, I think I asked this before (at least I hope I did), but would you be willing to send me your Data.fs file so I can try to replicate this problem and fix it "for good"? On Fri, 2003-09-26 at 06:38, Arenz, Ralph wrote:
Stop,of course i forgot the -D option in the start-script ;-)
-----Originalnachricht----- Von: Arenz, Ralph An: 'Chris Withers '; Arenz, Ralph Cc: '''Jamie Heilman' ' '; '''zope@zope.org' ' ' Gesendet: 26.09.2003 12:35 Betreff: AW: z2 startup exception, only with -D?
1)Traceback: ------------------
------ 2003-09-26T12:33:03 INFO(0) zdaemon Started subprocess: pid 10697 ------ 2003-09-26T12:33:08 INFO(0) ReplaceSupport Applied patch version 0.4.2. ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZRTChat.ZRTChat.ZRTChat: "manage_workspace" != "manage_properties" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSAttribute.ZSSAttr: "manage_main" != "manage" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSAttribute.ZSSAttr: "manage_main" != "manage_propertiesForm" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSAttribute.ZSSAttr: "manage_main" != "manage_workspace" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSRule.ZSSRule: "manage_main" != "manage" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZSSRule.ZSSRule: "manage_main" != "manage_workspace" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZStyleSheet.ZStyleSheet: "manage_main" != "manage" ------ 2003-09-26T12:33:10 PROBLEM(100) Init Ambiguous name for method of Products.ZStyleSheet.ZStyleSheet.ZStyleSheet: "manage_main" != "manage_workspace" ------ 2003-09-26T12:33:19 INFO(0) ZODB Opening database for mounting: '155240984_1064326409.346646' ------ 2003-09-26T12:33:19 INFO(0) ZODB Mounted database '155240984_1064326409.346646' at /temp_folder ------ 2003-09-26T12:33:19 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x06\x0f\x8f' Traceback (innermost last): File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 554, in setstate File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 590, in _set_ghost_state ImportError: No module named Splitter ------ 2003-09-26T12:33:19 ERROR(200) Zope Couldn't install PythonScripts Traceback (innermost last): File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 629, in install_product (Object: Zope) (Info: PythonScripts) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PythonScri pts/__init__.py, line 41, in initialize File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 335, in registerHelp File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 257, in registerHelpTopic File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/ObjectManager.p y, line 272, in _setObject (Object: Help) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 79, in manage_afterAdd (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 92, in index_object (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/Z Catalog.py, line 500, in catalog_object (Object: catalog) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/C atalog.py, line 377, in catalogObject File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PluginInde xes/TextIndex/TextIndex.py, line 309, in index_object (Object: SearchableText) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 554, in setstate File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 590, in _set_ghost_state ImportError: No module named Splitter ------ 2003-09-26T12:33:19 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/opt/Zope/server/Zope-2.6.2-src/z2.py, line 585, in ? (Object: ZLogger) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in startup (Object: startup) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Zope/App/startup.py , line 92, in startup File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 409, in initialize (Object: Zope) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 567, in install_products (Object: Zope) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/Application.py, line 629, in install_product (Object: Zope) (Info: PythonScripts) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PythonScri pts/__init__.py, line 41, in initialize File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 335, in registerHelp File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/App/ProductContext. py, line 257, in registerHelpTopic File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/OFS/ObjectManager.p y, line 272, in _setObject (Object: Help) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 79, in manage_afterAdd (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/HelpSys/HelpTopic.p y, line 92, in index_object (Object: PythonScript_edit.stx) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/Z Catalog.py, line 500, in catalog_object (Object: catalog) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/ZCatalog/C atalog.py, line 377, in catalogObject File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/Products/PluginInde xes/TextIndex/TextIndex.py, line 309, in index_object (Object: SearchableText) File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 554, in setstate File /usr/local/opt/Zope/server/Zope-2.6.2-src/lib/python/ZODB/Connection.py, line 590, in _set_ghost_state ImportError: No module named Splitter
2)start-script: ----------------- #! /bin/sh . profile reldir=`dirname $0` export INSTANCE_HOME=`cd $reldir; pwd`
exec $PYTHON \ $PYTHONHOME1/z2.py \ -X -t 10 -u zope -w 4711 -f 4712 -W 4713 -d 0.08.15.77 "$@"
profile: ----------- export PYTHONHOME1=/usr/local/opt/Zope/server/Zope-2.6.2-src export PYTHON=/usr/local/bin/python2.2.3 export PROFILE_PUBLISHR=$PYTHONHOME1/var/profile.log export LANG=german export ZOPE=/usr/local/opt/Zope export STUPID_LOG_FILE=/var/log/zope/stupid1.log export ORACLE_HOME=/opt/oracle/OraHome1
3)In the data.fs there aren't any ZCatalogs-Instances in except for ZCatalog is subclass from e.g Squishdot and other parent-classes
4)Note that the error doesn't occur by initialize the Instance_Home products but the PYTHONHOME1 products.
Ralph
-----Originalnachricht----- Von: Chris Withers An: Arenz, Ralph Cc: ''Jamie Heilman' '; ''zope@zope.org' ' Gesendet: 26.09.2003 10:50 Betreff: Re: z2 startup exception, only with -D?
Arenz, Ralph wrote:
My intension was to upgrade Zope-2.4.2 to Zope-2.6.2.
That's quite a big leap, I'm not suprised there are problems...
I installed the Zope-2.6.2-src compiled it and started it without Instance_Home. Anything was fine until i tried to to use 2.6.2 with Instance_Home. I got the z2-startup-exception.
Can you give the complete traceback again?
(Module Splitter not found) -> although it is there!
What does your start script look like?
In mind that i was succesful in starting Zope in that Configuartion i unpacked an backup of an earlier root.fs played around in the start-script in Instance_Home. Beginning with no args in the startline,successively i added my arguments and looked for the startup behaviour. Reaching "-D" lets the startup end in an "z2 Startup exception".
Most odd...
Does the Data.fs have any ZCatalogs in it?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough <chrism@zope.com> Zope Corporation
Arenz, Ralph wrote at 2003-9-26 12:38 +0200:
Stop,of course i forgot the -D option in the start-script ;-)
I know this problem. For unknown reasons, someone decided that Zope should die in development mode when a product cannot be imported. I expect this is more useful in production mode -- but who knows. Your Zope has a problem with a product whether or not you start it with "-D". When I remember right, I already explained you this problem... However, when you start Zope with "-D", it dies. The code causing this is in "OFS.Appliction" in function "import_products". I changed it (in our Zope installation) to import_product(product_dir, product_name, # raise_exc=Globals.DevelopmentMode # DM: do not prevent start when a product import failed -- we may want to be stronger for production installations raise_exc=0 ) to get rid of this unexpected behaviour... Dieter
But in any case, things aren't going to work very well that depend on the feature, whether Zope starts or doesn't, so it's best to figure out what the problem really is and fix it at the root. On Fri, 2003-09-26 at 13:27, Dieter Maurer wrote:
Arenz, Ralph wrote at 2003-9-26 12:38 +0200:
Stop,of course i forgot the -D option in the start-script ;-)
I know this problem.
For unknown reasons, someone decided that Zope should die in development mode when a product cannot be imported. I expect this is more useful in production mode -- but who knows.
Your Zope has a problem with a product whether or not you start it with "-D". When I remember right, I already explained you this problem...
However, when you start Zope with "-D", it dies.
The code causing this is in "OFS.Appliction" in function "import_products". I changed it (in our Zope installation) to
import_product(product_dir, product_name, # raise_exc=Globals.DevelopmentMode # DM: do not prevent start when a product import failed -- we may want to be stronger for production installations raise_exc=0 )
to get rid of this unexpected behaviour...
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough <chrism@zope.com> Zope Corporation
Chris McDonough wrote at 2003-9-26 15:08 -0400:
But in any case, things aren't going to work very well that depend on the feature, whether Zope starts or doesn't, so it's best to figure out what the problem really is and fix it at the root.
What about working at both places? It is not useful to prevent Zope's start in development mode when some product cannot be imported...
On Fri, 2003-09-26 at 13:27, Dieter Maurer wrote: ...
For unknown reasons, someone decided that Zope should die in development mode when a product cannot be imported. I expect this is more useful in production mode -- but who knows.
Your Zope has a problem with a product whether or not you start it with "-D". When I remember right, I already explained you this problem...
However, when you start Zope with "-D", it dies.
The code causing this is in "OFS.Appliction" in function "import_products". I changed it (in our Zope installation) to
import_product(product_dir, product_name, # raise_exc=Globals.DevelopmentMode # DM: do not prevent start when a product import failed -- we may want to be stronger for production installations raise_exc=0 )
to get rid of this unexpected behaviour...
Dieter
participants (4)
-
Arenz, Ralph -
Chris McDonough -
Dieter Maurer -
Utilisateur1