On Tue, Jan 25, 2011 at 09:23:08PM -0000, Jaap Karssenberg wrote:
> Was about to merge this patch but encountered an error when opening my
> debug notebook:
>
> Traceback (most recent call last):
> File "/home/jaap/code/pyzim-trunk/zim/gui/__init__.py", line 594, in _action_handler
> method(*arg)
> File "/home/jaap/code/pyzim-trunk/zim/gui/__init__.py", line 1211, in clean_notebook
> CleanNotebookDialog(self).run()
> File "/home/jaap/code/pyzim-trunk/zim/gui/cleannotebook.py", line 184, in __init__
> self.treeview = OrphanedFilesTreeView(ui)
> File "/home/jaap/code/pyzim-trunk/zim/gui/cleannotebook.py", line 115, in __init__
> self.orphaned_files = get_orphaned_files(ui.notebook)
> File "/home/jaap/code/pyzim-trunk/zim/gui/cleannotebook.py", line 83, in get_orphaned_files
> if not shortfile in linked_files[pagename]:
> KeyError: u'Album'
>
> Would have debugged it myself, but too late on the evening and will not
> have much time for code until the end of the week.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/416859
>
> Title:
> Files without links should be removed
>
> Status in Zim desktop wiki:
> In Progress
>
> Bug description:
> In Zim 0.27 files that are attached stay there. It would be nice that
> if all links to those files are gone, the file would be automatically
> removed or transferred into some kind of wastebin thingy.
>
>
>
Will look into this within the next days.
On Tue, Jan 25, 2011 at 09:23:08PM -0000, Jaap Karssenberg wrote: jaap/code/ pyzim-trunk/ zim/gui/ __init_ _.py", line 594, in _action_handler jaap/code/ pyzim-trunk/ zim/gui/ __init_ _.py", line 1211, in clean_notebook alog(self) .run() jaap/code/ pyzim-trunk/ zim/gui/ cleannotebook. py", line 184, in __init__ eeView( ui) jaap/code/ pyzim-trunk/ zim/gui/ cleannotebook. py", line 115, in __init__ files(ui. notebook) jaap/code/ pyzim-trunk/ zim/gui/ cleannotebook. py", line 83, in get_orphaned_files files[pagename] : /bugs.launchpad .net/bugs/ 416859
> Was about to merge this patch but encountered an error when opening my
> debug notebook:
>
> Traceback (most recent call last):
> File "/home/
> method(*arg)
> File "/home/
> CleanNotebookDi
> File "/home/
> self.treeview = OrphanedFilesTr
> File "/home/
> self.orphaned_files = get_orphaned_
> File "/home/
> if not shortfile in linked_
> KeyError: u'Album'
>
> Would have debugged it myself, but too late on the evening and will not
> have much time for code until the end of the week.
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> Files without links should be removed
>
> Status in Zim desktop wiki:
> In Progress
>
> Bug description:
> In Zim 0.27 files that are attached stay there. It would be nice that
> if all links to those files are gone, the file would be automatically
> removed or transferred into some kind of wastebin thingy.
>
>
>