Not able to start Variety 0.5.0 due to broken smart_user.json
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Fix Released
|
Critical
|
Peter Levi |
Bug Description
Since updating to this new release I have been unable to start the program on my system.
I am using Ubuntu 14.10 with Unity and all available updates installed.
This is the result of running variety from the command prompt.
markrich@
INFO: 2015-01-09 18:34:40,063: perform_upgrade() 'Last run version was 0.5.0 or earlier, current version is 0.5.0'
INFO: 2015-01-09 18:34:40,063: process_command() 'Received command: [u'-v']'
INFO: 2015-01-09 18:34:40,064: load_banned() 'Missing or invalid banned URLs list, no URLs will be banned'
INFO: 2015-01-09 18:34:40,069: load() 'Jumble loading'
INFO: 2015-01-09 18:34:40,069: _walk_modules() 'Jumble loading module in __init__ from /opt/extras.
INFO: 2015-01-09 18:34:40,069: _walk_modules() 'Jumble loading module in QuotesDaddySource from /opt/extras.
INFO: 2015-01-09 18:34:40,069: load() 'Jumble found plugin class: <class 'QuotesDaddySou
INFO: 2015-01-09 18:34:40,070: _walk_modules() 'Jumble loading module in GoodreadsSource from /opt/extras.
INFO: 2015-01-09 18:34:40,074: load() 'Jumble found plugin class: <class 'GoodreadsSourc
INFO: 2015-01-09 18:34:40,074: _walk_modules() 'Jumble loading module in __init__ from /opt/extras.
INFO: 2015-01-09 18:34:40,074: _walk_modules() 'Jumble loading module in QuotationsPageS
INFO: 2015-01-09 18:34:40,074: load() 'Jumble found plugin class: <class 'QuotationsPage
INFO: 2015-01-09 18:34:40,074: _walk_modules() 'Jumble loading module in LocalFilesSource from /opt/extras.
INFO: 2015-01-09 18:34:40,074: load() 'Jumble found plugin class: <class 'LocalFilesSour
Traceback (most recent call last):
File "./variety", line 41, in <module>
variety.main()
File "/opt/extras.
window.
File "/opt/extras.
self.smart = Smart(self)
File "/opt/extras.
self.
File "/opt/extras.
self.user = AttrDict(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
markrich@
Related branches
summary: |
- No longer able to start Variety after updating to 0.5.0 + Not able to start Variety 0.5.0 due to broken smart_user.json |
Changed in variety: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → Peter Levi (peterlevi) |
Changed in variety: | |
milestone: | none → 0.5.1 |
status: | Fix Committed → Fix Released |
Please check if a file named "smart_user.json" exists in your ~/.config/variety folder.
Does it contain info like this, or it looks broken in some way:
{ xxxxx", label": "Ubuntu 12.04"
"authkey": "xxxxxxxxxxxxxx
"username": "xxxxxxxxxxx",
"machine_id": "xxxxxxxxx",
"id": "xxxxxxxxxxx",
"machine_
}
It seems by the exception that Variety finds the file, but cannot parse it, it might have been broken during some power failure in an improper moment. If you are not concerned about me knowing your VRTY profile, please email me the file to peterlevi <at> peterlevi.com. Thanks.