Indeed. Busy trying to get it to build, almost there. Time to prepare for lots of breakages.
awesome lets prepare for all the users that dont read and want the highest number but its gonna be interesting also there are quite a few patches that arent approved yet but its worth starting out with just the stuff that merged before taking the unwalked path.
18.8-100, 29 Oct 2019: Based off OSMC commit (1bd5f1199) and newclock5 (60bef867e)
Note: Kodi has now merged the changes for Python3. If addon devâs have not updated their builds for Python 3 then expect breakages.
Known issues: MyOSMC not yet working with Python3. This is being worked on.
OSMC
- Add libpython3.5 as a dep
XBMC
- [profiles] Do always stop PVR services on logoff #16842
- System.HasAddon() - return true for disabled addons #16707
- remove g_mediaManager global #16261
- VAAPI: fix use after free in CVAAPIContextDestroyContext #16763
- [addons][vis][gui] improve visualization support #16718
- [addons][game] fix crash where NULL was given to stdstring #16829
- Docs: Add python3-dev as dependency since we bumped the python version #16794
- [pvr] Fix editing channels via channel manager #16799
- xbmc.python bump to 3.0.0 #16787
- [Estuary] add scrollbar to settings dialogs #16782
Binary addons:
audioencoder.flac (7bce2e5a) , audioencoder.lame (476f4b2e) , audioencoder.vorbis (acd7c796) , audioencoder.wav (673c6088) , inputstream.adaptive (c648d0e3) , inputstream.rtmp (ce68b77a) , peripheral.xarcade (51e1a455) , peripheral.joystick (c22df4db) , imagedecoder.raw (41a370db) , peripheral.steamcontroller (0347e66d) , game.libretro (eebfdf78) , game.libretro.2048 (9609d0c1) , game.libretro.beetle-gba (7f4c27be) , game.libretro.fceumm (1c4db9f2) , game.libretro.gw (e035625e) , game.libretro.beetle-pce-fast (8f04f1c1) , game.libretro.bnes (7ff45684) , game.libretro.nestopia (38b4b15a) , game.libretro.bsnes-mercury-balanced (75e07992) , game.libretro.mame2000 (799fbc64) , game.libretro.mame2003 (24580b04) , game.libretro.bluemsx (de4b0eee) , game.libretro.vecx (4bd12527) , game.libretro.mame2003_plus (590ae7a2) , game.libretro.gambatte (db81317d) , game.libretro.beetle-bsnes (cff297dc) , game.libretro.meteor (91fa31b7) , game.libretro.mgba (b80c71f4) , game.libretro.vba-next (c3fcebf5) , game.libretro.quicknes (4347a8e9) , game.libretro.scummvm (7e9797d9) , game.libretro.snes9x (0f09a094) , game.libretro.stella (a1c155b1) , game.libretro.dosbox (4c881ae7) , game.libretro.vbam (663fa517) , game.libretro.yabause (b0db1fa4) , game.libretro.genplus (233ab308) , game.libretro.mame (bba5024a) , game.libretro.bsnes-mercury-accuracy (f43aed44) , pvr.waipu (38987c36) , pvr.sledovanitv.cz (19e8297c) , pvr.argustv (a8a1ad23) , pvr.mythtv (ab1d2769) , pvr.hts (ebac7ee5) , pvr.pctv (31d82789) , pvr.stalker (ea4f2928) , pvr.filmon (59ea0a7d) , pvr.octonet (8032f085) , pvr.zattoo (3ac1ab98) , pvr.vbox (ce1804f8) , pvr.wmc (9aa54676) , pvr.nextpvr (10a162de) , pvr.njoy (fdffa7d6) , pvr.teleboy (f04e06e1) , pvr.vdr.vnsi (e62073ac) , pvr.vuplus (96fdedbb) , pvr.dvbviewer (861cd34b) , pvr.dvblink (917cea0b) , pvr.hdhomerun (44654454) , pvr.iptvsimple (812bcc21) , pvr.demo (f7bdb99e) , pvr.mediaportal.tvserver (84c35b33) , vfs.libarchive (2ba11021) , vfs.rar (b688a566) , vfs.sftp (40e4a416) , pvr.freebox (7fb6d449)
Is there an easy way to back out after trying the latest nightly, assuming that one didnât bother to take a full backup beforehand!
Just apt installing 99 doesnât do it.
You should be able to revert by installing an older version. What issue did you experience?
Sam
hahah its not me that your supposed to send it to and make sure to include debug logs if your experiancing issues
Hi
I am running.
18.8-100
and now experiencing errors with a lot of mediatheks.
deb http://download.osmc.tv/dev/gmc-19/public gmc-19 main
error:
2019-11-02 07:32:55.420 T:4377 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<â
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class âImportErrorâ>
Error Contents: No module named âurllib2â
Traceback (most recent call last):
File â/home/osmc/.kodi/addons/plugin.video.ardmediathek_de/default.pyâ, line 2, in
import libard
File â/home/osmc/.kodi/addons/script.module.libard/lib/libard.pyâ, line 3, in
import urllib,urllib2,re,random,xbmc,xbmcplugin,xbmcgui,xbmcaddon,cookielib,HTMLParser,datetime
ImportError: No module named âurllib2â
â>End of Python script error report<â
2019-11-02 07:32:55.589 T:4376 ERROR: GetDirectory - Error getting plugin://plugin.video.ardmediathek_de/
It used to work till last update.
Thanks for checking. T
You will need to check with the developer of the plugin. Itâs probably not been rewritten for python3 (Python 2.x support is being dropped due to coming up for EOL)
Looks like libard was last updated 3 years ago so not sure if itâs still being worked on.
18.8-101, 4 Nov 2019: Based off OSMC commit (1bd5f1199) and newclock5 (46cda7db)
Note: Kodi has now merged the changes for Python3. If addon devâs have not updated their builds for Python 3 then expect breakages.
OSMC
- MyOSMC (v3.0.680) Updated for Python 3.
- Game.Libretro point to Matrix branch
XBMC
- VideoLayerBridgeDRMPRIME: set HDR metadata (PR:16103, 2 commits, 7 files changed)
- Add ratings bubble also to âShiftâ view (PR:16732, 1 commit, 1 file changed)
- [Estuary] fix studio icon name (PR:16758, 1 commit, 1 file changed)
- Several Joystick keymap changes related to the B button and back buttons. (PR:15268, 1 commit, 1 file changed)
- Move from python 2 to python 3 (PR:16116, 17 commits, 78 files changed)
- [Music]Reduce repeated parsing of path to get node details (PR:16724, 1 commit, 5 files changed)
- Code clarity: Separate GetVolumePercent() and GetVolumeRatio() (PR:16759, 1 commit, 11 files changed)
- [guiinfo]Fix Musicplayer.Property(Role.xxx) info labels (PR:16784, 1 commit, 1 file changed)
- Revert "[skin.estuary/pvr] Add support for more meta data to PVR info (PR:16788, 1 commit, 1 file changed)
- VideoTagInfoLoaderFFmpeg: Resolve stack before trying to process (PR:16797, 1 commit, 1 file changed)
- Revert setting playcount to PLAYCOUNT_NOT_SET on video items read from cache (PR:16804, 1 commit, 1 file hanged)
- Uniforming shown media flags in Movie library view and Info view (PR:16778, 3 commits, 2 files changed)
- [Estuary] add scrollbar to settings dialogs (PR:16782, 1 commit, 2 files changed)
- xbmc.python bump to 3.0.0 (PR:16787, 1 commit, 2 files changed)
- Build cache filename using just path without options string (PR:16805, 1 commit, 1 file changed)
- DRMPRIME: Cleanup and improvements (PR:16800, 10 commits, 12 files changed)
- [pvr] Fix editing channels via channel manager (PR:16799, 2 commits, 67 files changed)
- Docs: Add python3-dev as dependency since we bumped the python version (PR:16794, 1 commit, 5 files changed)
- [addons][game] change addon system to C++ style (PR:16453, 3 commits, 24 files changed)
- [addons][game] fix crash where NULL was given to std::string (PR:16829, 1 commit, 1 file changed)
- [addons][vis][gui] improve visualization support (PR:16718, 4 commits, 6 files changed)
- remove g_mediaManager global (PR:16261, 1 commit, 57 files changed)
- System.HasAddon() - return true for disabled addons (PR:16707, 1 commit, 2 files changed)
- [profiles] Do always stop PVR services on logoff. Restart PVR service (PR:16842, 1 commit, 1 file changed)
- Game add-ons: Document the subsystem architecture (b020fe1)
- Game add-ons: Architecture documentation (#16776) (eea94f3)
- CCpuInfo split, rework, and cleanup (PR:16098, 3 commits, 42 files changed)
- Ensure that skin is reloaded when a profile is loaded (PR:16840, 1 commit, 2 files changed)
pvr.dvblink:
- [lang] updated language files from Transifex (9d854c8)
pvr.filmon:
- [lang] updated language files from Transifex (b2c4b01)
pvr.hts:
- [lang] updated language files from Transifex (0c6d334)
pvr.mediaportal.tvserver:
- [lang] updated language files from Transifex (88db569)
pvr.nextpvr:
- [lang] updated language files from Transifex (12e37da)
pvr.vdr.vnsi:
- [lang] updated language files from Transifex (c211e3e)
pvr.wmc:
- [lang] updated language files from Transifex (06b0123)
pvr.waipu:
- [debian] fix dependencies after 316c1a6 (PR:39, 1 commit, 1 file changed)
- bump version 1.2.2 (ea5bc46)
Hello,
I updated to 18.8-101 (canât remember the previous version I was running) and now mediaplayer doesnât start up. The background is displayed, the OSMC logo in the top left corner, the clock in the top right corner but no other options to navigate. Some errors are displayed, but I wasnât able to get them all. The last one says something about âskin shortcuts errorâ. Can you guys help?
Hereâs the last part of the debug logs:
2019-11-05 08:24:42.102 T:637 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: No module named 'utils'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/script.skin.helper.service/service.py", line 10, in <module>
from resources.lib.main_service import MainService
File "/home/osmc/.kodi/addons/script.skin.helper.service/resources/lib/main_service.py", line 11, in <module>
from utils import log_msg, ADDON_ID, log_exception
ImportError: No module named 'utils'
-->End of Python script error report<--
2019-11-05 08:24:42.379 T:639 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: No module named 'utils'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/service.watchdog/service.py", line 25, in <module>
from core import main
File "/home/osmc/.kodi/addons/service.watchdog/core/main.py", line 26, in <module>
import utils
ImportError: No module named 'utils'
-->End of Python script error report<--
2019-11-05 08:24:43.776 T:627 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: No module named 'cPickle'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/script.skinshortcuts/default.py", line 5, in <module>
import cPickle as pickle
ImportError: No module named 'cPickle'
-->End of Python script error report<--
2019-11-05 08:26:28.243 T:385 NOTICE: Quitting due to POSIX signal
2019-11-05 08:26:28.287 T:385 NOTICE: Stopping player
2019-11-05 08:26:28.287 T:385 NOTICE: Stopping all
Skin.helper shortcuts addon havenât been updated to python 3 (which the latest Kodi is using). That explains the errors shown. For no menus been shown this might be because of your menu customisation depending on skin.helper, if you take out the customizations it may work.
Thanks for the response @fzinken! Any ideas how I could âresetâ to defaults via command line? I donât have any access to menu options
I tried the following without any success
mv ~/.kodi/userdata/guisettings.xml ~/.kodi/userdata/guisettings.xml.bak
sudo systemctl restart mediacenter
mv skin.estouchy/ skin.estouchy.bak
mv skin.estuary/ skin.estuary.bak
mv skin.osmc/ skin.osmc.bak
sudo systemctl restart mediacenter
The âskin shortcuts errorâ keeps coming up, but now I have âSettingsâ option displayed
contact addon dev for support, and expect more addon breakage to come cause the switch to python 3 isnt gonna easy its gonna be ruff thats why GMC included a warning.
Quite easy: remove the script.skinshortcuts
folder from ~/.kodi/addons
and restart mediacenter. The skin should then revert to the non-customised default home menu which doesnât rely on the script. This will also fix the issue of errors showing up
Thereâs also work being done to achieve that here: https://github.com/mikesilvo164/script.skinshortcuts/tree/python_3
For the time being, Iâll probably remove script support for the Matrix skin quite soon.
Hi,
running sky ticket addon leads to
2019-11-07 15:30:36.585 T:3106 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<â
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type âexceptions.ValueErrorâ>
Error Contents: No JSON object could be decoded
Traceback (most recent call last):
File â/home/osmc/.kodi/addons/plugin.video.skyticket.de/default.pyâ, line 37, in
vod.playAsset(params[âvod_idâ], infolabels=getDictFromString(params.get(âinfolabelsâ, None)), art=getDictFromString(params.get(âartâ, None)), parental_rating=int(params.get(âparental_ratingâ, 0)))
File â/home/osmc/.kodi/addons/plugin.video.skyticket.de/resources/lib/vod.pyâ, line 19, in playAsset
skyticket.play(manifest_url, package_code=asset_info[âpackage_codeâ], parental_rating=parental_rating, info_tag=infolabels, apix_id=str(asset_info[âevent_idâ]))
File â/home/osmc/.kodi/addons/plugin.video.skyticket.de/skyticket.pyâ, line 316, in play
if self.login(username, password):
File â/home/osmc/.kodi/addons/plugin.video.skyticket.de/skyticket.pyâ, line 130, in login
if forceLogin or not self.isLoggedIn():
File â/home/osmc/.kodi/addons/plugin.video.skyticket.de/skyticket.pyâ, line 95, in isLoggedIn
response = json.loads(response)
File â/usr/lib/python2.7/json/init.pyâ, line 339, in loads
return _default_decoder.decode(s)
File â/usr/lib/python2.7/json/decoder.pyâ, line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File â/usr/lib/python2.7/json/decoder.pyâ, line 382, in raw_decode
raise ValueError(âNo JSON object could be decodedâ)
ValueError: No JSON object could be decoded
â>End of Python script error report<â
Python 2.7 has been depricated in this version
You would need to contact the addon developer to update the addon for Kodi 19