armindoantunes / gh615

Automatically exported from code.google.com/p/gh615
0 stars 0 forks source link

cherrypy.engine.subscribe() -> AttributeError: 'Engine' object has no attribute 'subscribe' #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

On Ubuntu 8.04:

1. get r196
2. get python-cherrypy3 3.0.2-2 
3. cd globalsat/src
4. python gh600_gui.py

Then I get

zingo@dual:~/bin/globalsat/gh615_r196/globalsat/src$ python gh600_gui.py
Connecting to your GH...
Traceback (most recent call last):
  File "gh600_gui.py", line 199, in <module>
    cherrypy.engine.subscribe('start', launch_browser)
AttributeError: 'Engine' object has no attribute 'subscribe'
zingo@dual:~/bin/globalsat/gh615_r196/globalsat/src$ 

I tried to select cherrypy 2.2.1-4 (also available in ubuntu) but whith
worse result (it freaks out a few line before and if I comment out that
line I get the same error...)

p.s. Nice that you have added a GUI :)

Original issue reported on code.google.com by ZingoAnd...@gmail.com on 13 Sep 2008 at 2:14

GoogleCodeExporter commented 8 years ago
It seems like the idea was that this should start my browser so I comment it 
out to
see what happend...

Then I get this instead... (line number might not match as I migth have added a 
extra
comment or two)

zingo@dual:~/bin/globalsat/gh615_r196/globalsat/src$ python gh600_gui.py
Connecting to your GH...
Traceback (most recent call last):
  File "gh600_gui.py", line 205, in <module>
    cherrypy.quickstart(config=Utilities.getAppPrefix('gui', 'cherrypy.conf'))
TypeError: quickstart() takes at least 1 non-keyword argument (0 given)
zingo@dual:~/bin/globalsat/gh615_r196/globalsat/src$ 

Original comment by ZingoAnd...@gmail.com on 13 Sep 2008 at 2:19

GoogleCodeExporter commented 8 years ago
SOLVED:
cherrypy 3.1 is needed.... 
(I didn't find a way to edit the requerement page so I have to leave that to 
you :)

Original comment by ZingoAnd...@gmail.com on 13 Sep 2008 at 2:40

GoogleCodeExporter commented 8 years ago
sorry about that, I just edited the page, I really ought to create an Egg that 
automatically resolves the dependancies...

Original comment by spei...@gmail.com on 13 Sep 2008 at 10:43