LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-16-2017, 05:05 AM   #1
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 585

Rep: Reputation: 176Reputation: 176
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.

Last edited by USUARIONUEVO; 07-16-2017 at 05:07 AM.
 
Old 07-16-2017, 05:32 AM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 388

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 07-16-2017, 12:32 PM   #3
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 585

Original Poster
Rep: Reputation: 176Reputation: 176
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?
 
Old 07-16-2017, 12:59 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,778

Rep: Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848Reputation: 1848
Quote:
Originally Posted by USUARIONUEVO View Post
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.

Last edited by ponce; 07-16-2017 at 01:03 PM.
 
3 members found this post helpful.
Old 07-16-2017, 01:04 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,646

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958
I have added python3 support for all those three packages on my branch
 
1 members found this post helpful.
Old 07-16-2017, 01:34 PM   #6
USUARIONUEVO
Member
 
Registered: Apr 2015
Posts: 585

Original Poster
Rep: Reputation: 176Reputation: 176
@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.

Last edited by USUARIONUEVO; 07-16-2017 at 01:36 PM.
 
Old 07-16-2017, 06:53 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,646

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SBo optional dependencies miev Slackware 3 11-15-2016 09:40 AM
frei0r-plugins for openshot missing TarFile Slackware 6 07-23-2016 02:49 PM
optional libraries missing for digiKam (SBo) metageek Slackware 2 03-05-2016 06:01 AM
anyone got OpenShot SBo slackbuild to work? metageek Slackware 13 01-01-2011 05:20 PM
[SBo] minitube - missing mpeg4 aac brooko Slackware 7 12-13-2010 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration