[SRU] gourmand doesn't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
extruct (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Noble |
Fix Committed
|
Undecided
|
Unassigned | ||
gourmand (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
gourmand is completely unusable and will fail immediately on execution with the error:
$ gourmand
args = Namespace(
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
return next(matches)
File "/usr/lib/
module = import_
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/usr/lib/
from gourmand import (__version__, batchEditor, convert, plugin, plugin_gui,
File "/usr/lib/
from gourmand.recindex import RecIndex
File "/usr/lib/
from .importers.
File "/usr/lib/
from gourmand.
File "/usr/lib/
from gourmand.
File "/usr/lib/
from recipe_scrapers import SCRAPERS, scrape_me
File "/usr/lib/
from ._abstract import AbstractScraper
File "/usr/lib/
from ._schemaorg import SchemaOrg
File "/usr/lib/
import extruct
File "/usr/lib/
from ._extruct import SYNTAXES, extract
File "/usr/lib/
from extruct.dublincore import DublinCoreExtractor
File "/usr/lib/
from extruct.utils import parse_html
File "/usr/lib/
from extruct.xmldom import XmlDomHTMLParser
File "/usr/lib/
from lxml.etree import (
ImportError: cannot import name '_ElementString
Even though "gourmand" is affected but its caused by "python3-lxml" updating to 5.2.1-1 as FFE via #2060811. And that in turn affected python3-extruct which actually caused all the error.
[ Test Plan ]
1. install gourmand
2. Execute gourmand
If the package is not fixed it will result in the above error.
With the fixed package it will display the recipe manager with two example recipes in it.
[ Where problems could occur ]
This upstream patch is defining its own "_ElementString
But again, the package is completely unusable now, there can not be a greather regression than what we currently have.
[ Other Info ]
1. The "_ElementString
2. I did a apt-cache rdepends to find out other packages that might be affected by the issue of python3-extruct. But looks like "gourmand" is the only package which depends on python3-extruct.
[ Original Bug Description ]
In kubuntu 24.04 after installing gourmand it doesn't start.
If I launch it from cli I have the following output :
gourmand
args = Namespace(
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
return next(matches)
File "/usr/lib/
module = import_
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/usr/lib/
from gourmand import (__version__, batchEditor, convert, plugin, plugin_gui,
File "/usr/lib/
from gourmand.recindex import RecIndex
File "/usr/lib/
from .importers.
File "/usr/lib/
from gourmand.
File "/usr/lib/
from gourmand.
File "/usr/lib/
from recipe_scrapers import SCRAPERS, scrape_me
File "/usr/lib/
from ._abstract import AbstractScraper
File "/usr/lib/
from ._schemaorg import SchemaOrg
File "/usr/lib/
import extruct
File "/usr/lib/
from ._extruct import SYNTAXES, extract
File "/usr/lib/
from extruct.dublincore import DublinCoreExtractor
File "/usr/lib/
from extruct.utils import parse_html
File "/usr/lib/
from extruct.xmldom import XmlDomHTMLParser
File "/usr/lib/
from lxml.etree import (
ImportError: cannot import name '_ElementString
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
DistroRelease: Ubuntu 24.04
Package: gourmand 1.1.0+really1.
PackageArchitec
ProcVersionSign
Tags: noble third-party-
Uname: Linux 6.8.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
affects: | gourmand (Ubuntu) → extruct (Ubuntu) |
Changed in extruct (Ubuntu): | |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
summary: |
- gourmand doesn't start + [SRU] gourmand doesn't start |
Changed in extruct (Ubuntu): | |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.