Your message dated Wed, 27 Apr 2022 07:34:06 +0000
with message-id <e1njcba-000dqu...@fasolo.debian.org>
and subject line Bug#1009098: fixed in gourmand 1.0.0-8
has caused the Debian Bug report #1009098,
regarding gourmand: Conversion of gourmet recipes to gourmand failed:
servings/yields
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 ow...@bugs.debian.org
immediately.)
--
1009098: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009098
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gourmand
Version: 1.0.0-6
Severity: normal
Tags: patch
A number of my recipes crash when loading:
DEBUG: /usr/lib/python3/dist-packages/gourmand/reccard.py: 481 showing
attribute rating = 2
4:27am
DEBUG: /usr/lib/python3/dist-packages/gourmand/reccard.py: 495 hiding
attribute preptime
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gourmand/main.py", line 1083, in show
w = reccard.RecCard(self, rec)
File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 72, in
__init__
self.show()
File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 117, in show
self.show_display()
File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 97, in
show_display
self.__rec_display = RecCardDisplay(self, self.__rec_gui,
File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 201, in
__init__
self.update_from_database()
File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 470, in
update_from_database
special_display_functions[attr]()
File "/usr/lib/python3/dist-packages/gourmand/reccard.py", line 517, in
update_yields_display
self.yields_orig = float(self.yields_orig)
TypeError: float() argument must be a string or a number, not 'NoneType'
I believe it is because the yields is null. If I run sqlite3 on the gourmet
database, both yields and servings were set to 0.0.
In gourmand, both the yields and servings were set to null.
Running: update recipe set yields=0 where yields is null;
fixes the problem.
-- System Information:
Debian Release: 11.3
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-13-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /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.24-4+deb11u2
ii python3 3.9.2-3
ii python3-argcomplete 1.8.1-1.5
ii python3-bs4 4.9.3-1
ii python3-gi 3.38.0-2
ii python3-gst-1.0 1.18.3-1
ii python3-lxml 4.6.3+dfsg-0.1+deb11u1
ii python3-pil 8.1.2+dfsg-0.3+deb11u1
ii python3-reportlab 3.5.59-2
ii python3-requests 2.25.1+dfsg-2
ii python3-sqlalchemy 1.3.22+ds1-1
ii python3-toml 0.10.1-1
Versions of packages gourmand recommends:
pn python3-gtkspellcheck <none>
pn python3-pyglet <none>
Versions of packages gourmand suggests:
pn python3-ebooklib <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: gourmand
Source-Version: 1.0.0-8
Done: Christian Marillat <maril...@debian.org>
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 1009...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Marillat <maril...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 27 Apr 2022 09:17:31 +0200
Source: gourmand
Architecture: source
Version: 1.0.0-8
Distribution: unstable
Urgency: medium
Maintainer: Christian Marillat <maril...@debian.org>
Changed-By: Christian Marillat <maril...@debian.org>
Closes: 1009098
Changes:
gourmand (1.0.0-8) unstable; urgency=medium
.
* Add upstream patch to fix a crash when a yield values is None
(Closes: #1009098)
Checksums-Sha1:
ab83c7ba4ae73de2424b35f4ec9a30b64bd11c8b 1849 gourmand_1.0.0-8.dsc
c9054673ce2f78df96dc87cb91df92e235b546e0 5972 gourmand_1.0.0-8.debian.tar.xz
03d5ef6291870870a2c639e78540000457ccee93 11621
gourmand_1.0.0-8_source.buildinfo
Checksums-Sha256:
6dacf3e0574efb52575b166e146432a802a9add53a8ed2008cff99df9fbdc2d4 1849
gourmand_1.0.0-8.dsc
0a9f1bcb73a1b670a02abc81183cc9b1ad66aaf24fcfd5ffa65ba9d236603253 5972
gourmand_1.0.0-8.debian.tar.xz
a4ea1ed3b7de8f0a619d9860f00b4ec9b713ad238db2a6eabfc459fd03428ca8 11621
gourmand_1.0.0-8_source.buildinfo
Files:
67ed8d46b26a0587c1844e83d337bc87 1849 gnome optional gourmand_1.0.0-8.dsc
2cf1456d2431c2a64e151232349a4cb6 5972 gnome optional
gourmand_1.0.0-8.debian.tar.xz
aa67d4b4310e8e28ca9c9130ed28c405 11621 gnome optional
gourmand_1.0.0-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEpAH/mTaPofmBUt51XICMK2VVgRcFAmJo7sQACgkQXICMK2VV
gRcgRw/8DGy0YCeFH+Hzedpw7ia8x1gpv4XusRvP2lAwWkExxbecr1KVdVL3QZHl
cEV3W/9qAIDZxwmx0Ogc6VCE+xuDh5xHWR39fEYyoXen2/z/W19RE5rLXA2ctHFt
EhHKI9NRFN0VyrIEqgLn6kUi3zNHCQCeQ3ksziYARxszaWl0aZaJqNEKr7o+9aSd
t29b0U87qPp/gjVY6IhZC93wgaSl6+fdwcgBoi0wSz8wHQ+jPWeSkcvCH1gGDTON
PqGhQnrH9dfyBK/Cjd4qUXj3xTHUZyxwNdRr80gY3M107sVFJwIPTL0mgYm3qZ1V
tkBoCVM7HX+ML180o8/yjDA3rOsL0BGhvg2I9rp/UDyy58nd4TzOlCg8wu5QqScA
EjWJr6qE1BfSLMm/GFgz1s6FL9xeAjtsMJDH3QEb0d19koWJOSdkW9TBwp6o+DLQ
xlkCvUc7AP7inUBE+yPPXJsYAkmkmUMtvWANr1mBnC0X4hLwb6atz0J4a+QRtPv+
EtEufEWek2+DlqKcGrMNFxj6WtmBTTA6FPl9TutVgPZjXCq6SJGfyhrNZ7jjiwj2
21semNhZsPfzpLZYN9Mq22YHfU4fVI+0VejX1rJEeWeSZz1qbCYL/3nRfIDnXIRG
QXrcljwswbe/fSoQoH1tXeFYIhEo8U57N6pkETYsccTlKJfpPMM=
=7zPB
-----END PGP SIGNATURE-----
--- End Message ---