ERROR: python3-mastermind-1.0.0+gitAUTOINC+6bea285818-r0 do_package: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_ident_python_packages(d)
0003:
File: '/home/student/projects/resy-playground/sources/poky/../meta-buildutils/classes/python-package-ident-core.bbclass', lineno: 69, function: do_ident_python_packages
0065: import os
0066: import bb
0067: import dis
0068:
*** 0069: _modules = get_python_modules(d)
0070: _package_dir = d.getVar("PKGDEST")
0071:
0072: for _dir in os.listdir(_package_dir):
0073: _dir_wo_pn = _dir.replace(d.getVar("PN"), "", 1)
File: '/home/student/projects/resy-playground/sources/poky/../meta-buildutils/classes/python-package-ident-core.bbclass', lineno: 40, function: get_python_modules
0036: tmp = i.read()
0037: if tmp.startswith("#"):
0038: ## Probe for manifest with or without preambel
0039: tmp = tmp.find('# EOC') + 6 # EOC + \n -> taken from meta/recipes-devtools/python/python3/create_manifest3.py
*** 0040: _module_dict = json.loads(tmp)
0041: _strip_path = os.path.join(d.getVar("STAGING_LIBDIR"), d.getVar("PYTHON_DIR"))
0042:
0043: for k,v in _module_dict.items():
0044: modules[k] = []
File: '/usr/lib/python3.6/json/__init__.py', lineno: 348, function: loads
0344: s, 0)
0345: else:
0346: if not isinstance(s, (bytes, bytearray)):
0347: raise TypeError('the JSON object must be str, bytes or bytearray, '
*** 0348: 'not {!r}'.format(s.__class__.__name__))
0349: s = s.decode(detect_encoding(s), 'surrogatepass')
0350:
0351: if (cls is None and object_hook is None and
0352: parse_int is None and parse_float is None and
Exception: TypeError: the JSON object must be str, bytes or bytearray, not 'int'
ERROR: python3-mastermind-1.0.0+gitAUTOINC+6bea285818-r0 do_package: the JSON object must be str, bytes or bytearray, not 'int'
ERROR: python3-mastermind-1.0.0+gitAUTOINC+6bea285818-r0 do_package: Function failed: do_ident_python_packages
ERROR: Logfile of failure stored in: /home/student/projects/resy-playground/build/container-x86-64/tmp/work/core2-64-resy-linux-musl/python3-mastermind/1.0.0+gitAUTOINC+6bea285818-r0/temp/log.do_package.29456
ERROR: Task (/home/student/projects/resy-playground/sources/poky/../meta-desire/recipes-desire/python-iot/python3-mastermind_git.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 822 tasks of which 812 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/student/projects/resy-playground/build/container-x86-64/tmp/log/error-report/error_report_20190715192845.txt
You can send the errors to a reports server by running:
send-error-report /home/student/projects/resy-playground/build/container-x86-64/tmp/log/error-report/error_report_20190715192845.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.
Summary: 1 task failed:
/home/student/projects/resy-playground/sources/poky/../meta-desire/recipes-desire/python-iot/python3-mastermind_git.bb:do_package
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
Here[1] you can find samples of my recipes.