** Description changed:

- The latest source was crashing with:
+ The version of Glipper shipped in precise (2.3-1) contains a serious bug
+ (LP: #904367) which causes glipper to crash repeatedly, often at
+ startup. A simple fix was applied to the 2.4 branch and backported to
+ the 2.3-3 package in Debian. Can a SRU be started so that we can get
+ glipper 2.3-3 into Precise? This is not necessary for Quantal which
+ ships with 2.4-1 and already includes the patch.
  
- Traceback (most recent call last):
-   File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", line 
144, in on_history_changed
-     self.update_menu(history_list)
-   File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", line 
79, in update_menu
-     menu_item = gtk.CheckMenuItem(format_item(item), False)
-   File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", line 
185, in format_item
-     i = item.replace("\n", " ")
- AttributeError: 'NoneType' object has no attribute 'replace'
+ [Impact]
  
- The attached patch seems to prevent crashing, though I'm still trying to
- pin down an issue which occurs after clearing the history, or launching
- with no history, wherein the first clip change always pushes ctrl_c_item
- to the history, regardless of which clipboard was used.
+  * Glipper often crashes the first time the clipboard changes after
+ launch with an error:
+ 
+   Traceback (most recent call last):
+     File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", 
line 144, in on_history_changed
+       self.update_menu(history_list)
+     File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", 
line 79, in update_menu
+       menu_item = gtk.CheckMenuItem(format_item(item), False)
+     File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", 
line 185, in format_item
+       i = item.replace("\n", " ")
+   AttributeError: 'NoneType' object has no attribute 'replace'
+ 
+ [Test Case]
+ 
+ * Launch Glipper in an X session with no clipboard history (e.g., in a
+ new `vncserver`) and copy some text to the clipboard. Glipper should not
+ crash.
+ 
+ [Regression Potential]
+ 
+ * Very low. The modified bit of code is very small and well-tested at
+ this point (since it has been in wheezy for several months).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/904367

Title:
  Problems when ctrl_c_item is None (patch attached)

To manage notifications about this bug go to:
https://bugs.launchpad.net/glipper/+bug/904367/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to