You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @puuu thank you for this great project.
I'm working on a new protocol for my 433 MHz doorbell. I want to use an ESP8266 running MQTT433gateway to test my new protocol.
When I tried to manually compile the (unmodified) source code, I ran into this error message:
...
|-- <SystemTools>
|-- <WifiManager> 0.15.0
| |-- <DNSServer> 1.1.1
| | |-- <ESP8266WiFi> 1.0
| |-- <ESP8266WebServer> 1.0
| | |-- <ESP8266WiFi> 1.0
| |-- <ESP8266WiFi> 1.0
Building in release mode
KeyError: 'PROJECTLIBDEPS_DIR':
File "/home/pi/.platformio/penv/lib/python3.7/site-packages/platformio/builder/main.py", line 164:
env.SConscript(item, exports="env")
File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/pi/adding_doorbell/original_MQTT433gateway/MQTT433gateway/scripts/fw_version.py", line 53:
generate_file()
File "/home/pi/adding_doorbell/original_MQTT433gateway/MQTT433gateway/scripts/fw_version.py", line 50:
build_with=escape_string(get_dependencies_json())))
File "/home/pi/adding_doorbell/original_MQTT433gateway/MQTT433gateway/scripts/fw_version.py", line 40:
return json.dumps(get_dependencies(), separators=(',', ':'), sort_keys=True)
File "/home/pi/adding_doorbell/original_MQTT433gateway/MQTT433gateway/scripts/fw_version.py", line 30:
lib_storage = os.path.join(env['PROJECTLIBDEPS_DIR'], env['PIOENV'])
File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 405:
return self._dict[key]
============================================================ [FAILED] Took 254.97 seconds ==============
Environment Status Duration
------------- -------- ------------
esp12e FAILED 00:04:14.975
esp12e_160 IGNORED
nodemcu IGNORED
nodemcuv2 IGNORED
d1_mini IGNORED
huzzah IGNORED
======================================================= 1 failed, 0 succeeded in 00:04:14.975 ==========
I also found this rjwats/esp8266-react#56
so I just tried to change PROJECTLIBDEPS_DIR to PROJECT_LIBDEPS_DIR on line 30 of ./scripts/fw_version.py and that worked:
Building .pio/build/esp12e/firmware.bin
Creating BIN file ".pio/build/esp12e/firmware.bin" using ".pio/build/esp12e/firmware.elf"
Retrieving maximum program size .pio/build/esp12e/firmware.elf
Checking size .pio/build/esp12e/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [===== ] 54.2% (used 44428 bytes from 81920 bytes)
Flash: [===== ] 49.9% (used 520785 bytes from 1044464 bytes)
==================================== [SUCCESS] Took 2400.67 seconds ====================================
Environment Status Duration
------------- -------- ------------
esp12e SUCCESS 00:40:00.673
esp12e_160 IGNORED
nodemcu IGNORED
nodemcuv2 IGNORED
d1_mini IGNORED
huzzah IGNORED
===================================== 1 succeeded in 00:40:00.673 =====================================
Hi @puuu thank you for this great project.
I'm working on a new protocol for my 433 MHz doorbell. I want to use an ESP8266 running MQTT433gateway to test my new protocol.
When I tried to manually compile the (unmodified) source code, I ran into this error message:
I also found this rjwats/esp8266-react#56
so I just tried to change PROJECTLIBDEPS_DIR to PROJECT_LIBDEPS_DIR on line 30 of ./scripts/fw_version.py and that worked:
I use these:
I didn't want to create a pull request yet, since I expect that is was running without problems using "PROJECTLIBDEPS_DIR" in your configuration.
What do you think?
Kind regards,
woutput
The text was updated successfully, but these errors were encountered: