New issue 333 by willybu...@gmail.com: specto no longer wants to start with
Ubuntu 11.04
http://code.google.com/p/specto/issues/detail?id=333
(note: you can delete all the text below if you want, it is only there to
guide you)
What steps will reproduce the problem?
1. Install Ubuntu 11.04 and specto
2. Config Specto
3. Use specto normally
...
4. and after a while ... Specto definitely hangs on startup
What is the expected output? What do you see instead?
It happens more than anything visible and the terminal displays:
willy@HAF:~$ specto
Traceback (most recent call last):
File "/usr/bin/specto", line 30, in <module>
specto = Specto()
File "/usr/lib/python2.7/dist-packages/spectlib/main.py", line 128, in
__init__
self.watch_db.create(values)
File "/usr/lib/python2.7/dist-packages/spectlib/watch.py", line 304, in
create
watch_ = obj(self.specto, self.id, values[i])
File "/usr/lib/python2.7/dist-packages/spectlib/plugins/watch_web_static.py",
line 71, in __init__
self.standard_open_command = spectlib.util.return_webpage(values['uri'])
File "/usr/lib/python2.7/dist-packages/spectlib/util.py", line 33, in
return_webpage
return (default_browser % webpage) #return the browser with the page
TypeError: %u format: a number is required, not str
What version of the product are you using? On what operating system?
Specto 0.3.1 / Ubuntu 11.04
Comment #1 on issue 333 by nekoh...@gmail.com: specto no longer wants to
start with Ubuntu 11.04
http://code.google.com/p/specto/issues/detail?id=333
I'm thinking this problem may be fixed in the bzr version of specto, can
you test?
After installing the version Bazaar devellopement since it worked once.
Since this is the message it gives me:
willy@HAF:~$ specto
Traceback (most recent call last):
File "/usr/local/bin/specto", line 30, in <module>
specto = Specto()
File "/usr/local/lib/python2.7/dist-packages/spectlib/main.py", line 138,
in __init__
self.watch_db.create(values)
File "/usr/local/lib/python2.7/dist-packages/spectlib/watch.py", line
344, in create
type = values[i]['type']
KeyError: 'type'
willy@HAF:~$
After installing the development version Bazaar, it worked once. Since, the
There's probably something corrupt in your ~/.config/specto/watches.list,
you may have to edit it or (re)move it to see if it solves the problem...
Obviously, it solved the problem. I just have one last little problem with
firefox open a second tab at the address "% u"
The problem reappeared alone...
With the version 0.4:
willy@HAF:~$ '/home/willy/specto/launch.sh'
Traceback (most recent call last):
File "./specto", line 30, in <module>
specto = Specto()
File "/home/willy/specto/spectlib/main.py", line 129, in __init__
self.notifier = Notifier(self)
File "/home/willy/specto/spectlib/notifier.py", line 91, in __init__
self.indicator = Indicator(specto)
File "/home/willy/specto/spectlib/tools/indicator.py", line 146, in
__init__
self.indicate_srv.set_desktop_file(self.get_desktop_file())
TypeError: Indicate.Server.set_desktop_file() argument 1 must be string,
not None
willy@HAF:~$
Obviously Specto working again with the patch