exception when deleting page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. create a new page
2. insert some text and save the page
3. try to delete the oage
4. an exception window is shown: "TypeError: walk() got an unexpected keyword argument 'followlinks'"
(5. after closing this exception window, the next try so delete the page works fine.)
zim -D
INFO: This is zim 0.47
DEBUG: Python version is (2, 5, 2, 'final', 0)
DEBUG: Gtk version is (2, 18, 6)
DEBUG: Pygtk version is (2, 12, 1)
...
DEBUG: Action: new_page
DEBUG: Opening dialog "New Page - Zim"
DEBUG: Dialog response OK
DEBUG: Found template '_New' for <FileStorePage: Test>
INFO: Loading template from: /usr/src/
DEBUG: Saving page: <FileStorePage: Stuff>
DEBUG: Wrote /home/smu/
INFO: Open page: <FileStorePage: Test> (<FileStorePage: Test>)
DEBUG: Closed dialog "New Page"
DEBUG: Wrote /home/smu/
DEBUG: Action: save_page
DEBUG: Saving page: <FileStorePage: Test>
DEBUG: Wrote /home/smu/
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/smu/
INFO: Remove file tree: /home/smu/
DEBUG: Running ErrorDialog
ERROR: walk() got an unexpected keyword argument 'followlinks'
Traceback (most recent call last):
File "/usr/src/
self.
File "/usr/src/
store.
File "/usr/src/
dir.
File "/usr/src/
for root, dirs, files in os.walk(
TypeError: walk() got an unexpected keyword argument 'followlinks'