Zim

Zim crashes during clipping

Bug #1336655 reported by George Supreeth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

Hello,

Zim popped up a message when I was trying to clip some text from firefox using the zim plugin. Here is the text from the popup - I was asked to submit it.

Hope this is useful. Sorry I cannot be more helpful - I don't have technical know-how.

And thanks for Zim. :D

This is zim 0.60
Python version is sys.version_info(major=2, minor=7, micro=6, releaselevel='final', serial=0)
Gtk version is (2, 24, 23)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
  branch: pyzim-trunk
  revision: 672 <email address hidden>
  date: 2013-04-30 19:27:20 +0200

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 4659, in set_page
    self.set_parsetree(tree, bool(template))
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 4750, in set_parsetree
    buffer.set_parsetree(tree)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 605, in set_parsetree
    self.insert_parsetree_at_cursor(tree)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 672, in insert_parsetree_at_cursor
    self._insert_element_children(root, raw=raw)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 745, in _insert_element_children
    self._insert_element_children(element, list_level=list_level, raw=raw) # recurs
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 786, in _insert_element_children
    self.insert_link_at_cursor(element.text, **element.attrib)
  File "/usr/lib/python2.7/dist-packages/zim/gui/pageview.py", line 846, in insert_link_at_cursor
    self.insert_at_cursor(text)
TypeError: GtkTextBuffer.insert_at_cursor() argument 1 must be string or read-only buffer, not None

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Afraid I can't debug without knowing the actual text being pasted

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.