Did you move this Zope from it's original location in  /usr/local/zope?
I'm guessing you did.. and those paths are in the .pyc files.


find /usr/local/EcoZope -name "*.pyc" -delete 

then (optionally) rerun w(o?)_pgci.py which will (among other things)
rebuild the .pyc files. If you don't, Zope will just be slower for a while
is it rebuilds the pyc files as it imports them (mostly at startup I 
would guess).


>>>>> "Eric" == Eric Walstad <[EMAIL PROTECTED]> writes:

    Eric> AAKK!  I just noticed something...  -----8<-- Start Snip
    Eric> --8<----- ZPoPyDA Import Traceback Traceback (innermost
    Eric> last): File "/usr/local/Zope/lib/python/OFS/Application.py",
    Eric> line 397, in import_products product=__import__(pname,
    Eric> global_dict, global_dict, silly) File
    Eric> "/usr/local/zope/lib/python/Products/ZPoPyDA/__init__.py",
    Eric> line 32, in ?  File
    Eric> "/usr/local/zope/lib/python/Products/ZPoPyDA/DA.py", line
    Eric> 35, in ?  File
    Eric> "/usr/local/zope/lib/python/Products/ZPoPyDA/PoPy_db.py",
    Eric> line 35, in ?  The PoPy module is not installed -----8<--
    Eric> End Snip --8<----- Notice the paths in the traceback.

    Eric> I have one copy of Zope (no PostgreSQl support) in:
    Eric> /usr/local/Zope

    Eric> And another copy that will need to connect to PostgreSQL is
    Eric> in: /usr/local/EcoZope

    Eric> and ZPoPyDA is in:
    Eric> /usr/local/EcoZope/lib/python/Products/ZPoPyDA/

    Eric> The traceback is displaying wrong paths.  I searched the
    Eric> ZPoPyDA python source for hard coded paths but didn't find
    Eric> any.  Is there an environment variable that sets this?

    Eric> Thanks for any help...  Eric.  ____________________________

    Eric> Eric Walstad [EMAIL PROTECTED] ____________________________

    Eric> _______________________________________________ Zope
    Eric> maillist - [EMAIL PROTECTED]
    Eric> http://lists.zope.org/mailman/listinfo/zope ** No cross
    Eric> posts or HTML encoding!  ** (Related lists -
    Eric> http://lists.zope.org/mailman/listinfo/zope-announce
    Eric> http://lists.zope.org/mailman/listinfo/zope-dev )

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to