Can't add a new customtool after from verno. 263
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
High
|
Unassigned |
Bug Description
Dear All:
i run the pyzim in ubuntu lucid. i found that i can't add a new customtool after the zim be up to date. i found the function do_response_ok in customtools.py try to get the "path object" after from verno. 263. i delete the "path object" by self. it can't be look good for me.
Debug Msg:
DEBUG: Opening dialog "Custom Tools - Zim"
DEBUG: Opening dialog "Edit Custom Tool - Zim"
DEBUG: Dialog response OK
DEBUG: Running ErrorDialog
ERROR: 'NoneType' object has no attribute 'path'
Traceback (most recent call last):
File "/home/
destroy = self.do_
File "/home/
fields['Icon'] = self.iconbutton
AttributeError: 'NoneType' object has no attribute 'path'
OK, looks like I failed to test this function for tools without an icon. If you do define an icon image all should be fine.