Bug 8604 - tl-setup crashes if no package to install is found
Summary: tl-setup crashes if no package to install is found
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 16:37 CEST by Samuel Mannehed
Modified: 2025-06-17 13:36 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2025-06-10 16:37:34 CEST
On the SLES 16 beta, tl-setup crashes when trying to install the SELinux policy development files. Bug 8603 covers why such a package isn't found. However, tl-setup shouldn't crash anyway.

The traceback in tlsetup.log looked as follows:


2025-06-10 16:32:35,824: No information about which package provides SELinux policy development files on this distribution
2025-06-10 16:32:35,826: Traceback (most recent call last):
2025-06-10 16:32:35,827:   File "/opt/thinlinc/sbin/../libexec/tl-setup.py", line 330, in <module>
2025-06-10 16:32:35,827:     oOoO00 ( )
2025-06-10 16:32:35,827:     ~~~~~~~^^^
2025-06-10 16:32:35,827:   File "/opt/thinlinc/sbin/../libexec/tl-setup.py", line 286, in oOoO00
2025-06-10 16:32:35,827:     O0 = ooOo00oOo0Ooo . run ( )
2025-06-10 16:32:35,827:   File "/opt/thinlinc/modules/thinlinc/wizard.py", line 222, in run
2025-06-10 16:32:35,827:     return self . _run_text ( )
2025-06-10 16:32:35,827:            ~~~~~~~~~~~~~~~~~^^^
2025-06-10 16:32:35,827:   File "/opt/thinlinc/modules/thinlinc/wizard.py", line 240, in _run_text
2025-06-10 16:32:35,827:     O0O0 ( )
2025-06-10 16:32:35,827:     ~~~~~^^^
2025-06-10 16:32:35,827:   File "/opt/thinlinc/modules/thinlinc/tlsetup/selinux.py", line 157, in Ooo000oo0O00o
2025-06-10 16:32:35,827:      IiIiIII = pkginsthelp . generic_text_installer ( lambda : False ,
2025-06-10 16:32:35,827:                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
2025-06-10 16:32:35,827:     iI1i1I ,
2025-06-10 16:32:35,827:     ^^^^^^^^
2025-06-10 16:32:35,827:     ...<2 lines>...
2025-06-10 16:32:35,827:     Ii111 , True ,
2025-06-10 16:32:35,827:     ^^^^^^^^^^^^^^
2025-06-10 16:32:35,827:     oOOoO )
2025-06-10 16:32:35,827:     ^^^^^^^
2025-06-10 16:32:35,827:   File "/opt/thinlinc/modules/thinlinc/tlsetup/pkginsthelp.py", line 64, in generic_text_installer
2025-06-10 16:32:35,827:     OoOo = IiiIii11iII1 . run ( )
2025-06-10 16:32:35,827:   File "/opt/thinlinc/modules/thinlinc/tlsetup/pkginsthelp.py", line 402, in run
2025-06-10 16:32:35,827:     wizard . text_print_title ( self . __title )
2025-06-10 16:32:35,827:     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
2025-06-10 16:32:35,827:   File "/opt/thinlinc/modules/thinlinc/wizard.py", line 139, in text_print_title
2025-06-10 16:32:35,827:     print ( len ( title ) * "=" )
2025-06-10 16:32:35,827:             ~~~~^^^^^^^^^
2025-06-10 16:32:35,827: TypeError: object of type 'NoneType' has no len()

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