archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

archinstall crash

Open JassonCordones opened this issue 6 months ago • 4 comments

Which ISO version are you using?

2025-06-01

The installation log

[2025-06-29 05:29:31] - DEBUG - Hardware model detected: Dell Inc. Inspiron 15 7000 Gaming; UEFI mode: True
[2025-06-29 05:29:31] - DEBUG - Processor model detected: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[2025-06-29 05:29:31] - DEBUG - Memory statistics: 14770632 available out of 16233196 total installed
[2025-06-29 05:29:31] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-06-29 05:29:31] - DEBUG - System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

[2025-06-29 05:29:31] - DEBUG - Virtualization detected: None; is VM: False
[2025-06-29 05:29:32] - DEBUG - 
[2025-06-29 05:29:32] - ERROR - Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 386, in create_session
    self.session.poll()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 262, in poll
    for _fileno, _event in self.poll_object.poll(0.1):
                           ~~~~~~~~~~~~~~~~~~~~~^^^^^
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 103, in run_as_a_module
    rc = main()
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 81, in main
    _log_sys_info()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/__init__.py", line 32, in _log_sys_info
    debug(f'Graphics devices detected: {SysInfo._graphics_devices().keys()}')
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/hardware.py", line 216, in _graphics_devices
    for line in SysCommand('lspci'):
                ~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 336, in __init__
    self.create_session()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 376, in create_session
    with SysCommandWorker(
         ~~~~~~~~~~~~~~~~^
    	self.cmd,
     ^^^^^^^^^
    ...<3 lines>...
    	working_directory=self.working_directory,
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as session:
    ^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/general.py", line 194, in __exit__
    raise SysCallError(
    ...<3 lines>...
    )
archinstall.lib.exceptions.SysCallError: ['/usr/bin/lspci'] exited with abnormal exit code [None]: 

[2025-06-29 05:29:32] - WARNING - Archinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st

describe the problem

Description of the issue

  1. I typed Archinstall.
  2. zsh: correct 'Archinstall' to 'archinstall' [nyae]?
  3. I typed y
  4. Then I hit ^C
  5. archinstall crashed ...

JassonCordones avatar Jun 29 '25 05:06 JassonCordones

Some more information is needed to debug this properly, KeyboardInterrupt indicates that you pressed ctrl+c potentially?

svartkanin avatar Jun 29 '25 07:06 svartkanin

yeah, that's why I meant in step 4

JassonCordones avatar Jun 29 '25 13:06 JassonCordones

Then I don't understand the problem. What did you expect?

svartkanin avatar Jun 29 '25 23:06 svartkanin

If it was expected, then a more graceful exit of the script. A traceback that tells you to report a crash while trying to stop a program is bad ux.

JassonCordones avatar Jun 30 '25 00:06 JassonCordones