"Ouvrir un autre bloc note" ne fonctionne pas

Bug #909505 reported by Hubert SPERI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zim (Ubuntu)
New
Undecided
Unassigned

Bug Description

This is zim 0.52
Python version is sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0)
Gtk version is (2, 24, 6)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
  branch: pyzim-trunk
  revision: 391 <email address hidden>
  date: 2011-04-28 20:09:07 +0200

======= Traceback =======
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 603, in _action_handler
    method(*arg)
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 813, in open_notebook
    NotebookDialog.unique(self, self, callback=self.open_notebook).show() # implicit recurs
  File "/usr/lib/pymodules/python2.7/zim/gui/widgets.py", line 1743, in unique
    dialog = klass(*args, **opts)
  File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 287, in __init__
    self.treeview = NotebookTreeView()
  File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 156, in __init__
    model = NotebookTreeModel()
  File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 79, in __init__
    self.notebooklist = get_notebook_list()
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 317, in get_notebook_list
    return config_file('notebooks.list', klass=NotebookInfoList)
  File "/usr/lib/pymodules/python2.7/zim/config.py", line 199, in config_file
    return klass(file, default=default)
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 118, in __init__
    self.read()
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 136, in read
    self.parse(lines)
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 186, in parse
    config.parse(text[i:])
UnboundLocalError: local variable 'i' referenced before assignment

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 909505] [NEW] "Ouvrir un autre bloc note" ne fonctionne pas

I believe this bug has been fixed in the latest version (0.54)

Regards,

Jaap

On Wed, Dec 28, 2011 at 11:04 PM, Hubert SPERI
<email address hidden> wrote:
> Public bug reported:
>
> This is zim 0.52
> Python version is sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0)
> Gtk version is (2, 24, 6)
> Pygtk version is (2, 24, 0)
> Platform is posix
> Zim revision is:
>  branch: pyzim-trunk
>  revision: 391 <email address hidden>
>  date: 2011-04-28 20:09:07 +0200
>
> ======= Traceback =======
>  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 603, in _action_handler
>    method(*arg)
>  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 813, in open_notebook
>    NotebookDialog.unique(self, self, callback=self.open_notebook).show() # implicit recurs
>  File "/usr/lib/pymodules/python2.7/zim/gui/widgets.py", line 1743, in unique
>    dialog = klass(*args, **opts)
>  File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 287, in __init__
>    self.treeview = NotebookTreeView()
>  File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 156, in __init__
>    model = NotebookTreeModel()
>  File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 79, in __init__
>    self.notebooklist = get_notebook_list()
>  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 317, in get_notebook_list
>    return config_file('notebooks.list', klass=NotebookInfoList)
>  File "/usr/lib/pymodules/python2.7/zim/config.py", line 199, in config_file
>    return klass(file, default=default)
>  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 118, in __init__
>    self.read()
>  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 136, in read
>    self.parse(lines)
>  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 186, in parse
>    config.parse(text[i:])
> UnboundLocalError: local variable 'i' referenced before assignment
>
> ** Affects: zim (Ubuntu)
>     Importance: Undecided
>         Status: New
>
> --
> You received this bug notification because you are subscribed to zim in
> Ubuntu.
> https://bugs.launchpad.net/bugs/909505
>
> Title:
>  "Ouvrir un autre bloc note" ne fonctionne pas
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/909505/+subscriptions

Revision history for this message
Hubert SPERI (hubert-speri) wrote :
Download full text (4.8 KiB)

Thank's.

It's all right.

Regards

2011/12/28 Jaap Karssenberg <email address hidden>

> I believe this bug has been fixed in the latest version (0.54)
>
> Regards,
>
> Jaap
>
>
> On Wed, Dec 28, 2011 at 11:04 PM, Hubert SPERI
> <email address hidden> wrote:
> > Public bug reported:
> >
> > This is zim 0.52
> > Python version is sys.version_info(major=2, minor=7, micro=2,
> releaselevel='final', serial=0)
> > Gtk version is (2, 24, 6)
> > Pygtk version is (2, 24, 0)
> > Platform is posix
> > Zim revision is:
> > branch: pyzim-trunk
> > revision: 391 <email address hidden>
> > date: 2011-04-28 20:09:07 +0200
> >
> > ======= Traceback =======
> > File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 603, in
> _action_handler
> > method(*arg)
> > File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 813, in
> open_notebook
> > NotebookDialog.unique(self, self, callback=self.open_notebook).show()
> # implicit recurs
> > File "/usr/lib/pymodules/python2.7/zim/gui/widgets.py", line 1743, in
> unique
> > dialog = klass(*args, **opts)
> > File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line
> 287, in __init__
> > self.treeview = NotebookTreeView()
> > File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line
> 156, in __init__
> > model = NotebookTreeModel()
> > File "/usr/lib/pymodules/python2.7/zim/gui/notebookdialog.py", line 79,
> in __init__
> > self.notebooklist = get_notebook_list()
> > File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 317, in
> get_notebook_list
> > return config_file('notebooks.list', klass=NotebookInfoList)
> > File "/usr/lib/pymodules/python2.7/zim/config.py", line 199, in
> config_file
> > return klass(file, default=default)
> > File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 118, in
> __init__
> > self.read()
> > File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 136, in read
> > self.parse(lines)
> > File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 186, in parse
> > config.parse(text[i:])
> > UnboundLocalError: local variable 'i' referenced before assignment
> >
> > ** Affects: zim (Ubuntu)
> > Importance: Undecided
> > Status: New
> >
> > --
> > You received this bug notification because you are subscribed to zim in
> > Ubuntu.
> > https://bugs.launchpad.net/bugs/909505
> >
> > Title:
> > "Ouvrir un autre bloc note" ne fonctionne pas
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/ubuntu/+source/zim/+bug/909505/+subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/909505
>
> Title:
> "Ouvrir un autre bloc note" ne fonctionne pas
>
> Status in “zim” package in Ubuntu:
> New
>
> Bug description:
> This is zim 0.52
> Python version is sys.version_info(major=2, minor=7, micro=2,
> releaselevel='final', serial=0)
> Gtk version is (2, 24, 6)
> Pygtk version is (2, 24, 0)
> Platform is posix
> Zim revision is:
> branch: pyzim-trunk
> revision: 391 <email address hidden>
> date: 2011-04-28 20:09...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.