Skip to content

Pydantic JSON Validation Failure on 06.01.2025 #3636

@tPkl

Description

@tPkl

Which ISO version are you using?

2025-06-01

The installation log

[2025-06-28 05:38:26] - DEBUG - Hardware model detected: Dell Inc. Inspiron 7506 2n1; UEFI mode: True
[2025-06-28 05:38:26] - DEBUG - Processor model detected: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
[2025-06-28 05:38:26] - DEBUG - Memory statistics: 14605996 available out of 16090592 total installed
[2025-06-28 05:38:26] - DEBUG - Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

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

[2025-06-28 05:38:26] - DEBUG - Virtualization detected: None; is VM: False
[2025-06-28 05:38:26] - DEBUG - Graphics devices detected: dict_keys(['Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)', 'Intel Corporation DG1 [Iris Xe MAX Graphics] (rev 01)'])
[2025-06-28 05:38:26] - ERROR - 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 35, in _log_sys_info
    debug(f'Disk states before installing:\n{disk_layouts()}')
                                             ~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/utils.py", line 105, in disk_layouts
    lsblk_output = get_lsblk_output()
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/utils.py", line 65, in get_lsblk_output
    return _fetch_lsblk_info()
  File "/usr/lib/python3.13/site-packages/archinstall/lib/disk/utils.py", line 44, in _fetch_lsblk_info
    return LsblkOutput.model_validate_json(output)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pydantic/main.py", line 746, in model_validate_json
    return cls.__pydantic_validator__.validate_json(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        json_data, strict=strict, context=context, by_alias=by_alias, by_name=by_name
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
pydantic_core._pydantic_core.ValidationError: 1 validation error for LsblkOutput
blockdevices.3.children.0.type
  Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.11/v/string_type

[2025-06-28 05:38:26] - 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

Newbie here. Tried to use archinstall on a recently wiped Dell laptop. I've tried using multiple different ISO images for arch, and I used Rufus to burn the image on a 32gb USB drive (tried both MBR and GPT, DD image and ISO). Running archinstall leads to the above error seen. I tried to use pacman -Sy archinstall and updated the version to 3.0.8, but I still get the same error. I tried to run pacman -Syu but didn't have enough space on the live environment for the updates.

Here is my lsblk -J -O output, since I saw a similar issue where they provided this. I don't know how to read it: https://0x0.st/8l7G.json

Please provide me with the steps I should take to get past this python error, whether I need to tweak my boot image or some other command I'm not familiar with. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions