-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MicroWebSrv handler exception: [Errno 2] ENOENT #13
Comments
Try to erase the flash, flash the firmware again and upload the code. Keep me updated! |
Hello, i get the same error as above and I already tried erasing and flashing again, is there any other solution? a message I always get when initializing the camera is |
Thanks @lemariva for this project. I'm hoping to be able to have a camera webserver running with micropython using a basic ESP32 Cam. My setup was the following:
Then when I run main.py, I get the same error as @tiwanacote and @TizioMaurizio Any advice would be appreciated! |
Since I just needed a video stream for first person view on Lan I managed to get it to work by using UDP socket and gave up on the webserver, if you need the same I'll send you some scripts, still up for getting the webserver to work since I also could use it in the future :D |
Sure, that would be great if you have something working. You're using the esp 32 cam or a different module? I was close to abandoning using micropython on the esp32 cam and just reverting to an Arduino sketch |
@maurera Yes I use esp32 cam, once I found out how quick it is to program with micropython I couldn't go back to the sketches, I managed to stream the video at like 15fps with QVGA resolution and by upscaling the image it's acceptable.
camera.capture() inside stream is what gets one frame from the camera, i suggest avoiding the use of threads and putting it inside the for loop of what you are doing in order to speed up everything Then there is the code on my pc that uses opencv-python to show the stream:
It's very raw but for now it works :D PS remember that esp32 camera consumes a lot with wifi and camera enabled and can easily brownout if not powered enough |
@lemariva I have downloaded your project and flashed the ESP32. However I get the error below. I have even tried stream mode. Nothing changed. Is there any further improvement in the project ? MicroWebSrv handler exception:
|
you should copy files under www to the board |
I have flashed the latest firmware however the module restarts itself with the error below @lemariva
|
and when I run main.py I get error below
|
I've tried several different ways of initializing the camera and nothing seems to work. I also continue to receive |
I don't use the webserver in question but my camera successfully starts by excecuting these instructions, mind that there could be some exposed pins that will be used by the camera so you can't connect anything to such pins (like for the sd card, but I don't remember which they are) a quick check of the schematics anyway will clear the doubt
|
Hi @TizioMaurizio, |
Hi , I'm trying to make running uPyCam over ESP32CAM but I getting this error when trying to connect via browser with http://<>
I'm not an experimented user, maybe you can help me...
It is an exception into def _processRequest(self) : function
'except Exception as ex :
print('MicroWebSrv handler exception:\r\n - In route %s %s\r\n - %s' % (self._method, self._resPath, ex))
raise ex`'
Thank you!
The text was updated successfully, but these errors were encountered: