Replies: 1 comment 1 reply
-
Hi! Thanks for your warm greeting! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@vortigont Hi, hope you have a lovely day, I'm using Linux now (Mint 21.2 Cinnamon ) when I run the code to compile, I get the error as below,
'CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/wemos_d1_mini32.html
PLATFORM: Espressif 32 (6.3.2) > WEMOS D1 MINI ESP32
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
ffatal: Not a valid object name HEAD
Traceback (most recent call last):
File "/home/aim/Documents/ESPEM New/flags.py", line 13, in
subprocess.check_output(["git", "describe", "--abbrev=4", "--always", "--tags", "--long"])
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'describe', '--abbrev=4', '--always', '--tags', '--long']' returned non-zero exit status 128.
OSError: 'python flags.py' exited 1:
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py", line 175:
env.SConscript("$BUILD_SCRIPT")
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/aim/.platformio/platforms/espressif32/builder/main.py", line 312:
target_elf = env.BuildProgram()
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
return self.method(*nargs, **kwargs)
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 62:
env.ProcessProjectDeps()
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
return self.method(*nargs, **kwargs)
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 147:
plb = env.ConfigureProjectLibBuilder()
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
return self.method(*nargs, **kwargs)
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piolib.py", line 1167:
project = ProjectAsLibBuilder(env, "$PROJECT_DIR")
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piolib.py", line 886:
super().init(env, *args, **kwargs)
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piolib.py", line 153:
self.process_extra_options()
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piolib.py", line 952:
self.env.ProcessFlags(self.build_flags)
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
return self.method(*nargs, **kwargs)
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 228:
env.Append(**env.ParseFlagsExtended(flags))
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
return self.method(*nargs, **kwargs)
File "/home/aim/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 190:
for key, value in env.ParseFlags(str(raw)).items():
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Environment.py", line 1035:
do_parse(arg)
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Environment.py", line 887:
arg = self.backtick(arg[1:])
File "/home/aim/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Environment.py", line 798:
raise OSError("'%s' exited %d" % (command, status))
========================== [FAILED] Took 0.71 seconds ==========================
Environment Status Duration
espem FAILED 00:00:00.707
==================== 1 failed, 0 succeeded in 00:00:00.707 ====================''
Beta Was this translation helpful? Give feedback.
All reactions