Zim

Index out of order. Error message when updating index

Bug #1686825 reported by Aake Jonsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

This is zim 0.65
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 805 <email address hidden>
  date: 2015-11-01 15:42:45 +0100

Traceback
=========
  File "/usr/lib/python2.7/dist-packages/zim/gui/init.py", line 885, in _action_handler
 method(*arg)
  File "/usr/lib/python2.7/dist-packages/zim/gui/init.py", line 1372, in open_page_home
 self.open_page(self.notebook.get_home_page())
  File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1401, in get_home_page
 return self.get_page(self.config['Notebook']['home'])
  File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1347, in get_page
 indexpath = self.index.lookup_path(path)
  File "/usr/lib/python2.7/dist-packages/zim/index.py", line 1339, in lookup_path
 (name, parentid) )
OperationalError: disk I/O error

The file is on a USB memory and the problem occured after I had moved it to my laptop. Then when I move it back to my desktop I get the error message, but it works fine in the laptop. I have tried updating the index when running on the desktop but I just get the error message. The reson why I use the USB memory is that often when I travel I have no web connection and I download all the MOOC to Zim. It have worked very fine until this happened.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1686825] [NEW] Index out of order. Error message when updating index

Did you restart zim after re-plugging the USB ?

-- Jaap

On Thu, Apr 27, 2017 at 10:20 PM Aake Jonsson <email address hidden>
wrote:

> Public bug reported:
>
> This is zim 0.65
> Platform: posix
> Locale: en_US UTF-8
> FS encoding: UTF-8
> Python: (2, 7, 12, 'final', 0)
> Gtk: (2, 24, 30)
> Pygtk: (2, 24, 0)
> Zim revision is:
> branch: zim-trunk
> revision: 805 <email address hidden>
> date: 2015-11-01 15:42:45 +0100
>
> Traceback
> =========
> File "/usr/lib/python2.7/dist-packages/zim/gui/init.py", line 885, in
> _action_handler
> method(*arg)
> File "/usr/lib/python2.7/dist-packages/zim/gui/init.py", line 1372, in
> open_page_home
> self.open_page(self.notebook.get_home_page())
> File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1401, in
> get_home_page
> return self.get_page(self.config['Notebook']['home'])
> File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1347, in
> get_page
> indexpath = self.index.lookup_path(path)
> File "/usr/lib/python2.7/dist-packages/zim/index.py", line 1339, in
> lookup_path
> (name, parentid) )
> OperationalError: disk I/O error
>
> The file is on a USB memory and the problem occured after I had moved it
> to my laptop. Then when I move it back to my desktop I get the error
> message, but it works fine in the laptop. I have tried updating the
> index when running on the desktop but I just get the error message. The
> reson why I use the USB memory is that often when I travel I have no web
> connection and I download all the MOOC to Zim. It have worked very fine
> until this happened.
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1686825
>
> Title:
> Index out of order. Error message when updating index
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1686825/+subscriptions
>

Revision history for this message
Aake Jonsson (aakerjonsson) wrote :
Download full text (4.5 KiB)

Yes, I restarted severel times. The strange thing is that it works in my
laptop but not in my desktop.
I start the notbook by double clicking the notebook.zim file.
The index tree behaves very strange when in error. Every position says the
same but it is structured as if it was OK.
Now I have restored a backup to the USB and everything is working!

2017-04-28 9:08 GMT+02:00 Jaap Karssenberg <email address hidden>:

> Did you restart zim after re-plugging the USB ?
>
> -- Jaap
>
> On Thu, Apr 27, 2017 at 10:20 PM Aake Jonsson <email address hidden>
> wrote:
>
> > Public bug reported:
> >
> > This is zim 0.65
> > Platform: posix
> > Locale: en_US UTF-8
> > FS encoding: UTF-8
> > Python: (2, 7, 12, 'final', 0)
> > Gtk: (2, 24, 30)
> > Pygtk: (2, 24, 0)
> > Zim revision is:
> > branch: zim-trunk
> > revision: 805 <email address hidden>-
> 0g7s8a7qjt5xu1d0
> > date: 2015-11-01 15:42:45 +0100
> >
> > Traceback
> > =========
> > File "/usr/lib/python2.7/dist-packages/zim/gui/init.py", line 885, in
> > _action_handler
> > method(*arg)
> > File "/usr/lib/python2.7/dist-packages/zim/gui/init.py", line 1372, in
> > open_page_home
> > self.open_page(self.notebook.get_home_page())
> > File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1401, in
> > get_home_page
> > return self.get_page(self.config['Notebook']['home'])
> > File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1347, in
> > get_page
> > indexpath = self.index.lookup_path(path)
> > File "/usr/lib/python2.7/dist-packages/zim/index.py", line 1339, in
> > lookup_path
> > (name, parentid) )
> > OperationalError: disk I/O error
> >
> > The file is on a USB memory and the problem occured after I had moved it
> > to my laptop. Then when I move it back to my desktop I get the error
> > message, but it works fine in the laptop. I have tried updating the
> > index when running on the desktop but I just get the error message. The
> > reson why I use the USB memory is that often when I travel I have no web
> > connection and I download all the MOOC to Zim. It have worked very fine
> > until this happened.
> >
> > ** Affects: zim
> > Importance: Undecided
> > Status: New
> >
> > --
> > You received this bug notification because you are subscribed to Zim.
> > https://bugs.launchpad.net/bugs/1686825
> >
> > Title:
> > Index out of order. Error message when updating index
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/zim/+bug/1686825/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1686825
>
> Title:
> Index out of order. Error message when updating index
>
> Status in Zim:
> New
>
> Bug description:
> This is zim 0.65
> Platform: posix
> Locale: en_US UTF-8
> FS encoding: UTF-8
> Python: (2, 7, 12, 'final', 0)
> Gtk: (2, 24, 30)
> Pygtk: (2, 24, 0)
> Zim revision is:
> branch: zim-trunk
> revision: 805 <email address hidden>-
> 0g7s8a7qjt5xu1d0
> date: 2015-11-01 15:42:45 +0100
>
> Traceback
> =========
>...

Read more...

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
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.