Treeline Won't Even Run in 9.10

Bug #484322 reported by booksnmore4you on 2009-11-17
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
treeline (Ubuntu)
Undecided
Unassigned
Karmic
Undecided
Unassigned

Bug Description

Binary package hint: treeline

After installing treeline 1.2.3-1 and attempting to run it, it refuses to start due to a type error in treemainwindow.py. Upstream has fixed the application to work with PyQt 4.6

This bug is fixed in the new upstream version 1.2.4-1 in lucid.

TEST CASE:
To reproduce the bug just try to run the application. It won't start giving you a backtrace if you try to start it from a terminal.

$ treeline
Traceback (most recent call last):
  File "/usr/share/treeline/treeline.py", line 167, in <module>
    main()
  File "/usr/share/treeline/treeline.py", line 156, in main
    win = treemainwin.TreeMainWin()
  File "/usr/share/treeline/treemainwin.py", line 234, in __init__
    self.setPasteAvail()
  File "/usr/share/treeline/treemainwin.py", line 427, in setPasteAvail
    text = self.clipText()
  File "/usr/share/treeline/treemainwin.py", line 434, in clipText
    text = unicode(QtGui.QApplication.clipboard().text('xml'))
TypeError: argument 1 of QClipboard.text() has an invalid type

booksnmore4you (booksnmore4you) wrote :

I discovered the problem. The version in synaptic is old and has has a known issue that prevents it from running http://freshmeat.net/projects/treeline/releases/306601 . Treeline Version 1.2.4 http://packages.debian.org/squeeze/all/treeline/download fixes the issue.

Philip Muškovac (yofel) wrote :

Confirmed in Karmic.

Changed in treeline (Ubuntu):
status: New → Confirmed
Philip Muškovac (yofel) on 2009-11-17
description: updated
Philip Muškovac (yofel) wrote :

Debdiff for karmic-proposed with the upstream patch that fixes this bug.

John Dong (jdong) wrote :

ACK from motu-sru for debdiff in comment #3... However, please change description of bug to comply with https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Philip Muškovac (yofel) on 2009-11-17
description: updated
Fabrice Coutadeur (fabricesp) wrote :

Hi,

Uploaded to -proposed, awaiting for approval.
I made the following changes:
- Update the maintainer field in debian/control to Ubuntu Developers <email address hidden>
- Update the changelog entry to make clear the updated files.

Thanks,
Fabrice

Accepted treeline into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in treeline (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Philip Muškovac (yofel) wrote :

Works fine for me so far. booksnmore4you?

Martin Pitt (pitti) on 2009-11-25
tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package treeline - 1.2.3-1ubuntu0.1

---------------
treeline (1.2.3-1ubuntu0.1) karmic-proposed; urgency=low

  * debian/patch.diff: Add a work-around for a bug in PyQt 4.6's clipboard
    support that can prevent TreeLine from starting. Patching file
    source/treemainwin.py (LP: #484322)
 -- Philip Muskovac <email address hidden> Tue, 17 Nov 2009 21:21:55 +0100

Changed in treeline (Ubuntu Karmic):
status: Fix Committed → Fix Released
Martin Pitt (pitti) wrote :

Fixed in lucid according to changelog.

Changed in treeline (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers