ERROR: ExpansionError during parsing /mnt/sdb1/linhuanzhong/519/poky/meta-selinux/recipes-security/refpolicy/refpolicy-minimum_git.bb
时间: 2023-09-24 08:10:17 浏览: 356
很遗憾,您提供的信息不足以确定问题的根本原因。ExpansionError 是指发生了某种扩展错误。可能是在扩展某个变量时出现了问题,也可能是在处理某个列表时出现了问题。建议您查看详细的错误日志以获取更多信息,并尝试根据错误提示和日志信息解决此问题。如果您无法解决问题,请提供更多信息,以便我能够更好地帮助您。
相关问题
Parsing recipes...ERROR: /home/wu/3568/yocto/meta-niic/niic/recipes-support/glog/glog_0.5.0.bb: Variable PACKAGECONFIG_remove_riscv64 file: /home/wu/3568/yocto/meta-niic/niic/recipes-support/glog/glog_0.5.0.bb line: 21 contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.如何解决
这个错误是由于使用了旧的override语法导致的。要解决这个问题,您需要更新您的layer/metadata以使用新的override语法。这可以通过使用bitbake-layers update命令来完成。在您的yocto工程的根目录下运行以下命令:
```
bitbake-layers update <layer-name>
```
其中`<layer-name>`是包含`glog`的层的名称。这将更新该层的元数据并将其转换为新的override语法,以解决该错误。
train datasets not valid: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates 2023-04-20 18:34:06,539 - [ERROR]: failed: TrainFailReason.ERROR_PARAM, datasets not valid: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates Exception ignored in: <function Detector.__del__ at 0x7fa39ff51550> Traceback (most recent call last): File "/home/zzh/Desktop/maix_train/train/detector/__init__.py", line 117, in __del__ if self.need_rm_datasets: AttributeError: 'Detector' object has no attribute 'need_rm_datasets'
训练数据集无效:不能直接创建描述符。如果这个调用来自一个_pb2.py文件,你的生成代码已经过期,必须使用protoc >= 3.19.0重新生成。如果你无法立即重新生成你的protos,一些可能的解决方法是:1.将protobuf软件包降级到3.20.x或更低版本。2.设置PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python(但这将使用纯Python解析,速度会慢得多)。更多信息请参见:https://developers.google.com/protocol-buffers/docs/news/2022-05-06。
阅读全文