LottaNZB does not start after finishing configuration
Bug #213509 reported by
Sander Tuit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LottaNZB |
Fix Released
|
Low
|
LottaNZB Development Team |
Bug Description
Traceback (most recent call last):
File "/usr/lib64/
serverInfo.id = _("Default Server")
AttributeError: 'dict' object has no attribute 'id'
INFO The preferences were correctly written.
INFO Closed the configuration assistant.
INFO The first-run configuration hasn't been completed. Shutting down LottaNZB.
Affects 0.2 and trunk
Changed in lottanzb: | |
assignee: | nobody → lantash |
importance: | Undecided → Low |
milestone: | none → 0.2.1 |
status: | New → Fix Committed |
Changed in lottanzb: | |
assignee: | lantash → lottanzb |
status: | Fix Committed → In Progress |
Changed in lottanzb: | |
status: | In Progress → Fix Committed |
Changed in lottanzb: | |
milestone: | 0.2.1 → 0.3 |
Changed in lottanzb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Following diff is a start to fixing this, but it seems to be a more underlying issue with how the Hella configuration is saved.
=== modified file 'lottanzb/ firstrun. py' firstrun. py 2008-04-07 07:57:48 +0000 firstrun. py 2008-04-07 21:32:11 +0000
server = Prefs.hella. servers[ 0]
server. setFromDict( serverInfo)
else:
Prefs.hella. addServer( serverInfo)
--- lottanzb/
+++ lottanzb/
@@ -98,7 +98,7 @@
- serverInfo.id = _("Default Server")
+ serverInfo["id"] = _("Default Server")
if not Prefs.hella.loaded:
=== modified file 'lottanzb/prefs.py'
value = self[property]
--- lottanzb/prefs.py 2008-04-07 21:03:46 +0000
+++ lottanzb/prefs.py 2008-04-07 21:36:43 +0000
@@ -92,6 +92,8 @@
if property in self:
+ if value is None:
if "transform" in args:
value = args["transform "](value)
+ value = ""