listen shows traceback

Bug #285277 reported by Shirish Agarwal
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
listen (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: listen

Hi all,
 I get this traceback while launching listen

$ listen
Error grabbing key 174, 0x8af9c00
No iPod support
location: /usr/lib/xulrunner-1.9.0.3/libxpcom.so
before 3
Traceback (most recent call last):
  File "/usr/lib/listen/widget/notify.py", line 140, in on_new_song
    self.display_notification(song,text,self.timeout)
  File "/usr/lib/listen/widget/notify.py", line 149, in display_notification
    pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(cover,40,40)
glib.GError: Unrecognized image file format

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: listen 0.5-5ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN
SourcePackage: listen
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

some more

AttributeError: 'NoneType' object has no attribute 'add_songs'
Traceback (most recent call last):
  File "/usr/lib/listen/library/local.py", line 179, in monitor_notify
    self.get_pl_master().append([song])
  File "/usr/lib/listen/library/__init__.py", line 526, in append
    return Playlist.insert(self,songs,None)
  File "/usr/lib/listen/library/__init__.py", line 532, in insert
    songs = self.library.add_songs(songs)

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

Exception in thread Thread-64:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/listen/widget/progress.py", line 140, in run_thread
    for text,fraction,pulse in action["iter_func"](*action["param"]):
  File "/usr/lib/listen/library/local.py", line 227, in background_check
    songs = self.get_pl_master().get_songs()
  File "/usr/lib/listen/library/__init__.py", line 520, in get_songs
    return [self.library.songs[uri] for uri in self.songs]
AttributeError: 'NoneType' object has no attribute 'songs'

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the final release of Intrepid Ibex 8.10. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks again and we appreciate your help.

Changed in listen:
status: New → Incomplete
Revision history for this message
Shirish Agarwal (shirishag75) wrote : Re: [Bug 285277] Re: listen shows traceback

Hi Charlie,
 Thank you for getting back to me.

I installed listen on a newly formatted ubuntu 8.10 and while I'm
listening to a song I'm still getting the same traceback.

Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/listen/widget/webinfo/lastfm.py", line 204, in thread
    list_btn.append(self.make_btn_lastfm(item["name"],item["url"],item["match"],_("Score")+"
: "+item["match"],item["image_small"]))
  File "/usr/lib/listen/widget/webinfo/lastfm.py", line 255, in make_btn_lastfm
    sock = urllib.urlopen(image_url)
  File "/usr/lib/python2.5/urllib.py", line 82, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.5/urllib.py", line 165, in open
    fullurl = unwrap(toBytes(fullurl))
  File "/usr/lib/python2.5/urllib.py", line 1009, in unwrap
    url = url.strip()
AttributeError: 'NoneType' object has no attribute 'strip'

/usr/lib/listen/widget/osd.py:131: GtkWarning: GtkSpinButton: setting
an adjustment with non-zero page size is deprecated
  timeout = gtk.SpinButton(gtk.Adjustment(float(config.get('osd',
'osd_timeout')), 0, 60.0, 0.1, 1.0, 1.0), 0.1, 1)
--
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for helping improve things. Are these errors in a log? Are you running Listen in a terminal? If the errors are in a log, please attach the entire log file as a separate uncompressed attachment. Also, please attach ~/.xsession-errors.

Please tell us step by step how to reproduce this; assume we know nothing about how to run Listen.

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

I dunno about reproducing this. I just installed it.

sudo apt-get/aptitude install listen.

Then on terminal run listen

$listen

then When listen opens used preferences

Music > Preferences

in General

checked Enable trayicon
checked Close to systray
     " Enqueue as default action
     " Don't clear the playlist when play a new song

In Library
made /home/shirish/Music as the default location for library

checked Check my library for deleted files on startup
checked Check my library for added/changed files on startup

Close down listen

Move all my music there (which are in its own respective folders/directories)

Then start listen through terminal, it sees folders and what not and starts to play and then gives the traceback.

Would attach the .xsession-errors file shortly.

Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

I do get this same traceback in Xubuntu 8.04.1 with all updates as of 01-11-2009.

Changed in listen:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
+T+ (t0m) wrote :
Download full text (9.8 KiB)

I seems to have similar problem. After starting Listen from Terminal I'm getting the following:

/var/lib/python-support/python2.6/musicbrainz2/model.py:21: DeprecationWarning: the sets module is deprecated
  from sets import Set
location: /usr/lib/xulrunner-1.9.0.14/libxpcom.so
before 3
ERROR listen problem to convert 1140 (time.struct_time(tm_year=1140, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
ValueError: year out of range
WARNING listen.player.fadebin.StreamBin stream "file:///home/jo...ght%20Song%20-%202000.MP3" already blocked
ERROR listen problem to convert 2935 (time.struct_time(tm_year=2935, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=5, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
OverflowError: mktime argument out of range
ERROR listen problem to convert 2935 (time.struct_time(tm_year=2935, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=5, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
OverflowError: mktime argument out of range
ERROR listen problem to convert 0199 (time.struct_time(tm_year=199, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=1, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
ValueError: year out of range
ERROR listen problem to convert 0199 (time.struct_time(tm_year=199, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=1, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
ValueError: year out of range
ERROR listen problem to convert 1140 (time.struct_time(tm_year=1140, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
ValueError: year out of range
ERROR listen problem to convert 1140 (time.struct_time(tm_year=1140, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
ValueError: year out of range
ERROR listen problem to convert 0199 (time.struct_time(tm_year=199, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=1, tm_yday=1, tm_isdst=-1)) in date format
Traceback (most recent call last):
  File "/usr/lib/listen/utils.py", line 232, in strdate_to_time
    return mktime(new_date)
ValueError: year out of range
ERROR listen problem to convert 1140 (time.struct_time(tm_year=1140, tm_mon=1, tm_mday=1, tm_h...

Read more...

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.