Il giorno mer 9 apr 2025 alle 16:14:08 +02:00:00, Simon Albrecht <simon.albre...@mail.de> ha scritto:
Tremendous news, wonderful to hear!

Being clueless however how to deal with any python issues on updating… I had a working install, on Linux Mint, and after git pull-ing both the main app and python-ly, I get this on the console:

~$ frescobaldi
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
File "/home/simon/frescobaldi/frescobaldi/frescobaldi/__main__.py", line 32, in <module>
    from frescobaldi import toplevel
ImportError: cannot import name 'toplevel' from 'frescobaldi' (unknown location)

Re-running the tox generate-commands as well as the pipx install sequence doesn’t change that. How can I proceed?


It seems that you are running it from source, even if you call `frescobaldi` and not `python -m frescobaldi` (in the git dir). Maybe you have more than one frescobaldi in your PATH? What's the output of?

which -a frescobaldi


In Linux you can install with the following commands:

cd frescobaldi-repository
tox -e mo-generate
tox -e linux-generate
pipx install .
desktop-file-install --dir ~/.local/share/applications/ --set-icon $PWD/frescobaldi/icons/org.frescobaldi.Frescobaldi.svg linux/org.frescobaldi.Frescobaldi.desktop
update-desktop-database ~/.local/share/




Reply via email to