Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the fun of debugging
#1
in a big script i cannot post, i am running into the infamous UnboundLocalError. to make this more complicated, that is the 2nd time that statement was executed. the 1st time worked. another statement nearby also printed out the value of that variable as being the string 'df'. so i have to figure out how that variable can go from having the value 'df' to not being assigned (as opposed to being assigned None). there are no del statements in the code (i've only ever used del once that i can recall).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
A simplified representation would be good.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
this is something i need to debug on my own. and i did solve it. it quietly executed a 2nd process of itself when it wasn't supposed to. i wasn't expecting that to happen.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020