[Zope] invalid database error, _fs_path

Arun H. Patil arun26feb at gmail.com
Mon May 30 09:09:59 CEST 2016


Hi All,

I have upgraded an old server to new server, I have installed the same
version of zope (Zope-2.10.9). I am having difficulties importing .zexp
files which has MySQL connectivity. I am getting the following error (the
password of mysql is retained the same for connecting the database):


​2016-05-30T00:00:17 ERROR ZRDB.Connection Error connecting to relational
database.
Traceback (most recent call last):
  File
"/PATH/Zope-2.10.9-final/zope/lib/python/Shared/DC/ZRDB/Connection.py",
line 72, in __setstate__
    try: self.connect(self.connection_string)
  File "/PATH/Zope-2.10.9-final/zope/lib/python/Products/ZGadflyDA/DA.py",
line 86, in connect
    self._v_database_connection=c[s]=DB(s)
  File "/PATH/Zope-2.10.9-final/zope/lib/python/Products/ZGadflyDA/db.py",
line 97, in __init__
    self.open()
  File "/PATH/Zope-2.10.9-final/zope/lib/python/Products/ZGadflyDA/db.py",
line 82, in open
    raise self.database_error, 'invalid database error, ' + connection
BadRequest: <strong>Invalid connection string:
</strong><CODE>demo</CODE><br>
<!--
gadfly_error
invalid database error, demo
-->


2016-05-30T00:01:19 ERROR Zope.SiteErrorLog 1464591679.20.682669223649
http://IP_address:8080/new_folder/manage_importObject
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module OFS.ObjectManager, line 610, in manage_importObject
  Module OFS.ObjectManager, line 632, in _importObjectFromFile
  Module OFS.ObjectManager, line 327, in _setObject
  Module zope.event, line 23, in notify
  Module zope.component.event, line 26, in dispatch
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module zope.component.event, line 33, in objectEventNotify
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module OFS.subscribers, line 107, in dispatchObjectWillBeMovedEvent
  Module zope.app.container.contained, line 182, in dispatchToSublocations
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module OFS.subscribers, line 107, in dispatchObjectWillBeMovedEvent
  Module zope.app.container.contained, line 181, in dispatchToSublocations
  Module OFS.subscribers, line 87, in sublocations
  Module OFS.ObjectManager, line 420, in objectValues
  Module Products.LocalFS.FSObject, line 778, in objectIds
  Module Products.LocalFS.FSObject, line 917, in _fs_load
AttributeError: _fs_path​

​Please ​let me know where I am going wrong and how do I overcome this
error.

Thank You,
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope/attachments/20160530/c07b96c1/attachment.html>


More information about the Zope mailing list