I had Zope set up on a FreeBSD box, but being too slow i moved it to a faster Windows box (faster hardware with more ram, not faster OS...)... I took the Data.fs over there, and everything seems fine... Except I can't access the root folder of the management interface. The problem seems to be an External method i was monkeying around trying to get working on the other box. I was getting an import error. I moved the script to the windows box (zhtml.py). But now I get "Failed to import class TABLE from module ZODB.zhtml" ... the class is there though? Any hints how i can get rid of this messed up object and stop my root management folder from crashing? (I don't care about recovering the external method -- it never worked... it was an experiment of long ago which i'd practically forgotten about)... It would be ever so convenient to be able to access that root folder again! I was thinking i could list/remove objects from the ZODB programmatically? I just don't have the Zope knowledge, alas... -- Tim Middleton | Cain Gang Ltd | I'd ha' been a better man all my life if x@veX.net | www.Vex.Net | I'd known there were things like this. (CSL)
Hmm, so i fiddled with a few seemingly insignificant things. Packed the database. Flushed the cache, and so on. And suddenly (unexpectly) the root folder was showing up again... Damn. I mean, hurray! I only wish I knew why. And i'm disappointed in another way because i was looking forward to some interesting answers regarding manipulating the ZODB at low levels. Oh well. Thanks for listening. -- Tim Middleton | Cain Gang Ltd | A man is rich in proportion to the number of x@veX.net | www.Vex.Net | things which he can afford to let alone. HDT
Tim wrote:
I had Zope set up on a FreeBSD box, but being too slow i moved it to a faster Windows box (faster hardware with more ram, not faster OS...)... I took the Data.fs over there, and everything seems fine...
Except I can't access the root folder of the management interface. The problem seems to be an External method i was monkeying around trying to get working on the other box. I was getting an import error. I moved the script to the windows box (zhtml.py). But now I get "Failed to import class TABLE from module ZODB.zhtml" ... the class is there though?
Any hints how i can get rid of this messed up object and stop my root management folder from crashing? (I don't care about recovering the external method -- it never worked... it was an experiment of long ago which i'd practically forgotten about)...
It would be ever so convenient to be able to access that root folder again! I was thinking i could list/remove objects from the ZODB programmatically? I just don't have the Zope knowledge, alas...
You can get into the management interface of a subfolder, yes? If so, you can add a script(python) with container.aq_parent.manage_delObjects('NameOfYourExternalMethod') in it. Short explanation: - container is the where the script resides - container.aq_parent is the acquisition parent of the container, in this case the root folder if you're working in a subfolder. This should delete the external method. HTH, oliver
participants (3)
-
Oliver Bleutgen -
Tim -
Tim