script.module.feedparser fails on import with Kodi v19
#1
Hi,

script.module.feedparser-5.2.1 fails on import with a SyntaxError when using Kodi v19>
Quote:\script.module.feedparser\lib\feedparser.py", line 1312
emailmatch = re.search(ur'''(([a-zA-Z0-9\_\-\.\+]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?))(\?subject=\S+)?''', author)
                                                                                                                                                                                                                                            ^
 SyntaxError: invalid syntax

The same 5.2.1 version of feedparser works without any issues on my system's Python3, which I assume is versions ahead of Kodi's.

It seems to me there may be an easy fix with a mod to the feedparser.py but... I haven't been able to figure out the invalid syntax.

Any thoughts?
Reply
#2
the version of feedparser in our repo isn't compatible with python 3.
i'll submit an updated version to the matrix repo later today.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2020-02-06, 19:51)ronie Wrote: the version of feedparser in our repo isn't compatible with python 3.
i'll submit an updated version to the matrix repo later today.

Many thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
script.module.feedparser fails on import with Kodi v190