Geofferyj
-
Posts
4 -
Joined
-
Last visited
Posts posted by Geofferyj
-
-
Hi good day.
I dont understand, geoffery is the name of the project
the folder "geoffery" contains the project settings.py file, dispatch.wsgi and urls.py
and it works locally on my machine
below is the directory structure
. ├── blog │ ├── admin.py │ ├── apps.py │ ├── forms.py │ ├── __init__.py │ ├── media │ │ └── blog │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── __init__.py │ │ └── __pycache__ │ │ ├── 0001_initial.cpython-37.pyc │ │ ├── 0002_auto_20200511_0552.cpython-37.pyc │ │ ├── 0003_auto_20200511_0555.cpython-37.pyc │ │ ├── 0004_post_tags.cpython-37.pyc │ │ ├── 0005_auto_20200511_1343.cpython-37.pyc │ │ ├── 0006_auto_20200513_1030.cpython-37.pyc │ │ ├── 0007_auto_20200515_2030.cpython-37.pyc │ │ └── __init__.cpython-37.pyc │ ├── models.py │ ├── __pycache__ │ │ ├── admin.cpython-37.pyc │ │ ├── apps.cpython-37.pyc │ │ ├── forms.cpython-37.pyc │ │ ├── __init__.cpython-37.pyc │ │ ├── models.cpython-37.pyc │ │ ├── urls.cpython-37.pyc │ │ └── views.cpython-37.pyc │ ├── static │ │ └── blog │ │ ├── css │ │ │ ├── prism.css │ │ │ └── style.css │ │ ├── images │ │ │ └── favicon │ │ │ └── logo.png │ │ └── js │ │ ├── prism.js │ │ └── scripts.js │ ├── templates │ │ └── blog │ │ ├── base.html │ │ ├── comment.html │ │ ├── index.html │ │ └── post_detail.html │ ├── templatetags │ │ ├── __init__.py │ │ ├── markdown_2_html.py │ │ └── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── markdown_2_html.cpython-37.pyc │ ├── tests.py │ ├── urls.py │ └── views.py ├── db.sqlite3 ├── geoffery │ ├── dispatch.wsgi │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── settings.cpython-37.pyc │ │ ├── urls.cpython-37.pyc │ │ └── wsgi.cpython-37.pyc │ ├── settings.py │ ├── urls.py │ └── wsgi.py -> dispatch.wsgi ├── manage.py └── requirements.txt
what do i do, how do i go about fixing this
-
Hey @Krydos thanks.
After your installation I still can't get the app to work
stuck at error 500 and the error logs don't make sense to me
Everything seems fine plus the code runs on my local machine
[Sat May 16 21:07:23.025481 2020] [wsgi:error] [pid 41080] [client 159.89.54.246:39074] File "/home/geofferyj/public_html/geoffery/dispatch.wsgi", line 10, in <module>, referer: http://geosblog.ml/ [Sat May 16 21:07:23.025056 2020] [wsgi:error] [pid 41080] [client 159.89.54.246:39074] mod_wsgi (pid=41080): Exception occurred processing WSGI script '/home/geofferyj/public_html/geoffery/dispatch.wsgi'., referer: http://geosblog.ml/ [Sat May 16 21:07:23.024989 2020] [wsgi:error] [pid 41080] [client 159.89.54.246:39074] mod_wsgi (pid=41080): Failed to exec Python script file '/home/geofferyj/public_html/geoffery/dispatch.wsgi'., referer: http://geosblog.ml/ [Sat May 16 21:07:23.023195 2020] [wsgi:error] [pid 41080] [client 159.89.54.246:39074] File "/home/geofferyj/public_html/geoffery/dispatch.wsgi", line 10, in <module>, referer: http://geosblog.ml/ [Sat May 16 21:07:23.021672 2020] [wsgi:error] [pid 41080] [client 159.89.54.246:39074] mod_wsgi (pid=41080): Exception occurred processing WSGI script '/home/geofferyj/public_html/geoffery/dispatch.wsgi'., referer: http://geosblog.ml/ [Sat May 16 21:07:23.021567 2020] [wsgi:error] [pid 41080] [client 159.89.54.246:39074] mod_wsgi (pid=41080): Failed to exec Python script file '/home/geofferyj/public_html/geoffery/dispatch.wsgi'., referer: http://geosblog.ml/
this is some of the errors any help will be greatly appreciated
the url to the site is:
geosblog.ml
-
Hi How're you all doing? hope you're keeping save.
I am learning the Django frame-work and have been able to build a relatively simply CMS for myself but unfortunately some of the package requirement of my app have not been meet by the server.
To this end, I solicit for the installation of the following packages on the Tommy server
django-crispy-forms==1.9.1django-markdownx==3.0.1django-taggit==1.2.0django-treenode==0.14.2I would also like to have remote access to a postgres database on my account from any IP address
db-name = geoffery_blogDB
db-username = geoffery_admin
Thanks in anticipation and for the great work you and your team are doing.
[Solved] Django packages request on Tommy
in Escalated Requests
Posted
Problem fixed
turns out the problem was from the dispatch file.
don't know exactly what happened but when I deleted it and the wsgi.py file it was linked to and used the one in the cookie cutter
it worked
Please you can mark solved