poe-scambot
poe-scambot copied to clipboard
tkinter window closing
Your app kill function in the main scipt crashes out on my setup, I fixed this by commenting out the loop that tries to kill each thread and changing self.kill to self.destroy.
That only happens if you run it through idle. Idle uses sockthread which doesn't have a kill function. Running through python not idle works fine
Gotcha thanks, I only ran it through idle because the main script didn't seem to launch correctly through cmd (maybe I'm just doing something wrong on my end, not sure).
You shouldn't even need to use cmd, just double click on the script. If you do want to use cmd, you can run python scambot.pyw
or I'm pretty sure just scambot.pyw
works as well. I'll work on trying to fix the IDLE crash though.
again, both cmd and executing like normal have no effect, leaving me only to launch via idle :(
Not even any error messages?
nope, just nothing happening
Are you using python 3.4? Do you have a separate python 2.x installed? Can you try adding a print statement after if __name__ == '__main__':
and see if it runs? If it doesn't work, try adding a print statement at the very beginning of the file.
Python 3.5.2 and yes I do have a separate python2 install iirc. Print statements added, still nothing going on there (works normally through IDLE).
Neither of the print statements work? Try using python3 scambot.pyw
to confirm that you aren't defaulting to python 2. If the print statement before the imports doesn't work, there might be something wrong with your python installation, and maybe you should try reinstalling? Does the same behavior occur for other python 3 scripts?
It seems something weird is going on with my how my system configuration recognizes .pyw files, since manually using python scambot.pyw
in cmd like you suggested works fine (this rules out a python2 default as well). You might want to add a section talking about how to run the script through an editor as well, since that at least works for me at the moment, and is likely more convenient than running through cmd. Thanks so much for your help!