[packman] Kodi + Amazon

Eric Schirra eric at schirra.net
Sat Oct 14 13:11:01 CEST 2023


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
> > > > > -->End of Python script error report<--
> > > > > 
> > > > > 
> > > > > Installiere ich das Plugin auf genau die gleiche Weise in einem
> > > > > flatpak
> > > > > Paket, tritt der Fehler nicht auf und das Plugin funktioniert.
> > > > 
> > > > Hallo maintainer des Paketes,
> > > > 
> > > > warum keine Antwort?
> > > > Oder tritt das Problem nur bei mir auf?
> > > 
> > > I have to admit I don't even know what the "amazon plugin" is. Can you
> > > please give some more details as to
> > 
> > Amazon Prime Video under Kodi.
> > 
> > > a) which OS are you using?
> > 
> > Leap 15.5
> > 
> > > b) what is the "amazon plugin" and where do you get it from?
> > 
> > The normal way as describe here:
> > https://www.kodi-tipps.de/amazon-prime-kodi-addon-installieren-amazon-vod/
> 
> OK, found that in the meantime, too.
> 
> > > Maybe someone will then be able to properly analyze that.
> > 
> > hm. Many years it runs without problems.
> > And it runs without problems under flatpak.
> > Install both the same way.
> 
> Did you try the Beta version which is mentioned on that page?
There's a lot of writing going on.
I had also once installed the beta in Packman-kodi. That also ran once. Then 
there was an update of kodi in Packman. Now it no longer works.
Under the flatpak kodi runs 0.9.8 without problems. So no beta.
And the flatpak kodi has also the version 20.2.
 
> Perhaps Amazon changed their API?
I know.



Regards
Eric






More information about the Packman mailing list