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.
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.
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.
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)

lallaway12
Scratcher
100+ posts

Cloud variables are refusing to change

ITS RECKED MY BANK PROJECT!
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.
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.
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.
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!
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.
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.
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
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