Kurt you have been my savior for my CSP class and I want to like hug you for that, your videos explain things more clearly to me than my own teacher has been for the past school year
So if you are getting a set text error like some people are I figured out why and how to fix it. (this is what worked for me) Make sure your get Columns don't have brackets [ ] And I think it is happening because when you put a list command or what ever in from the tool box area the list comes with the brackets, when he did it he used a var = thing and then put the get Columns in. Hope this helps
in the for function change the var i = 0 to var i = 1 if the number is 0 you have to click get forecast twice, if 1 you only have to click it once for the data to show up
Okay, so I figured out why it says undefined and it only happens whenever I put the for loop inside of a function. As long as it is outside, it works fine.
It would say undefined if for some reason the loop did not see a variable, or a list variable, called cities. It means it does not see what it is looking for. If cities was defined differently elsewhere, that could cause an issue. It seems like you solved it though. Awesome!
@@KurtKaiserUS hey uh, you had a video of the hackathon project walkthrough, it was really helping me but now i can’t find it? did u delete? if so can u link it?
I have a question about when I use the exact code for my hackathon with a different code and how the index in the last part for the function updateScreen it won't work and says WARNING: Line: 32: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 32: TypeError: Cannot read property 'toString' of undefined. Can you explain what this is supposed to mean.
Hmm, if you are using a list, the index at that point must not have an item saved there. I have made a few videos with tips about lists for the hackathon: ua-cam.com/video/ZzgEZPJf0ZA/v-deo.html
I am getting this message. "WARNING: Line: 35: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 35: TypeError: Cannot read property 'toString' of undefined. Can you help me with this?
Not a uistring means it is not a word, like "hello" would be a string. Double check that what you are putting is a variable. If it isn't a variable and you just want it to output that word, you need to put it in quotes.
I am pretty sure I followed your exact code as everything else works completely fine. However, whenever I click the Get Forecast button my icons do not show up. I have checked for spelling errors and there are none so i am lost.
I did everything the same and the debug console says that setText("cityOutput", tomorrowCities[index] text parameter value (undefined) is not a uistring and cannot read property 'toString" of undefined. Please help
Hey, make sure that in the function getTommorwWeather the forecastNumbers [i] == 1. I made a mistake and out i instead of 1. It fixed the problem for me
For anyone with a ui.string error, it is a problem with your for loop variable. My error was with the equal signs. In the video, he puts 2 equal signs; however it should only be one. Instead of forecastNumbers[i] == 1 it should be forecastNumbers[i] = 1.
I have the same things as you, but none of the info is appearing on the screen. Does anyone know what I did wrong. I checked and the code is totally the same
It is likely some tiny annoying error. Code is about the logic, sometimes you can write it down and if you don't get the logic the tiniest details just, it gets so frustrating. I'm not sure what your exact issue is, I would just double check anything try to rewatching the videos. I know right where you are and it's miserable keep at it
I just had the same problem, but I figured it out! Go back to your for loop and find the append for the icons. Check if it says this... appendItem(tomorrowIcons, icons[i]);
That is a tricky part, the [i] is what represents the index of the list item. So, if i is equal to 3 then icons[3] would be the fourth icon in the list, if i is equal to 0, then icons[0] would be the first item in the list.
I literally copied everything you did down to the letter. And I still get the error: WARNING: Line: 35: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 35: TypeError: undefined is not an object (evaluating 't.toString')
Are you also using an array/list? A parameter is the item you are using with set text. So if I wanted to set my text to the third item of my list named toys, I would 0ut setText(toys[2]); but if my list did not exist or it only had one item in it, then I would get an undefined error. It could also happen if I had toys[x] but x was never defined.
This guy is the Savior of ALL AP CSP students, without him at least 80% of all classes would be failing. This guy is the GOAT.
you are literally my savior
i feel u
our computer science savior
Me too
Lol I didn’t even pay attention much, I needed it too XD
Honestly if it wasn’t for you I would be failing Computer Science right now thanqk !!
I was the 100th like lol
@@zhouzhouzhou4 yes I have finished
@@esmeraldaduran7044 I don’t know what to do, can you send me the code, thank you very much
@@esmeraldaduran7044 Please help me please
It’s actually awesome how you not only help us with these levels, but u also give explanations for everything you do. Thank you so much and great vid!
I appreciate that!
Kurt you have been my savior for my CSP class and I want to like hug you for that, your videos explain things more clearly to me than my own teacher has been for the past school year
dude this guy is literally the most helpful youtuber i have ever seen
This dude is literally the only reason I’m passing ap Comp I actually understand what you are explaining ☺️
So if you are getting a set text error like some people are I figured out why and how to fix it. (this is what worked for me)
Make sure your get Columns don't have brackets [ ]
And I think it is happening because when you put a list command or what ever in from the tool box area the list comes with the brackets, when he did it he used a var = thing and then put the get Columns in.
Hope this helps
kurt kaiser back at it again with the life saving videos
lol this man's saving a lot of students
can you do this for all of the make lessons this is really helpful
i was stuck in my APCSP class and you explained it to me better than my teacher did tysm i wont fail now
I finally realized why my program wasn't working, it was just a syntax error. Thanks for all your videos. they're very useful.
in the for function change the var i = 0 to var i = 1
if the number is 0 you have to click get forecast twice, if 1 you only have to click it once for the data to show up
Hello, have you completed code.org
Lesson 10.4 Traversals Investigate Dog Finder Investigation? I really need its answer, thank you very much
this man is gonna save me for computer science
Sorry man but rn i have only gotten to unit seven because we are doing some sort of create task for college board
Okay, so I figured out why it says undefined and it only happens whenever I put the for loop inside of a function. As long as it is outside, it works fine.
It would say undefined if for some reason the loop did not see a variable, or a list variable, called cities. It means it does not see what it is looking for. If cities was defined differently elsewhere, that could cause an issue. It seems like you solved it though. Awesome!
I had the exact same issue lol
@@KurtKaiserUS hey uh, you had a video of the hackathon project walkthrough, it was really helping me but now i can’t find it? did u delete? if so can u link it?
this dude is a goat give him a round of aplause
I wish I had a teacher like you
we need more people like you, keep up the good work man !!!
I have a question about when I use the exact code for my hackathon with a different code and how the index in the last part for the function updateScreen it won't work and says
WARNING: Line: 32: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 32: TypeError: Cannot read property 'toString' of undefined. Can you explain what this is supposed to mean.
Hmm, if you are using a list, the index at that point must not have an item saved there. I have made a few videos with tips about lists for the hackathon: ua-cam.com/video/ZzgEZPJf0ZA/v-deo.html
If you are getting a set text error please be sure not to make your first 6 variables lists.
I am getting this message. "WARNING: Line: 35: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 35: TypeError: Cannot read property 'toString' of undefined. Can you help me with this?
Not a uistring means it is not a word, like "hello" would be a string. Double check that what you are putting is a variable. If it isn't a variable and you just want it to output that word, you need to put it in quotes.
you are a life savior
if you are in my class you better be using Mr. Kaiser as a reference!!! Haha
Great work!
I am pretty sure I followed your exact code as everything else works completely fine. However, whenever I click the Get Forecast button my icons do not show up. I have checked for spelling errors and there are none so i am lost.
@@seekinpeekin
Because it's an image not text change the setText line for iconOutput to: setProperty("iconOutput", "image", tomorrowIcons[index]);
@@rohanphadke2383 Thank you that makes a lot of sense now.
@@rohanphadke2383 You are a genius! I literally couldn't figure out why that was the only thing that wouldn't work!!!
Correct, great solution!
@@KurtKaiserUS it still doesn’t work for me
PHENOMENAL
that's it
keep it up
yes bob
Hello, have you completed code.org
Lesson 10.4 Traversals Investigate Dog Finder Investigation? I really need its answer, thank you very much
Nothing happens when I click on the button after all this, does anyone know what the problem could be?
Make sure the code inside of the forecast button is written correctly. Hope that’s helpful since I won’t be able to see the code :)
same wtf is happening
Hello, have you completed code.org
Lesson 10.4 Traversals Investigate Dog Finder Investigation? I really need its answer, thank you very much
@@zhouzhouzhou4 I’m not very good at explaining, but if you have Instagram I’ll dm you a picture of my code
I did everything the same and the debug console says that setText("cityOutput", tomorrowCities[index] text parameter value (undefined) is not a uistring and cannot read property 'toString" of undefined.
Please help
Now it says the same thing for all 4 lines of set text, I don't know what's wrong
I am having the same problem, can someone please help
Me too. Same problem here
Hey, make sure that in the function getTommorwWeather the forecastNumbers [i] == 1. I made a mistake and out i instead of 1. It fixed the problem for me
@@antoninatomei984 Mine already says i==1 haha. Thank you though!
computer science saver right here!!
thanks this helps a bunch
The goat right here
For anyone with a ui.string error, it is a problem with your for loop variable. My error was with the equal signs. In the video, he puts 2 equal signs; however it should only be one. Instead of forecastNumbers[i] == 1 it should be forecastNumbers[i] = 1.
Very thorough and understandable, thank you.
Your videos help me so much
I have the same things as you, but none of the info is appearing on the screen. Does anyone know what I did wrong. I checked and the code is totally the same
It is likely some tiny annoying error. Code is about the logic, sometimes you can write it down and if you don't get the logic the tiniest details just, it gets so frustrating. I'm not sure what your exact issue is, I would just double check anything try to rewatching the videos. I know right where you are and it's miserable keep at it
@@KurtKaiserUS I will do that. Thanks again for these videos, they are super helpful
@@KurtKaiserUS I tried again today and now it works. I think it was just my internet giving me troubles
Absolute legend
Much love
So what if I’m making a similar app but I don’t want it filtered.... What would I do instead?
Thank you so much your videos are rlly good keep it up Mr. Kaiser
Hello, have you completed code.org
Lesson 10.4 Traversals Investigate Dog Finder Investigation? I really need its answer, thank you very much
you are a legend dude
Dood is a life saver
My icons won't display but I put set property instead of set text and the console is saying that the link for the photo is not a string.
I just had the same problem, but I figured it out! Go back to your for loop and find the append for the icons. Check if it says this... appendItem(tomorrowIcons, icons[i]);
That is a tricky part, the [i] is what represents the index of the list item. So, if i is equal to 3 then icons[3] would be the fourth icon in the list, if i is equal to 0, then icons[0] would be the first item in the list.
how did you get that template?
This nigga the goat
thank you angle on earth
Dude thank you man! My stress is slightly gone away
Can you post the code
Hello, have you completed code.org
Lesson 10.4 Traversals Investigate Dog Finder Investigation? I really need its answer, thank you very much
@@zhouzhouzhou4 yes
@@rishianand8102 Can you give me the code, I really need it
I literally copied everything you did down to the letter. And I still get the error: WARNING: Line: 35: setText() text parameter value (undefined) is not a uistring.ERROR: Line: 35: TypeError: undefined is not an object (evaluating 't.toString')
Are you also using an array/list? A parameter is the item you are using with set text. So if I wanted to set my text to the third item of my list named toys, I would 0ut setText(toys[2]); but if my list did not exist or it only had one item in it, then I would get an undefined error. It could also happen if I had toys[x] but x was never defined.
THANKS AGAIN!
thank you so much
My icons aren’t working
Same...did it work for you yet ??
real one
Kurt the g.o.a.t
kurt.
i know you here too astroguy lmao
the goat
I LOVE U KURT
i love you
Hello, have you completed code.org
Lesson 10.4 Traversals Investigate Dog Finder Investigation? I really need its answer, thank you very much
🐐
I owe you a life debt
anyone taking 5 or more click on get forecast button and then only it works properly?
nvm you just gotta wait a bit before spamming 💀
Runs slow sometimes - keep it up 💪
Sachin pls wait for me
te falto una w iiiii te gano iiiiii
te volvi a ganar iiiiiiiii
iiiiii te gano gringeishon sorryeisho paseleishon por lo barrideishon
Thank you so much
I love you