Hello
This app is poorly writter and makes assumptions about the default python instances resulting unusable:
$ tv-player
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Channel's list not present! I will download an updated list from the server.
Creo il file di configurazione
Player:integrato
Rai's Recordings
Traceback (most recent call last):
File "libradiotv/rai_XML.py", line 27, in <module>
webXMLfile = urllib.urlopen("http://www.objects.rai.it/dl/objects/xml/raitv/Page-905f9415-7875-4087-a647-7ecfe784614f.html")
AttributeError: 'module' object has no attribute 'urlopen'
This defect is due to libradiotv/threadXML.py:
os.system("python libradiotv/rai_XML.py")
which will use the default python3 which has no urllib.urlopen function.
Maybe you should patch the upstream source to fix it by changing such call by python into python2 (which is what the app uses in his /usr/bin executable file).
Search Criteria
Package Details: tv-player-gtk 1.0.5-3
Package Actions
| Package Base: | tv-player-gtk |
|---|---|
| Description: | Tv-Player is an application written with the GTK graphic libraries that permit you to watch live TV and listen to live radio |
| Upstream URL: | http://tvplayersite.altervista.org |
| Category: | multimedia |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 25 |
| First Submitted: | 2009-12-19 23:55 |
| Last Updated: | 2010-10-20 14:42 |
Dependencies (10)
Required by (0)
Sources
Latest Comments
Comment by Muflone
Anonymous comment
it seems that you does not have python... very strange...
anyway package work for me so this is not a package issue.
wait for some users that can help you
Comment by dieghen89
Hi, i get this error:
diego@eeepc ~>tv-player
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Player:integrato
main-gtk.py:92: PangoWarning: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
builder.add_from_file("ui/ui.xml")
main-gtk.py:92: Warning: g_hash_table_insert_internal: assertion `hash_table != NULL' failed
builder.add_from_file("ui/ui.xml")
Rai's Recordings
sh: python: command not found
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
self.run()
File "/usr/share/tvplayer/libradiotv/threadXML.py", line 54, in run
self.file = open(self.config_dir +'/RAI_xml.list', 'r')
IOError: [Errno 2] No such file or directory: '/home/diego/.tvplayer/RAI_xml.list'
http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=986
integrato
sh: python: command not found
Traceback (most recent call last):
File "main-gtk.py", line 407, in play
url = self.listgen.get_rai_link(url)
File "/usr/share/tvplayer/libradiotv/webfetch.py", line 129, in get_rai_link
fp=open(self.config_dir+"/raistream.tmp","r")
IOError: [Errno 2] No such file or directory: '/home/diego/.tvplayer/raistream.tmp'
Look at sh: python: command not found...
Comment by gborzi
Please update the PKGBUILD to make it work with python2. Here is my modified PKGBUILD
http://aur.pastebin.com/VCq3vGmn
Note that python is no longer in the depends array (python2 is implied by pygtk).
Anonymous comment
added description
Anonymous comment
You might want to add a description tho. Something like:
"Tv-Player is an application written with the GTK graphic libraries that permit you to watch live TV and listen to live radio"
from the tv-player about page for example.
Anonymous comment
i'm happy to hear this =)
Anonymous comment
cool stuff,thx so much.No any kind of problems on chakra64