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

AttributeError: 'Robyn' object has no attribute 'headers'[BUG] #353

Closed
QuintinTao opened this issue Jan 11, 2023 · 6 comments · Fixed by #354
Closed

AttributeError: 'Robyn' object has no attribute 'headers'[BUG] #353

QuintinTao opened this issue Jan 11, 2023 · 6 comments · Fixed by #354

Comments

@QuintinTao
Copy link

Description
I use windows 10 Anaconda 201903
I got this error
Traceback (most recent call last):
File "D:/pywork/DServer/main.py", line 10, in
app.start(port=5001)
File "D:\Anaconda\lib\site-packages\robyn_init_.py", line 164, in start
process_pool = init_processpool(socket)
File "D:\Anaconda\lib\site-packages\robyn_init_.py", line 127, in init_processpool
self.headers,
AttributeError: 'Robyn' object has no attribute 'headers'

Process finished with exit code 1

Expected Behavior

Screenshots

Environment:
I use windows 10 Anaconda 201903


[Optional] Additional Context

from robyn import Robyn

app = Robyn(file)
@app.get("/")
async def h(request):
return "Hello, world!"

if name == 'main':
app.start(port=5001)

@sansyrox
Copy link
Member

@QuintinTao , are you using wsl? And did you install using conda ?

@QuintinTao
Copy link
Author

@QuintinTao , are you using wsl? And did you install using conda ?
Thank you for your help.
I installed wsl but I don't I think I am using it. I want to use robyn in windows. I installed it by pip install.

@QuintinTao
Copy link
Author

when will this windows supported version be released?

@sansyrox
Copy link
Member

Hey @QuintinTao ,

The fix is ready and this is a high priority issue. Ideally, I would've released it yesterday. However, there a some delays. So, hopefully by today 😄

@sansyrox
Copy link
Member

Hey @QuintinTao , this issue has been fixed in the latest release 😄

@QuintinTao
Copy link
Author

Hey @QuintinTao , this issue has been fixed in the latest release 😄

Thanks.

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

Successfully merging a pull request may close this issue.

2 participants