Re: [Zope] PoPy Installation. Where's the BEEF?

2001-01-11 Thread Steve Spicklemire


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.

try:

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).

-steve

 "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]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Magnus Heino (Rivermen)


 The PoPy module is not installed
 
 So, it looks like I need to install PoPy.  I went to 

Can anyone give me a pointer?

http://freshmeat.net/search/?q=popy

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




RE: [Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Eric Walstad

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

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

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

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

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

Thanks for any help...
Eric.


Eric Walstad
[EMAIL PROTECTED]



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