[Developers] Graph dateline is older than last write?
Ben Drees
ben at metaweb.com
Tue Jan 29 16:27:10 UTC 2008
Hi Arthur,
I believe this is a known problem having to do with the weekly data
refreshes on sandbox. A workaround would be to clear the user agent's
mwLastWriteTime cookie, if possible.
-Ben
Arthur van Hoff wrote:
>
> Here is the trace:
>
> POST /api/service/mqlread HTTP/1.1
>
> Referer: app:/Freebase.swf
>
> Accept: text/xml, application/xml, application/xhtml+xml,
> text/html;q=0.9, text/plain;q=0.8, text/css, image/png, image/jpeg,
> image/gif;q=0.8, application/x-shockwave-flash, video/mp4;q=0.9,
> flv-application/octet-stream;q=0.8, video/x-flv;q=0.7, audio/mp4,
> application/futuresplash, */*;q=0.5
>
> x-flash-version: 9,0,99,0
>
> Content-Type: application/x-www-form-urlencoded
>
> Content-Length: 309
>
> User-Agent: Mozilla/5.0 (Windows; U; en) AppleWebKit/420+ (KHTML, like
> Gecko) AdobeAIR/1.0
>
> Host: sandbox.freebase.com
>
> Connection: Keep-Alive
>
> Cookie:
> __utma=191567400.278751241.1197589891.1201305548.1201563043.10;
> __utmz=191567400.1197589891.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
> metaweb-user="A|u_avh|g_#9202a8c04000641f80000000042b3876|4.WF06h7rVjqT+rRW/hryP1A";
> metaweb-user-info=A|p_%2Fuser%2Favh|u_avh|g_#9202a8c04000641f80000000042b3876|0.;
> mwbrowserchecked2=true;
> permissionCache2=%7B%22count%22%3A3%2C%22permissions%22%3A%7B%22%2Fboot%2Fall_permission%22%3Atrue%2C%22%2Fboot%2Fcontent_permission%22%3Afalse%2C%22%2Fguid%2F9202a8c04000641f8000000005f50a83%22%3Afalse%7D%2C%22user%22%3A%22%239202a8c04000641f80000000042b3876%22%7D;
> hideEmpty2=false; __utmc=191567400;
> mwLastWriteTime=1201563079|9202a8c04000641f80000000072b23e1;
> __utma=118736350.1859247523.1197589563.1201303998.1201304414.20;
> __utmz=118736350.1197589563.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
>
> query=%7B%22escape%22%3Afalse%2C%22cursor%22%3Atrue%2C%22query%22%3A%5B%7B%22summary%22%3A%7B%22value%22%3Anull%7D%2C%22/common/topic/article%22%3A%7B%22optional%22%3A%22forbidden%22%2C%22id%22%3Anull%7D%2C%22type%22%3A%22/user/cotton/default_domain/broadcast%22%2C%22id%22%3Anull%2C%22name%22%3Anull%7D%5D%7D
>
> HTTP/1.0 200 OK
>
> Date: Tue, 29 Jan 2008 15:47:31 GMT
>
> Server: Apache
>
> X-Metaweb-Success: 0/1
>
> Content-Length: 339
>
> X-Metaweb-Cost: dt=15.129, nreqs=2, tr=0.001, tu=0.0, ts=0.0, pr=0,
> pf=0, dw=0, dr=28, in=18, ir=2, iw=0, va=22, te=0.001,
> tg=0.00080394744873, tf=0.00101709365845, tm=0.00334000587463, cr=1,
> cm=1, ch=0, lr=1, lm=1, lh=0, gqr=0
>
> Content-Type: text/plain; charset="utf-8"
>
> X-Cache: MISS from cache01.sandbox.sfo1.metaweb.com
>
> Connection: keep-alive
>
> Cache-Control: public, max-age=0, s-maxage=0
>
> Expires: Tue, 29 Jan 2008 15:47:31 GMT
>
> X-Metaweb-TID: cache;cache01.sandbox.sfo1:8101;2008-01-29T15:47:31Z;0001
>
> {
>
> "status": "200 OK",
>
> "code": "/api/status/error",
>
> "messages": [
>
> {
>
> "info": {
>
> "dateline": "9202a8c04000641f8000000006fbdf65",
>
> "write_dateline": "9202a8c04000641f80000000072b23e1"
>
> },
>
> "message": "Graph dateline is older than last write",
>
> "code": "/api/status/error/mql/graph"
>
> }
>
> ]
>
> }
>
> *From:* developers-bounces at freebase.com
> [mailto:developers-bounces at freebase.com] *On Behalf Of *John Giannandrea
> *Sent:* Monday, January 28, 2008 11:35 PM
> *To:* For discussions about MQL,Freebase API and apps built on Freebase
> *Subject:* Re: [Developers] Graph dateline is older than last write?
>
> Im not able to reproduce this, I get
>
> {
>
> "code" : "/api/status/ok",
>
> "result" : [
>
> {
>
> "id" : "/guid/9202a8c04000641f8000000006aa0acb",
>
> "name" : "Radio Paradise",
>
> "type" : "/user/cotton/default_domain/broadcast"
>
> },
>
> {
>
> "id" : "/guid/9202a8c04000641f8000000005fdf590",
>
> "name" : "Secret Agent on Soma FM",
>
> "type" : "/user/cotton/default_domain/broadcast"
>
> },
>
> Can you send us the HTTP headers, specifically the TID header.
>
> -jg
>
> On Jan 28, 2008, at 9:16 PM, Arthur van Hoff wrote:
>
>
>
> I’m getting a weird error when making a request on the sandbox. Any
> idea what is going wrong?
>
> Request:
>
> “query”: [{
>
> "id": null,
>
> "type": "/user/cotton/default_domain/broadcast",
>
> "name": null
>
> }]
>
> Response:
>
> {
>
> "status": "200 OK",
>
> "code": "/api/status/error",
>
> "messages": [
>
> {
>
> "info": {
>
> "dateline": "9202a8c04000641f8000000006fbbaa5",
>
> "write_dateline": "9202a8c04000641f80000000072b23e1"
>
> },
>
> "message": "Graph dateline is older than last write",
>
> "code": "/api/status/error/mql/graph"
>
> }
>
> ]
>
> }
>
> ___________________________________________
>
> Arthur van Hoff, Dell-ZING, CTO Software and Services.
>
> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com <mailto:Developers at freebase.com>
> http://lists.freebase.com/mailman/listinfo/developers
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
More information about the Developers
mailing list