sq10prog Posted March 17, 2013 Share Posted March 17, 2013 (not exactly sure where this post goes) Anywho, as I was playing with my Python scripts, I came across this problem: when I tried to run an upload script for a subdomain of mine (this), it gave me a 500.So, I thought, why not try to see what exactly the problem is?After some researching, and playing with cgitb, it gave me this error. Anywho, could you update your server's Python to 2.7, or at least add the modules in this script that I am trying to import if they are not existent? Link to comment Share on other sites More sharing options...
Shinryuu Posted March 17, 2013 Share Posted March 17, 2013 We have python 2.7.1, 3.2, and 2.4.3 installed. Link to comment Share on other sites More sharing options...
sq10prog Posted March 17, 2013 Author Share Posted March 17, 2013 We have python 2.7.1, 3.2, and 2.4.3 installed. If so, then what would the proper shebang line for p2.7 be?#!/usr/bin/env python/python2 give me 2.4, and python2.7 or python27 just give me a 500. Link to comment Share on other sites More sharing options...
Krydos Posted March 17, 2013 Share Posted March 17, 2013 Actually, in October 2012 Johnny suffered a major OS failure, and we had to reinstall basically everything from scratch. Most users weren't affected by anything other than downtime since we were able to backup 99% of user data, and when Johnny went back online most people couldn't notice any difference from before the crash. Since then we've been reinstalling things as they are requested. Currently Johnny only has one version of python installed, which is the default version that comes with cPanel: 2.4.3. Stevie actually has four versions of python installed: #!/usr/bin/python Python 2.4.3 #!/usr/local/bin/python Python 2.4.6 #!/usr/local/bin/python2.7 Python 2.7.1 #!/usr/local/bin/python3.2 Python 3.2rc3 Link to comment Share on other sites More sharing options...
sq10prog Posted March 18, 2013 Author Share Posted March 18, 2013 Actually, in October 2012 Johnny suffered a major OS failure, and we had to reinstall basically everything from scratch. Most users weren't affected by anything other than downtime since we were able to backup 99% of user data, and when Johnny went back online most people couldn't notice any difference from before the crash. Since then we've been reinstalling things as they are requested. Currently Johnny only has one version of python installed, which is the default version that comes with cPanel: 2.4.3. Stevie actually has four versions of python installed: #!/usr/bin/python Python 2.4.3 #!/usr/local/bin/python Python 2.4.6 #!/usr/local/bin/python2.7 Python 2.7.1 #!/usr/local/bin/python3.2 Python 3.2rc3 Okay, then would it be possible to move my domain to Stevie? I really need p2.7. Link to comment Share on other sites More sharing options...
Krydos Posted March 18, 2013 Share Posted March 18, 2013 Okay, then would it be possible to move my domain to Stevie? I really need p2.7.I already told you this on IRC, but for anyone else reading the forums here is the instructions to move your account. http://wiki.helionet.org/Moving_your_account Link to comment Share on other sites More sharing options...
sq10prog Posted March 18, 2013 Author Share Posted March 18, 2013 Okay, then would it be possible to move my domain to Stevie? I really need p2.7. I already told you this on IRC, but for anyone else reading the forums here is the instructions to move your account. http://wiki.helionet.org/Moving_your_account Yep, you sure did.Thank you! Link to comment Share on other sites More sharing options...
Krydos Posted March 26, 2013 Share Posted March 26, 2013 This support request is being escalated to our root admin. Link to comment Share on other sites More sharing options...
Krydos Posted May 9, 2013 Share Posted May 9, 2013 Python 2.7 has been installed on Johnny located at #!/usr/local/bin/python2.7 and Python Imaging Library 1.1.7 has also been installed on Johnny. Link to comment Share on other sites More sharing options...
Recommended Posts