[ZODB-Dev] [ zodb-Bugs-670303 ] Need to rename zdaemon.py

SourceForge.net noreply@sourceforge.net
Sat, 18 Jan 2003 08:14:35 -0800


Bugs item #670303, was opened at 2003-01-18 11:14
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=670303&group_id=15628

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Need to rename zdaemon.py

Initial Comment:
Alas, it's not a good idea to have a script called
zdaemon.py when there's also a package named zdaemon.
When you try to run the *installed* runzeo.py, it fails
with a mysterious error:

ImportError: No module named zdoptions

This is because runzeo.py and zdaemon.py are both
installed in /usr/local/bin, and when
/usr/local/bin/runzeo.py is run, /usr/local/bin is on
sys.path. So the "import zdaemon.zdoptions" finds the
zdaemon.py module, which doesn't have a zdoptions
submodule.

The only solution I see is to rename zdaemon.py to
something else.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=670303&group_id=15628