(mycodenode_env)timothy@timothy-laptop:~/mycodenode$ codenode-admin run
2010-08-17 12:12:36-0700 [-] Log opened.
2010-08-17 12:12:36-0700 [-] twistd 10.1.0
(/home/timothy/mycodenode_env/bin/python 2.6.5) starting up.
2010-08-17 12:12:36-0700 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2010-08-17 12:12:36-0700 [-] twisted.web.server.Site starting on 8000
2010-08-17 12:12:36-0700 [-] Starting factory <twisted.web.server.Site
instance at 0xa37b4cc>
2010-08-17 12:12:36-0700 [-] Traceback (most recent call last):
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/bin/twistd", line 19, in <module>
2010-08-17 12:12:36-0700 [-] run()
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/scripts/twistd.py",
line 27, in run
2010-08-17 12:12:36-0700 [-] app.run(runApp, ServerOptions)
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/application/app.py",
line 626, in run
2010-08-17 12:12:36-0700 [-] runApp(config)
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
2010-08-17 12:12:36-0700 [-] _SomeApplicationRunner(config).run()
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/application/app.py",
line 378, in run
2010-08-17 12:12:36-0700 [-] self.postApplication()
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py",
line 205, in postApplication
2010-08-17 12:12:36-0700 [-] self.startApplication(self.application)
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py",
line 317, in startApplication
2010-08-17 12:12:36-0700 [-] app.startApplication(application, not
self.config['no_save'])
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/application/app.py",
line 648, in startApplication
2010-08-17 12:12:36-0700 [-] service.IService(application).startService()
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/application/service.py",
line 278, in startService
2010-08-17 12:12:36-0700 [-] service.startService()
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/application/service.py",
line 278, in startService
2010-08-17 12:12:36-0700 [-] service.startService()
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/twisted/runner/procmon.py",
line 198, in startService
2010-08-17 12:12:36-0700 [-] self.startProcess(name)
2010-08-17 12:12:36-0700 [-] File
"/home/timothy/mycodenode_env/lib/python2.6/site-packages/codenode/service.py",
line 152, in startProcess
2010-08-17 12:12:36-0700 [-] self.timeStarted[name] = procmon.time.time()
2010-08-17 12:12:36-0700 [-] AttributeError: 'module' object has no
attribute 'time'
That's definitely not the case in the latest release:
http://github.com/codenode/codenode/blob/master/codenode/service.py#L155
Can you confirm which version this is?
James
> --
> http://groups.google.com/group/codenode-devel?hl=en
> http://codenode.org
How did you install? Which version is this?
I tried to ask OP but got no response.
thanks,
James
On 28 September 2010 21:01, Olivier Tremblay
I've updated the pypi entry so install via pip now works.
James