Discuss Scratch

jvvg
Scratcher
1000+ posts

Cloud variables are refusing to change

If you look at my Browser Survey project, when somebody votes, it adds 1 to the cloud variable containing the number of votes for that browser. It also adds their username to an encoded variable containing who voted (it's all numbers). However, when looking at the cloud data log, only the browser variable changes. The voted variable isn't changing. I then tried voting for Safari, Firefox and IE (although I cringed at the last one), and they also appeared not to save. Chrome is the only variable that is saving properly.


Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
turkey3
Scratcher
1000+ posts

Cloud variables are refusing to change

Probably report it here also. I don't know what's up with them…

cheddargirl
Scratch Team
1000+ posts

Cloud variables are refusing to change

Hmm, that's strange. I tried to add a vote for Firefox, but my vote isn't reflected in the cloud data log. I could only add a vote for Chrome. I wonder what's going on.

Sadly, my forum signature was eaten by an evil kumquat.
jvvg
Scratcher
1000+ posts

Cloud variables are refusing to change

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.


Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
turkey3
Scratcher
1000+ posts

Cloud variables are refusing to change

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.
How the heck do you find this stuff!

lallaway12
Scratcher
100+ posts

Cloud variables are refusing to change

turkey3 wrote:

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.
How the heck do you find this stuff!

What browser are you on and I will tell you
ITS RECKED MY BANK PROJECT!

Last edited by lallaway12 (Aug. 21, 2013 05:49:56)


See my blog ITS MAD so subscribe comment and enjoy http://lallawayrandom.blogspot.co.uk/ ask me what to put up there
Feed my dragons
lallaway12
Scratcher
100+ posts

Cloud variables are refusing to change

ITS RECKED MY BANK PROJECT!

See my blog ITS MAD so subscribe comment and enjoy http://lallawayrandom.blogspot.co.uk/ ask me what to put up there
Feed my dragons
ProdigyZeta7
Scratcher
1000+ posts

Cloud variables are refusing to change

lallaway12 wrote:

ITS RECKED MY BANK PROJECT!
Look, I understand that cloud variables are a mess right now, but we can't pressure the ST to fix it until the offline editor is done.



lallaway12
Scratcher
100+ posts

Cloud variables are refusing to change

ProdigyZeta7 wrote:

lallaway12 wrote:

ITS RECKED MY BANK PROJECT!
Look, I understand that cloud variables are a mess right now, but we can't pressure the ST to fix it until the offline editor is done.

See my blog ITS MAD so subscribe comment and enjoy http://lallawayrandom.blogspot.co.uk/ ask me what to put up there
Feed my dragons
jvvg
Scratcher
1000+ posts

Cloud variables are refusing to change

turkey3 wrote:

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.
How the heck do you find this stuff!
Network tab of the Chrome dev console.

I was trying to find how to embed CVs on my site using HTTP requests, so I needed to do a bit of hacking.


Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
sdg1
Scratcher
100+ posts

Cloud variables are refusing to change

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.

Something went wrong while creating the variables, and since now the server does not know about the variables, it's not saving them. Trying to figure out what broke during the variable creation process.

sdg1
MIT Scratch Team
lallaway12
Scratcher
100+ posts

Cloud variables are refusing to change

sdg1 wrote:

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.

Something went wrong while creating the variables, and since now the server does not know about the variables, it's not saving them. Trying to figure out what broke during the variable creation process.
NOOOOOOOOOOOO!

See my blog ITS MAD so subscribe comment and enjoy http://lallawayrandom.blogspot.co.uk/ ask me what to put up there
Feed my dragons
sdg1
Scratcher
100+ posts

Cloud variables are refusing to change

I'm trying to make the variable creation process more robust. Meanwhile, just delete the variable, and create a cloud variable with the exact same name. That should work.

sdg1
MIT Scratch Team
inventerman
Scratcher
4 posts

Cloud variables are refusing to change

Mine even refuses to create cloud variables! When I try, it does not create the variable!
derpmeup
Scratcher
1000+ posts

Cloud variables are refusing to change

inventerman wrote:

Mine even refuses to create cloud variables! When I try, it does not create the variable!
Please don't bump up old topics.

hey bro that's a pretty good meme xD!
Dylan5797
Scratcher
1000+ posts

Cloud variables are refusing to change

turkey3 wrote:

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.
How the heck do you find this stuff!
http://wiki.scratch.mit.edu/wiki/Scratch_API_(2.0)#Cloud_Variable_Server

Dylan5797
Scratcher
1000+ posts

Cloud variables are refusing to change

ProdigyZeta7 wrote:

lallaway12 wrote:

ITS RECKED MY BANK PROJECT!
Look, I understand that cloud variables are a mess right now, but we can't pressure the ST to fix it until the offline editor is done.
The offline editor is the least of their priorities…

Medley7
Scratcher
100+ posts

Cloud variables are refusing to change

Dylan5797 wrote:

turkey3 wrote:

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.
How the heck do you find this stuff!
http://wiki.scratch.mit.edu/wiki/Scratch_API_(2.0)#Cloud_Variable_Server
don't necropost

this account is practically dead, please view my main account M1mikyu
Harakou
Scratcher
1000+ posts

Cloud variables are refusing to change

Dylan5797 wrote:

turkey3 wrote:

jvvg wrote:

I have just made a very important discovery:

Hacking my way through the network logs, I found that the JSON code for the cloud variables looks like this:
{"variables":[{"name":"☁ chrome","value":"21"}],"lists":[]}
(source)

This means that the variables aren't saving properly on the SERVER end.
How the heck do you find this stuff!
http://wiki.scratch.mit.edu/wiki/Scratch_API_(2.0)#Cloud_Variable_Server
Thanks, but this thread is very old and already resolved - please don't bump old, no longer relevant threads.

Powered by DjangoBB