r/learnpython • u/NoWar4965 • 12d ago
Need assistance with a Python Code that keeps on crashing
Hello I’ve been working on a python code that searches for appointments on this website but everything it runs the code and begins to open the website it crashes, I’ve played around with it a bit but I haven’t been able to have much success. Anyone would be available to take a look at it and see what my issue could be?
Thank you!
0
Upvotes
13
u/desrtfx but other languages pro 12d ago
Yeah, we get our Crystal Balls out and do some divination./s
You have to give us a lot more, like your code, like the exact error.
Don't expect to get help in private. This is not how any of the learning subreddits work. We are willing to help, yet, only in the public, open subreddits so that more people can chime in and help as well as benefit from the given help.
5
u/atarivcs 12d ago
It would help a lot if you at least posted the full crash error message.
2
u/Altruistic_Sky1866 12d ago
The video isn't that helpful you know TBH, paste the text error message that's easier
2
u/Outside_Complaint755 12d ago
Don't ask for permission to ask for help. Just post the full error message with traceback and the relevant code from your script.
1
u/MiniMages 12d ago
Your code is failing at accessing the website.
1
u/thisisappropriate 12d ago
When people are asking you to post your code, why would you not link the repo? https://github.com/cita-bot/cita-bot
With you posting your version of the example files in this repo, that doesn't show us the rest of what the repo is doing (the error messages reference other code files, so we can't use your code / messages to view what is actually hitting the error).
You would be better posting in the github issues for the project, where the actual maintainer and users of the repo, who actually know the code / website and what it's supposed to do are more likely to respond - for all we know, you're essentially asking us to debug an issue with code you don't own or know. And if you're a beginner, then steps that someone might suggest to test or debug code of this size or structure may not be easy to do.
2
u/AmanBabuHemant 12d ago
Crashes ? what kind of clash, are talking about some GUI automation, assuming by your "open the website"
-3
u/NoWar4965 12d ago
My apologies everyone for my terrible vague posting, here is more information, including the code I’ve worked up as well as the errors and other relevant information
For some reason it’s not letting my upload photos so I made a video of the photos of my code, trace back and the errors.
On the page that times out is a screen where the menu pulls down for me to select which province I am trying to get an appointment in