| Summary: |
Toaster fails to start in managed mode due to traceback |
| Product: |
[Build System, Metadata & Runtime] Toaster
|
Reporter: |
Ionut Chisanovici <ionutx.chisanovici> |
| Component: |
toaster | Assignee: |
Alexandru Damian <alexandru.damian> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Mihail Stanciu <stanciux.mihail> |
| Severity: |
critical
|
|
|
| Priority: |
High
|
CC: |
alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, jessica.zhang, stanciux.mihail
|
| Version: |
1.8 | |
|
| Target Milestone: |
1.8 M3 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
Regression (Used to work)
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
Hi, For 1.8 M2 RC2, commit:22c38e2d8a058619e3d05534b5e830b750aa4241, toaster fails to start due to traceback which occurs right after toaster is asking which layer directory to use for loading the configurations (I used the default one, the one suggested by toaster so just hit ENTER): ------------------------------------------------------------------ Toaster needs to know in which directory it should check out the layers that will be needed for your builds. Toaster suggests "/home/ionut/work/poky_1.8". If you select this directory, a layer like "meta-yocto" will end up in "/home/ionut/work/poky_1.8/meta-yocto". Press Enter to select "/home/ionut/work/poky_1.8" or type the full path to a different directory: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 222, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 255, in execute output = self.handle(*args, **options) File "/home/ionut/work/poky_1.8/poky/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py", line 141, in handle while (_verify_be()): File "/home/ionut/work/poky_1.8/poky/bitbake/lib/toaster/bldcontrol/management/commands/checksettings.py", line 103, in _verify_be be.builddir = raw_input("\nToaster needs to know where is your build directory.\n The build directory is where all the artifacts created by your builds will be stored. Type the full path to the directory (for example: \" %s/build\")" % os.environment['HOME']) AttributeError: 'module' object has no attribute 'environment' -------------------------------------------------------------- Also, the suggested directory is confusing for the end user as the meta-yocto directory is a sub folder of the poky folder and not for the top folder where the poky was cloned: ----------------------------- Toaster suggests "/home/ionut/work/poky_1.8". If you select this directory, a layer like "meta-yocto" will end up in "/home/ionut/work/poky_1.8/meta-yocto". Press Enter to select "/home/ionut/work/poky_1.8" or type the full path to a different directory: ----------------------------- For me: /home/ionut/work/poky_1.8 is the top folder, where the poky was cloned and the correct meta-yocto location should be: /home/ionut/work/poky_1.8/poky/meta-yocto Cheers, Ionut C