On Thu, Jan 17, 2008 at 05:46:56PM +0100, Achim Domma wrote: > I try to run a script on my zope instance via "bin/zopectl run > myScript.py". I get the following error: > > Traceback (most recent call last): > File "/Users/domma/develop/zope/demo/bin/scriptzope", line 22, in ? > import paths > ImportError: No module named paths > > I cannot find a paths.py on my system. Any hint what I'm doing wrong?
I haven't seen any reply to this, so I'll bite, even though I've never used bin/zopectl run in my life. It appears that you've found a bug. There's no paths.py on my system either. The bin/debugzope script doesn't have these two lines, so I suggest you remove them: import paths paths.addPackagePaths() I've filed a bug: https://bugs.launchpad.net/zope3/+bug/185219 Marius Gedminas -- Get a life? Well, once I nearly found one, but the link was broken.
Description: Digital signature
_______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users