LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-22-2022, 04:21 PM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Quote:
Originally Posted by Barcoboy View Post
I'm guessing this or a future version of 3.9 will appear in Slack 15.0 eventually once a security patch becomes necessary, as 3.9.10 was the original version released with 15.0, and the patches directory currently contains 3.9.12.
Great to hear! I'll push an update to the kodi README on SBo for people running into crashing to upgrade python manually until we see an update in 15.0.

You could also request it to be upgraded based on it fixing a bug rather than waiting for a security issue...
 
Old 06-22-2022, 04:30 PM   #17
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 323

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by Barcoboy View Post
I can confirm that Python3 3.9.13 does seem to fix the crashing problems I was having.

fourtysixandtwo beat me to it. I was going to post a tutorial on how to do the upgrade after I had done some testing, but my power went out for a couple of hours today so I didn't get time to finish until now. I think though that the lftp "mirror" command will create the subdirectory locally when transferring files, so you may end up with python3/python3. Not a big deal though.

I'm guessing this or a future version of 3.9 will appear in Slack 15.0 eventually once a security patch becomes necessary, as 3.9.10 was the original version released with 15.0, and the patches directory currently contains 3.9.12.
Normally yes, but the "." at the end downloads to the CWD.

That's my guess too. Also 3.9.13 is the "final regular maintenance release" with only security fixes going forward so it makes sense.
 
Old 06-22-2022, 04:33 PM   #18
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 323

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by bassmadrigal View Post
Great to hear! I'll push an update to the kodi README on SBo for people running into crashing to upgrade python manually until we see an update in 15.0.

You could also request it to be upgraded based on it fixing a bug rather than waiting for a security issue...
While you're pushing out that update, I noticed inputstream.adaptive is up to 19.0.6 now if you want to update that too. I tested it and no immediate issues.
 
Old 06-22-2022, 05:08 PM   #19
Barcoboy
Member
 
Registered: May 2010
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fourtysixandtwo View Post
Normally yes, but the "." at the end downloads to the CWD.
Ah, I didn't even see the dot at the end! My eyes are getting old along with the rest of me.
 
Old 06-23-2022, 11:09 AM   #20
alias11
LQ Newbie
 
Registered: Jun 2022
Location: Preußen
Distribution: Artix,Slackware,Void,MX,FreeBSD,Devuan
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by fourtysixandtwo View Post
Here's an easy method.
Thank you, for the help. Its now working fine.
 
Old 06-23-2022, 11:47 AM   #21
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by fourtysixandtwo View Post
While you're pushing out that update, I noticed inputstream.adaptive is up to 19.0.6 now if you want to update that too. I tested it and no immediate issues.
It's been on my list to do for a while, just house projects keep taking over and I spend little time in front of my computer. I'll get it done today.
 
Old 06-23-2022, 02:05 PM   #22
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I submitted a PR with several overdue updates, including inputstream.adaptive and information on python issues with kodi. I ended up making a README.python for kodi that also doubles as an executable script to download all the required files, build the package, and upgrade the system package (see the bottom of the post for any that want to use it now). I did skip getting it from -current, just in case that changes before an update is pushed to 15.0.

(I did just realize that I forgot to update the README to show that the version Slackware was released with (3.9.10) through the latest patch he's added (3.9.12) supposedly all exhibit the same issue. However, the README/script hopefully will be shortlived, once 3.9.13 gets pushed to 15.0.)

I'm not sure if it'll be included on the next public update as willysr said he'll be on holiday and it will depend on if another SBo admin decides to push one. If they do, they'd need to check the github PRs to get mine, which I know not all of them do (at least on a regular basis)... so if it doesn't show up this weekend, it should show up next weekend when willysr is back

Code:
# If you run into crashing when running addons, the problem is with the
# python3 version that was released with 15.0 (3.9.12). This has been
# fixed in a newer release, but it hasn't made it to 15.0 yet. You can
# either deal with the crashes and wait until it's updated in 15.0 or
# build your own updated package using the newer source tarball. The
# instructions to do that are below.

# NOTE: This README has been designed to allow you to run it as root
#       and have it build and upgrade the python3 package.
#       Run at your own risk.
#
# As root:
# sh /usr/doc/kodi-19.4/README.python

lftp -c "mirror -e -X *.tar.xz* -X *.tar.bz2 https://mirror.slackbuilds.org/slackware/slackware64-15.0/source/d/python3/"
cd python3

# Remove older versions then download newer ones
wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tar.xz
wget https://docs.python.org/3.9/archives/python-3.9.13-docs-text.tar.bz2

# Run the SlackBuild
BUILD=1_bass sh python3.SlackBuild

# Install the newer package
upgradepkg --reinstall --install-new /tmp/python3-3.9.13-*-1_bass.txz
 
2 members found this post helpful.
Old 06-23-2022, 05:50 PM   #23
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Geez, I prep and submit updates today same I get notifications after I submitted them that three of the programs I updated had updates themselves Guess I'll be submitting another pull request or delete my original and resubmit after updating.

BTW, @fourtysixandtwo, one of the updates was inputstream.adaptive to 19.0.7.
 
Old 06-23-2022, 07:15 PM   #24
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 323

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by bassmadrigal View Post
Geez, I prep and submit updates today same I get notifications after I submitted them that three of the programs I updated had updates themselves Guess I'll be submitting another pull request or delete my original and resubmit after updating.

BTW, @fourtysixandtwo, one of the updates was inputstream.adaptive to 19.0.7.
Never fails eh.

I forgot to greylist python3-3.9.* after upgrading to 3.9.13. So a reminder for anyone else to do similar or remember to unselect it when doing upgrade-all or it will downgrade back to 3.9.12.
 
Old 07-03-2022, 09:31 AM   #25
Minime_2003
Member
 
Registered: Aug 2021
Location: Sweden
Distribution: Slackware
Posts: 123

Rep: Reputation: 40
I took the liberty to compile this package for Slackware ARM 15.0, Slackware x86_64 15.0 and share it.

Package can be downloaded from here.

Enjoy

Best regards:
Minime
 
  


Reply

Tags
compile, kodi, python3, slackware 15.0



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
[SOLVED] KODI Krypton - 17.x MediaPlayer - Optimized for Raspberry Pi1/Pi2/Pi3 on Slackware ARM 14.2 SF & Slackware ARM - current HF abga Slackware - ARM 40 08-28-2018 08:50 PM
LXer: Kodi Devs Celebrate New Year with First Release Candidate of Kodi 17 "Krypton" LXer Syndicated Linux News 0 01-01-2017 12:00 AM
[SOLVED] Kodi freezes on exit, kodi.bin won't die pressman57 Linux - Software 6 12-19-2016 07:48 PM
Many complications after crashing first install and crashing and reinstalling several dong Linux - Newbie 1 10-06-2008 04:33 AM

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

All times are GMT -5. The time now is 05:51 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
Open Source Consulting | Domain Registration