[Zope] Repost: Weird Gadfly Behavior

Brendon Grunewald brendon@70south.com
Tue, 1 Aug 2000 23:35:01 +0200


Sorry for the HTML post previously, here it is in ASCII.

Dear Zopista's,

I have a serious problem that is Gadfly database related.

For some reason Zope thinks that the ZSQL methods are folders and hence
processes the information incorrectly and will also not let me delete or
access those methods.
I know that the data is still there. If I create a new ZSQL method I can
search and display the data. (There is hence a work around by redoing
everything.) But how do I fix the problem? Being able to delete the methods
after I have implemented the methods again and hence the workaround would be
a possible solution. Ideally there is a way to get Zope to view the methods
correctly.

If I try to access one of these methods, I get an HTTP 404 Page not found
error.
Here is the type of error I get if I try to delete one of these objects...
Traceback (innermost last):
  File
/usr/local/ZopePark/beta.70south.com/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File
/usr/local/ZopePark/beta.70south.com/lib/python/ZPublisher/Publish.py, line
179, in publish
  File /usr/local/ZopePark/beta.70south.com/lib/python/Zope/__init__.py,
line 202, in zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File
/usr/local/ZopePark/beta.70south.com/lib/python/ZPublisher/Publish.py, line
165, in publish
  File /usr/local/ZopePark/beta.70south.com/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: manage_delObjects)
  File
/usr/local/ZopePark/beta.70south.com/lib/python/ZPublisher/Publish.py, line
102, in call_object
    (Object: manage_delObjects)
  File /usr/local/ZopePark/beta.70south.com/lib/python/OFS/ObjectManager.py,
line 395, in manage_delObjects
    (Object: ApplicationDefaultPermissions)
  File /usr/local/ZopePark/beta.70south.com/lib/python/OFS/ObjectManager.py,
line 267, in _delObject
    (Object: ApplicationDefaultPermissions)
  File /usr/local/ZopePark/beta.70south.com/lib/python/OFS/ObjectManager.py,
line 262, in manage_beforeDelete
    (Object: ElementWithAttributes)
  File /usr/local/ZopePark/beta.70south.com/lib/python/ZODB/Connection.py,
line 396, in setstate
TypeError: ('len() of unsized object', <class Shared.DC.ZRDB.DA.SQL at
83d35f8>, None)

Regards,
Brendon

------------------
70South: the No.1 source for Antarcticles.
For the latest news and views on Antarctica visit : http://www.70south.com