Your message dated Thu, 20 Oct 2022 22:21:39 +0000
with message-id <[email protected]>
and subject line Bug#1022131: fixed in gourmand 1.1.0+really1.0.0-2
has caused the Debian Bug report #1022131,
regarding AttributeError: 'Table' object has no attribute 'count' with gourmand
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1022131: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022131
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---

Package: gourmand
Version: 1.1.0+really1.0.0-1
Severity: important
Tags: a11y

Dear Maintainer,

PAckage gourmand is terminating with "AttributeError: 'Table' object has no attribute 'count'" error

-- System Information:
Debian Release: bookworm/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, 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.34-3
ii  python3              3.10.6-1
ii  python3-argcomplete  2.0.0-1
ii  python3-bs4          4.11.1-2
ii  python3-gi           3.42.2-2
ii  python3-gi-cairo     3.42.2-2
ii  python3-gst-1.0      1.20.3-1+b1
ii  python3-lxml         4.9.1-1+b1
ii  python3-pil          9.2.0-1+b1
ii  python3-reportlab    3.6.11-1
ii  python3-requests     2.27.1+dfsg-1
ii  python3-sqlalchemy   1.4.31+ds1-1
ii  python3-toml         0.10.2-1

Versions of packages gourmand recommends:
ii  gir1.2-poppler-0.18    22.08.0-2.1
ii  python3-gtkspellcheck  4.0.5-3
ii  python3-pyglet         1.5.27+ds-1

Versions of packages gourmand suggests:
pn  python3-ebooklib  <none>

The complete error log:
 > gourmand
