Jump to content

Is It Possible To Install Django-Rest-Framework In Tommy?


juanky

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

 

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:

Link to comment
Share on other sites

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
Link to comment
Share on other sites

 

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...