google-code-export / mediaplayer2-for-sh4

Automatically exported from code.google.com/p/mediaplayer2-for-sh4
1 stars 0 forks source link

Missing python-difflib on VTI+ SOLO2 - 8.x image #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. during subtitles download, I have found in the LOG file I have found error : 
"difflib not found"

What version of the product are you using? On what operating system?
VTI+ SOLO2 8.x image, latest mediplayer2

Can be fixed with :
"opkg update & opkg install python-difflib"

not sure, whether this can't be solved by some dependency check ?

Original issue reported on code.google.com by bretisla...@gmail.com on 3 Jan 2015 at 10:02

GoogleCodeExporter commented 9 years ago
python-difflib is in Recommends in CONTROL file:

Recommends: python-xmlrpc, unrar, python-compression, python-codecs, 
python-zlib, python-difflib

If python-difflib is available in the list of available packages then it should 
be installed. Some error had to happen, maybe list of packages was not updated?
I've added on the main page, that "opkg update" command should be run before 
installation

Original comment by mx3Lm...@gmail.com on 3 Jan 2015 at 11:26

GoogleCodeExporter commented 9 years ago
Thanks, I will take a look,  however a warning might be useful in such case - 
eg. like in case of ArchiveCZSK plugin. 

Original comment by bretisla...@gmail.com on 3 Jan 2015 at 11:28

GoogleCodeExporter commented 9 years ago
Hm, just realized that even UNRAR wasn't installed and "opkg install 
http://dl.bintray.com/mx3l/generic/enigma2-plugin-extensions-mediaplayer2_0.56_2
0140905_all.ipk" showed no error...

root@vusolo2:~# opkg install 
http://dl.bintray.com/mx3l/generic/enigma2-plugin-extensions-mediaplayer2_0.56_2
0140905_all.ipk
Downloading 
http://dl.bintray.com/mx3l/generic/enigma2-plugin-extensions-mediaplayer2_0.56_2
0140905_all.ipk.
Installing enigma2-plugin-extensions-mediaplayer2 (0.56_20140905) to root...
Configuring enigma2-plugin-extensions-mediaplayer2.
found python2.7
Installation of MediaPlayer2 was successfull.

Please restart enigma2

Original comment by bretisla...@gmail.com on 3 Jan 2015 at 9:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Recommends work for me as it should. Are you sure that unrar wasn't already 
installed?
opkg list_installed|grep unrar

Original comment by mx3Lm...@gmail.com on 4 Jan 2015 at 6:31

GoogleCodeExporter commented 9 years ago
No, it wasn't, seems it's not even availble in the VTI feed ;-(
Anyway, the point is, I got never any warning (maybe I have overlooked them?). 
After installing python-difflib and unrar, all is perfect. 

Original comment by bretisla...@gmail.com on 4 Jan 2015 at 6:35

GoogleCodeExporter commented 9 years ago
When unrar is missing and is neccessary to unpack subtitles, then error message 
is shown to the user.
When python-difflib, python-xmlrpc,... is missing than search providers, which 
needs these libraries are not shown in the providers list.

On start of subssupport I will check if all neccessary python libraries are 
present and inform user if it's not the case.

Original comment by mx3Lm...@gmail.com on 4 Jan 2015 at 9:30

GoogleCodeExporter commented 9 years ago
fixed in subssupport 1.4.7

Original comment by mx3Lm...@gmail.com on 8 Jan 2015 at 5:17