[RTEMS Project] #4168: Source builder failed due to Python relative import in non-package execution

RTEMS trac trac at rtems.org
Thu Oct 29 06:57:39 UTC 2020


#4168: Source builder failed due to Python relative import in non-package
execution
-----------------------+--------------------
  Reporter:  andi      |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  4.11.4
 Component:  tool/rsb  |    Version:  4.11
  Severity:  normal    |   Keywords:
Blocked By:            |   Blocking:
-----------------------+--------------------
 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
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4168>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list