----- Kevin Campbell <[EMAIL PROTECTED]> wrote:
| On Thu, Aug 31, 2006 at 11:29:57AM -0400, Programmierer Deutsches Buro
| wrote:
| > 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?
| 
| Tim,
| 
| The software has not been directly tested by ourselves on Zope-2.9,
| only on 
| Zope-2.8 and Zope 2.7.5. I would recommend you try those versions
| instead,
| although there may be others on the list who have successfully had 2.9
| 
| working.
| 
| As for the errors you are receiving, the following error is due to the
| MySQL
| libraries not being installed. Please remove ZMySQLDA from the
| products 
| directory. I've updated the docs to note this.
| 
| > 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
| 
| The following issue I assume may be due to Zope-2.9. When are you
| receiving
| this error, on startup? This command should not be called by Zope on
| startup
| with Zope 2.8 or Zope 2.7.5.
| 
| > ------
| > 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
| 
| Regards,
| Kevin
| 
| --
| Kevin Campbell 
| Logicalware Ltd
| GPG Key: F480EC23

Hello Kevin,

Thank you for your reply. I erased the ZMySQLDA directory and the error message 
disappeard. 

To answer your question:

| The following issue I assume may be due to Zope-2.9. When are you
| receiving
| this error, on startup?

I am receiving this error on startup. I shut down Zope from the command prompt, 
erased the event.log file, and restarted from the command prompt without going 
into the web interface. I received the same error when I cat'ed out the 
event.log file.

I will try installing a previous version of Zope as you suggested. 

Thanks again for your help :)

Sincerely,

Tim Karl


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mailmanager-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mailmanager-users

Reply via email to