38 messages in com.googlegroups.google-gadgets-apiRe: [Google-Gadgets-API] Re: prefs.Se...| From | Sent On | Attachments |
|---|---|---|
| Bonstio | 21 Jul 2007 05:07 | |
| Matt | 21 Jul 2007 10:16 | |
| Bonstio | 21 Jul 2007 13:55 | |
| Bonstio | 22 Jul 2007 12:19 | |
| Bonstio | 23 Jul 2007 01:00 | |
| Baku | 23 Jul 2007 06:16 | |
| mantene | 23 Jul 2007 06:51 | |
| Bonstio | 23 Jul 2007 07:03 | |
| Matt | 23 Jul 2007 07:15 | |
| Bonstio | 23 Jul 2007 07:28 | |
| boze...@gmail.com | 23 Jul 2007 07:52 | |
| J | 23 Jul 2007 08:19 | |
| mantene | 23 Jul 2007 08:47 | |
| Bonstio | 23 Jul 2007 09:17 | |
| mantene | 23 Jul 2007 09:45 | |
| JMC | 23 Jul 2007 09:47 | |
| J | 23 Jul 2007 10:34 | |
| mantene | 23 Jul 2007 10:38 | |
| Bonstio | 23 Jul 2007 11:27 | |
| fitz | 23 Jul 2007 17:52 | |
| JD | 23 Jul 2007 18:38 | |
| Embe | 24 Jul 2007 00:48 | |
| Bonstio | 24 Jul 2007 00:59 | |
| Dann (Google Employee) | 25 Jul 2007 22:17 | |
| Bonstio | 26 Jul 2007 01:08 | |
| Matt | 26 Jul 2007 08:03 | |
| Peter Svensson | 26 Jul 2007 09:36 | |
| Huy L Nguyen | 26 Jul 2007 10:16 | |
| Bonstio | 26 Jul 2007 11:07 | |
| Bonstio | 26 Jul 2007 11:15 | |
| Matt | 26 Jul 2007 11:25 | |
| Bonstio | 27 Jul 2007 06:11 | |
| Dann (Google Employee) | 27 Jul 2007 09:48 | |
| Matt | 27 Jul 2007 12:30 | |
| Bonstio | 28 Jul 2007 04:07 | |
| Bonstio | 29 Jul 2007 06:40 | |
| Matt | 29 Jul 2007 09:29 | |
| sanju | 20 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 :)
Matt Kruse




