Error attach file

Bug #1687195 reported by José Luis Poveda Galdrán on 2017-04-29
This bug affects 5 people
Affects Status Importance Assigned to Milestone

Bug Description

kubuntu 17.04 zesty

This is zim 0.66
Platform: posix
Locale: es_ES UTF-8
FS encoding: UTF-8
Python: (2, 7, 13, 'final', 0)
Gtk: (2, 24, 31)
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 "/usr/lib/python2.7/dist-packages/zim/fs.py", line 1664, in copyto
    assert isinstance(dest, (File, Dir))

INFO: This is zim 0.66
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: No bzr version-info found
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/jlpoveda/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share/usr/share/xsessions/plasma>, <Dir: /usr/local/share>, <Dir: /usr/share>, <Dir: /var/lib/snapd/desktop>]
DEBUG: Set XDG_CONFIG_HOME to /home/jlpoveda/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg/xdg-/usr/share/xsessions/plasma>, <Dir: /etc/xdg>, <Dir: /usr/share/kubuntu-default-settings/kf5-settings>]
DEBUG: Set XDG_CACHE_HOME to /home/jlpoveda/.cache
DEBUG: Got error in dispatch: No-one is listening
DEBUG: Registered object line
/usr/lib/python2.7/dist-packages/zim/gui/__init__.py:126: GtkWarning: Unable to locate theme engine in module_path: "adwaita",
  icon_theme = gtk.icon_theme_get_default()
WARNING: Could not find all icon sizes for the application icon
DEBUG: Starting primary process
DEBUG: Listening on /tmp/zim-jlpoveda/primary-0.66-e63203e40bb8abe19af8d7555de86d8a-0
DEBUG: Loading config from: <zim.notebook.info.VirtualFile object at 0x7f1a7db95fd0>
DEBUG: Loading config from: /home/jlpoveda/Documentos/Notebooks/Notes/notebook.zim
DEBUG: Wrote /home/jlpoveda/.config/zim/notebooks.list
INFO: Using default notebook: file:///home/jlpoveda/Documentos/Notebooks/Notes
DEBUG: Loading config from: /home/jlpoveda/Documentos/Notebooks/Notes/notebook.zim
DEBUG: Opening notebook: <zim.notebook.notebook.Notebook object at 0x7f1a7dbaaad0>
DEBUG: Loading config from: <ConfigFile: /home/jlpoveda/.config/zim/preferences.conf>
DEBUG: Loading plugin: calendar
DEBUG: Loading plugin: distractionfree
DEBUG: Loading plugin: insertsymbol
DEBUG: Loading plugin: printtobrowser
DEBUG: Loading plugin: screenshot
DEBUG: Gtk version is (2, 24, 31)
DEBUG: Pygtk version is (2, 24, 0)
DEBUG: Loading config from: <ConfigFile: /home/jlpoveda/.config/zim/style.conf>
DEBUG: Loading config from: /home/jlpoveda/.cache/zim/notebook-home_jlpoveda_Documentos_Notebooks_Notes/state.conf
DEBUG: Accelmap: /home/jlpoveda/.config/zim/accelmap
INFO: Open page: Home:documentos:entradas (Home:documentos:entradas)
DEBUG: Add window: MainWindow
DEBUG: BackgroundCheck started
DEBUG: BackgroundCheck finished

Karthik (karthikstayur) wrote :

Arch Linux with KDE here. Same issue here.

Patch in release_fixes 45ab3d8

Changed in zim:
status: New → Fix Committed

Thanks Jaap, Zim works again.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers