Version Control fails to autosave on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version Control fails to autosave with GIT.
Happens with the recently released ZIM version from Jaap's Snapshots PPA.
zim -D says:
XYZ@XYZ:~$ zim -D
INFO: This is zim 0.60
DEBUG: Python version is sys.version_
DEBUG: Platform is posix
DEBUG: No bzr version-info found
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/sojusnik/
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share/
DEBUG: Set XDG_CONFIG_HOME to /home/sojusnik/
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/
DEBUG: Set XDG_CACHE_HOME to /home/sojusnik/
DEBUG: Loading config from: <zim.notebook.
DEBUG: Loading config from: /home/sojusnik/
DEBUG: Wrote /home/sojusnik/
INFO: Using default notebook: file://
DEBUG: Wrote /home/sojusnik/
INFO: Remove file: /home/sojusnik/
DEBUG: Loading config from: /home/sojusnik/
DEBUG: Cache dir: /home/sojusnik/
DEBUG: Index database file: /home/sojusnik/
DEBUG: Remote call from 26206: <RemoteMethodCall: 26206: zim.ipc.
DEBUG: Starting server by spawning new process
INFO: Spawning: ['/usr/bin/zim', '--ipc-
DEBUG: Process started with PID: 26359
DEBUG: Remote call from 26206: <RemoteMethodCall: 26206: zim.ipc.
INFO: Server starting 26359 at /tmp/zim-
DEBUG: Remote call returned to 26206: ('ACK', 26359)
DEBUG: Remote call from 26206: <RemoteMethodCall: 26206: zim.ipc.
DEBUG: Remote call returned to 26206: False
DEBUG: Remote call from 26206: <RemoteMethodCall: 26206: zim.ipc.
DEBUG: Wrote <UnixFile: /home/sojusnik/
INFO: Remove file: <UnixFile: /home/sojusnik/
DEBUG: Loading config from: <UnixFile: /home/sojusnik/
DEBUG: Cache dir: <Dir: /home/sojusnik/
DEBUG: Index database file: <UnixFile: /home/sojusnik/
DEBUG: Opening notebook: <zim.notebook.
DEBUG: Loading config from: <ConfigFile: /home/sojusnik/
DEBUG: Loading plugin: attachmentbrowser
DEBUG: Loading plugin: distractionfree
DEBUG: Loading plugin: insertsymbol
DEBUG: Loading plugin: linesorter
DEBUG: Loading plugin: linkmap
DEBUG: Loading plugin: printtobrowser
DEBUG: Loading plugin: spell
DEBUG: Loading plugin: tableofcontents
DEBUG: Loading plugin: tags
DEBUG: Loading plugin: versioncontrol
INFO: VCS detected: git - <Dir: /home/sojusnik/
DEBUG: Gtk version is (2, 24, 22)
DEBUG: Pygtk version is (2, 24, 0)
WARNING: Could not find all icon sizes for the application icon
DEBUG: Loading config from: <ConfigFile: /home/sojusnik/
DEBUG: Loading config from: <UnixFile: /home/sojusnik/
DEBUG: Child process started 26361 for <RemoteObject: zim.gui.
INFO: Starting async index update
DEBUG: Remote call returned to 26206: True
DEBUG: Remote call from 26206: <RemoteMethodCall: 26206: zim.gui.
DEBUG: Accelmap: /home/sojusnik/
INFO: Accelerator changed for <Actions>
INFO: Accelerator changed for <Actions>
INFO: Accelerator changed for <Actions>
INFO: Running: ['git', 'status'] (cwd: /home/sojusnik/
DEBUG: Action: toggle_toolbar
DEBUG: Action: set_pathbar_recent
INFO: Running: ['git', 'add', '.'] (cwd: /home/sojusnik/
INFO: Running: ['git', 'status'] (cwd: /home/sojusnik/
INFO: Open page: <FileStorePage: Computer:Bugs und Verbesserungen:
INFO: Running: ['git', 'commit', '-a', '-m', 'Automatisch gespeicherte Version'] (cwd: /home/sojusnik/
DEBUG: Remote call returned to 26206: 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.
sojusnik@mir:~$ INFO: Accelerator changed for <Actions>
INFO: Accelerator changed for <Actions>
INFO: Accelerator changed for <Actions>
INFO: Accelerator changed for <Actions>
INFO: Accelerator changed for <Actions>
ERROR: Error during async commit
Traceback (most recent call last):
File "/usr/lib/
self.result = self.func(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self.run(params)
File "/usr/lib/
self.
File "/usr/lib/
raise ApplicationErro
ApplicationError: Anwendung konnte nicht gestartet werden: git
Aufruf von git "commit" "-a" "-m" "Automatisch gespeicherte Version" fehlgeschlagen. Fehlercode: 1
DEBUG: Running ErrorDialog
DEBUG: Anwendung konnte nicht gestartet werden: git
None
ERROR: Anwendung konnte nicht gestartet werden: git
Can you check if you can run the git command autside of zim?
Regards,
Jaap
On Fri, Apr 4, 2014 at 7:34 PM, sojusnik <email address hidden> wrote:
> Public bug reported: info(major= 2, minor=7, micro=5, 'final' , serial=0) .local/ share default> , <Dir: .config xdg-default> , <Dir: .cache VirtualFile object at Sonstiges/ Zim Allgemeines/ notebook. zim .config/ zim/notebooks. list /home/sojusnik/ Sonstiges/ Zim%20Notebooks /Allgemeines Sonstiges/ Zim Notebooks/ Allgemeines/ .zim/tmp Sonstiges/ Zim Allgemeines/ .zim/tmp Sonstiges/ Zim Allgemeines/ notebook. zim Sonstiges/ Zim Notebooks/ Allgemeines/ .zim Sonstiges/ Zim Allgemeines/ .zim/index. db Server( None).ping( (), {})> server- main', sojusnik/ zim-server- socket' , '10'] (cwd: None) Server( None).ping( (), {})> sojusnik/ zim-server- socket Server( None).has_ object( (<RemoteObject: GtkInterface( file:// /home/sojusnik/ Sonstiges/ Zim%20Notebooks /Allgemeines) >,), Server( None).init_ object( (<RemoteObject: GtkInterface( file:// /home/sojusnik/ Sonstiges/ Zim%20Notebooks /Allgemeines) >,), Sonstiges/ Zim Allgemeines/ .zim/tmp> Sonstiges/ Zim Allgemeines/ .zim/tmp> Sonstiges/ Zim Allgemeines/ notebook. zim> Sonstiges/ Zim Allgemeines/ .zim> Sonstiges/ Zim Allgemeines/ .zim/index. db>
>
> Version Control fails to autosave with GIT.
>
> Happens with the recently released ZIM version from Jaap's Snapshots
> PPA.
>
> zim -D says:
>
> XYZ@XYZ:~$ zim -D
> INFO: This is zim 0.60
> DEBUG: Python version is sys.version_
> releaselevel=
> DEBUG: Platform is posix
> DEBUG: No bzr version-info found
> DEBUG: Not running from a source dir
> DEBUG: Set XDG_DATA_HOME to /home/sojusnik/
> DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share/
> /usr/share/gnome>, <Dir: /usr/local/share>, <Dir: /usr/share>]
> DEBUG: Set XDG_CONFIG_HOME to /home/sojusnik/
> DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/
> /etc/xdg>]
> DEBUG: Set XDG_CACHE_HOME to /home/sojusnik/
> DEBUG: Loading config from: <zim.notebook.
> 0x7fb692729290>
> DEBUG: Loading config from: /home/sojusnik/
> Notebooks/
> DEBUG: Wrote /home/sojusnik/
> INFO: Using default notebook:
> file://
> DEBUG: Wrote /home/sojusnik/
> INFO: Remove file: /home/sojusnik/
> Notebooks/
> DEBUG: Loading config from: /home/sojusnik/
> Notebooks/
> DEBUG: Cache dir: /home/sojusnik/
> DEBUG: Index database file: /home/sojusnik/
> Notebooks/
> DEBUG: Remote call from 26206: <RemoteMethodCall: 26206:
> zim.ipc.
> DEBUG: Starting server by spawning new process
> INFO: Spawning: ['/usr/bin/zim', '--ipc-
> '/tmp/zim-
> DEBUG: Process started with PID: 26359
> DEBUG: Remote call from 26206: <RemoteMethodCall: 26206:
> zim.ipc.
> INFO: Server starting 26359 at /tmp/zim-
> DEBUG: Remote call returned to 26206: ('ACK', 26359)
> DEBUG: Remote call from 26206: <RemoteMethodCall: 26206:
> zim.ipc.
> zim.gui.
> {})>
> DEBUG: Remote call returned to 26206: False
> DEBUG: Remote call from 26206: <RemoteMethodCall: 26206:
> zim.ipc.
> zim.gui.
> {})>
> DEBUG: Wrote <UnixFile: /home/sojusnik/
> Notebooks/
> INFO: Remove file: <UnixFile: /home/sojusnik/
> Notebooks/
> DEBUG: Loading config from: <UnixFile: /home/sojusnik/
> Notebooks/
> DEBUG: Cache dir: <Dir: /home/sojusnik/
> Notebooks/
> DEBUG: Index database file: <UnixFile: /home/sojusnik/
> Notebooks/
> DEBUG: Opening notebook...