Zim

importing a page

Bug #1687461 reported by Ahmad Gharbeia أحمد غربية
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Committed
Undecided
Unassigned

Bug Description

In Ubuntu 16.04, as soon as I click "File -> Import…" I get the following exception:

This is zim 0.66
Platform: posix
Locale: en_GB 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/actions.py", line 149, in do_activate
    self.__get__(instance, instance.__class__)()
  File "/usr/lib/python2.7/dist-packages/zim/actions.py", line 132, in func
    self.func(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 1032, in import_page
    ImportPageDialog(self).run()
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 2596, in __init__
    self.add_shortcut(ui.notebook, ui.page)
  File "/usr/lib/python2.7/dist-packages/zim/gui/widgets.py", line 3661, in add_shortcut
    self.filechooser.add_shortcut_folder(page.source.dir.path)
GError: Shortcut file:///home/ahmad/ownCloud/Zim/Translations already exists

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

Commit: b8b7247b2cf4787f708a7145dd4513c9d98217e8

Changed in zim:
status: New → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1687461] Re: importing a page

Make that 022bfef5b6d55c84832d5f95d8e3e0b111f53864

On Sun, May 7, 2017 at 9:25 PM Jaap Karssenberg <email address hidden>
wrote:

> Commit: b8b7247b2cf4787f708a7145dd4513c9d98217e8
>
>
> ** Changed in: zim
> Status: New => Fix Committed
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1687461
>
> Title:
> importing a page
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1687461/+subscriptions
>

Revision history for this message
Poul Poulsen (physiculus) wrote :

hello,
same here on Windows 8.1 64bit.
Older Version 0.65 works.

Regards
Poul

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.