Closed GoogleCodeExporter closed 9 years ago
I tried this gadget and got the same result. But I'm not sure what's the reason
of
this problem. I guess maybe AdSense website was changed and cause this gadget
can't
get data anymore.
Original comment by james...@gmail.com
on 1 May 2009 at 11:45
No, the adsense gadget is alright!
This gadget is working ok on windows and ok on 0.10.4 too (I tried this gadget
on
another pc running 0.10.4 and it worked perfectly).
And I know the developer of adsense tracker too. I asked him if there was any
changes
on adsense website in these days and he said there was none.
Original comment by thibell...@gmail.com
on 1 May 2009 at 3:24
Hi my name is Rodrigo Costa, and i am the creator of the gadget "Adsense
Tracker"...i
am a Google gadget API Guru, and if you want, i can debug my gadget to see
where the
problem is...
once again... thibellini is right, my gadget continue to work ok on mac and
windows
machines...
Original comment by costamat...@gmail.com
on 1 May 2009 at 6:08
Thanks for your reply. I'd very appreciate if you can help debug it.
Original comment by james...@gmail.com
on 2 May 2009 at 1:27
james how are you!!
I went as far as i coult to debug this issue...
here what i found:
the problem appear to be related to the engine that handle cookies on the object
XMLHttpRequest().
i put a debug on the gadget and on the Linux, i got this response headers:
Content-Type: text/html; charset=UTF-8
Cache-control: no-cache, no-store
Pragma: no-cache
Expires: Mon, 01-Jan-1990 00:00:00 GMT
Set-Cookie: LSID=EXPIRED;Domain=.google.com;Path=/;Expires=Mon, 01-Jan-1990
00:00:00 GMT
Set-Cookie: LSID=EXPIRED;Path=/;Expires=Mon, 01-Jan-1990 00:00:00 GMT
Set-Cookie: LSID=EXPIRED;Domain=www.google.com;Path=/accounts;Expires=Mon,
01-Jan-1990 00:00:00 GMT
Set-Cookie:
LSID=cl|s.BR:DQAAAIoAAABtmjnOyCgqyTMDg5aNN0n1wL2MGOtHyso93fztcEYEgBe729uT08iWFLC
0P56qHaB7-tlfvlSLgydHmmWw8eU6QndE88AKBfeIMxURs3qkHv7F0uS4kGAXjTfMcjS9SDr-8BEahFi
Xt_e1xuPkZRaOCpbBrfhkq_poksWnHz-gGDnI1C40MBkrKuGMn2hxz2A;Path=/accounts;Secure
Date: Tue, 05 May 2009 02:06:32 GMT
X-Content-Type-Options: nosniff
Content-Length: 1296
Server: GFE/2.0
when i use this same debug on a windows machine ive got a entirely differente
header...see the attached picture...
se that in the linux response headers the cookies appears wiht this strange
"LSID=EXPIRED"... i dont know i this is for, but i saw that in the next request,
cookies were no longer available, they got deleted.
Original comment by costamat...@gmail.com
on 5 May 2009 at 2:21
Attachments:
other responseheaders on linux:
Set-Cookie: GoogleAccountsLocale_session=en
Set-Cookie:
SID=DQAAAIkAAABx0YfsjhVfy7S8vE0oRmX7stBGRDDfPtssassDhoCYCHJh3rW4B3xBt499yoEJmWXm
0ZwUEIfWvOuIygc3DBQvk1CUjQPH--zHIdjbzCVCsNhryxuEjGIF2k1D75j16sk02ZJ1Pzhyhaj_tcuN
wRd0BMbumf6NekGcZS9k2MTfDpd2h6SI37oFQl1cIBExYco;Domain=.google.com;Path=/
Set-Cookie:
CAL=DQAAAIoAAABlXYVXkOxJ4CAbFKPYc4IbqHwGVTcdPER0ckY-aiNvE1_qKM95VBbcDRceEGmHHfbd
PJ-SWWS4IMzYzrjQ-KUlUmbIbld0CN5hkz_SLR7oHDeERpci7r_uEY4bQHXhhckwoHlw6U5oifrsgiZN
rUdGHxYSUgbH3DSCoyg1XJUAmrzcsiI-e4J7lnVA09FcBLE;Domain=www.google.com;Path=/cale
ndar
Set-Cookie: LSID=EXPIRED;Domain=.google.com;Path=/;Expires=Mon, 01-Jan-1990
00:00:00 GMT
Set-Cookie: LSID=EXPIRED;Path=/;Expires=Mon, 01-Jan-1990 00:00:00 GMT
Set-Cookie: LSID=EXPIRED;Domain=www.google.com;Path=/accounts;Expires=Mon,
01-Jan-1990 00:00:00 GMT
Set-Cookie:
LSID=cl:DQAAAIsAAABlXYVXkOxJ4CAbFKPYc4IbqHwGVTcdPER0ckY-aiNvE1_qKM95VBbcDRceEGmH
HfYNVtotB9OW06ZEvIZi4RCMOajcYOurcAzZ9CKRmxsIRLaXQlk_PpPsVWO0RnNfYOYcyJzYKIhtvzfO
YAJisS0morTxO0TYyyMfkBAxHwQSUvEBA1L3gI2YMbrD1BHSArE;Path=/accounts;Secure
Set-Cookie: GAUSR=costamatrix@gmail.com;Path=/accounts;Secure
Set-Cookie: GA3T=; Expires=Mon, 04-May-2009 02:24:47 GMT; Path=/
Set-Cookie: GoogleAccountsLocale_session=en
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 05 May 2009 02:24:47 GMT
Expires: Tue, 05 May 2009 02:24:47 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
Server: GFE/2.0
Original comment by costamat...@gmail.com
on 5 May 2009 at 2:26
all header are the same ...they come already expired:
Set-Cookie: GoogleAccountsLocale_session=en
Set-Cookie: GA3T=2uFNgHcLQDk
Set-Cookie: GALX=pIesQMy4XAo;Path=/accounts;Secure
Content-Type: text/html; charset=UTF-8
Cache-control: no-cache, no-store
Pragma: no-cache
Expires: Mon, 01-Jan-1990 00:00:00 GMT
Date: Tue, 05 May 2009 02:28:06 GMT
X-Content-Type-Options: nosniff
Content-Length: 4919
Server: GFE/2.0
and i am using the following useragent on the request:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727;
Media
Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 3.5.21022; AdsenseTracker
Original comment by costamat...@gmail.com
on 5 May 2009 at 2:30
Hi, Rodrigo,
Thanks for your detailed information.
I just debugged the gadget and I think here is the problem: in main.js
onredirData()
function, the URL extracted from HTML contains "&"s and the program doesn't
convert them back to "&"s, though at another place '&'s are correctly replaced.
I
added a line url = url.replace("&", "&") and then the gadget works on gglinux
(still on windows).
I also tried on 0.10.4 and the results are the same as those of 0.10.5.
It's weird that the gadget works on Windows with the incorrect URL.
I have changed the status to "Invalid". Please reopen it if you have new
findings.
Original comment by phnix...@gmail.com
on 5 May 2009 at 7:36
hey phnixwxz, you were right! i already published a new version of the
gadget...but
une thing continue not to work...
the line that plays a sound:
curAudioClip_ = framework.audio.play(AUDIO_CLIP_URI);
thx
Original comment by costamat...@gmail.com
on 5 May 2009 at 12:34
forget it...some how now it is working perfecly, sound included.
thanks!
Original comment by costamat...@gmail.com
on 5 May 2009 at 12:35
Original issue reported on code.google.com by
thibell...@gmail.com
on 24 Apr 2009 at 2:25Attachments: