I am currently working on the websocket server example.
I use the visual studio code IDE, with espressif version v0.6.1.
As a development board i am using the ESP32 WROOM devkit 1.
Sometimes everything works just fine, but most of the times the monitor complains:
Code: Select all
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\vossi\AppData\Local\Programs\Python\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.
run()
File "C:\Users\vossi\AppData\Local\Programs\Python\Python37\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "c:\Users\vossi\esp-idf\tools/idf_monitor.py", line 166, in _run_outer
self.run()
File "c:\Users\vossi\esp-idf\tools/idf_monitor.py", line 378, in run
data = self.serial.read(self.serial.in_waiting or 1)
File "C:\Users\vossi\.espressif\python_env\idf4.2_py3.7_env\lib\site-packages\serial\serialwin32.py", line 257, in in_waiting
raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError()))
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Toegang geweigerd.', None, 5))
Thanks!