TypeError: could not convert argument to correct param type

Bug #706681 reported by Rick Spencer on 2011-01-23
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pithos
Fix Released
Undecided
Rick Spencer
pithos (Ubuntu)
Undecided
Unassigned

Bug Description

This is on Natty running from the PPA

Steps:
1. Run pithos from the terminal
2. When the first song starts, skip to the next song

Result:
The terminal reports the following error info:
Traceback (most recent call last):
  File "/usr/bin/pithos", line 247, in bgcolor_data_func
    cell.set_property("cell-background", bgcolor)
TypeError: could not convert argument to correct param type

And the GUI marks the song with a gstreamer error, though there was not one.

The problem seems to be be that the code is setting the background-color of the cell with gtk,gdk.Color object. Changing line 247 of bin/pithos to the following seems to fix it:
            cell.set_property("cell-background-gdk", bgcolor)

Let me know if you would prefer a merge proposal or a patch instead, but for a 4 character change, this seemed easier for you.

description: updated
Changed in pithos:
status: New → Confirmed
Luke Faraone (lfaraone) wrote :

Bug in the PPA, not relevant to Ubuntu.

Changed in pithos (Ubuntu):
status: New → Invalid
Ken VanDine (ken-vandine) wrote :

This bug exists in natty universe as well, I'll probably distro patch it.

Changed in pithos (Ubuntu):
status: Invalid → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pithos - 0.3.7-2ubuntu1

---------------
pithos (0.3.7-2ubuntu1) natty; urgency=low

  * debian/patches/lp_706681.patch
    - TypeError: could not convert argument to correct param type (LP: #706681)
 -- Ken VanDine <email address hidden> Fri, 04 Mar 2011 17:01:39 -0500

Changed in pithos (Ubuntu):
status: Confirmed → Fix Released
Luke Faraone (lfaraone) wrote :

Fixed in 0.3.7-2 in Debian. It'll be safe to sync the next version of the package to Ubuntu.

Changed in pithos:
status: Confirmed → Fix Committed
assignee: nobody → Rick Spencer (rick-rickspencer3)
Changed in pithos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers