can't get codenode to run

14 views
Skip to first unread message

Timothy Clemans

unread,
Aug 17, 2010, 3:18:25 PM8/17/10
to codenod...@googlegroups.com
Hi I'm getting this error on both Mac and Ubuntu after installing
codenode using Pip:

(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'

James Casbon

unread,
Sep 10, 2010, 6:29:21 AM9/10/10
to codenod...@googlegroups.com, timothy...@gmail.com
Sorry for the slow response, been on holiday.

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

Olivier Tremblay

unread,
Sep 28, 2010, 4:01:00 PM9/28/10
to codenode-devel
I get the same error, should I clone it from the github repository?

On Sep 10, 6:29 am, James Casbon <cas...@gmail.com> wrote:
> Sorry for the slow response, been on holiday.
>
> 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
>

James Casbon

unread,
Sep 30, 2010, 10:08:18 AM9/30/10
to codenod...@googlegroups.com
Hi,

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

James Casbon

unread,
Oct 3, 2010, 9:23:04 AM10/3/10
to codenode-devel
The pypi entry is broken (claims to be 0.2 but is actually 0.01), and
does not work..

Workaround is to use:
pip install http://github.com/downloads/codenode/codenode/codenode-0.02.tar.gz

James Casbon

unread,
Oct 3, 2010, 2:55:50 PM10/3/10
to codenod...@googlegroups.com
On 17 August 2010 20:18, Timothy Clemans <timothy...@gmail.com> wrote:
> Hi I'm getting this error on both Mac and Ubuntu after installing
> codenode using Pip:

I've updated the pypi entry so install via pip now works.

James

Reply all
Reply to author
Forward
0 new messages