Skip to content

AttributeError: 'NoneType' object has no attribute 'split' #96

@ctgulzh

Description

@ctgulzh

Sorry to bother everyone, I recently encountered a problem while learning KRS: referring to the guidance at https://xilinx.github.io/KRS/sphinx/build/html/docs/install.html I built the KRS development environment on a virtual machine , when I proceed to "Select the KR260 firmware artifact and rebuild the accelerator configured for the KR260 build", the following error appears:

[0.356s] ERROR:colcon:colcon acceleration: 'NoneType' object has no attribute 'split'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/command.py", line 522, in verb_main
rc = context.args.main(context=context)
File "/home/lzh/krs_ws/install/lib/python3.10/site-packages/colcon_hardware_acceleration/subverb/select.py", line 48, in main
firmware_options = get_firmware_options()
File "/home/lzh/krs_ws/install/lib/python3.10/site-packages/colcon_hardware_acceleration/subverb/list.py", line 27, in get_firmware_options
firmware_options = outs.split("\n")
AttributeError: 'NoneType' object has no attribute 'split'

So,how to solve this problem? I referred to a previous answer: https://github.com//issues/30 but failed to solve the attribute error problem by following the above method.

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