config parser crashes when changing accounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
avernus |
Fix Released
|
Critical
|
wolfer |
Bug Description
to reproduce:
a) select an account... everything is ok
b) select another account.... config crashes, account is not shown
Traceback (most recent call last):
File "/home/
pubsub.
File "/home/
subscriber(
File "/home/
self.
File "/home/
pre = self.config.
File "/home/
return self.parser.
File "/usr/lib/
return self._interpola
File "/usr/lib/
if "%(" in value:
TypeError: argument of type 'int' is not iterable
Changed in avernus: | |
assignee: | nobody → wolfer (wolfer7) |
status: | Confirmed → Fix Committed |
Changed in avernus: | |
status: | Fix Committed → Fix Released |
strangely enough it crashes when trying to parse the hpaned position.... ······· ······· ······· ······· ······· ·
maybe I overlooked a singleton thing, but am not sure
·······
Bastian Kennel
<email address hidden> ······· ······· ······· ······· ······· ·
·······
On Fri, Feb 11, 2011 at 8:03 PM, wolfer <email address hidden> wrote:
> Public bug reported: wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ gui/left_ pane.py" , publish( 'maintree. select' , obj) wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ pubsub. py", line wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ gui/mainwindow. py", line append_ page(tab( item), gtk.Label(name)) wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ gui/account_ transactions_ tab.py" , get_option( 'account hpaned position', 'Gui') wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ config. py", line get(section, name) python2. 6/ConfigParser. py", line 546, in get te(section, option, value, d) python2. 6/ConfigParser. py", line 586, in _interpolate /bugs.launchpad .net/bugs/ 717349 wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ gui/left_ pane.py" , line publish( 'maintree. select' , obj) wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ pubsub. py", line wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ gui/mainwindow. py", line append_ page(tab( item), gtk.Label(name)) wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ gui/account_ transactions_ tab.py" , get_option( 'account hpaned position', 'Gui') wolfer/ Dropbox/ code/avernus/ avernus/ avernus/ config. py", line get(section, name) python2. 6/ConfigParser. py", line 546, in get te(section, option, value, d) python2. 6/ConfigParser. py", line 586, in _interpolate
>
> to reproduce:
> a) select an account... everything is ok
> b) select another account.... config crashes, account is not shown
>
>
> Traceback (most recent call last):
> File "/home/
> line 157, in on_cursor_changed
> pubsub.
> File "/home/
> 19, in publish
> subscriber(*args, **kwargs)
> File
> "/home/
> 198, in on_maintree_select
> self.notebook.
> File
> "/home/
> line 97, in __init__
> pre = self.config.
> File "/home/
> 75, in get_option
> return self.parser.
> File "/usr/lib/
> return self._interpola
> File "/usr/lib/
> if "%(" in value:
> TypeError: argument of type 'int' is not iterable
>
> ** Affects: avernus
> Importance: Critical
> Status: Confirmed
>
> --
> You received this bug notification because you are a member of avernus-
> heros, which is subscribed to avernus.
> https:/
>
> Title:
> config parser crashes when changing accounts
>
> Status in avernus:
> Confirmed
>
> Bug description:
> to reproduce:
> a) select an account... everything is ok
> b) select another account.... config crashes, account is not shown
>
>
> Traceback (most recent call last):
> File
> "/home/
> 157, in on_cursor_changed
> pubsub.
> File "/home/
> 19, in publish
> subscriber(*args, **kwargs)
> File
> "/home/
> 198, in on_maintree_select
> self.notebook.
> File
> "/home/
> line 97, in __init__
> pre = self.config.
> File "/home/
> 75, in get_option
> return self.parser.
> File "/usr/lib/
> return self._interpola
> File "/usr/lib/
> if "%(" in value:
> TypeError: argument of type 'int' is not iterable
>
>
>