How can I fix this error? I have always worked from this directory but for some reason it’s not working anymore.
source tcb-env-setup.sh
torizoncore-builder images unpack torizon-core-docker-colibri-imx6ull-emmc-Tezi_5.7.0+build.17.tar
Storage not empty. Delete current image before continuing? [y/N] y
Unpacking Toradex Easy Installer image.
An unexpected Exception occured. Please provide the following stack trace to
the Toradex TorizonCore support team:
Traceback (most recent call last):
File "/builder/torizoncore-builder", line 217, in <module>
mainargs.func(mainargs)
File "/builder/tcbuilder/cli/images.py", line 145, in do_images_unpack
images_unpack(args.image_directory,
File "/builder/tcbuilder/cli/images.py", line 139, in images_unpack
images.import_local_image(image_dir, dir_list[0], dir_list[1], dir_list[2])
File "/builder/tcbuilder/backend/images.py", line 274, in import_local_image
subprocess.check_output(tarcmd, shell=True, stderr=subprocess.STDOUT)
File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'cat /workdir/torizon-core-docker-colibri-imx6ull-emmc-Tezi_5.7.0+build.17.tar | cat | tar -xf - -C /storage/tezi.tmp' returned non-zero exit status 2.
I had no issues trying to unpack torizon-core-docker-colibri-imx6ull-emmc-Tezi_5.7.0+build.17.tar with TorizonCore Builder.
Maybe there’s something wrong with this file on your side? What happens if you try to untar it yourself? Or maybe try deleting and re-downloading this file.