Zim

zim 0.66 crash before inserting image

Bug #1701883 reported by Daniel Andrei Mincă
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

Below is the stack trace after trying to Insert image from the menu

This is zim 0.66
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 13, 'final', 0)
Gtk: (2, 24, 31)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 871 <email address hidden>
  date: 2017-04-28 12:31:55 +0200

======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 149, in do_activate
    self.__get__(instance, instance.__class__)()
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 132, in func
    self.func(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 5967, in insert_image
    InsertImageDialog(self.ui, self.view.get_buffer(), self.ui.notebook, self.page, file).run()
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 6530, in __init__
    self.add_shortcut(notebook, path)
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 3661, in add_shortcut
    self.filechooser.add_shortcut_folder(page.source.dir.path)
GError: Shortcut file:///home/dminca/Notebooks/Notes already exists

summary: - zim 0.66 crashing before inserting image
+ zim 0.66 crash before inserting image
Revision history for this message
Andrew Bortnik (abortnik) wrote :

Same on Arch Linux, zim 0.67-1. An attempt to attach a file leads to

This is zim 0.66
Platform: posix
Locale: ru_RU UTF-8
FS encoding: UTF-8
Python: (2, 7, 13, 'final', 0)
Gtk: (2, 24, 31)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim
  revision: 871 <email address hidden>
  date: 2017-04-28 12:31:55 +0200

======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 149, in do_activate
    self.__get__(instance, instance.__class__)()
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 132, in func
    self.func(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/zim/gui/__init__.py", line 1178, in attach_file
    AttachFileDialog(self._mainwindow, self.notebook, path).run()
  File "/usr/lib/python2.7/site-packages/zim/gui/__init__.py", line 2827, in __init__
    self.add_shortcut(notebook, path)
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 3661, in add_shortcut
    self.filechooser.add_shortcut_folder(page.source.dir.path)
GError: Shortcut file:///..... already exists

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.