non-standard URLs are not correctly interpreted and cannot be corrected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Specto |
Fix Released
|
Critical
|
Unassigned |
Bug Description
If you add a watch with an URL that doesn't have http://, (for example, perdu.com) specto does not try to add it. It should try to, at least. The current output is this:
ValueError: unknown url type: perdu.com
However, if you try to correct the URL using edit_watch, it will output this:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
gobject.
AttributeError: web_watch instance has no attribute 'timer_id'
Changed in specto: | |
status: | In Progress → Fix Committed |
Furthermore, it becomes a crasher when you restart specto, so I'm marking this as critical:
Traceback (most recent call last): python2. 4/site- packages/ specto/ main.py" , line 75, in __init__ io.read_ options( ) python2. 4/site- packages/ specto/ watch.py" , line 163, in read_options options[ 'type'] )
File "/usr/bin/specto", line 38, in ?
specto = Specto()
File "/usr/lib/
watch_value_db = self.watch_
File "/usr/lib/
values['type'] = int(watch_
KeyError: 'type'