arbenramadani / sopcast-player

Automatically exported from code.google.com/p/sopcast-player
0 stars 0 forks source link

Fails to start with VLC 1.1.0 #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install VLC 1.1.0 The Luggage
2.
3.

What is the expected output? What do you see instead?

[0x97b73c8] main libvlc error: No modules were found, refusing to start.
Check that you properly gave a module path with --plugin-path.
Traceback (most recent call last):
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 1780, in
<module>
    pySop = pySopCast()
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 368, in __init__
    self.vlc = VLCWidget.VLCWidget(*p)
  File "/usr/share/sopcast-player/lib/VLCWidget.py", line 28, in __init__
    self.player=instance.mediacontrol_new_from_instance()
AttributeError: 'NoneType' object has no attribute
'mediacontrol_new_from_instance'

What version of the product are you using? On what operating system?

latest from ppa

Please provide any additional information below.

Looks like something to do with new VLC plugin system, possible conflict?

Original issue reported on code.google.com by ethnopun...@gmail.com on 26 Mar 2010 at 1:21

GoogleCodeExporter commented 8 years ago
A new version, 0.4.0, has been uploaded to the PPA, it should be published by 
time
you read this. Please give it a try and let me know how it works for you.

Original comment by flyguy97 on 11 Apr 2010 at 11:24

GoogleCodeExporter commented 8 years ago
I just upgraded to lates version in PPA 2 minutes ago, I am receiving the same 
error

Original comment by Carcau...@gmail.com on 11 Apr 2010 at 4:10

GoogleCodeExporter commented 8 years ago
I apologize, I have been made aware the python bindings for vlc version 1.1.x 
are
currently in a state of transition until the underlying API stabilizes. I will 
update
this thread as things change. Sorry for the inconvenience.

Original comment by flyguy97 on 11 Apr 2010 at 6:20

GoogleCodeExporter commented 8 years ago
1.1 VLC python bindings have been released, see
http://wiki.videolan.org/Python_bindings. Note that the MediaControl API has 
been
removed, only the libvlc API is available.

Original comment by aubertolivier on 7 May 2010 at 2:09

GoogleCodeExporter commented 8 years ago
This fix will let you probably start sopcast with vlc 1.1.4 installed.

my setup:
sopcast-player 0.4.0, sp-auth 3.6, vlc 1.1.4 (ppa:ferramroberto/vlc)
ubuntu 10.04.1 32bit, kernel 2.6.35-21-generic (ppa:kernel-ppa/ppa)

1) Copy extracted files from attached zip to  
/usr/share/sopcast-player/lib (as root, ubuntu - path could be different on 
other linuxes)
2) If you still cannot start sopcast-player, try to reinstall it
sudo aptitude reinstall sopcast-player (ubuntu) and do step 1) again.
3) Show controls and fullscreen are not working with the embedded player.
Goto preferences, enable the external player and set it to command: vlc 
and everything works fine.

I hope I could help
-mike

Original comment by ila...@gmail.com on 15 Sep 2010 at 2:22

Attachments:

GoogleCodeExporter commented 8 years ago
Your fix works very well for me, thx mike!

No need to start bloody windows to watch Bundesliga :)

Original comment by Philipp....@gmail.com on 15 Sep 2010 at 1:27

GoogleCodeExporter commented 8 years ago
good job with the patch. please release asap as deb though (one has to look 
here to find it)

Original comment by kou...@gmail.com on 19 Sep 2010 at 5:16

GoogleCodeExporter commented 8 years ago
Oh thanks ,It works in Ubuntu 10.10 ....

Original comment by honggeng...@gmail.com on 6 Oct 2010 at 3:33

GoogleCodeExporter commented 8 years ago
thanks for the post...works like a charm

Original comment by ankit.17...@gmail.com on 8 Oct 2010 at 3:29

GoogleCodeExporter commented 8 years ago
ilabor  when I look at the diff between your vlc.py and the file currently on 
my machine (on Maverick, sopcast-player version 0.4.0~ppa1~karmic4), I find it 
very large. So the official vlc.py probably got some changes since you modified 
it.

Any way you could provde the vlc.py changes as a diff instead ?

Original comment by jerome.l...@gmail.com on 9 Oct 2010 at 3:08

GoogleCodeExporter commented 8 years ago
the link is dead, and I can't find the patch anywhere else. Could someone 
upload it? With Ubuntu Maverick release yesterday (so massive upgrade to VLC 
1.1) and international football matches tomorrow, I'm guessing it will reach 
the "Holy Grail" status pretty soon ;)

Thanks for your help

Original comment by lboille...@gmail.com on 11 Oct 2010 at 7:34

GoogleCodeExporter commented 8 years ago
oups - sorry I was hit by what I believe is a Chromium 6 bug: I was getting 
"Bad Request: Your client has issued a malformed or illegal request." with 
Chromium but I could access the zip with FF, Konqueror and Chrome 5.

