-
Notifications
You must be signed in to change notification settings - Fork 62
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
Problem running with mod_wsgi #827
Comments
further troubleshooting ...
|
Almost got there ... installing an older version of setuptools let's me run the installer first-run.py.
Everything was looking good, ready to launch the editor, but I get
in the browser then. And nothing in the logs at all :( Any help, again, v much appreciated |
Sorry, this is me not keeping up with packaging deprecations. |
Thank you! I seem to have made significant progress and got first_setup.py to run through to completion.
|
Has your Python version changed since you made the virtualenv? Can you try deleting and remaking it, and see if that helps? |
So having another crack at this, running Django naked without Apache, first thing I found was: Turns out distutils is deprecated as of Python 3.12 which I'm running - this was quickly overcome with:
(might be worth adding to requirements.txt) Buuut I can't get it to accept a connection from anything but localhost, despite:
So i'm back to scratching my head with apache .. hmmmm |
Nope i've been with Python 3.12 the whole time. As part of my effort to get this thing running I even tried reverting my system to 3.8 / 3.9, turns out a lot of things in Ubuntu rely on Python and I ended up borking my whole system and having to restore from backup 🤦 So it's 3.12 or bust! Yes, reinstalled this too. |
distutils was removed in pyhton 3.12 see #827
As far as I can see, distutils was only needed for the If you're using |
Thanks so much Christian I have managed to get the editor running for a single-user with I'm struggling with setting it up on apache as per install instructions on Essentially stuck on this as before Scratching my head have scrubbed and reinstalled Python 3.12 😤 |
@tigger04 I searched for "apache wsgi ModuleNotFoundError: No module named 'encodings'" and got this StackOverflow question. The answer suggests that it's to do with an old version of mod_wsgi, and that you could try installing mod_wsgi from through pip. |
Ah, I felt like I was tantalizingly close with that one, but alas I am on the current version (5.0.0) |
@tigger04 I've renamed this issue because I think the pkgtools problem is now fixed. For the mod_wsgi problem: there's an error message at the top of the output you gave:
Does the user running apache have access to |
Hi there, I've been following the installation instructions diligently, but I seem to have run in to a roadblock on first_setup.py:
Any advice greatly appreciated!
The text was updated successfully, but these errors were encountered: