strangely enough it crashes when trying to parse the hpaned position....
maybe I overlooked a singleton thing, but am not sure
···········································
Bastian Kennel
On Fri, Feb 11, 2011 at 8:03 PM, wolfer <email address hidden> wrote:
> Public bug reported:
>
> 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/wolfer/Dropbox/code/avernus/avernus/avernus/gui/left_pane.py",
> line 157, in on_cursor_changed
> pubsub.publish('maintree.select', obj)
> File "/home/wolfer/Dropbox/code/avernus/avernus/avernus/pubsub.py", line
> 19, in publish
> subscriber(*args, **kwargs)
> File
> "/home/wolfer/Dropbox/code/avernus/avernus/avernus/gui/mainwindow.py", line
> 198, in on_maintree_select
> self.notebook.append_page(tab(item), gtk.Label(name))
> File
> "/home/wolfer/Dropbox/code/avernus/avernus/avernus/gui/account_transactions_tab.py",
> line 97, in __init__
> pre = self.config.get_option('account hpaned position', 'Gui')
> File "/home/wolfer/Dropbox/code/avernus/avernus/avernus/config.py", line
> 75, in get_option
> return self.parser.get(section, name)
> File "/usr/lib/python2.6/ConfigParser.py", line 546, in get
> return self._interpolate(section, option, value, d)
> File "/usr/lib/python2.6/ConfigParser.py", line 586, in _interpolate
> 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://bugs.launchpad.net/bugs/717349
>
> 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/wolfer/Dropbox/code/avernus/avernus/avernus/gui/left_pane.py", line
> 157, in on_cursor_changed
> pubsub.publish('maintree.select', obj)
> File "/home/wolfer/Dropbox/code/avernus/avernus/avernus/pubsub.py", line
> 19, in publish
> subscriber(*args, **kwargs)
> File
> "/home/wolfer/Dropbox/code/avernus/avernus/avernus/gui/mainwindow.py", line
> 198, in on_maintree_select
> self.notebook.append_page(tab(item), gtk.Label(name))
> File
> "/home/wolfer/Dropbox/code/avernus/avernus/avernus/gui/account_transactions_tab.py",
> line 97, in __init__
> pre = self.config.get_option('account hpaned position', 'Gui')
> File "/home/wolfer/Dropbox/code/avernus/avernus/avernus/config.py", line
> 75, in get_option
> return self.parser.get(section, name)
> File "/usr/lib/python2.6/ConfigParser.py", line 546, in get
> return self._interpolate(section, option, value, d)
> File "/usr/lib/python2.6/ConfigParser.py", line 586, in _interpolate
> if "%(" in value:
> TypeError: argument of type 'int' is not iterable
>
>
>
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
>
>
>