tydaikho / sopcast-player

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

Defect: cant launch in opensuse 11.3 #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Opensuse 11.3 with last updates...
2.6.34.8-0.2-default kernel
sopcast player 0.6.0
sp auth 3.2.6

eduardonuevo@Desktop:~/Downloads/sp-auth$ 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
Any help would be apreciated... thanks

I also vote to make a rpm for opensuse/suse.

Original issue reported on code.google.com by edufiss...@gmail.com on 30 Apr 2011 at 9:55

GoogleCodeExporter commented 8 years ago
The vlc bindings are autogenerated from the installed vlc and only vlc 1.1.x is 
supported. When you did make were there any errors generated?

Original comment by flyguy97 on 1 May 2011 at 7:07

GoogleCodeExporter commented 8 years ago

This is what i did yesterday...
First i compile the vlc bindings and make check ( i dont know what it does, but 
perhaps it could help):
Desktop:/home/eduardonuevo/Downloads/sopcast-player/pyvlc_bindings # make clean
rm -f generated/vlc.py
Desktop:/home/eduardonuevo/Downloads/sopcast-player/pyvlc_bindings # make
python generate.py /usr/include/vlc/*.h > generated/vlc.py
Desktop:/home/eduardonuevo/Downloads/sopcast-player/pyvlc_bindings # make check
pyflakes generated/vlc.py
make: pyflakes: No se encontrĂ³ el programa
make: [check] Error 127 (no tiene efecto)
pylint generated/vlc.py
make: pylint: No se encontrĂ³ el programa
make: [check] Error 127 (no tiene efecto)

Then i go to the sopcast player directory: 

Desktop:/home/eduardonuevo/Downloads/sopcast-player/pyvlc_bindings # cd ..

And "make" ( notice from sopcast player directory i cant execute make 
install-all because no target is present in makefile..):
Desktop:/home/eduardonuevo/Downloads/sopcast-player # make
Generating language files...
sed -e 's|@DATADIR@|/usr/share|g' -e 's|@NAME@|sopcast-player|g' -e 
's|@PYTHON@|/usr/bin/python|g' -e 's|@INSTALLDIR@|/usr/share/sopcast-player|
g' -e 's|@ICONDIR@|/usr/share/icons/hicolor/scalable/apps|g' -e 
's|@DESTDIR@||g' -e 's|@EXECUTABLE@|/usr/bin/sopcast-player|g' sopcast-player.in
 > sopcast-player
sed -e 's|@DATADIR@|/usr/share|g' -e 's|@NAME@|sopcast-player|g' -e 
's|@PYTHON@|/usr/bin/python|g' -e 's|@INSTALLDIR@|/usr/share/sopcast-player|
g' -e 's|@ICONDIR@|/usr/share/icons/hicolor/scalable/apps|g' -e 
's|@DESTDIR@||g' -e 's|@EXECUTABLE@|/usr/bin/sopcast-player|g' 
sopcast-player.sc                                                      hemas.in 
> sopcast-player.schemas
Generating vlc python bindings...
cd pyvlc_bindings; \
        make; \
        cd ..
make[1]: se ingresa al directorio 
`/home/eduardonuevo/Downloads/sopcast-player/pyvlc_bindings'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio 
`/home/eduardonuevo/Downloads/sopcast-player/pyvlc_bindings'
install -p -m 0644 pyvlc_bindings/generated/* ./lib;
/usr/bin/python -c 'import compileall, re; compileall.compile_dir("lib", 
rx=re.compile("/[.]svn"), force=1)'
Listing lib ...
Compiling lib/AddBookmark.py ...
Compiling lib/ChannelGuideWorkerThread.py ...
Compiling lib/ConfigurationManager.py ...
Compiling lib/DatabaseOperations.py ...
Compiling lib/FileDownload.py ...
Compiling lib/ImportChannelGuide.py ...
Compiling lib/OpenSopAddress.py ...
Compiling lib/OptionsDialog.py ...
Compiling lib/SopcastPlayerWorkerThread.py ...
Compiling lib/VLCWidget.py ...
Compiling lib/WindowingTransformations.py ...
Compiling lib/dynamic_ports.py ...
Compiling lib/fork.py ...
Compiling lib/listen.py ...
Compiling lib/pySocket.py ...
Compiling lib/pySopCastConfigurationManager.py ...
Compiling lib/pyUserPathCheck.py ...
Compiling lib/sopcast-player.py ...
Compiling lib/vlc.py ...

I have vlc 1.1.9

Original comment by edufiss...@gmail.com on 1 May 2011 at 9:29

GoogleCodeExporter commented 8 years ago
You need to install libvlc-dev. I will update the INSTALL file to inform future 
users. Sorry for the inconvenience. Please let me know if this fixed it for you 
so I can close the ticket, thank you.

Original comment by flyguy97 on 1 May 2011 at 11:08

GoogleCodeExporter commented 8 years ago
Sorry when i did all the things before it worked..

You should install vlc-devel package to work...

Perhaps its a directory problem...yesterday i followed the readme instructions 
and i did make install PREFIX= /usr/local... as make install-all doesnt have a 
target in makefile ( this is another error perhaps in the makefile, you cant 
make a make install-all as the readme says).

1 - to compile sopcast player: you have to execute make ( not make all not make 
install all as told in the readme). To work in opensuse you shouldnt write the 
PREFIX=/usr/local parameter... just run make. make all make install-all fails...

2 - to compile python bindings also make...as told in readme..

Thanks for your help

Original comment by edufiss...@gmail.com on 1 May 2011 at 12:43

GoogleCodeExporter commented 8 years ago

Original comment by flyguy97 on 1 May 2011 at 1:09

GoogleCodeExporter commented 8 years ago
Ok please remember to take care of INSTALL and README as make all and make 
install-all doesnt work...

Original comment by edufiss...@gmail.com on 1 May 2011 at 3:09