38 messages in com.googlegroups.google-gadgets-apiRe: [Google-Gadgets-API] Re: prefs.Se...
FromSent OnAttachments
Bonstio21 Jul 2007 05:07 
Matt21 Jul 2007 10:16 
Bonstio21 Jul 2007 13:55 
Bonstio22 Jul 2007 12:19 
Bonstio23 Jul 2007 01:00 
Baku23 Jul 2007 06:16 
mantene23 Jul 2007 06:51 
Bonstio23 Jul 2007 07:03 
Matt23 Jul 2007 07:15 
Bonstio23 Jul 2007 07:28 
boze...@gmail.com23 Jul 2007 07:52 
J23 Jul 2007 08:19 
mantene23 Jul 2007 08:47 
Bonstio23 Jul 2007 09:17 
mantene23 Jul 2007 09:45 
JMC23 Jul 2007 09:47 
J23 Jul 2007 10:34 
mantene23 Jul 2007 10:38 
Bonstio23 Jul 2007 11:27 
fitz23 Jul 2007 17:52 
JD23 Jul 2007 18:38 
Embe24 Jul 2007 00:48 
Bonstio24 Jul 2007 00:59 
Dann (Google Employee)25 Jul 2007 22:17 
Bonstio26 Jul 2007 01:08 
Matt26 Jul 2007 08:03 
Peter Svensson26 Jul 2007 09:36 
Huy L Nguyen26 Jul 2007 10:16 
Bonstio26 Jul 2007 11:07 
Bonstio26 Jul 2007 11:15 
Matt26 Jul 2007 11:25 
Bonstio27 Jul 2007 06:11 
Dann (Google Employee)27 Jul 2007 09:48 
Matt27 Jul 2007 12:30 
Bonstio28 Jul 2007 04:07 
Bonstio29 Jul 2007 06:40 
Matt29 Jul 2007 09:29 
sanju20 Aug 2007 11:32 
Subject:Re: [Google-Gadgets-API] Re: prefs.Set not setting
From:Peter Svensson (psve@gmail.com)
Date:07/26/2007 09:36:03 AM
List:com.googlegroups.google-gadgets-api

One has to wonder if there isn't some weird thing going on when you lock the server-side resources for the settings. Consider the following;

1) A single save of prefs is always OK, (IIRC) regardless of size 2) Two or more consecutive save of prefs can fail, especially on large value sizes.

One scenario which might fit this behavior is that you don't lock the user prefs at all, maybe because you can't, due to reasons, maybe you think you do but you don't lock all you need to lock, maybe someone unlocks stuff for you in the middle of a save.

Of course it's impossible to say just what happens on the other side of the stargate, and you can't tel :-P, but I at the risk of being too obvious I just had to put this down anyway.

Cheers, PS

On 7/26/07, Matt <m.@mattkruse.com> wrote:

On Jul 26, 12:17 am, "Dann (Google Employee)" <d.@google.com> wrote:

Regarding the inconsistent pref saves, it sounds like the problem may be related to an older thread. Instead of linking to it, I'll try to explain.

This is good news for people facing this exact situation.

Unfortunately, it doesn't apply to my general problem, which isnt' even using prefs.set() at all, but just saving preferences using the normal "Edit Settings" panel. When working in a "test" tab with no other gadgets except my RSS reader, saving the settings often results in no action but a screen re-draw. I can change settings and save often but it will only stick randomly. Sometimes if I remove the gadget and add it again, I can then save settings. Then it will stop working again, seemingly randomly. I have found no pattern as of yet, other than what seems to be a max size limit of all prefs across all tabs. Since my RSS gadget has many prefs and I have many copies of it on my pages, I may be hitting the ceiling more so than most. Or there may actually be no ceiling and it's a different problem. I don't know :)