#4168 new defect

Source builder failed due to Python relative import in non-package execution

Reported by: andi Owned by:
Priority: normal Milestone: 4.11.4
Component: tool/rsb Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The Python version used is 2.7.17.

Traceback (most recent call last):

  File "/home/andi/rtems/src/rtems-source-builder-4.11.git/source-builder/sb-bootstrap", line 27, in <module>
    import bootstrap
  File "/home/andi/rtems/src/rtems-source-builder-4.11.git/source-builder/sb/bootstrap.py", line 32, in <module>
    import log
  File "/home/andi/rtems/src/rtems-source-builder-4.11.git/source-builder/sb/log.py", line 29, in <module>
    from . import error
ValueError: Attempted relative import in non-package

Change History (0)

Note: See TracTickets for help on using tickets.