args = Namespace(db_url='', threads=False, gourmanddir='', thread_debug_interval=5.0, thread_debug=False, debug_file='', time=False, debug=None)
WARNING: Plugin module import failed
PATH: ['/usr/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/gourmand/plugins', '/usr/lib/python3/dist-packages/gourmand/plugins/import_export']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 300, in get_module
     self._loaded = __import__(self.module)
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/web_import_plugin/__init__.py", line 1, in <module>
     from . import generic_web_importer_plugin
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/web_import_plugin/generic_web_importer_plugin.py", line 6, in <module>     from gourmand.plugins.import_export.website_import_plugins.state import \   File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/__init__.py", line 1, in <module>
     from . import (about_dot_com_plugin, allrecipes_plugin,
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/allrecipes_plugin.py", line 3, in <module>
     from . import schema_org_parser
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/schema_org_parser.py", line 7, in <module>
     import scrape_schema_recipe
ModuleNotFoundError: No module named 'scrape_schema_recipe'
WARNING: Failed to load plugin web_import_plugin
ERROR:root:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 129, in load_active_plugins
self.active_plugins.extend(self.available_plugin_sets[p].plugins)
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 312, in __getattr__
     return self.get_plugins()
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 320, in get_plugins
     return self.get_module().plugins
AttributeError: 'NoneType' object has no attribute 'plugins'
WARNING: Plugin module import failed
PATH: ['/usr/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/gourmand/plugins', '/usr/lib/python3/dist-packages/gourmand/plugins/import_export']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 300, in get_module
     self._loaded = __import__(self.module)
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/__init__.py", line 1, in <module>
     from . import (about_dot_com_plugin, allrecipes_plugin,
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/allrecipes_plugin.py", line 3, in <module>
     from . import schema_org_parser
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/schema_org_parser.py", line 7, in <module>
     import scrape_schema_recipe
ModuleNotFoundError: No module named 'scrape_schema_recipe'
WARNING: Failed to load plugin website_import_plugins
ERROR:root:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 129, in load_active_plugins
self.active_plugins.extend(self.available_plugin_sets[p].plugins)
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 312, in __getattr__
     return self.get_plugins()
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 320, in get_plugins
     return self.get_module().plugins
AttributeError: 'NoneType' object has no attribute 'plugins'
WARNING: Plugin module import failed
PATH: ['/usr/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/gourmand/plugins', '/usr/lib/python3/dist-packages/gourmand/plugins/import_export']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 300, in get_module
     self._loaded = __import__(self.module)
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/epub_plugin/__init__.py", line 1, in <module>
     from . import epub_exporter_plugin
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/epub_plugin/epub_exporter_plugin.py", line 4, in <module>
     from . import epub_exporter
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/epub_plugin/epub_exporter.py", line 7, in <module>
     from ebooklib import epub
ModuleNotFoundError: No module named 'ebooklib'
WARNING: Failed to load plugin epub_plugin
ERROR:root:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 129, in load_active_plugins
self.active_plugins.extend(self.available_plugin_sets[p].plugins)
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 312, in __getattr__
     return self.get_plugins()
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 320, in get_plugins
     return self.get_module().plugins
AttributeError: 'NoneType' object has no attribute 'plugins'
Plugin  copy_paste_plugin not found
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/lib/python3/dist-packages/gourmand/main.py", line 617, in launch_app
     RecGui.instance()
  File "/usr/lib/python3/dist-packages/gourmand/main.py", line 837, in instance
     RecGui.__single = cls()
  File "/usr/lib/python3/dist-packages/gourmand/main.py", line 846, in __init__
     GourmandApplication.__init__(self)
  File "/usr/lib/python3/dist-packages/gourmand/main.py", line 69, in __init__
     self.setup_recipes() # Setup recipe database
  File "/usr/lib/python3/dist-packages/gourmand/main.py", line 146, in setup_recipes
     self.rd = recipeManager.default_rec_manager()
  File "/usr/lib/python3/dist-packages/gourmand/recipeManager.py", line 84, in default_rec_manager
     return get_recipe_manager(**dbargs)
  File "/usr/lib/python3/dist-packages/gourmand/recipeManager.py", line 81, in get_recipe_manager
     return RecipeManager.instance_for(**kwargs)
  File "/usr/lib/python3/dist-packages/gourmand/backends/db.py", line 1861, in instance_for
     cls._instance_by_db_url[url] = cls(file, custom_url)
  File "/usr/lib/python3/dist-packages/gourmand/backends/db.py", line 1868, in __init__
     self.km = KeyManager.instance(recipe_manager=self)
  File "/usr/lib/python3/dist-packages/gourmand/keymanager.py", line 22, in instance
     KeyManager.__single = cls(recipe_manager)
  File "/usr/lib/python3/dist-packages/gourmand/keymanager.py", line 32, in __init__
     if self.rm.fetch_len(self.rm.keylookup_table) == 0:
  File "/usr/lib/python3/dist-packages/gourmand/backends/db.py", line 759, in fetch_len
     return table.count().execute().fetchone()[0]
AttributeError: 'Table' object has no attribute 'count'

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: gourmand
Source-Version: 1.1.0+really1.0.0-2
Done: Christian Marillat <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gourmand, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Marillat <[email protected]> (supplier of updated gourmand package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 20 Oct 2022 22:53:33 +0200
Source: gourmand
Architecture: source
Version: 1.1.0+really1.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Christian Marillat <[email protected]>
Changed-By: Christian Marillat <[email protected]>
Closes: 1022131
Changes:
 gourmand (1.1.0+really1.0.0-2) unstable; urgency=medium
 .
   * Add upstream patch to fix a bug with sqlalchemy 1.41 (Closes: #1022131)
Checksums-Sha1:
 206b17e6f1e98a08aaabbca0552ac2dd13239b1a 1994 gourmand_1.1.0+really1.0.0-2.dsc
 cbf872fcaab91208811cb2d0d5f0ac3397dea91e 6460 
gourmand_1.1.0+really1.0.0-2.debian.tar.xz
 bc04685d3aa0180e42b03c5666d3238e030c5163 5652 
gourmand_1.1.0+really1.0.0-2_source.buildinfo
Checksums-Sha256:
 2774d7cc45ab73e0c28188505c5ec690abb84ba9595dc23ea220801b94e7bce8 1994 
gourmand_1.1.0+really1.0.0-2.dsc
 42c1c5d22cc07661231325d9a1e9c4f51c2b4442aa3260fe0ec54b2a050cb620 6460 
gourmand_1.1.0+really1.0.0-2.debian.tar.xz
 8867025c7cfac39661513700138f12020c286c9cba9795031df99520073ddef3 5652 
gourmand_1.1.0+really1.0.0-2_source.buildinfo
Files:
 b44b9a7bc31597ccc4bbc13a517bc2f7 1994 gnome optional 
gourmand_1.1.0+really1.0.0-2.dsc
 d60d1daf3728b36f801a4d9d22b79b4a 6460 gnome optional 
gourmand_1.1.0+really1.0.0-2.debian.tar.xz
 93e9ab81eb126115e1a371863894a886 5652 gnome optional 
gourmand_1.1.0+really1.0.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEpAH/mTaPofmBUt51XICMK2VVgRcFAmNRt4QACgkQXICMK2VV
gRf+xQ/+NiujpKszIdH3auC2RTeMFGRyjAWdj257HFJBuUwB99eONw9l5HrbWkm1
jHD1St2iLRDKAbAk0CkkAed1AyvTxDF23BvoZccCTxkCIPwEYPxRkteN50dig2Mm
QMRflAdfWU752RH8CAXfX6mZt8UVNV+RoMQfCJqxyVQMEcFT1S7kXwBsah8pXhbK
nL43DFJhbSwT/rzs6XnXAe0u0H3IK5Uo+Op1BbF12NL6uOY9kIfrc1BXDfyrO6Hw
0HC+mTfaw1FkcnrekzVeLUDbltFGmQO9QtPO6O48nURUED4Z3q0lJnms0FWktg2w
veOFWliHHU09O7US8NfFq0iPSW4no+uaHLoREH8WRnwU8MVI8yrj1XB2s5N3nCbm
vVxR8Qz2wSImijQ/V0mMeh7VdBv7eygCRvxVDtFVL5vHVEQGJwDvKiJBuqODTHPY
RAsJFgrKYhDrq5Dn3+uYbFbONGJuIEk6HAa3msNlK3J1F1Y5MbMBrdGXEMT9djp5
m2lsR9jZk90RT5bNBmjHWbOUT/VDUn3w7TTlM6fkBRBvFdB10JnxQepYIDM/LpD0
QW19BAh7cos3q3LHExQkVLoOdjLeM5AMgw2XSS1FwDl1zJxRsppIXQ+UOYyDM/QJ
tQxLtimp3foC2sU6PoSv/YkGHkpboGBhXvnDxL/Pu1c8Ww4XxhI=
=UQz6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to