Skip to content
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

app.render_template: OSError: [Errno 2] ENOENT (esp8266) #74

Open
DrakoPOD opened this issue Mar 26, 2021 · 1 comment
Open

app.render_template: OSError: [Errno 2] ENOENT (esp8266) #74

DrakoPOD opened this issue Mar 26, 2021 · 1 comment

Comments

@DrakoPOD
Copy link

DrakoPOD commented Mar 26, 2021

Following the example for a temple, I get an error:

INFO:picoweb:670016527.176 <HTTPRequest object at 3fff1fe0> <Stream object at 3fff1e10> "GET /template"
ERROR:picoweb:670016527.176 <HTTPRequest object at 3fff1fe0> <Stream object at 3fff1e10> OSError(2,)
Traceback (most recent call last):
  File "picoweb/__init__.py", line 206, in _handle
  File "<stdin>", line 32, in templt
  File "picoweb/__init__.py", line 263, in render_template
  File "picoweb/__init__.py", line 260, in _load_template
  File "utemplate/source.py", line 182, in load
  File "utemplate/source.py", line 169, in input_open
OSError: [Errno 2] ENOENT

I have picoweb and utemplate in modules (frozen).

I readed that this error occurs when the server can't find the file.

@Kocin-sb
Copy link

Hi,
Were you able to resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants