| Summary: | 'BitBakeXMLRPCServer' object has no attribute 'set_async_cmd' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Tim Orling <tim.orling> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | poky.bs.watcher, poky.watcher, randy.macleod |
| Version: | 4.2 | ||
| Target Milestone: | 4.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Tim Orling
2023-01-17 17:29:26 UTC
**Very** naively adding the {set,clear,get}_async_cmd to lib/bb/server/xmlrpcserver.py [1] _seems_ to get past this error, but then results in:
`
Bitbake crash
Traceback (most recent call last):
File ".../workspace-toaster/poky/bitbake/bin/bitbake", line 36, in <module>
sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
File ".../workspace-toaster/poky/bitbake/lib/bb/main.py", line 404, in bitbake_main
return ui_module.main(server_connection.connection, server_connection.events,
File ".../workspace-toaster/poky/bitbake/lib/bb/ui/toasterui.py", line 135, in main
params.updateToServer(server, os.environ.copy())
File ".../workspace-toaster/poky/bitbake/lib/bb/cookerdata.py", line 75, in updateToServer
raise Exception("Unable to update the server configuration with local parameters: %s" % error)
Exception: Unable to update the server configuration with local parameters: Traceback (most recent call last):
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 91, in runCommand
result = command_method(self, commandline)
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/command.py", line 290, in updateConfig
command.cooker.updateConfigOpts(options, environment, cmdline)
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 540, in updateConfigOpts
self.reset()
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 1776, in reset
self.initConfigurationData()
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cooker.py", line 397, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 269, in parseBaseConfiguration
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
File ".../workspace-toaster/_toaster_clones/_git___git.yoctoproject.org_poky_master/bitbake/lib/bb/cookerdata.py", line 472, in parseConfigurationFiles
raise SystemExit(msg)
SystemExit: The BBPATH variable is not set and bitbake did not find a conf/bblayers.conf file in the expected location.
Maybe you accidentally invoked bitbake from the wrong directory?
`
[1] https://git.yoctoproject.org/poky-contrib/commit/?h=timo/toaster-15008&id=0328bc30403e6e8ba4cc3018b70c7552ac9cab7f
Passed crops/toaster-container tests: https://github.com/crops/toaster-container/actions/runs/4356489265/jobs/7614565651 |