Package: gourmand
Version: 1.1.0+really1.1.0~rc3-2
Severity: normal

Dear Maintainer,

After apt-get dist-upgrade in order to upgrade Gourmand:
  Dépaquetage de gourmand (1.1.0+really1.1.0~rc3-2) sur (1.1.0+really1.0.0-3) 
...
it failed to start.

Running it from command line as a standart user shows:

gourmand 
args = Namespace(db_url='', threads=False, gourmanddir='', 
thread_debug_interval=5.0, thread_debug=False, debug_file='', time=False, 
debug=None)
Traceback (most recent call last):
  File "/usr/bin/gourmand", line 33, in <module>
    sys.exit(load_entry_point('gourmand==1.0.0', 'gui_scripts', 'gourmand')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/gourmand", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/gourmand/main.py", line 9, in <module>
    from gourmand import (__version__, batchEditor, convert, plugin, plugin_gui,
  File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 33, in 
<module>
    from gourmand.recindex import RecIndex
  File "/usr/lib/python3/dist-packages/gourmand/recindex.py", line 17, in 
<module>
    from .importers.clipboard_importer import import_from_drag_and_drop
  File 
"/usr/lib/python3/dist-packages/gourmand/importers/clipboard_importer.py", line 
8, in <module>
    from gourmand.importers.importManager import ImportManager
  File "/usr/lib/python3/dist-packages/gourmand/importers/importManager.py", 
line 10, in <module>
    from gourmand.importers.web_importer import import_urls, supported_sites
  File "/usr/lib/python3/dist-packages/gourmand/importers/web_importer.py", 
line 6, in <module>
    from recipe_scrapers import SCRAPERS, scrape_me
  File "/usr/lib/python3/dist-packages/recipe_scrapers/__init__.py", line 6, in 
<module>
    from ._abstract import AbstractScraper
  File "/usr/lib/python3/dist-packages/recipe_scrapers/_abstract.py", line 12, 
in <module>
    from ._schemaorg import SchemaOrg
  File "/usr/lib/python3/dist-packages/recipe_scrapers/_schemaorg.py", line 8, 
in <module>
    import extruct
ModuleNotFoundError: No module named 'extruct'

This suggest a missing dependency to python3-extruct. 
I install it and now Gourmand start properly.

Best regards

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gourmand depends on:
ii  gir1.2-gtk-3.0           3.24.36-4
ii  python3                  3.11.2-1
ii  python3-argcomplete      2.0.0-1
ii  python3-bs4              4.11.2-1
ii  python3-gi               3.42.2-3+b1
ii  python3-gi-cairo         3.42.2-3+b1
ii  python3-gst-1.0          1.22.0-2
ii  python3-keyring          23.9.3-2
ii  python3-lxml             4.9.2-1+b1
ii  python3-pil              9.4.0-1.1+b1
ii  python3-recipe-scrapers  14.32.0-1
ii  python3-reportlab        3.6.12-1
ii  python3-requests         2.28.1+dfsg-1
ii  python3-sqlalchemy       1.4.46+ds1-1
ii  python3-toml             0.10.2-1

Versions of packages gourmand recommends:
ii  gir1.2-poppler-0.18    22.12.0-2+b1
ii  python3-ebooklib       0.18-2
ii  python3-gtkspellcheck  4.0.5-3
ii  python3-pyglet         1.5.27+ds-2

gourmand suggests no packages.

-- no debconf information

Reply via email to