[MacPorts] #42792: py27-python-daemon @1.5.5: missing dependency

MacPorts noreply at macports.org
Mon Mar 10 07:44:39 PDT 2014


#42792: py27-python-daemon @1.5.5: missing dependency
-----------------------------+--------------------------------
 Reporter:  Peter.Danecek@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:
 Keywords:                   |       Port:  py-python-daemon
-----------------------------+--------------------------------
 The port does not declare some dependency. It might be `py-lockfile`, but
 I after installing, it I still get some error, see below.

 Note: The port is `nomaintainer`, so I leave CC empty.


 {{{
 In [1]: import daemon.runner
 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)
 <ipython-input-1-af5e622233f1> in <module>()
 ----> 1 import daemon.runner

 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/daemon/runner.py in <module>()
      23 import errno
      24
 ---> 25 import pidlockfile
      26
      27 from daemon import DaemonContext

 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/daemon/pidlockfile.py in <module>()
      17 import errno
      18
 ---> 19 from lockfile import (
      20     LinkFileLock,
      21     AlreadyLocked, LockFailed,

 ImportError: No module named lockfile
 }}}

 With lockfile installed:

 {{{
 In [1]: import daemon.runner
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)
 <ipython-input-1-af5e622233f1> in <module>()
 ----> 1 import daemon.runner

 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/daemon/runner.py in <module>()
      23 import errno
      24
 ---> 25 import pidlockfile
      26
      27 from daemon import DaemonContext

 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/daemon/pidlockfile.py in <module>()
      31
      32
 ---> 33 class PIDLockFile(LinkFileLock, object):
      34     """ Lockfile implemented as a Unix PID file.
      35

 TypeError: Error when calling the metaclass bases
     function() argument 1 must be code, not str
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42792>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list