Search the Community
Showing results for tags 'wsgi'.
Found 7 results
Note: This is specific to HelioHost. There was a NameError in some code on line 87. Line 87 of my code was: return MySQLdb.connect(**kwargs) I modified it to: return mysql.connector.connect(**kwargs) mysql.connector has been imported in the file. Hence, no NameError should show up. Yet, the error still shows up in the logs. In the wiki it is mentioned that it takes several hours to purge the cache. However, in my case, the log files show the updated code but still have the same error. For example: return mysql.connector.connect(**kwargs) NameError: 'MySQLdb' is not defined What is happening here? Is it a caching issue, or something which I should do on my side? (I can share the code if required)
[Solved] How to connect postgres from a flask app
geojoe posted a topic in Escalated RequestsHi again, I need help connecting my flask app to the postgres database on the server. PS. I'm not trying to connect from outside although having remote access would be a bonus username: geojoe database: geojoe_flask-app database user: geojoe_admin server: Tommy Issue 2: how do I hide the flask.wsgi from urls e.g instead of flask.geoffery.ml/flask.wsgi/login, i want it to be flask.geoffery.ml/login thanks in anticipation
[Inactive] Need Python 3.6 And Bottle Installed
wilburp posted a topic in Escalated RequestsHi, I need Python 3.6,Bottle,django framework, and mailjet_rest installed on the instance allocated to me. Please do the needful. Need to host a bottle framework based website/one pager. Regards, Wilbur
Another Django 500 Error
the0chr0 posted a topic in Customer ServiceHello everybody ! I tried to do this tutorial : http://wiki.helionet.org/Django . Unfortunately, it doesn't work at all. All I have is a 500 error : I think I made everything required, but unfortunately, that didn't work. However, there's something that I probably made bad : where should I put the .htcaccess ? IMHO, this could be better explained in the tutorial. And maybe there is a problem with the .htaccess example and the tree output provided below : it seems that only one 'hello' dir exist, but the .htaccess seems to require two : 'hello/hello/' If I have enough help, I'm volunteer to modify the wiki (if necessary). Thanks in advance !
[Solved] Django Site Only Gives 500 Errors
andrewng posted a topic in Customer ServiceHi, My Django site keeps giving me an error when trying to set up. I am not sure why. My error log says that it cannot run dispatch.wsgi as python module. I feel like it has to be something to do with my .htaccess/dispatch.wsgi setup. Can anybody help me? Thanks
Django Not Working
Pep posted a topic in Website Management and CodingI have followed every step to make my Django powered site (leolanchas.com.ar/syte) to work but all I get is an error 500 and the following log: [sun Jan 06 11:53:23 2013] [error] [client 22.214.171.124] File ".../public_html/syte/dispatch.wsgi", line 6, in ? [sun Jan 06 11:53:23 2013] [error] [client 126.96.36.199] mod_wsgi (pid=19418): Exception occurred processing WSGI script .../public_html/syte/dispatch.wsgi'. [sun Jan 06 11:53:23 2013] [error] [client 188.8.131.52] mod_wsgi (pid=19418): Target WSGI script '.../public_html/syte/dispatch.wsgi' cannot be loaded as Python module What is happening?
domain name: prostyblog.heliohost.org username: jnktrine servername: johnny Hi Helio. I have the same (i think) problem as in this topic: http://www.helionet.org/index/topic/7255-dispatchwsgi-cannot-be-loaded-as-python-module/page__hl__djangotestdispatch.wsgi__fromsearch__1 error log: [Wed Mar 06 11:30:01 2013] [error] [client 184.108.40.206] File "/home/jnktrine/public_html/blog/dispatch.wsgi", line 5, in ? [Wed Mar 06 11:30:01 2013] [error] [client 220.127.116.11] mod_wsgi (pid=513): Exception occurred processing WSGI script '/home/jnktrine/public_html/blog/dispatch.wsgi'. [Wed Mar 06 11:30:01 2013] [error] [client 18.104.22.168] mod_wsgi (pid=513): Target WSGI script '/home/jnktrine/public_html/blog/dispatch.wsgi' cannot be loaded as Python module. line 5 is: import django.core.handlers.wsgi Could I please for help?