Guest User

Untitled

a guest
Aug 14th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. do_rootfs: Error executing a python function in exec_python_func() autogenerated:
  2. The stack trace of python calls that resulted in this exception/failure was:
  3. File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
  4. 0001:
  5. *** 0002:write_image_test_data(d)
  6. 0003:
  7. File: '/mnt/home/topic_latest/openembedded-core/meta/classes/rootfs-postcommands.bbclass', lineno: 323, function: write_image_test_data
  8. 0319: link_name = d.getVar('IMAGE_LINK_NAME')
  9. 0320: testdata_name = os.path.join(deploy_dir, "%s.testdata.json" % d.getVar('IMAGE_NAME'))
  10. 0321:
  11. 0322: searchString = "%s/"%(d.getVar("TOPDIR")).replace("//","/")
  12. *** 0323: export2json(d, testdata_name, searchString=searchString, replaceString="")
  13. 0324:
  14. 0325: if os.path.exists(testdata_name):
  15. 0326: testdata_link = os.path.join(deploy_dir, "%s.testdata.json" % link_name)
  16. 0327: if os.path.lexists(testdata_link):
  17. File: '/mnt/home/topic_latest/openembedded-core/meta/lib/oe/data.py', lineno: 46, function: export2json
  18. 0042: data2export[key] = ''
  19. 0043: except AttributeError:
  20. 0044: pass
  21. 0045:
  22. *** 0046: with open(json_file, "w") as f:
  23. 0047: json.dump(data2export, f, skipkeys=True, indent=4, sort_keys=True)
  24. Exception: FileNotFoundError: [Errno 2] No such file or directory: 'IMX8MQ_topic/yocto_20190813063206.testdata.json'
Add Comment
Please, Sign In to add comment