Bug 7357 - xml.parsers.expat is not always installed (SLES 15)
Summary: xml.parsers.expat is not always installed (SLES 15)
Status: CLOSED DUPLICATE of bug 4283
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Bugzilla mail exporter
Depends on:
Blocks: 7336
  Show dependency treegraph
Reported: 2019-06-26 13:23 CEST by Pierre Ossman
Modified: 2020-12-16 09:35 CET (History)
0 users

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2019-06-26 13:23:09 CEST
I got the following traceback when running tl-setup on SLES:

> Failed to launch installer through 'sudo':
> Traceback (most recent call last):
>   File "/opt/thinlinc/sbin/../libexec/tl-setup.py", line 44, in <module>
>     import thinlinc . tlsetup . requirements
>   File "/opt/thinlinc/modules/thinlinc/tlsetup/requirements.py", line 12, in <module>
>     from thinlinc import packageinstaller
>   File "/opt/thinlinc/modules/thinlinc/packageinstaller/__init__.py", line 12, in <module>
>     import zypperbackend
>   File "/opt/thinlinc/modules/thinlinc/packageinstaller/zypperbackend.py", line 14, in <module>
>     import xml . parsers . expat
> ImportError: No module named xml.parsers.expat

That module is supposed to be a standard part of Python, so this is a bit odd.

I got in to this situation by uninstalling python (so I could test that we install it correctly), then installing it back. It turns our that the XML stuff is in a separate package, called python-xml.

I don't know what pulls it in during installation as I cannot find any base package or pattern that references. I guess it's just a hard coded default in SUSE's installer.
Comment 1 Pierre Ossman cendio 2020-12-16 09:35:50 CET

*** This bug has been marked as a duplicate of bug 4283 ***

Note You need to log in before you can comment on or make changes to this bug.