LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   openshot from SBo Missing dependencies (https://www.linuxquestions.org/questions/slackware-14/openshot-from-sbo-missing-dependencies-4175609952/)

USUARIONUEVO 07-16-2017 05:05 AM

openshot from SBo Missing dependencies
 
Hi , after compile and install all the packages required by openshot i noticed not open.

In konsole y execute

Code:

openshot-qt
error say no mudle name "chardet" , i see slackbuild for this not have python3 var or python3-chardet packages non exist , only for python2

y add to python-chardet

Code:

python3 setup.py install --root=$PKG
this make the python3 part , (better way is variable if python3 exists ..add python3 module)

But this is not all ........

after build chardet with python3 module , then error says , no certifi module ...


again same history ...add python3 install ..in the script and build python2 + python3 modules and install ...

but ..not all ...another one more..

no module idna ... as the other 2 ..same action .. add python3 setup.py ...build packages python2 + 3 and install.


Finally , openshot runs now ...then the question is ...

python-chardet
python-certifi
idna

need variable for python3 or make new slackbuilds ...like

python3-chardet
python3-certifi
python3-idna


I expose this , for other users , if no run openshot after build, see to run in konsole , and make some mods to slackbuilds ...cause openshot runs under python3...and need modules in python3 :)


slackware64-14.2 updated , system is clean , not the problem here.

chris.willing 07-16-2017 05:32 AM

I believe this is addressed in the openshot README, excerpt as follows:

* Note that httplib2 (openshot REQUIRES httplib2) must have been built
using the python3 option (by setting PYTHON3=yes in the build environment).
* Similarly, python-requests also needs python3 to be installed when
being built but no special setting is needed in this case.

"no special setting" means python3 needs to be available at build time but no extra arguments or environment variable is needed.

chris

USUARIONUEVO 07-16-2017 12:32 PM

Man ..i see the README ..but the 3 packages i mentioned not in REQUIRES and in the last point that 3 no have python3 option to build in the .slackbuild

certifi idna and chardet NEEDED but no python3 option to build and need modify why users.

Why no open python-chardet slackbuild to understand what i say?

ponce 07-16-2017 12:59 PM

Quote:

Originally Posted by USUARIONUEVO (Post 5735556)
Hi , after compile and install all the packages required by openshot i noticed not open.

In konsole y execute

Code:

openshot-qt
error say no mudle name "chardet" , i see slackbuild for this not have python3 var or python3-chardet packages non exist , only for python2

y add to python-chardet

Code:

python3 setup.py install --root=$PKG
this make the python3 part , (better way is variable if python3 exists ..add python3 module)

But this is not all ........

after build chardet with python3 module , then error says , no certifi module ...


again same history ...add python3 install ..in the script and build python2 + python3 modules and install ...

but ..not all ...another one more..

no module idna ... as the other 2 ..same action .. add python3 setup.py ...build packages python2 + 3 and install.


Finally , openshot runs now ...then the question is ...

python-chardet
python-certifi
idna

need variable for python3 or make new slackbuilds ...like

python3-chardet
python3-certifi
python3-idna


I expose this , for other users , if no run openshot after build, see to run in konsole , and make some mods to slackbuilds ...cause openshot runs under python3...and need modules in python3 :)


slackware64-14.2 updated , system is clean , not the problem here.

hi USUARIONUEVO,

the thing you are reporting happens because python-requests has been version-bumped it in mid-june to a version that introduced four new dependencies (before there were none), python-certifi, python-chardet, python-urllib3 and idna.

for your report to be effective you should mail it on the slackbuilds-users mailing list, not on this forum, because most of the SBo maintainers are not on this forum, so they have no idea of what you are reporting: you should write to the mailing list, setting the maintainers of the python-requests' dependencies in cc, telling them that, for openshot to work, they should introduce support for python3 in their scripts, maybe with something like what's already in the python-requests.SlackBuild
Code:

# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
  python3 setup.py install --root=$PKG
fi

please, don't report issues with SBo's SlackBuilds on the forum, use the mailing list.

willysr 07-16-2017 01:04 PM

I have added python3 support for all those three packages on my branch

USUARIONUEVO 07-16-2017 01:34 PM

@ponce

I report here cause some sbo admin read the forum , and see .. i report a very hard to FIX problem , cause ,at least 3 or 4 different mantainers are involved.


python-requests --> not involved cause , have python3 variable , , problem is the other 3 depends , are declared , are fine ..but no python3 detection , or PYTHON3=yes variable.


willys are fixing this and i say THANKS! , emailed 3 or 4 mantainers to fix this is a hard thing..

https://git.slackbuilds.org/slackbui...mit/?h=willysr


After all , openshot is not the problem , are the 3 dependencies in python-requests , but talk here for other users if try to install , and now is go fix in repo , thread goes helpfull after all.

willysr 07-16-2017 06:53 PM

I sent an email to all 3 maintainers in one message and told them the reason and asked for their permission to do that. It's not hard to do and it's the best way to resolve issues in SBo project. You should do the same in the future.

Ponce is right, do post in the mailing list rather than in the forum. Posts in the ML will goes straight to all of the subscribers, including the maintainers and admins, so you have bigger chance to get noticed.


All times are GMT -5. The time now is 09:21 PM.