From: Programmierer D. B. <tk...@im...> - 2006-08-31 15:30:14
|
Hello Fellow MailManager Users, Currently, I'm working on installing MailManager following the upgrade doc. I extracted the 2.1-rc7 files into the Products (/opt/Zope-2.9/lib/python/Products/) directory following the UPDATING.txt documentation, along with the 3rd party Products (from its archive Products/) directory. Now, I get log error messages (see below) stating that Zope can't install MailManager. The original installation I performed with rc5 was involved since I downloaded every Product from the author's web sites without using the 3rdparty package. So, the instructions were followed from the authors pages. I had to compile both postgre and python to work on Suse 9.1. I installed the products in the instance directory /opt/Zope-2.9/instances/main/Products. When I put MailManger in there and added it, we couldn't get to it through the web browser following the instructions in the README document provided with the archive. I then moved the MailManager/ directory to the /opt/Zope-2.9/lib/python/Products/ directory and we were able to get to it via http://192.168.51.68:8080/mailmanager. With this update, I moved the /opt/Zope-2.9/instances/main/Products directory, created a new empty one, thus erasing the products I manually installed in there from Zope and put the 3rd party packages, along with the 2.1-rc7 version of MailManager into /opt/Zope-2.9/lib/python/Products/. That is the current state right now and that is where all products are stored. I'm thinking I may have the Products in the wrong place or something like that. Any suggesstion? Thanks for your help. Kind Regards, Tim Karl --output /opt/Zope-2.9/lib/python/Products sysops@mailmanager:/opt/Zope-2.9/lib/python/Products> ls BlackholeMailHost Five OFSP SiteAccess Transience ZopeScheduler BTreeFolder2 __init__.py PageTemplates SiteErrorLog ZCatalog ZopeTutorial CookieCrumbler __init__.pyc PlacelessTranslationService StandardCacheManagers ZCTextIndex ZPsycopgDA Epoz MailHost PluginIndexes stripogram ZGadflyDA ZPsycopgDA_debug ExternalMethod MailManager PythonScripts TemporaryFolder ZMySQLDA ZReST FileSystemSite MIMETools Sessions TimerService ZODBMountPoint ZSQLMethods --end output /opt/Zope-2.9/lib/python/Products ---/opt/Zope-2.9/instances/main/log/event.log output--- 2006-08-31T09:02:40 WARNING Init Class Products.ZopeScheduler.ZopeScheduler.ZopeScheduler has a security declaration for nonexistent method 'formatTasks' ------ 2006-08-31T09:02:40 WARNING Init Class Products.ZopeScheduler.ZopeScheduler.ZopeScheduler has a security declaration for nonexistent method 'formatTasks' ------ 2006-08-31T09:02:40 WARNING Init Class Products.MailManager.MailManager.MailManager has a security declaration for nonexistent method 'edit AccountForm' ------ 2006-08-31T09:02:40 WARNING Init Class Products.MailManager.MailManager.MailManager has a security declaration for nonexistent method 'http _addFilter' ------ 2006-08-31T09:02:40 WARNING Init Class Products.MailManager.MailManager.MailManager has a security declaration for nonexistent method 'edit AccountForm' ------ 2006-08-31T09:02:40 WARNING Init Class Products.MailManager.MailManager.MailManager has a security declaration for nonexistent method 'http _addFilter' ------ 2006-08-31T09:02:41 ERROR Zope Could not import Products.ZMySQLDA Traceback (most recent call last): File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 715, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/opt/Zope-2.9/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/opt/Zope-2.9/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/opt/Zope-2.9/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql ------ 2006-08-31T09:02:44 ERROR Zope Couldn't install MailManager Traceback (most recent call last): File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 780, in install_product productObject=App.Product.initializeProduct( File "/opt/Zope-2.9/lib/python/App/Product.py", line 545, in initializeProduct products._setObject(name, product) File "/opt/Zope-2.9/lib/python/OFS/ObjectManager.py", line 331, in _setObject notify(ObjectAddedEvent(ob, self, id)) File "/opt/Zope-2.9/lib/python/zope/event/__init__.py", line 23, in notify subscriber(event) File "/opt/Zope-2.9/lib/python/zope/app/event/dispatching.py", line 66, in dispatch for ignored in subscribers(event, None): File "/opt/Zope-2.9/lib/python/zope/component/__init__.py", line 181, in subscribers return sitemanager.subscribers(objects, interface) File "/opt/Zope-2.9/lib/python/zope/component/site.py", line 89, in subscribers return self.adapters.subscribers(required, provided) File "/opt/Zope-2.9/lib/python/zope/interface/adapter.py", line 481, in subscribers subscribers = [subscription(*objects) File "/opt/Zope-2.9/lib/python/zope/app/event/objectevent.py", line 192, in objectEventNotify adapters = subscribers((event.object, event), None) File "/opt/Zope-2.9/lib/python/zope/component/__init__.py", line 181, in subscribers return sitemanager.subscribers(objects, interface) File "/opt/Zope-2.9/lib/python/zope/component/site.py", line 89, in subscribers return self.adapters.subscribers(required, provided) File "/opt/Zope-2.9/lib/python/zope/interface/adapter.py", line 481, in subscribers subscribers = [subscription(*objects) File "/opt/Zope-2.9/lib/python/OFS/subscribers.py", line 117, in dispatchObjectMovedEvent dispatchToSublocations(ob, event) File "/opt/Zope-2.9/lib/python/zope/app/container/contained.py", line 184, in dispatchToSublocations for ignored in zapi.subscribers((sub, event), None): File "/opt/Zope-2.9/lib/python/zope/component/__init__.py", line 181, in subscribers return sitemanager.subscribers(objects, interface) File "/opt/Zope-2.9/lib/python/zope/component/site.py", line 89, in subscribers return self.adapters.subscribers(required, provided) File "/opt/Zope-2.9/lib/python/zope/interface/adapter.py", line 481, in subscribers subscribers = [subscription(*objects) File "/opt/Zope-2.9/lib/python/OFS/subscribers.py", line 114, in dispatchObjectMovedEvent callManageAfterAdd(ob, event.object, event.newParent) File "/opt/Zope-2.9/lib/python/OFS/subscribers.py", line 137, in callManageAfterAdd ob.manage_afterAdd(item, container) File "/opt/Zope-2.9/lib/python/Products/MailManager/MailManager.py", line 452, in manage_afterAdd if self.setup_details['create_tables']: AttributeError: setup_details ------ 2006-08-31T09:02:44 ERROR Zope Couldn't install ZMySQLDA Traceback (most recent call last): File "/opt/Zope-2.9/lib/python/OFS/Application.py", line 762, in install_product global_dict, global_dict, silly) File "/opt/Zope-2.9/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/opt/Zope-2.9/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/opt/Zope-2.9/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: No module named _mysql ------ 2006-08-31T09:02:44 INFO Zope Ready to handle requests ---end event.log output--- ----- Original Message ----- From: Kevin Campbell <ke...@lo...> To: dca...@im... Cc: Logicalware Mailmanager-users <mai...@li...>, Programmierer Deutsches Buro <tk...@im...> Sent: Wednesday, August 30, 2006 6:33:17 PM GMT+0100 Subject: Re: [Mailmanager-users] Fwd: Can't get mail into mail manager 2.1.rc5 - SUSE 9.1 On Wed, Aug 30, 2006 at 12:28:31PM -0400, dca...@im... wrote: > Kevin - To answer your question. This was a fresh installation. However, it was installed by hand using the instructions in the various install readme files. Therefore, it is quite possible we missed any mention of setting up the ruleset engine. Are there any specific upgrade instructions/notes we should be looking at when we attempt to upgrade? > Dick, There is an UPDATE.txt in the 2.1-rc7 release, which should explain what needs to be done. The ruleset engine does not need explicitly set up, so it is possible that that rc5 had a bug in installation. Please try the upgrade and see if it corrects that issue. I'll double check the rc7 installation later to ensure the installation problem no longer exists. Regards, Kevin -- Kevin Campbell Logicalware Ltd GPG Key: F480EC23 |