> Hello hello --
>
> I was building up a zetadb app, adding table managers, when I ran into
> what seems to be a fatal error. It doesn't kill Zope, but it's bad
> enough I may have to delete the zetadb app in its entirety.
>
> Basically, I added a table manager that other table managers will
> reference, going through Add -> ZetaDB Table Manager, and typing in the
> ID ("URL" in this case) and choosing the database connection. When I
> hit the Add button, I get the following error:
>
> Error
>
>
> __getslice__
>
> Hitting the OK button spat me back at the Add dialog, so I thought
> maybe something had hiccupped. Hitting OK again told me that "Object
> URL already exists", so I tried a different ID. This also spat out the
> "__getslice__" error. And now I can't even get into my app to delete
> the offending table managers, as clicking on the ZetaDB app in my ZMI
> only produces the same "__getslice__" error.
>
> Help help! I've spent several hours building table managers, I don't
> want to have to rip everything out. What's gone wrong, and how do I
> fix it? I tried resetting Zope, I tried resetting the MySQL server,
> but to no avail. Any solid advice on fixing this would be most
> appreciated.
>
This seems to be a general Zope problem. URL is a reserved word becouse in
every request object a URL property is added. I suppose this causes conflics
with ZODB and ZPublisher.
First of all, make a export of your application and a copy of your Data.fs
filestorage (in /var under zope installation).
The only way I think you can solve this problem is delete this object from
ZODB. As you say that accessing from Zope causes problems, you could try to
stop Zope and open ZODB (Data.fs) from python, accessing the URL object and
delete it. I'm not an expert on this issues. Refer to ZODB documentation for
instructions.
Good Luck
Santi Camps
http://zetadb.sourceforge.net
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
|