question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pycparser error prevents start of plugin

See original GitHub issue

Bug report

Your Environment

  • Netflix add-on version: 0.15.2
  • Platform: Linux x86 64-bit
  • Kodi 18.4 Git:20190910 compiled 2019-09-10 by GCC 9.2.0
  • Gentoo-Linux ~amd64
  • Kernel: Linux x86 64-bit version 5.3.0-gentoo
  • FFmpeg version/source: 4.2.1

Used Operating system:

  • [X ] Linux

Describe the bug

Plugin does not start (and cannot be configured: account-data cannot be typed in anywhere) There is an error-msg on the KODI-gui: “Netflix-Plugin Error” More details in kodi.log

Expected behavior

plugin should start

Actual behavior

Error - cannot be started

Steps to reproduce the behavior

run KODI with activated plugin

Debug log

there are 100+ errors like this one: ERROR: WARNING: /usr/lib64/python2.7/site-packages/pycparser/c_parser.py:1688: No documentation string specified in function 'p_postfix_expression_4' (ignored) and after the last one:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'pycparser.ply.yacc.YaccError'>
                                            Error Contents: Unable to build parser
                                            Traceback (most recent call last):
                                              File "/home/ice/.kodi/addons/plugin.video.netflix/service.py", line 23, in <module>

full log: http://dpaste.com/1Y8WG69 (expired)

full debug log: (expired)

Additional context or screenshots (if appropriate)

KODI runs with python2.7 in gentoo. I had to copy the crytodomex-files in the kodi-running user’s homedir from python3.6 to python2.7 or there would be an import error of module Crypto.Random.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
pete-dawggcommented, Sep 20, 2019

It runs now. The problem i faced was an old bug in (gentoo’s versions of) pycparser-2.17 to -2.19. I installed pycparser-2.14 and the plugin runs now. (I had already wondered what kind of optimizations GCC and LD might apply to python-programs which are basically textfiles.) I like this plugin! Very nice work. Thank Youi

0reactions
kk-hiraskarcommented, Sep 24, 2019

Thanks @pete-dawgg Downgrading to pycparser-2.14, solved this issue for me also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python pycparser setup error - pip - Stack Overflow
Any attempt to install or upgrade "numpy", in order to resolve Tensorflow dependency issue on 'numpy' version, generates error as follows:
Read more >
1677856 – SELinux is preventing /usr/bin/python3.7 from write ...
The bug is in the component that is creating the files, python-pycparser. Comment 14 Lukas Slebodnik 2019-03-16 ...
Read more >
Install fails on 0.104.3 , wheel failure python 3.7.5 ubuntu ...
I had to reload the version again as it was saying version 103.6 on the UI, but hass was 104.3. You can define...
Read more >
Python Plugin : Broadlink - Page 20 - Domoticz
I have installed the Broadlink plugin on my Raspberry Pi. ... In problem log after a reboot and a domoticz stop and start...
Read more >
Q2-ITSxpress dada2 keeps giving an error - QIIME 2 Forum
Plugin error from dada2: ... as max_ee or trunc_q) may be preventing reads from passing the filter. ... pycparser 2.19 py_0 conda-forge
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found