栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

【问题】yocto学习:ERROR: Execution of event handler ‘sstate

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【问题】yocto学习:ERROR: Execution of event handler ‘sstate

bitbake在最简单的配方上失败了 1. 编译报错问题:ERROR: Execution of event handler ‘sstate_eventhandler2’ failed

下载yocto的代码,编译时,报错如下:

$ bitbake core-image-minimal
Loading cache: 100% |##########################################################################################################| Time: 0:00:00
Loaded 1320 entries from dependency cache.
ERROR: Execution of event handler 'sstate_eventhandler2' failed
Traceback (most recent call last):
  File "/home/some-user/projects/melp/poky/meta/classes/sstate.bbclass", line 1015, in sstate_eventhandler2(e=):
                 for l in lines:
    >                (stamp, manifest, workdir) = l.split()
                     if stamp not in stamps:
ValueError: not enough values to unpack (expected 3, got 1)

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/some-user/projects/melp/poky/bitbake/lib/bb/command.py", line 101, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/some-user/projects/melp/poky/bitbake/lib/bb/cooker.py", line 1658, in updateCache
    bb.event.fire(event, self.databuilder.mcdata[mc])
  File "/home/some-user/projects/melp/poky/bitbake/lib/bb/event.py", line 201, in fire
    fire_class_handlers(event, d)
  File "/home/some-user/projects/melp/poky/bitbake/lib/bb/event.py", line 124, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/some-user/projects/melp/poky/bitbake/lib/bb/event.py", line 96, in execute_handler
    ret = handler(event)
  File "/home/some-user/projects/melp/poky/meta/classes/sstate.bbclass", line 1015, in sstate_eventhandler2
    (stamp, manifest, workdir) = l.split()
ValueError: not enough values to unpack (expected 3, got 1)

看起来它是python错误。有谁知道这是什么问题?我使用的是错误的版本吗?

以下是python --version 的输出

$ python --version
Python 2.7.12
2. 如何解决?

删除tmp和sstate-cache目录,然后重试,编译OK

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/341790.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号