You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just picked up this framework this morning and I'm running into problems.
OS : Archlinux
Nix : Tried 2.24-5, got the symlink error #356, upgraded to last unstable release fixed it, I then tried 2.20.5 as that's what appeared in one of your screenshots where you said it worked in an attempt to solve the current problem.
Browser : Brave, Chromium, FIrefox
I don't usually have problems with Django's dev server nor vite, I was just using both together yesterday and retried now and both work fine.
After a while the browser returns the typical django yellow error page insidctaing a connection timeout : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /_reactivated/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x762aee3b3740>, 'Connection to localhost timed out. (connect timeout=None)'))
but no errors are displayed before that.
Edit : I guess it's not a nix problem, just going from :
just run cd <project_name>, then nix-shell and finally python manage.py runserver
With the server running, you can visit http://localhost:8000 to see Reactivated in action.
Is there an additional required step ?
Thanks.
Edit 2 : Things work fine with the docker instructions
The text was updated successfully, but these errors were encountered:
StitiFatah
changed the title
localhost:8000 just loading forever
localhost:8000 just loading forever (instructions unclear ?)
Sep 7, 2024
StitiFatah
changed the title
localhost:8000 just loading forever (instructions unclear ?)
Nix setup : localhost:8000 just loading forever
Sep 7, 2024
It appears the vite process is not starting, so Django is unable to render the template. Poke around reactivated/__init__.py and there's a subprocess there that starts the vite process. That might shed some light as to why the process fails.
Not too sure how else to debug this, maybe try npm exec start_vite to see if you get errors.
Hi,
Just picked up this framework this morning and I'm running into problems.
OS : Archlinux
Nix : Tried 2.24-5, got the symlink error #356, upgraded to last unstable release fixed it, I then tried 2.20.5 as that's what appeared in one of your screenshots where you said it worked in an attempt to solve the current problem.
Browser : Brave, Chromium, FIrefox
I don't usually have problems with Django's dev server nor vite, I was just using both together yesterday and retried now and both work fine.
After a while the browser returns the typical django yellow error page insidctaing a connection timeout :
HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /_reactivated/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x762aee3b3740>, 'Connection to localhost timed out. (connect timeout=None)'))
but no errors are displayed before that.
Edit : I guess it's not a nix problem, just going from :
to something just returning hand written HTML :
works and the /admin endpoint as well.
So I guess it's a problem with the templates.
In the docs it says :
Is there an additional required step ?
Thanks.
Edit 2 : Things work fine with the docker instructions
The text was updated successfully, but these errors were encountered: