delete page in the contextual menu (right click) doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
New
|
Undecided
|
Unassigned |
Bug Description
When I right click on a page in the index and when I select "Supprimer la page" nothing happens. I'm using LANG="fr_FR.UTF-8". On the terminal and running with zim -D I see:
Traceback (most recent call last):
File "/usr/lib/
DeletePageD
File "/usr/lib/
'Remove links from %i pages linking to this page', i) % i
TypeError: not all arguments converted during string formatting
Strangely when I run it with LANG=C, then I get a confirmation prompt and when I confirm I get an error message "walk() got an unexpected keyword argument 'followlinks'" and I have to click a second time on "OK" but then it works.
In the terminal with zim -D I get this:
DEBUG: Action: delete_page
DEBUG: Pageindex has focus
DEBUG: Opening dialog "Delete Page - Zim"
DEBUG: Dialog response OK
DEBUG: Opening ProgressBarDialog
INFO: Remove file: /home/rhertzog/
INFO: Remove file tree: /home/rhertzog/
DEBUG: Running ErrorDialog
ERROR: walk() got an unexpected keyword argument 'followlinks'
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
store.
File "/usr/lib/
dir.
File "/usr/lib/
for root, dirs, files in os.walk(
TypeError: walk() got an unexpected keyword argument 'followlinks'
DEBUG: Dialog response OK
DEBUG: Opening ProgressBarDialog
INFO: Open page: <FileStorePage: Notes:MindMapping> (<HistoryRecord: Notes:MindMapping>)
DEBUG: Closed dialog "Delete Page"
This is with zim 0.47-1 that I just uploaded to Debian and:
DEBUG: Gtk version is (2, 20, 1)
DEBUG: Pygtk version is (2, 17, 0)
In case it was not clear, "Supprimer la page" is "Delete page" but in French.