[Moin-user] Updated 1.7.0 -> 1.7.2, now moin won't start

Greg Ward gerg.ward+moin at gmail.com
Wed Oct 29 11:38:59 EDT 2008

On 28 October 2008, Neal Becker said:
> Installed moin-1.7.2 using python setup.py install.  
> Ran moin --config-dir=./ migration data
> ./moin --config-dir=./ start
> 2008-10-28 20:17:51,665 WARNING MoinMoin.log:120 using logging configuration read from built-in fallback in MoinMoin.log module!
> Loading ...
> MoinMoin - 1.7.2 [release]
> Traceback (most recent call last):
>   File "./moin", line 19, in <module>
>     script = daemon.DaemonScript(Config.name, run, Config)
>   File "/usr/lib/python2.5/site-packages/MoinMoin/server/daemon.py", line 79, in __init__
>     self.pidFile = os.path.abspath(pidfile)
>   File "/usr/lib64/python2.5/posixpath.py", line 402, in abspath
>     if not isabs(path):
>   File "/usr/lib64/python2.5/posixpath.py", line 49, in isabs
>     return s.startswith('/')
> AttributeError: 'function' object has no attribute 'startswith'

Strange.  Can you:

  1) post the contents that the "./moin" script that you are running
  2) explain where that script came from?

I have searched the 1.7.x source and my local 1.7.2 installation, and I
don't see a script called "moin" that contains the code in the above
stack trace.  As near as I can tell, the "real" moin script is a trivial
two-liner that just passes control to MoinMoin.script.moin.


More information about the Moin-user mailing list