Jump to content

Recommended Posts

Posted

Hello,

 

I just uploaded my Django website and, after setting it up following the wiki, it is displaying a 500 internal server error when accesing to http://inforiesgo.heliohost.org

 

I presume this is happening because my website is not properly configured (.htaccess, folder structure, ...) or because it is using the toolkit django-rest-framework that maybe is not installed in Tommy.

 

Because of that, several questions came to my mind:

 

  • Is it possible to install django-rest-framework (or other) in Tommy?
  • Do I have access to the server error log files?

My username in Tommy's server is iniesta.

 

Thanks in advance!

Posted

Do I have access to the server error log files?

No, the server error log files contain information for all accounts on the server. It would violate our privacy policy to allow a user to see private information from someone else's account.

 

I presume this is happening because my website is not properly configured (.htaccess, folder structure, ...)

Yeah, you got .htaccess file in the wrong place. You have it in /home/iniesta/public_html/ when it should be in /home/iniesta/public_html/inforiesgoserver/ I edited the wiki in a couple places to make this more obvious.

 

Here is the list of modules currently installed on Tommy python 3.6 https://krydos.heliohost.org/cgi-bin/modules36.py If you're using something that's not on that list you'll need to request it to be installed, or upload the module to your account and do something like this https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path

Posted

 

Do I have access to the server error log files?

No, the server error log files contain information for all accounts on the server. It would violate our privacy policy to allow a user to see private information from someone else's account.

 

I presume this is happening because my website is not properly configured (.htaccess, folder structure, ...)

Yeah, you got .htaccess file in the wrong place. You have it in /home/iniesta/public_html/ when it should be in /home/iniesta/public_html/inforiesgoserver/ I edited the wiki in a couple places to make this more obvious.

 

Here is the list of modules currently installed on Tommy python 3.6 https://krydos.heliohost.org/cgi-bin/modules36.py If you're using something that's not on that list you'll need to request it to be installed, or upload the module to your account and do something like this https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path

 

 

Thank you so much!

 

For now, I need python modules django-rest-framework (3.6.3) and geopy (1.1.0). Where should I request for these modules to be installed? Is it enough with this post?

 

In the other hand, I have moved the .htaccess file to the path you told me and I only get to navigate through my server folders structure :unsure:

Posted

3.5.3

We don't have that version on any of our servers. We do have 3.6.0 and 3.6.1 though. Are you sure your script requires 3.5.3 or can you rewrite it for 3.6.x?

 

Django can only be installed on one version of Python at a time per server. We're planning on doing Python 2.7 on Ricky when we get him running soon. Tommy's django is already installed on 3.6 and he's not going to be downgraded to 3.5.3.

 

I need python modules django-rest-framework (3.6.3) and geopy (1.1.0).

I'm assuming you need them installed on Tommy's django python version so I went ahead and installed django-rest-framework 3.6.4 and geopy 1.11.0. https://krydos.heliohost.org/cgi-bin/modules36.py
Posted

 

3.5.3

We don't have that version on any of our servers. We do have 3.6.0 and 3.6.1 though. Are you sure your script requires 3.5.3 or can you rewrite it for 3.6.x?

 

Django can only be installed on one version of Python at a time per server. We're planning on doing Python 2.7 on Ricky when we get him running soon. Tommy's django is already installed on 3.6 and he's not going to be downgraded to 3.5.3.

 

I need python modules django-rest-framework (3.6.3) and geopy (1.1.0).

I'm assuming you need them installed on Tommy's django python version so I went ahead and installed django-rest-framework 3.6.4 and geopy 1.11.0. https://krydos.heliohost.org/cgi-bin/modules36.py

 

 

Thank you so much!

 

I think my scripts will work for python 3.6.x

 

The list with the installed modules has a mistake:

 

django-rest-framework 0.1.0 django 1.10.5 djangorestframework 3.6.4

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...