Bug #15248
opentext-install fails when manually add network & add user (TypeError: '<=' not supported between instances of 'int' and 'NoneType')
0%
Description
Install via text installer and keeps crashing.
The log files gives:
raidz
2022-12-09 14:51:05,689 - ERROR : text-install:255 Traceback (most recent call last):
File "/usr/bin/text-install", line 236, in <module>
SCREEN = SCREEN.show(INSTALL_PROFILE)
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/base_screen.py", line 126, in show
return self.validate_loop()
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/base_screen.py", line 150, in validate_loop
next_screen = self.main_win.process_input(self)
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/main_window.py", line 229, in process_input
input_key = self.central_area.process(input_key)
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/inner_window.py", line 472, in process
input_key = self.objects[self.active_object].process(input_key)
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/inner_window.py", line 472, in process
input_key = self.objects[self.active_object].process(input_key)
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/edit_field.py", line 283, in process
self.edit_loop()
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/edit_field.py", line 249, in edit_loop
input_key = self.handle_input(self.getch())
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/edit_field.py", line 210, in handle_input
input_key = self.translate_input(input_key)
File "/usr/lib/python3.9/vendor-packages/osol_install/text_install/inner_window.py", line 507, in translate_input
if curses.ascii.isdigit(input_key):
File "/usr/lib/python3.9/curses/ascii.py", line 59, in isdigit
def isdigit(c): return 48 <= _ctoi(c) <= 57
TypeError: '<=' not supported between instances of 'int' and 'NoneType'
2022-12-09 14:51:05,689 - INFO : text-install:99 END
The error seems to appear either when enter manual network and/or when adding a local user.
I have manager to do an install with NO network and No local user.
Files
Updated by Andrew Watkins 12 months ago
Look at the install log you can see the problems:
i.e.:
BE name: openindiana
Overwrite boot configuration: True
NIC e1000g0:
Type: manual
IP: None <===== Says None, but I have entered it 193.61.29.23
Netmask: 255.255.255.0
Gateway: None <====== Says None but I have entered it 193.61.29.245
DNS: 193.61.29.134
Domain: dcs.bbk.ac.uk
System Info:
Hostname: leda
TZ: None - None - None
Time Offset: 0
Keyboard: None
Locale: None
raidz
.
Gateway has been entered: 2022-12-09 14:50:40,020 - INPUT : edit_field.py:181 _set_text textwidth=13, columns=16, text=193.61.29.245
IP Address: 2022-12-09 14:50:32,844 - INPUT : edit_field.py:181 _set_text textwidth=12, columns=16, text=193.61.29.23
And if I say no network and enter default user I get similar errors from another install (log not provided):
Real name: None <=== I did enter details
Login name: root
Is Role: True
User Info(None):
Real name: None <==== I did enter name
Login name: None <=== I did enter name
Is Role: False