[Zope] problem with manage_importObject

2007-03-12 Thread Fabio Marcone
Hi to all! I have a problem using manage_importObject?file=... with zope2.9. In particular: object is successfully imported but if I shutdown and then reboot the server, I don't see anymore imported object. If I import the same object using web form Import/Export I have not this strange behavior.

Re: [Zope] problem with manage_importObject

2007-03-12 Thread Andreas Jung
--On 12. März 2007 11:00:33 +0100 Fabio Marcone [EMAIL PROTECTED] wrote: Hi to all! I have a problem using manage_importObject?file=... with zope2.9. In particular: object is successfully imported but if I shutdown and then reboot the server, I don't see anymore imported object. I don't

Re: [Zope] problem with manage_importObject

2007-03-12 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a problem using manage_importObject?file=... with zope2.9. In particular: object is successfully imported but if I shutdown and then reboot the server, I don't see anymore imported object. If I import the same object using web form

Re: [Zope] problem with manage_importObject

2007-03-12 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 perhaps this is the problem... in fact /var/lib/zope2.9/instance/myinstance/var is empty after importObject operation using python script. but the commit has been introduced in zope 2.9? The need to commit a transaction has been part of the ZODB

Re: [Zope] problem with manage_importObject

2007-03-12 Thread Eric Bréhault
Hello, What about just doing the import yourself: container._importObjectFromFile(f) (rather than using the ZMI's manage_importObject method through a zope client connection) ? Eric BREHAULT On 3/12/07, Fabio Marcone [EMAIL PROTECTED] wrote: Jens Vagelpohl wrote: I have a problem using

Re: [Zope] problem with manage_importObject

2007-03-12 Thread Fabio Marcone
Eric Bréhault wrote: Hello, What about just doing the import yourself: container._importObjectFromFile(f) (rather than using the ZMI's manage_importObject method through a zope client connection) ? Eric BREHAULT On 3/12/07, Fabio Marcone [EMAIL PROTECTED] wrote: Jens Vagelpohl