« first day (2332 days earlier)      last day (2841 days later) » 
00:00 - 22:0022:00 - 00:00

22:00
where did that TimeoutException come from in the parentheses and what is it supposed to do?
selenium.common.exceptions.TimeoutException: Message: Error loading page, timed out (checkLoad)
From this and it should run after timeout
Yeah, because you are not performing your exception catching properly
OK, sorry, I can't do this
you need to understand how to write a proper try/except and know what the error is telling you
I don't think the fundamental issue is with exception handling
22:04
The error is coming up because of WebDriverException()
it should be except WebDriverException:
from selenium.common.exceptions import *
no
that's not what the error message is telling you
and import * is bad form
@linuscl I've already linked you to skidmore.edu/~pdwyer/e/eoc/help_vampire.htm before but it seems like you didn't fully understand the message. We are not here to hold your hand as you learn how to program in Python. Read a tutorial and that article before continuing.
Didn't know this was a repeat thing
Good to know now
3/3 today :|
22:06
ugh
all we need is Abhishek Bhatia
Yeah...For the spurts I was here, it was one HV after the other
I really need to keep the board up to date. And just get Rabbit working so the notes are directly in chat.
after linking to the second of your HV pings in ~half an hour I started to think of a feature request for rabbit:D
garlic button
You know you can just ping me, right? Or any RO.
22:08
sure:D
@davidism So what is this chat for? Just talking about anything besides python?
@linuscl it's for talking about Python and forming a community around it. It's not for being a vampire. Read the article. Read a tutorial. Don't ask questions again until you've done both.
@linuscl There is a difference between talking about Python and asking for what is easily categorized as hand-holding help to get through fundamentals you should be taking care of your self
I'll shutdown, Thanks anyway :( :(
@linuscl It might sound harsh. But, really you should take a few steps back and try to understand what is happening. That error you got can be searched and you will find information.
The interpreter is there to experiment with and is a great learning tool while you go through your tutorials and projects.
Don't be afraid to try things out, look up the outcome to see what is going on. Read through the Python docs based on the piece you are working on.
That's how we all did it
Heck, when I was learning how to program the internet was not the wealth of information it is now. I had to break things and fix it again. That's what you should be doing. </oldManRant>
4
22:16
If you're learning to program in Python maybe start with something more basic than trying to build some kind of automation bot using Selenium. Make a few toy applications first and do a bunch of textbook style exercises.
haha, without the comma it looks like I'm saying I used to program the internet
The hardest part of programming is finding something to program (that you'll enjoy and not give up too quick)
LOL hahahah
rhubarb
22:26
Wotcha. Interested to hear if anyone has thoughts on this:
WARNING! THIS EXAMPLE IS NOT SECURE! getattr(globals()[name], member) can be exploited to probe the global variables and leak private information. I suggest explicitly mapping each field to the enum. — Jared Deckard 3 hours ago
@JaredDeckard I'm having trouble seeing how this constitutes a vulnerability. For a crafted text, it's true that json.loads(text, object_hook=as_enum) could return an arbitrary attribute of a global variable to the calling code, but that's already available to the calling code by definition (it's what being a global means, after all). Could you elaborate on how you think this might be exploited? I'll drop into the Python chatroom in case you'd like to discuss this in more detail than comments allow. — Zero Piraeus 1 min ago
23:18
I think it's overzealous thinking by combining "runtime code execution is unsafe" and "global variables are unsafe". - So anything that combines those two must be really unsafe?
Oh and the thought process goes: json input is not verified, and might come from a malicious source. So he "might" code inject like sql injection...
That was my feeling too. Always a good idea to assume there's something I might have missed when it comes to security, though. Bad guys are sneaky and all that.
Updated the answer anyway: stackoverflow.com/a/24482806/1014938
23:57
... and, a downvote for my trouble. Lovely!
00:00 - 22:0022:00 - 00:00

« first day (2332 days earlier)      last day (2841 days later) »