Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running flatpak fails with "No module named 'pyparsing' " #241

Open
chipmuenk opened this issue Oct 5, 2023 · 1 comment
Open

Running flatpak fails with "No module named 'pyparsing' " #241

chipmuenk opened this issue Oct 5, 2023 · 1 comment

Comments

@chipmuenk
Copy link
Owner

Running the flatpak from Flathub or pyfda releases

flatpak run com.github.chipmuenk.pyfda

fails with

Traceback (most recent call last):
  File "/app/bin/pyfdax", line 33, in <module>
    sys.exit(load_entry_point('pyfda==0.7.1', 'console_scripts', 'pyfdax')())
  File "/app/bin/pyfdax", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/app/lib/python3.9/site-packages/pyfda/pyfdax.py", line 20, in <module>
    import matplotlib
  File "/app/lib/python3.9/site-packages/matplotlib/__init__.py", line 113, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "/app/lib/python3.9/site-packages/matplotlib/rcsetup.py", line 28, in <module>
    from matplotlib._fontconfig_pattern import parse_fontconfig_pattern
  File "/app/lib/python3.9/site-packages/matplotlib/_fontconfig_pattern.py", line 15, in <module>
    from pyparsing import (Literal, ZeroOrMore, Optional, Regex, StringEnd,
ModuleNotFoundError: No module named 'pyparsing'

There have been some deprecation warnings during the build process (which I can't find right now). The action 'bilelmoussaoui/flatpak-github-actions@v4' probably is outdated and should be replaced by 'flatpak/flatpak-github-actions' but I'm just guessing here.

@Murmele : could you perhaps take a look at this?

@Murmele
Copy link
Contributor

Murmele commented Jan 8, 2024

I tried to look into it, but I am unable to get the flatpak package running again, I am not able to update the requirements without running into strange build errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants