Jump to content

[Answered] Threading allowed?


lachie07

Recommended Posts

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.

Edited by lachie07
Link to comment
Share on other sites

http://clan-detachments.heliohost.org/scrape.py isn't giving a 500 error. I assume you got it figured out?

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

Link to comment
Share on other sites

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.

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...