Bug 667737 - Zim crashes during startup while trying to convert notebooks
Summary: Zim crashes during startup while trying to convert notebooks
Keywords:
Status: CLOSED DUPLICATE of bug 653691
Alias: None
Product: Fedora
Classification: Fedora
Component: Zim
Version: 14
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Chris Weyl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-06 16:23 UTC by David Kovalsky
Modified: 2014-03-31 23:46 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-06 17:03:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Kovalsky 2011-01-06 16:23:32 UTC
Starting Zim in in Gnome asks me if I want to convert the notebooks to the new format. Clicking 'yes' converts a couple of them and then Zim dies. 

Here's verbose output from console:
kovinek:~                                                                                                                                                                                     
(0) $ /usr/bin/zim --verbose                                                                                                                                                                 
INFO: This is zim 0.49                                                                                                                                                                        
WARNING: This notebook needs to be upgraded to the latest data format                                                                                                                         
INFO: Opening default notebook                                                                                                                                                                
INFO: Starting UnixSocketDaemon                                                                                                                                                               
                                                                                                                                                                                              
kovinek:~                                                                                                                                                                                     
(0) $ WARNING: Could not find all icon sizes for the application icon                                                                                                                         
/usr/lib/python2.7/site-packages/zim/gui/__init__.py:574: GtkWarning: Inserting action group 'CalendarPlugin' into UI manager which already has a group with this name                        
                                                                                                                                                                                              
  self.uimanager.insert_action_group(handler.actiongroup, 0)                                                                                                                                  
WARNING: This notebook needs to be upgraded to the latest data format                                                                                                                         
INFO: Starting background index update                                                                                                                                                        
INFO: Open page: <FileStorePage: Private:Audi> (<HistoryRecord: Private:Audi>)                                                                                                                
INFO: Accelerator changed for <Actions>/CalendarPlugin/show_calendar                                                                                                                          
INFO: Index update done                                                                                                                                                                       
INFO: Notebook update started                                                                                                                                                                 
ERROR: Error in child main:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/daemon.py", line 541, in spawn
    self._main()
  File "/usr/lib/python2.7/site-packages/zim/daemon.py", line 585, in _main
    obj.main()
  File "/usr/lib/python2.7/site-packages/zim/gui/__init__.py", line 481, in main
    self.check_notebook_needs_upgrade()
  File "/usr/lib/python2.7/site-packages/zim/gui/__init__.py", line 784, in check_notebook_needs_upgrade
    self.notebook.upgrade_notebook(callback=lambda p: dialog.pulse(p.name))
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1317, in upgrade_notebook
    for page in self.walk():
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1282, in walk
    for p in self.index.walk(path):
  File "/usr/lib/python2.7/site-packages/zim/index.py", line 835, in _walk
    for grandchild in self._walk(child, childpath):
  File "/usr/lib/python2.7/site-packages/zim/index.py", line 827, in _walk
    cursor.execute('select * from pages where parent == ? order by lower(basename)', (path.id,))
InterfaceError: Error binding parameter 0 - probably unsupported type.
INFO: Last instance quit - exiting daemon
INFO: Stopped UnixSocketDaemon




Reproducible 100%. Zim-0.49-1.fc14.noarch

Comment 1 Robin Lee 2011-01-06 17:03:07 UTC

*** This bug has been marked as a duplicate of bug 653691 ***


Note You need to log in before you can comment on or make changes to this bug.