espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.87k stars 7.32k forks source link

deleting last char from the filepath (IDFGH-13980) #14807

Open sova32 opened 1 month ago

sova32 commented 1 month ago

Answers checklist.

IDF version.

v5.3.1

Espressif SoC revision.

Chip is ESP32-S3 (QFN56) (revision v0.2)

Operating System used.

Linux

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

Development Kit.

Waveshare esp32-S3-Pico

Power Supply used.

USB

What is the expected behavior?

vorcked example https://github.com/espressif/esp-idf/blob/release/v5.3/examples/protocols/http_server/restful_server/main/rest_server.c

What is the actual behavior?

E (34498) my_server_http: Failed to open file : /root/web_serve/index.html my path is E (34498) my_server_http: Failed to open file : /root/web_server/index.html

Steps to reproduce.

step by step example

Debug Logs.

No response

More Information.

No response

nileshkale123 commented 15 hours ago

Hello @sova32 ,

I tested it locally, and it is working as described in the README file. Could you please try again carefully and let me know if the issue persists?

If you encounter the issue again, it would be helpful if you could share your sdkconfig file and any patch file for the changes you have made to this example.

Also, kindly mention the steps you have followed in detail.