[Developers] "Can't locate this clause - cannot continue" error

Christine Weibel xtine at metaweb.com
Tue Sep 23 22:35:23 UTC 2008


could be a timing issue?

i did this query
{
  "q1" : {
    "as_of_time" : "2008-09-23T21:30:02.0003",
    "query" : {
      "guid" : "#9202a8c04000641f8000000004f9c3fc",
      "type" : "/user/pak21/default_domain/zx_spectrum_game",
      "wos_id" : null
    }
  }
}

using the as_of_time value at the time that query was issued. the query returned this:
{
  "code" : "/api/status/ok",
  "q1" : {
    "code" : "/api/status/ok",
    "result" : null
  },
  "status" : "200 OK",
  "transaction_id" : "cache;cache01.sandbox.sjc1:8101;2008-09-23T22:28:53Z;0003"
}

looking at the link between the topic and the type:
{
  "code" : "/api/status/ok",
  "q1" : {
    "code" : "/api/status/ok",
    "result" : {
      "attribution" : [
        "/user/pak21"
      ],
      "creator" : [
        "/user/pak21"
      ],
      "master_property" : [
        "/type/object/type"
      ],
      "operation" : [
        "insert"
      ],
      "reverse" : [
        false
      ],
      "source" : {
        "id" : "#9202a8c04000641f8000000004f9c3fc"
      },
      "target" : {
        "id" : "/user/pak21/default_domain/zx_spectrum_game"
      },
      "target_value" : [
        null
      ],
      "timestamp" : [
        "2008-09-23T21:30:02.0005Z"
      ],
      "type" : "/type/link",
      "valid" : [
        true
      ]
    }
  },
  "status" : "200 OK",
  "transaction_id" : "cache;cache01.sandbox.sjc1:8101;2008-09-23T22:30:57Z;0003"
}


shows that the link was not created until 21:30.02.0005.



----- Original Message -----
From: "Philip Kendall" <philip-freebase at shadowmagic.org.uk>
To: "Freebase Developers" <developers at freebase.com>
Sent: Tuesday, September 23, 2008 2:40:49 PM (GMT-0800) America/Los_Angeles
Subject: [Developers] "Can't locate this clause - cannot continue" error

While playing around with some things on sandbox, I'm occasionally
getting a "Can't locate this clause - cannot continue" error for one in
a large number of basically identical writes that I'm performing. The
(Perlified) response is below, with vague apologies for the formatting:

$VAR1 = {
          'transaction_id' => 'cache;cache01.sandbox.sjc1:8101;2008-09-23T21:30:02Z;0003',
          'query' => {
                       'messages' => [
                                       {
                                         'info' => {},
                                         'query' => {
                                                      'error_inside' => '.',
                                                      'type' => '/user/pak21/default_domain/zx_spectrum_game',
                                                      'guid' => '#9202a8c04000641f8000000004f9c3fc',
                                                      'wos_id' => {
                                                                    'value' => 167,
                                                                    'connect' => 'update'
                                                                  }
                                                    },
                                         'path' => '',
                                         'code' => '/api/status/error/mql/result',
                                         'message' => 'Can\'t locate this clause - cannot continue'
                                       }
                                     ],
                       'code' => '/api/status/error'
                     },
          'status' => '200 OK',
          'code' => '/api/status/ok'
        };

Is this a bug, or something I'm doing wrong?

Cheers,

Phil

-- 
  Philip Kendall <philip at shadowmagic.org.uk>
  http://www.shadowmagic.org.uk/
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list