[Zope] WorldPilot on NT4- Storage.LocalStorage problems
Andrew Diller
dillera@isc.upenn.edu
Fri, 7 Apr 2000 17:44:03 -0400
hello- I'm trying to get WP 1.0.4 working on NT4.
I've fixed a minor problem where it couldn't load Storage.LocalStorage, (I
changed it just to LocalStorage) but now this has opened a bigger can of worms.
In LocalStorage.py (a WorldPilot module) it seems to be setting the ROOT PATH wrong.
It looks like its trying to load all the graphics for the site, which are located in
Products/WorldPilot/Storage. its calling lib\python\App\Imagefile.py and that seems
to think the root path is:
C:\\WINNTSVR\\system32
where it should be:
C:\\Program Files\\zope\\lib\\python\\Products\\WorldPilot
I can't see where this ROOT PATH is being set in LocalStorage or Imagefile.
And WorldPiloteers out there lend a hand?
thanks,
andy diller
Traceback:
-------------
WorldPilot Import Traceback
Traceback (innermost last):
File "C:\PROGRA~1\zope\lib\python\OFS\Application.py", line 387, in
import_products
product=__import__(pname, global_dict, global_dict, silly)
File "C:\PROGRA~1\zope\lib\python\Products\WorldPilot\__init__.py", line 94, in ?
import WorldPilot
File "C:\PROGRA~1\zope\lib\python\Products\WorldPilot\WorldPilot.py", line 1213,
in ?
import LocalStorage
File "c:\Program
Files\zope\lib\python\Products\WorldPilot\Storage\LocalStorage.py", line 608, in ?
class WorldPilotMonolithicFolderObject(
File "c:\Program
Files\zope\lib\python\Products\WorldPilot\Storage\LocalStorage.py", line 613, in
WorldPilotMonolithicFolderObject
wpnavdown=ImageFile('wpnavdown.gif',globals())
File "C:\PROGRA~1\zope\lib\python\App\ImageFile.py", line 110, in __init__
file=open(path, 'rb')
IOError: [Errno 2] No such file or directory:
'C:\\WINNTSVR\\system32\\LocalStorage/wpnavdown.gif'