Git Product home page Git Product logo

Comments (10)

MortimerMcMire avatar MortimerMcMire commented on August 22, 2024

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

from poe-scambot.

repmop avatar repmop commented on August 22, 2024

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

from poe-scambot.

Tonexus avatar Tonexus commented on August 22, 2024

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.

from poe-scambot.

repmop avatar repmop commented on August 22, 2024

again, both cmd and executing like normal have no effect, leaving me only to launch via idle :(

from poe-scambot.

Tonexus avatar Tonexus commented on August 22, 2024

Not even any error messages?

from poe-scambot.

repmop avatar repmop commented on August 22, 2024

nope, just nothing happening

from poe-scambot.

Tonexus avatar Tonexus commented on August 22, 2024

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.

from poe-scambot.

repmop avatar repmop commented on August 22, 2024

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

from poe-scambot.

Tonexus avatar Tonexus commented on August 22, 2024

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?

from poe-scambot.

repmop avatar repmop commented on August 22, 2024

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!

from poe-scambot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.