RE: [Zope] External method: import error
-----Original Message----- From: HCSCCS@prudential.com.my [mailto:HCSCCS@prudential.com.my] Sent: Tuesday, July 13, 1999 4:06 AM To: zope@zope.org Subject: [Zope] External method: import error
Hi Zopiens! I'll start with one question... is Zope stable to use thus far?
1.10.3 is extremely stable.
Anyway, back to my problem. I have Zap (pre-built Zope with Apache) running on Red Hat 5.2 machine. I also put all my customize Python scripts in the Extensions directory of Zope.
Recently I wrote a script file to access a Postgres database and this file is called by other scripts whenever database access is needed. Now I got a problem of "importing" the database script from other scripts. Why so? I have tried to include the Extensions directory in the PYTHONPATH, but it doesn't work.
The import may be failing, is it rasing an exception on import? That may appear like it's not finding it, when really the import is failing. -Michel
Thanks for any suggestion or solution given.
PauL ChunG
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Michel Pelletier