Anyway the link is fine, sorry for the noise.

Original comment by lboille...@gmail.com on 11 Oct 2010 at 7:42

GoogleCodeExporter commented 8 years ago
or more precisely a cookie issue with Chromium, cleaning it solved my issue. 
Anyway, thanks for the fix, works like a charm.

Original comment by loris.bo...@gmail.com on 11 Oct 2010 at 7:46

GoogleCodeExporter commented 8 years ago
@jerome lacoste: 
The Python bindings for VLC = vlc.py included in the sopcast-player package is 
only working for VLC 1.0.x

The vlc.py for VLC 1.1.x I included in the ZIP is original and unchanged. You 
may get it from 
http://git.videolan.org/?p=vlc/bindings/python.git;a=tree;f=generated;b=HEAD 

I only modified the VLCWidget.py.

-mike

Original comment by ila...@gmail.com on 13 Oct 2010 at 9:39

GoogleCodeExporter commented 8 years ago
@flyguy97,

I'd like to see the 0.4 version in the SVN repo, since I build your pretty 
software from source. Thank you!

Original comment by ryanlimigrate@gmail.com on 17 Oct 2010 at 7:46

GoogleCodeExporter commented 8 years ago
ilabor, you're great, thank you very much. Is it possible to add your fix to 
some popular PPAs like fluguy97 or roberto's?

Original comment by Dmitry.Murat@gmail.com on 17 Oct 2010 at 5:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thaaaaanks......!!!!!!!!   :) :) :)

great fix,now sopcast is working....!!!!!!!

Original comment by Guru...@gmail.com on 12 Nov 2010 at 9:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
thanks mate... handy fix... can confirm it working on:
ubuntu 10.04 64bit 
vlc 1.1.5

Original comment by cheries...@gmail.com on 6 Dec 2010 at 7:34

GoogleCodeExporter commented 8 years ago
if i put vlc as external player, nothing happens. how should i start the video 
in vlc?

Original comment by stefano....@gmail.com on 18 Dec 2010 at 8:32

GoogleCodeExporter commented 8 years ago
@stefano.tranquillini: sopcast-player will start vlc only if it's connected 
(and vlc is installed). turn off firewall or assign known free static ports 
(http://bit.ly/ebbiym) in the settings. start via console for more details $ 
sopcast-player

Original comment by ila...@gmail.com on 19 Dec 2010 at 10:32

GoogleCodeExporter commented 8 years ago
sopcast player works, the problem is the full screen that is not working at all.
so i would try to use an external vlc and see if in this way i can use a full 
screen. 
i don't really understand how to use an external vlc.
i can set in the prefecence to use vlc, but nothing happens. i set as well the 
port, and try to strem from vlc the source with localhost:port (where port is 
the one set as outbound) but nothing at all.
thanks

Original comment by stefano....@gmail.com on 19 Dec 2010 at 12:39

GoogleCodeExporter commented 8 years ago
sopcast-player will run the external player command automatically. make sure 
preferences - external player is "vlc" without the quotes. channel delay 
default 3sec set it to 30sec and wait when opening a channel for 2-4 mins. if 
the internal vlc player works I don't see a reason why the external vlc 
shouldn't run besides the wrong command is set or wrong port. -mike

Original comment by ila...@gmail.com on 19 Dec 2010 at 4:36

GoogleCodeExporter commented 8 years ago
Works for me! Thanks alot ethnopun

Original comment by nik....@gmail.com on 20 Jan 2011 at 9:33

GoogleCodeExporter commented 8 years ago
Perfect :D

Original comment by irving7...@gmail.com on 12 Feb 2011 at 6:09

GoogleCodeExporter commented 8 years ago
Version 0.6.0 fixes these issues when using vlc 1.1.x.

Original comment by flyguy97 on 30 Apr 2011 at 5:22

GoogleCodeExporter commented 8 years ago
vlc: 1.1.9-1ubuntu1
sopcast-player: 0.6.0-2~lffl~natty~ppa ((ppa:ferramroberto/sopcast-player)
Distro: Kubuntu 11.04
Kernel: 2.6.38.4-candela.

D8300:~$ sopcast-player 
Traceback (most recent call last):
  File "/usr/share/sopcast-player/lib/sopcast-player.py", line 33, in <module>
    import vlc
ImportError: No module named vlc

?????

Original comment by GiaTav on 30 Apr 2011 at 6:26

GoogleCodeExporter commented 8 years ago
Fixed in 0.6.0-3~lffl~natty~ppa :)

Original comment by GiaTav on 30 Apr 2011 at 7:48

GoogleCodeExporter commented 8 years ago
sopcast-player_vlc1.1x-fix.zip is essential on Fedora 18. With this player 
works.

Original comment by lukasz.b...@gmail.com on 7 Dec 2013 at 7:25