Re: any accessible way to solv python's confusing errors?

2020-12-15 Thread AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

It's pretty much an issue with all languages. If there is an error with a brace, missing paren, quote, etc, it will most likely point you to where the end of the problem is located, or where another _expression_ begins. Usually what I do in this case is look around in that area with my symbol level set to all, so I can catch the issue easier.

URL: https://forum.audiogames.net/post/598928/#p598928




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : Meatbag via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

thanks,I know I could get used into this but I thot there are better ways of handeling it

URL: https://forum.audiogames.net/post/598697/#p598697




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

Some languages are better about this, most notably Rust.  But if you're having trouble with this, Rust is going to be like taking a buzz saw to the brain.  In the best case you get "expecting ), should close ( on line 36" but alas, not in Python.

URL: https://forum.audiogames.net/post/598684/#p598684




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : mohamed via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

personally if i got a sintax error thing or something like that and i think that the line which the thing points on is fine, I go check the line before that, Because that's where the error comes from most likely, But about other errors? Nope, I find that python errors are the most understandable ones, At least not, Ahem, Mister, Bgt Anyone?

URL: https://forum.audiogames.net/post/598683/#p598683




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : GrannyCheeseWheel via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

This is just programming dude. As you get better, you'll develop sort of an intuition about this type of thing.

URL: https://forum.audiogames.net/post/598682/#p598682




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

Yeah, this is a problem in any language and you just have to learn to deal with it.  If you get a complaint about unexpected token and/or missing paren and/or similar messages, the error is complaining about the end of the problem, not the beginning of the problem.

URL: https://forum.audiogames.net/post/598681/#p598681




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector


  


Re: any accessible way to solv python's confusing errors?

Honestly, you just need to learn to use your tools, and understand what they're telling you.Unmatched parentheses, quotes, and line breaks (all as reported by flake8) are rarely on the line where the message is shown.Personally, I have VS Code lint my code with flake8, flake8-docstrings, and mypy. Plus, I use a code spell checker, to minimise the number of typos I have in doc strings ETC.

URL: https://forum.audiogames.net/post/598675/#p598675




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


any accessible way to solv python's confusing errors?

2020-12-14 Thread AudioGames . net Forum — Developers room : Meatbag via Audiogames-reflector


  


any accessible way to solv python's confusing errors?

I just spend most this time trying to solv a non existing errorit was just declairing a for loop, correct sintax and all, but python keep complaining, I removed the hole for loop and stil it points me to a false positiv line, at last, I just ignored the error and started trying to debug the file myself, fineily, its just because of a missing right paren, after a long time of insulting my stupitidy, I came here for an answer, I really dont need that to be repeatedthe reall bugged line was sevrel lines above the false positiv for loop it was pointing me at

URL: https://forum.audiogames.net/post/598673/#p598673




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector