Jump to content

lachie07

Members
  • Posts

    7
  • Joined

  • Last visited

lachie07's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Problem has been solved. Read update in OP.
  2. http://clan-detachments.heliohost.org/scrape.py?tank1=Maus&tank2=Maus&tank3=Maus&tank4=Maus&tank5=Maus&tank6=Maus&tank7=Maus&names=Strikker23%2C+Howitzer_666%2C+CHAZ746%2C+Water_Is_Wet%2C+Fratch73%2C+twofourcharlie%2C+XiangPotato If you go to that link it will show you the error I am getting... this error does not occur on my local server which leads me to believe that the version of the module bs4 that is installed on the Johnny server is not up to date.
  3. No, my script works fine when working on my local Wamp Server, but when I upload it to the heliohost file manager (and set permissions, etc) the bs4 (BeautifulSoup4) module gives an error when working with Python 2.7 https://imgur.com/a/5lxTP
  4. Is threading allowed using .py scripts? Whenever I try to run a simple threading script (with no more than 15 threads) it just gives me a 500 Internal Error. Edit: I rolled back a few versions of my python script (not version of python) and it's still giving me the 500 Internal Server Error? Edit2: Finally found out that the cause was because the permissions were not set properly (644 instead of 755), but using the same version of the python script as before (which worked fine) I am now getting an import error? Is it possible that an admin changed something in the python dir? Here is a screenshot: https://imgur.com/a/5lxTP UPDATE: I have solved the problem. The issue was that I had another file named threading.py and my script was trying to use that script instead of the module threading.
  5. Then how come this link says to use #!/usr/local/bin/python2.7 ?
  6. When using the shebang #!/usr/local/bin/python2.7 it gives me an Internal 500 Error. This doesn't happen when using default python2.6. How can I fix this?
×
×
  • Create New...