Zim

Zim fails to open notebook with Python error: Python quit unexpectedly while using the libgdk-quartz-2.0.0.dylib plug-in.

Bug #1638740 reported by Dennis Kaptain
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

Python version 2.7.12

MacOS Sierra version 10.12.1

Zim version 0.65

The main window opens normally. When I select a notebook and click OK, I get a pop up that says:
Python quit unexpectedly while using the libgdk-quartz-2.0.0.dylib plug-in.

$ ~/Library/zim-0.65/zim.py -D
INFO: This is zim 0.65
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=10, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
  branch: zim-trunk
  revision: 805 <email address hidden>
  date: 2015-11-01 15:42:45 +0100
DEBUG: Running from a source dir: /Users/dkapta/Library/zim-0.65
DEBUG: Set XDG_DATA_HOME to /Users/dkapta/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share>, <Dir: /usr/local/share>]
DEBUG: Set XDG_CONFIG_HOME to /Users/dkapta/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /Users/dkapta/.cache
DEBUG: Loading config from: <zim.notebook.VirtualFile object at 0x107db5450>
DEBUG: Loading config from: /Users/dkapta/Notebooks/Notes/notebook.zim
DEBUG: Loading config from: /Users/dkapta/Dropbox/zim/notebook.zim
DEBUG: Wrote /Users/dkapta/.config/zim/notebooks.list
2016-11-02 18:23:48.727 Python[14761:1224861] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
DEBUG: Loading config from: <zim.notebook.VirtualFile object at 0x10b819c10>
DEBUG: Loading config from: /Users/dkapta/Notebooks/Notes/notebook.zim
DEBUG: Loading config from: /Users/dkapta/Dropbox/zim/notebook.zim
DEBUG: Wrote /Users/dkapta/.config/zim/notebooks.list
DEBUG: Loading config from: <zim.notebook.VirtualFile object at 0x10b820450>
DEBUG: Loading config from: /Users/dkapta/Notebooks/Notes/notebook.zim
DEBUG: Loading config from: /Users/dkapta/Dropbox/zim/notebook.zim
DEBUG: Wrote /Users/dkapta/.config/zim/notebooks.list
DEBUG: Opening dialog "Open Notebook - Zim"
DEBUG: Dialog response OK
DEBUG: Wrote /Users/dkapta/.config/zim/notebooks.list
DEBUG: Closed dialog "Open Notebook"
DEBUG: Wrote /Users/dkapta/Notebooks/Notes/.zim/tmp
INFO: Remove file: /Users/dkapta/Notebooks/Notes/.zim/tmp
DEBUG: Loading config from: /Users/dkapta/Notebooks/Notes/notebook.zim
DEBUG: Cache dir: /Users/dkapta/.cache/zim/notebook-Users_dkapta_Notebooks_Notes
DEBUG: Index database file: /Users/dkapta/.cache/zim/notebook-Users_dkapta_Notebooks_Notes/index.db
DEBUG: Remote call from 14761: <RemoteMethodCall: 14761: zim.ipc.Server(None).ping((), {})>
DEBUG: Starting server by spawning new process
INFO: Spawning: ['/usr/bin/python', '/Users/dkapta/Library/zim-0.65/zim.py', '--ipc-server-main', '/var/folders/rx/fjt9kdns4zg4fmzjrqvrgxq00000gn/T/zim-dkapta/zim-server-socket', '10'] (cwd: None)
DEBUG: Process started with PID: 14764
DEBUG: Remote call from 14761: <RemoteMethodCall: 14761: zim.ipc.Server(None).ping((), {})>
INFO: Server starting 14764 at /var/folders/rx/fjt9kdns4zg4fmzjrqvrgxq00000gn/T/zim-dkapta/zim-server-socket
DEBUG: Remote call from 14761: <RemoteMethodCall: 14761: zim.ipc.Server(None).ping((), {})>
DEBUG: Remote call returned to 14761: ('ACK', 14764)
DEBUG: Remote call from 14761: <RemoteMethodCall: 14761: zim.ipc.Server(None).has_object((<RemoteObject: zim.gui.GtkInterface(file:///Users/dkapta/Notebooks/Notes)>,), {})>
DEBUG: Remote call returned to 14761: False
DEBUG: Remote call from 14761: <RemoteMethodCall: 14761: zim.ipc.Server(None).init_object((<RemoteObject: zim.gui.GtkInterface(file:///Users/dkapta/Notebooks/Notes)>,), {})>
2016-11-02 18:23:56.199 Python[14765:1224959] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
DEBUG: Wrote <UnixFile: /Users/dkapta/Notebooks/Notes/.zim/tmp>
INFO: Remove file: <UnixFile: /Users/dkapta/Notebooks/Notes/.zim/tmp>
DEBUG: Loading config from: <UnixFile: /Users/dkapta/Notebooks/Notes/notebook.zim>
DEBUG: Cache dir: <Dir: /Users/dkapta/.cache/zim/notebook-Users_dkapta_Notebooks_Notes>
DEBUG: Index database file: <UnixFile: /Users/dkapta/.cache/zim/notebook-Users_dkapta_Notebooks_Notes/index.db>
DEBUG: Opening notebook: <zim.notebook.Notebook object at 0x109aee350>
DEBUG: Loading config from: <ConfigFile: /Users/dkapta/.config/zim/preferences.conf>
DEBUG: Loading plugin: calendar
DEBUG: Loading plugin: insertsymbol
DEBUG: Loading plugin: printtobrowser
DEBUG: Loading plugin: versioncontrol
INFO: No VCS detected
DEBUG: Gtk version is (2, 24, 31)
DEBUG: Pygtk version is (2, 24, 0)
DEBUG: Loading config from: <ConfigFile: /Users/dkapta/.config/zim/style.conf>
DEBUG: Loading config from: <UnixFile: /Users/dkapta/.cache/zim/notebook-Users_dkapta_Notebooks_Notes/state.conf>
DEBUG: Child process started 14765 for <RemoteObject: zim.gui.GtkInterface(file:///Users/dkapta/Notebooks/Notes)>
INFO: Starting async index update
DEBUG: Remote call returned to 14761: True
DEBUG: Remote call from 14761: <RemoteMethodCall: 14761: zim.gui.GtkInterface(file:///Users/dkapta/Notebooks/Notes).present((), {'geometry': None, 'fullscreen': None, 'page': None})>
DEBUG: Action: set_pathbar_recent
DEBUG: Action: toggle_panes
DEBUG: Accelmap: /Users/dkapta/.config/zim/accelmap
/Users/dkapta/Library/zim-0.65/zim/gui/__init__.py:604: Warning: invalid cast from 'GtkMenuBar' to 'GtkWindow'
  macapp.set_menu_bar(menu_bar)
/Users/dkapta/Library/zim-0.65/zim/gui/__init__.py:604: GtkWarning: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
  macapp.set_menu_bar(menu_bar)
INFO: Open page: <FileStorePage: LabDevices> (<HistoryPath: LabDevices>)

Revision history for this message
Jeff Templon (jaytee32) wrote :

Hi

please add yourself to this bug, which is I guess related:

https://bugs.launchpad.net/zim/+bug/1633812

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Afraid no idea what to do on this bug

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.