[packman] Kodi + Amazon
Manfred Hollstein
manfred.h at gmx.net
Sat Oct 14 13:24:41 CEST 2023
On Sat, 14 Oct 2023, 13:11:01 +0200, Eric Schirra wrote:
> Am Samstag, 14. Oktober 2023, 13:01:41 CEST schrieb Manfred Hollstein:
> > On Sat, 14 Oct 2023, 12:53:51 +0200, Eric Schirra wrote:
> > > Am Samstag, 14. Oktober 2023, 11:58:16 CEST schrieb Manfred Hollstein:
> > > > Hi Eric,
> > > >
> > > > On Sat, 14 Oct 2023, 11:50:40 +0200, Eric Schirra wrote:
> > > > > Am Sonntag, 1. Oktober 2023, 13:53:08 CEST schrieb Eric Schirra:
> > > > > > Hallo,
> > > > > >
> > > > > > das kodi paket von packman lief nun mehrere Jahre ohne Probleme.
> > > > > > Nun funtioniert das amazon plugin aber nicht mehr.
> > > > > > Ich habe noch mal ganz von vorne begonnen.
> > > > > > Sandman Repo installiert aus zip.
> > > > > > Dann aus dem repo das plugin installiert.
> > > > > > Wenn ich dann das Plugin aufrufe kommt ein Fehler und es bricht ab.
> > > > > >
> > > > > > Der Fehler im Log:
> > > > > >
> > > > > > error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python
> > > > > > callback/ script returned the following error<--
> > > > > > - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
> > > > > > Error Type: <class 'SyntaxError'>
> > > > > > Error Contents: future feature annotations is not defined
> > > > > > (__init__.py,
> > > > > > line 28)
> > > > > > Traceback (most recent call last):
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/plugin.video.amazon-test/default.
> > > > > > py",
> > > > > > line 3, in <module>
> > > > > >
> > > > > > from resources.lib.startup import EntryPoint
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/plugin.video.amazon-test/
> > > > > >
> > > > > > resources/lib/startup.py", line 7, in <module>
> > > > > >
> > > > > > from .network import *
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/plugin.video.amazon-test/
> > > > > >
> > > > > > resources/lib/network.py", line 10, in <module>
> > > > > >
> > > > > > import mechanicalsoup
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.mechanicalsou
> > > > > > p/
> > > > > >
> > > > > > lib/mechanicalsoup/__init__.py", line 2, in <module>
> > > > > >
> > > > > > from .browser import Browser
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.mechanicalsou
> > > > > > p/
> > > > > >
> > > > > > lib/mechanicalsoup/browser.py", line 2, in <module>
> > > > > >
> > > > > > import bs4
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.beautifulsoup
> > > > > > 4/
> > > > > >
> > > > > > lib/bs4/__init__.py", line 37, in <module>
> > > > > >
> > > > > > from .builder import (
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.beautifulsoup
> > > > > > 4/
> > > > > >
> > > > > > lib/bs4/builder/__init__.py", line 9, in <module>
> > > > > >
> > > > > > from bs4.element import (
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.beautifulsoup
> > > > > > 4/
> > > > > >
> > > > > > lib/bs4/element.py", line 12, in <module>
> > > > > >
> > > > > > from bs4.css import CSS
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.beautifulsoup
> > > > > > 4/
> > > > > >
> > > > > > lib/bs4/css.py", line 5, in <module>
> > > > > >
> > > > > > import soupsieve
> > > > > >
> > > > > > File
> > > > > > "/<mein_Homelaufwerk>/.kodi/addons/script.module.soupsieve/lib
> > > > > > /
> > > > > >
> > > > > > soupsieve/__init__.py", line 28
> > > > > >
> > > > > > from __future__ import annotations
> > > > > >
> > > > > > ^
> > > > > > SyntaxError: future feature
> > > > > > annotations
> > > > > >
> > > > > > is not defined
I believe this is the source of your problem! "from __future__ import
annotations" is only available from Python3.7 onwards, but Leap 15.5
only has 3.6
While there are python3.9, up to python3.11 available, almost all
additional python modules do not exist for 3.9 or 3.11, though, so I'm
afraid you're stuck on Leap 15.5. Tumbleweed would be the way to go I
think!
Cheers.
l8er
manfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20231014/3a69af11/attachment.sig>
More information about the Packman
mailing list