← Back to team overview

zim-wiki team mailing list archive

Re: error attaching file in zim 0.66

 

Just discovered that this only happens when importing using the button on the toolbar, not if I do this using the menu entry (/menu: insert: image/)


On 29-04-17 13:46, Paulo van Breugel wrote:
Hi, when trying to insert an image, I am getting the error copied below. Any idea?

This is zim 0.66
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
No bzr version-info found

======= Traceback =======
File "/usr/lib/python2.7/dist-packages/zim/gui/widgets.py", line 3194, in do_response
    destroy = self.do_response_ok()
File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 2858, in do_response_ok
    file = self.ui.do_attach_file(self.path, file)
File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 1197, in do_attach_file
    file.copyto(dest)
  File "/usr/lib/python2.7/dist-packages/zim/fs.py", line 1664, in copyto
    assert isinstance(dest, (File, Dir))
AssertionError:




References