muzena / tv-maxe

Automatically exported from code.google.com/p/tv-maxe
0 stars 0 forks source link

ImportError: No module named gst #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run tv-maxe

What is the expected output? What do you see instead?
$ tv-maxe 
Traceback (most recent call last):
  File "tvmaxe.py", line 1808, in <module>
    main = Main()
  File "tvmaxe.py", line 161, in __init__
    self.setupPlayers()
  File "tvmaxe.py", line 199, in setupPlayers
    loadmod = __import__(x)
  File "/usr/share/tv-maxe/players/gstreamer.py", line 1, in <module>
    import gst, pygst, os, subprocess, threading, urllib2, random, time, gobject
ImportError: No module named gst

What version of the product are you using? On what operating system?
tv-maxe 0.06.5 ; ArchLinux

Please provide any additional information below.
I can't got help on google , So please help me, thanks!

Original issue reported on code.google.com by tear.l...@gmail.com on 5 Feb 2012 at 4:25

GoogleCodeExporter commented 9 years ago
It's the version from SVN?

Original comment by nitanovi...@gmail.com on 5 Feb 2012 at 4:29

GoogleCodeExporter commented 9 years ago
I don't know , it's update from ArchLinux AUR

Original comment by tear.l...@gmail.com on 5 Feb 2012 at 4:32

GoogleCodeExporter commented 9 years ago
Strange... It seems that the packager has packaged a SVN version.

Anyway, how to fix this:
1. Open /usr/share/tv-maxe/tvmaxe.py in a text editor, as *root*
2. Find a line that contains loadmod = __import__(x)
3. They should bee two lines: you need to modify the second one
4. Move that line down with a row, after try; please make sure that it starts 
at the same identation with the next line after try
5. Save the file and restart TV-MAXE.

Original comment by nitanovi...@gmail.com on 5 Feb 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Very thanks! 
Now , tv-maxe worked well.

And I sure it's not the version from SVN , Because the file from: 
http://code.google.com/p/tv-maxe/downloads/detail?name=tv-maxe-0.06.5.tar.gz&can
=2&q=

Why?

Sorry for my English...

Original comment by tear.l...@gmail.com on 5 Feb 2012 at 5:22

GoogleCodeExporter commented 9 years ago
I don't know... Maybe someone has updated the package (the 0.06.5 version 
wasn't released by me, but by one of collaborators) and included the SVN 
version in it. As you see, the file was uploaded on 28th January, which was 
about one week ago. I'll talk about this with them.

Anyway, sorry for incovenience. I hope you will enjoy using TV-Maxe without 
other issues. Thanks for reporting this.

Original comment by nitanovi...@gmail.com on 5 Feb 2012 at 5:27

GoogleCodeExporter commented 9 years ago
I`m the ArchLinux package maintainer. The package from AUR is SVN revision 78. 
I'm pretty sure i packaged it fine, i tested on my box and worked fine. You 
should install gstreamer0.10-plugins package group.

Original comment by vene...@gmail.com on 12 Feb 2012 at 6:25

GoogleCodeExporter commented 9 years ago
Ok, just checked again in a fresh installation of ArchLinux. Package is good, 
it worked magic. Problem is in your installation.

Original comment by vene...@gmail.com on 19 Feb 2012 at 10:58

GoogleCodeExporter commented 9 years ago
Thanks you, there has all gstreamer0.10-plugins package group in my system. 
And now i'm using the version from SVN.

Original comment by tear.l...@gmail.com on 22 Feb 2012 at 3:29