Re: [Zope-dev] Error by using libraries with an external method

2002-06-24 Thread Matt Behrens
Dario Lopez-Kästen wrote: From: Leonardo Rochael Almeida [EMAIL PROTECTED] Putting it in the Extesions directory, so that it can be imported by external methods, doesn't seem to work, even if you put Extensions in the PYTHONPATH, at least in my experience. hm... Putting it in the

Re: [Zope-dev] Error by using libraries with an external method

2002-06-24 Thread Leonardo Rochael Almeida
On Fri, 2002-06-21 at 17:25, Juliette Colmant wrote: [...] Error Type: ImportError Error Value: ./test.so: cannot open shared object file: No such file or directory --- Leonardo Rochael Almeida [EMAIL PROTECTED] You probably need to put your library in the PYTHONPATH of Zope.

[Zope-dev] RE: [Zope] ImportError with unlrelated and obsolete module

2002-06-24 Thread Dieter Maurer
Jay, Dylan writes: ... * add a try ... except round line 476 of Shared/DC/ZRDB/DA.py File a bug report to http://collector.zope.org with your patch I filed a bug report but wasn't confident in patching it since I wasn't sure sideeffects catching those errors

Re: [Zope-dev] Error by using libraries with an external method

2002-06-24 Thread Juliette Colmant
Leonardo Rochael Almeida [EMAIL PROTECTED] a écrit: On Fri, 2002-06-21 at 17:25, Juliette Colmant wrote: [...] Error Type: ImportError Error Value: ./test.so: cannot open shared object file: No such file or directory --- Leonardo Rochael Almeida <[EMAIL PROTECTED]> You probably need

[Zope-dev] Buglet in Zope, or Bug in Python, you decide...

2002-06-24 Thread R. David Murray
Zope 2.5.1, Python 2.2.1 (yes, I know it's not supported yet grin). I just spent a day tracking down a weird initialization problem in Zope2. If you have the following circumstances: 1) an instance of a calss from a Product already in the ZODB 2) your Product 'initialize' uses __import___ to