From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Exception in do_transform_template()
Date: Wed, 18 Sep 2019 13:16:53 +0200 [thread overview]
Message-ID: <20190918111653.is6ugty7h6tw6qrt@yssyq.m.ilbers.de> (raw)
Hello,
I occasionally get the exception below. The full log can be seen e.g. in
http://zhanghyz.ilbers.de:8080/job/isar_claudius_ilbers-ci/9/consoleFull. Any
ideas what could be causing that?
ERROR: mc:rpi-jessie:example-module-rpi-rpfv-1.0-r0 do_transform_template: 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_transform_template(d)
0003:
File: '/workspace/build/isar_claudius_ilbers-ci/9/meta/classes/template.bbclass', lineno: 58, function: do_transform_template
0054: with contextlib.ExitStack() as stack:
0055: input = stack.enter_context(open(template_file, 'rb'))
0056: output = stack.enter_context(open(output_file, 'wb'))
0057: process = subprocess.Popen([cmd, args], stdin=input,
*** 0058: stdout=output, env=env)
0059: if process.wait() != 0:
0060: bb.fatal("processing of template failed")
0061:}
0062:addtask do_transform_template after do_unpack before do_build
File: '/usr/lib/python3.5/subprocess.py', lineno: 676, function: __init__
0672: startupinfo, creationflags, shell,
0673: p2cread, p2cwrite,
0674: c2pread, c2pwrite,
0675: errread, errwrite,
*** 0676: restore_signals, start_new_session)
0677: except:
0678: # Cleanup if the child failed starting.
0679: for f in filter(None, (self.stdin, self.stdout, self.stderr)):
0680: try:
File: '/usr/lib/python3.5/subprocess.py', lineno: 1282, function: _execute_child
1278: # The error must be from chdir(cwd).
1279: err_msg += ': ' + repr(cwd)
1280: else:
1281: err_msg += ': ' + repr(orig_executable)
*** 1282: raise child_exception_type(errno_num, err_msg)
1283: raise child_exception_type(err_msg)
1284:
1285:
1286: def _handle_exitstatus(self, sts, _WIFSIGNALED=os.WIFSIGNALED,
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'envsubst'
ERROR: mc:rpi-jessie:example-module-rpi-rpfv-1.0-r0 do_transform_template: Function failed: do_transform_template
With kind regards,
--
Baurzhan Ismagulov
ilbers GmbH
Maria-Merian-Str. 8
D-85521 Ottobrunn
+49 (89) 122 67 24-0
ibr@ilbers.de
http://ilbers.de/
Amtsgericht M�nchen, HRB 214197
Gesch�ftsf�hrer: Baurzhan Ismagulov
next reply other threads:[~2019-09-18 11:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-18 11:16 Baurzhan Ismagulov [this message]
2019-09-18 11:27 ` Baurzhan Ismagulov
2019-09-18 11:46 ` Quirin Gylstorff
2019-09-18 12:38 ` Baurzhan Ismagulov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190918111653.is6ugty7h6tw6qrt@yssyq.m.ilbers.de \
--to=ibr@radix50.net \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox