Non-existent style at command line crashes program
Bug #192321 reported by
Nathan Haines
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
PyRoom | Status tracked in Trunk | |||||
0.1 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
High
|
Unassigned |
Bug Description
When one specifies a non-existent style on the command-line, for example with './pyroom --style=darkblue', pyroom crashes with a KeyError assertion. Pyroom sets a default style upon startup, and should therefore fall back to the default style if the specified style does not exist.
Related branches
lp:~nhaines/pyroom/bug-192321
(Merged)
Changed in pyroom: | |
status: | New → Triaged |
To post a comment you must log in.
Thank you for your bug report. I can confirm the bug, the fix also works correctly. I think it would be a good idea to add on startup in the bottom label that the specified style does not exist and that it picked up the default style, so that people can undestand what happened.