← Back to team overview

zim-wiki team mailing list archive

Re: Revision 729

 

Do we use the same Python version?

The only error (warning) I see is:

/usr/local/lib/python2.7/dist-packages/zim/gui/pageindex.py:697:
Warning: Source ID 187 was not found when attempting to remove it
  self.expand_to_path(treepath)

Both these have sub pages, but no errors:

INFO: Open page: <FileStorePage: Projekt:Arbetssökande:DTU> (<IndexPath:
Projekt:Arbetssökande:DTU>)
INFO: Open page: <FileStorePage: Projekt:Arbetssökande:Gambro>
(<IndexPath: Projekt:Arbetssökande:Gambro>)

All messages follow. At the end I started the manual indexer. No errors.

patrik@ubuntu:~$ zim --debug
PLUGIN PATH: [u'/home/patrik/.local/share/zim/plugins',
u'/usr/share/ubuntu/zim/plugins', u'/usr/share/gnome/zim/plugins',
u'/usr/local/share/zim/plugins', u'/usr/share/zim/plugins',
'/usr/local/lib/python2.7/dist-packages/zim/plugins']
INFO: This is zim 0.61
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=6,
releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
  branch: trunk
  revision: 729 jaap.karssenberg@xxxxxxxxx-20140909200145-yc4lqmdxxmo5vwet
  date: 2014-09-09 22:01:45 +0200
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/patrik/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share/ubuntu>, <Dir:
/usr/share/gnome>, <Dir: /usr/local/share>, <Dir: /usr/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/patrik/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/xdg-ubuntu>, <Dir:
/usr/share/upstart/xdg>, <Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/patrik/.cache
DEBUG: Loading config from: <zim.notebook.VirtualFile object at
0x7fc2b6912ed0>
DEBUG: Loading config from: /home/patrik/Documents/notebook.zim
DEBUG: Wrote /home/patrik/.config/zim/notebooks.list
INFO: Using default notebook: file:///home/patrik/Documents
DEBUG: Wrote /home/patrik/Documents/.zim/tmp
INFO: Remove file: /home/patrik/Documents/.zim/tmp
DEBUG: Loading config from: /home/patrik/Documents/notebook.zim
DEBUG: Cache dir: /home/patrik/.cache/zim/notebook-home_patrik_Documents
DEBUG: Index database file:
/home/patrik/.cache/zim/notebook-home_patrik_Documents/index.db
DEBUG: Remote call from 3239: <RemoteMethodCall: 3239:
zim.ipc.Server(None).ping((), {})>
DEBUG: Starting server by spawning new process
INFO: Spawning: ['/usr/local/bin/zim', '--ipc-server-main',
'/tmp/zim-patrik/zim-server-socket', '10'] (cwd: None)
DEBUG: Process started with PID: 3241
DEBUG: Remote call from 3239: <RemoteMethodCall: 3239:
zim.ipc.Server(None).ping((), {})>
PLUGIN PATH: [u'/home/patrik/.local/share/zim/plugins',
u'/usr/share/ubuntu/zim/plugins', u'/usr/share/gnome/zim/plugins',
u'/usr/local/share/zim/plugins', u'/usr/share/zim/plugins',
'/usr/local/lib/python2.7/dist-packages/zim/plugins']
INFO: Server starting 3241 at /tmp/zim-patrik/zim-server-socket
DEBUG: Remote call from 3239: <RemoteMethodCall: 3239:
zim.ipc.Server(None).ping((), {})>
DEBUG: Remote call returned to 3239: ('ACK', 3241)
DEBUG: Remote call from 3239: <RemoteMethodCall: 3239:
zim.ipc.Server(None).has_object((<RemoteObject:
zim.gui.GtkInterface(file:///home/patrik/Documents)>,), {})>
DEBUG: Remote call returned to 3239: False
DEBUG: Remote call from 3239: <RemoteMethodCall: 3239:
zim.ipc.Server(None).init_object((<RemoteObject:
zim.gui.GtkInterface(file:///home/patrik/Documents)>,), {})>
Gtk-Message: Failed to load module "overlay-scrollbar"
DEBUG: Wrote <UnixFile: /home/patrik/Documents/.zim/tmp>
INFO: Remove file: <UnixFile: /home/patrik/Documents/.zim/tmp>
DEBUG: Loading config from: <UnixFile: /home/patrik/Documents/notebook.zim>
DEBUG: Cache dir: <Dir:
/home/patrik/.cache/zim/notebook-home_patrik_Documents>
DEBUG: Index database file: <UnixFile:
/home/patrik/.cache/zim/notebook-home_patrik_Documents/index.db>
DEBUG: Opening notebook: <zim.notebook.Notebook object at 0x7f09fe51afd0>
DEBUG: Loading config from: <ConfigFile:
/home/patrik/.config/zim/preferences.conf>
DEBUG: Loading plugin: calendar
DEBUG: Loading plugin: insertsymbol
DEBUG: Loading plugin: printtobrowser
DEBUG: Loading plugin: spell
DEBUG: Loading plugin: versioncontrol
INFO: No VCS detected
DEBUG: Gtk version is (2, 24, 23)
DEBUG: Pygtk version is (2, 24, 0)
DEBUG: Loading config from: <ConfigFile:
/home/patrik/.config/zim/style.conf>
DEBUG: Loading config from: <ConfigFile:
/home/patrik/.config/zim/customtools/test-usercreated.desktop>
DEBUG: Loading config from: <ConfigFile:
/home/patrik/.config/zim/customtools/bzr new-usercreated.desktop>
DEBUG: Loading config from: <UnixFile:
/home/patrik/.cache/zim/notebook-home_patrik_Documents/state.conf>
DEBUG: Child process started 3243 for <RemoteObject:
zim.gui.GtkInterface(file:///home/patrik/Documents)>
INFO: Starting async index update
DEBUG: Remote call returned to 3239: True
DEBUG: Remote call from 3239: <RemoteMethodCall: 3239:
zim.gui.GtkInterface(file:///home/patrik/Documents).present((),
{'geometry': None, 'fullscreen': None, 'page': None})>
DEBUG: Accelmap: /home/patrik/.config/zim/accelmap
INFO: Accelerator changed for
<Actions>/MainWindowExtensionDialog/go_page_today
INFO: Accelerator changed for <Actions>/MainWindowExtension/print_to_browser
INFO: Accelerator changed for
<Actions>/MainWindowExtension/toggle_spellcheck
INFO: Accelerator changed for <Actions>/MainWindowExtension/save_version
DEBUG: Action: set_pathbar_recent
INFO: Open page: <FileStorePage: Projekt:zim:trunk> (<HistoryPath:
Projekt:zim:trunk>)
DEBUG: Remote call returned to 3239: None
DEBUG: NOTE FOR BUG REPORTS:
    At this point zim has send the command to open a notebook to a
    background process and the current process will now quit.
    If this is the end of your debug output it is probably not useful
    for bug reports. Please close all zim windows, quit the
    zim trayicon (if any), and try again.

patrik@ubuntu:~$ INFO: Accelerator changed for
<Actions>/MainWindowExtension/show_versions
INFO: Accelerator changed for
<Actions>/MainWindowExtensionDialog/show_calendar
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_symbol
INFO: Index update done
INFO: Open page: <FileStorePage: Projekt:Arbetssökande> (<IndexPath:
Projekt:Arbetssökande>)
/usr/local/lib/python2.7/dist-packages/zim/gui/pageindex.py:697:
Warning: Source ID 187 was not found when attempting to remove it
  self.expand_to_path(treepath)
INFO: Open page: <FileStorePage: Projekt:Arbetssökande:DTU> (<IndexPath:
Projekt:Arbetssökande:DTU>)
INFO: Open page: <FileStorePage: Projekt:Arbetssökande:Gambro>
(<IndexPath: Projekt:Arbetssökande:Gambro>)
DEBUG: Action: reload_index
INFO: Updating index
DEBUG: Opening ProgressBarDialog
INFO: Index update done
DEBUG: Action: close (delete-event)
DEBUG: Wrote <UnixFile:
/home/patrik/.cache/zim/notebook-home_patrik_Documents/state.conf>
DEBUG: Remote call from 3243: <RemoteMethodCall: 3243:
zim.ipc.Server(None).on_object_quit((<RemoteObject:
zim.gui.GtkInterface(file:///home/patrik/Documents)>,), {})>
INFO: Last child quit, stopping server
DEBUG: Server stopped listening
INFO: Remove file: /tmp/zim-patrik/zim-server-authkey
DEBUG: Server process 3241 quit
DEBUG: Remote call returned to 3243: True
DEBUG: Child process 3243 quit
DEBUG: Server thread for process 3243 quit




On 2014-09-17 09:19, Jaap Karssenberg wrote:
> Hi Patrik,
>
> I'm on revision 729 myself and I do not see such an issue. Also there
> is nothing in the recent revisions that is related to the indexing. So
> no obvious place to look for this bug.
>
> Can you try "zim --debug" to check for errors in the debug output when
> you create the new page?
>
> Regards,
>
> Jaap
>
>
> On Wed, Sep 17, 2014 at 9:10 AM, Patrik Nilsson
> <nipatriknilsson@xxxxxxxxx <mailto:nipatriknilsson@xxxxxxxxx>> wrote:
>
>     Hi All,
>
>     Revision 729 (or some very recent) introduces a bug for the
>     indexer. The indexer forgets every subpage below level 2.
>
>
>     If you add a subpage below level 2, it disappears on restart. It
>     still exists on hard-disk.
>
>
>     Many of my pages are not accessible from zim anymore.
>
>
>     Best regards,
>     Patrik
>
>
>     -- 
>     PGP-key fingerprint: 1B30 7F61 AF9E 538A FCD6  2BE7 CED7 B0E4 3BF9 8D6C
>
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~zim-wiki
>     <https://launchpad.net/%7Ezim-wiki>
>     Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>     <mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~zim-wiki
>     <https://launchpad.net/%7Ezim-wiki>
>     More help   : https://help.launchpad.net/ListHelp
>
>

-- 
PGP-key fingerprint: 1B30 7F61 AF9E 538A FCD6  2BE7 CED7 B0E4 3BF9 8D6C


References