ThomDietrich / SenseoWifi

Wifi'ify the Senseo coffee maker. Circuit and firmware for an internal Senseo hack to monitor and control the daily coffee brew (via MQTT) ☕️📶
GNU General Public License v3.0
90 stars 23 forks source link

error when compiling #44

Closed bjornmorsman closed 3 years ago

bjornmorsman commented 3 years ago

can somebody help me with my problem? when i click build in platformio i get this error's

> Executing task in folder SenseoWifi-master: C:\Users\Bjorn\.platformio\penv\Scripts\platformio.exe run --environment senseo-wifi <

Processing senseo-wifi (platform: espressif8266; board: d1_mini; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 (3.2.0) > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash        
PACKAGES:
 - framework-arduinoespressif8266 3.30002.0 (3.0.2) 
 - tool-esptool 1.413.0 (4.13)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - toolchain-xtensa 2.100300.210717 (10.3.0)        
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/homieiot/homie-esp8266.git#cfb3346
FileNotFoundError: [WinError 2] Het systeem kan het opgegeven bestand niet vinden:
  File "C:\Users\Bjorn\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\Bjorn\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\Bjorn\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\Bjorn\.platformio\platforms\espressif8266\builder\main.py", line 238:
    target_elf = env.BuildProgram()
  File "C:\Users\Bjorn\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Bjorn\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62: 
    env.ProcessProjectDeps()
  File "C:\Users\Bjorn\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Bjorn\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\Bjorn\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Bjorn\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:   
    project.install_dependencies()
  File "C:\Users\Bjorn\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:    
    lm.install(spec)
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48: 
    pkg = self._install(
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:  
    return super(LibraryPackageManager, self)._install(
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97: 
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:        
    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:       
    self.configure()
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:       
    result = proc.exec_command([cls.command, "--exec-path"])
  File "C:\Users\Bjorn\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
    p = subprocess.Popen(*args, **kwargs)
  File "C:\Users\Bjorn\.platformio\python3\lib\subprocess.py", line 951:
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Bjorn\.platformio\python3\lib\subprocess.py", line 1420:
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
========================================================================================================================================= [FAILED] Took 0.85 seconds =========================================================================================================================================The terminal process "C:\Users\Bjorn\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'senseo-wifi'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
ThomDietrich commented 3 years ago

Hey, I can't help with the issue but I can confirm that I was able to compile and flash the firmware just now. You might want to clean your environment. I recon this is a PlatformIO error, not an error with this project. Please let me know if you got it working!