Description of problem: I do not know. I just upgraded to the latest cherrytree 2 days ago. Did not notice anything in its running. I was using a passworded file when the bug reporting tool came up with this. Version-Release number of selected component: cherrytree-0.28.5-1.fc17 Additional info: cmdline: /usr/bin/python /usr/bin/cherrytree dso_list: python-libs-2.7.3-7.2.fc17.x86_64 executable: /usr/bin/cherrytree kernel: 3.6.11-1.fc17.x86_64 uid: 1000 Truncated backtrace: machines.py:360:codebox_element_to_xml:KeyError: 'highlight_brackets' Traceback (most recent call last): File "/usr/share/cherrytree/modules/clipboard.py", line 249, in to_html xml_string = html_import.get_clipboard_selection_xml(selection_data) File "/usr/share/cherrytree/modules/imports.py", line 1496, in get_clipboard_selection_xml self.feed(input_string) File "/usr/lib64/python2.7/HTMLParser.py", line 114, in feed self.goahead(0) File "/usr/lib64/python2.7/HTMLParser.py", line 160, in goahead k = self.parse_endtag(i) File "/usr/lib64/python2.7/HTMLParser.py", line 398, in parse_endtag self.handle_endtag(elem) File "/usr/share/cherrytree/modules/imports.py", line 1439, in handle_endtag self.dad.xml_handler.codebox_element_to_xml([0, codebox_dict, "left"], self.curr_dom_slot) File "/usr/share/cherrytree/modules/machines.py", line 360, in codebox_element_to_xml dom_iter.setAttribute("highlight_brackets", str(element[1]['highlight_brackets'])) KeyError: 'highlight_brackets' Local variables in innermost frame: dom_iter: <DOM Element: codebox at 0x2b668c0> self: <machines.XMLHandler instance at 0x2b32bd8> dom_node: <DOM Element: slot at 0x2b66830> element: [0, {'width_in_pixels': True, 'fill_text': u'y3cshhf7vs7wgzdk6g3edy36k4', 'frame_height': 150, 'frame_width': 300, 'syntax_highlighting': 'custom-colors'}, 'left']
Created attachment 667274 [details] File: backtrace
Created attachment 667275 [details] File: core_backtrace
Created attachment 667276 [details] File: environ
Created attachment 667277 [details] File: smolt_data
The bug is not related to latest version but is quite old, it depends from the kind of data pasted from the clipboard. I fixed it, thanks for reporting, I'll release a new version in the next days.
cherrytree-0.29-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/cherrytree-0.29-1.fc17
Package cherrytree-0.29-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cherrytree-0.29-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0789/cherrytree-0.29-1.fc17 then log in and leave karma (feedback).
cherrytree-0.29-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.