radio station no more recorded in 1.2 release

Bug #514537 reported by Gaspard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rhythmbox-record-station
Invalid
Undecided
Unassigned

Bug Description

Hello,

I was using Rhythmbox 0.12.5 with the recorder radion station plugin 1.1.3 and then some radio station could be recorded ( for exemple Couleur 3 -> http://broadcast.infomaniak.ch/rsr-couleur3-high.mp3.pls ) and some could not recorded ( for exemple France Inter -> http://www.tv-radio.com/station/france_inter_mp3/france_inter_mp3-128k.m3u)
It was pitty but It worked fine with the right radio station, I thought It was because of some radio station policy.

Then I upgrad the plugin with the 1.2 release, I installed it from link http://scrawl.bplaced.net/projects/record-station/download.php?file=deb
then nothing works no more ! no radio station could be recorded no more and in the recording manager window the Preferene button has no effect, I could no more configure the plugin.

I am using ubuntu 9.10 and I have checked all the dependencies for the plugin : streamripper, python-gtk2, python-glade2, python-gobject, libnotify-bin
all is ok but the plugin doesn't works, could you check this please ?

Best regard
Gaspard

Tags: 1.2 upgrad
Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :

Please start Rhythmbox in the terminal, then try to record something, and give me the output.

Revision history for this message
Gaspard (gaspard-lafarge) wrote :
Download full text (3.2 KiB)

Hello,

--> there I started Rhythmbox :

gaspard@zmobile:~$ rhythmbox
** (rhythmbox:2289): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (rhythmbox:2289): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 395, in activate
    self.radio_source.get_entry_view().connect("selection-changed", self.update_toolbar)
AttributeError: 'NoneType' object has no attribute 'get_entry_view'

(rhythmbox:2289): Rhythmbox-WARNING **: Could not open device /dev/radio0 <-- there you can see that there is something wrong
WARN coherence janv. 30 18:58:37 Coherence UPnP framework version 0.6.4 starting... (coherence/base.py:281)
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/coherence/base.py", line 205, in __new__
    obj.setup(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/coherence/base.py", line 298, in setup
    d.addCallback(catch_result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 195, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 186, in addCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/pymodules/python2.6/coherence/base.py", line 296, in catch_result
    self.setup_part2()
  File "/usr/lib/pymodules/python2.6/coherence/base.py", line 327, in setup_part2
    self.web_server = WebServer( self.config.get('web-ui',None), self.web_server_port, self)
  File "/usr/lib/pymodules/python2.6/coherence/base.py", line 111, in __init__
    self.port = reactor.listenTCP( port, self.site)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 356, in listenTCP
    p.startListening()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 858, in startListening
    raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:22: [Errno 13] Permission non accordée.
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/upnp_coherence/__init__.py", line 117, in activate
    self.server = MediaServer(self.coherence, MediaStore, **kwargs)
  File "/usr/lib/pymodules/python2.6/coherence/upnp/devices/basics.py", line 202, in __init__
    urlbase = self.coherence.urlbase
AttributeError: 'Coherence' object has no attribute 'urlbase'
WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect

** (rhythmbox:2289): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (rhythmbox:2289): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
Traceback (most recent call last): <-- there I tried to record a radio station
  File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 762, in record_station
    if not self.record_button_automatically_set:
AttributeError: 'RecordStation' o...

Read more...

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :

I've attached a record-station.py with a patch. Move it to /usr/lib/rhythmbox/plugins/record-station and tell me if it works then.

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :
Revision history for this message
Gaspard (gaspard-lafarge) wrote :

Hello,

I put the record-station.py in the /usr/lib/rhythmbox/plugins/record-station folder but no more appends, the record button has still no effect.

Something strange :
Before the .py file, when I start rhythmbox from the Applications launcher, I get the rhythmbox icone in the status bar in the top right of the screen -> this is the normal behavior.

With the .py file, when I start rhythmbox, first rhythmbox appears but without the Radio section and then, few second later rhythmbox crash. If I start rhytmbox again just after that I get the normal behavior.

If I do the same in a terminal, first rhythmbox crash immediatly and I could not get anything in the terminal.

Revision history for this message
Avik Topchyan (topchyan) wrote :

here's what I got even after the patch

  File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 772, in record_station
    self.start_rip(None, uri, True, self.config.get("Ripping", "defaultdir"))
  File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 809, in start_rip
    if self.config.get("Compability", "use_mplayer") == True and re.match(self.config.get("Compability", "regexp"), str(uri)):
  File "/usr/lib/python2.6/ConfigParser.py", line 311, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'Compability'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 626, in create_configure_dialog
    self.update_plan_view()
  File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 533, in update_plan_view
    self.plan_model.append( [item, time.ctime ( int(self.plan.get(item, "timestamp")) ) ] )
ValueError: timestamp out of range for platform time_t

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote : Re: [Bug 514537] Re: radio station no more recorded in 1.2 release

Am Freitag, den 05.02.2010, 04:02 +0000 schrieb Avetik Topchyan:
> here's what I got even after the patch
>
> File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 772, in record_station
> self.start_rip(None, uri, True, self.config.get("Ripping", "defaultdir"))
> File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 809, in start_rip
> if self.config.get("Compability", "use_mplayer") == True and re.match(self.config.get("Compability", "regexp"), str(uri)):
> File "/usr/lib/python2.6/ConfigParser.py", line 311, in get
> raise NoSectionError(section)
> ConfigParser.NoSectionError: No section: 'Compability'
> Traceback (most recent call last):
> File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 626, in create_configure_dialog
> self.update_plan_view()
> File "/usr/lib/rhythmbox/plugins/record-station/record-station.py", line 533, in update_plan_view
> self.plan_model.append( [item, time.ctime ( int(self.plan.get(item, "timestamp")) ) ] )
> ValueError: timestamp out of range for platform time_t
>
Your config file seems to be broken. Try this: rm ~/.rbrec_*

Revision history for this message
Gaspard (gaspard-lafarge) wrote :

Hi

first I have tried to delete my ~/.rbrec_conf and ~/.rbrec_plan and I have restarted rhythmnbox. I return in the first state : I can record Couleur3 but no France Inter. Notice that I have no record_station.py file in /usr/lib/rhythmbox/plugins/record-station
But when I try to record a wrong radio stream (France Inter for example) I get the message :

Veuillez vérifier que ce flux est valide:
http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-128k.m3u

for such a stream I can listen to it but I can't record it

Then I saw your post where you have done updates in the record_station.py and ConfigParser.py files. Could you send me your files updated please ? I prefer put the right files in the right place than doing the updates myself (and maybe doing bad updates because I don't understand very well what do you mean in your post)

Thank you very much for your work and your help

Revision history for this message
Avik Topchyan (topchyan) wrote :

It seems like rm ~/.rbrec_* with restart fixed the problem for me. Thanks!

Changed in rb-record-station:
status: New → Invalid
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.