English 中文(简体)
YQL Problem - “本表被封锁”
原标题:YQL Problem - "The current table has been blocked"
  • 时间:2011-01-23 17:48:06
  •  标签:
  • yql

I m new to YQL and are some problems retrieving data. 试图处决的I m是:

select * from yahoo.finance.historicaldata where symbol = "TW.L" and startDate = "01/01/2011" and endDate = "22/01/2011"

我确实设法通过YQL Console在无问题的情况下利用类似询问来检索一些信息。 现在,每当我尝试时,我就拿回了包括以下信息在内的一些XML:

The current table yahoo.finance.historicaldata has been blocked. It exceeded the allotted quotas of either time or instructions

我认为这是某种税率限制,但我很相信,我不会在每小时1 000项申请被援引为限额的地方。 此外,我还收到了《吉大港山区行动计划》200份答复,而不是999份答复(这显然是你在你身受限时回来的状况)。

Can anyone tell me why I m getting this message, what I should do about it, and how I can stop it happening again!?

Thanks, - Chris

问题回答

我认为,这一信息与你一方的税率限制毫无关系,而是全球阻止这一表格。 在我试图查阅这个表格时,我收到了同样的错误信息。 因此,我假定,其他人对这个表格提出过太多的质疑,这反过来又使这个表格受阻,正如错误信息所示。

该表的内部显示,它正在向设在的CSV发送两个询问。 您可以在此检查内部情况,看看该表的javascript部分做了些什么:

我知道,这并不解决你使用YQL表格的问题,但如果你继续对这一表格提出问题,你可能只是直接询问CSV档案,而不是通过YQL表格。

如果你仍然想知道与YQL表格有关的问题是什么,那么你可以把你的问题直接放在雅虎的YQL论坛:

请在此表明,如果你能找到任何其他问题。 图十

我认为,这里可能有两个相关问题:太多的指示,经常处理。

当我对[YQL console][yql]提出询问时,我看到部分答复:

<javascript execution-time="6783" instructions-used="50024350" table-name="yahoo.finance.historicaldata"/>
<javascript name="yahoo.finance.historicaldata" verb="select">
<![CDATA[java.lang.RuntimeException: Too many instructions executed: 50024350]]>
</javascript>

你们可以看到,问题在于“执行许多指示”。

看看该表的样本询问,它看上去的是开始和计划;该表的最后日期是采用湿度-毫米-d格式的。 因此,你的询问可以改写为:

select * from yahoo.finance.historicaldata where 
  symbol = "TW.L" and 
  startDate = "2011-01-01" and 
  endDate = "2011-01-22"

这一经过更新的问询为我工作了两倍,但现在,我发现桌子的进一步错误被阻断:

<javascript name="yahoo.finance.historicaldata" verb="select">
<![CDATA[com.yahoo.platforms.pipes.model.ModuleException: Error Codes: 
js.blocked.execute.request Message: "The current table  yahoo.finance.historicaldata  
has been blocked. It exceeded the allotted quotas of either time or instructions"]]>
</javascript>

这可能会导致另一个问题;换言之,恶意要求导致如此多的指示,即造成表格被阻挡。

现在似乎已经回过来,我也在几个小时前从奥洛尔那里发现了一个错误,但在重新上载了奥索尔之后,似乎所有错误都很好。





相关问题
Cross domain AJAX requests using JQuery and YQL

I need to use YQL (Yahoo Query Language) to perform a cross domain ajax request then bind the XML response into a JSON object and retrieve a value from the XML. The link shows how this is done ...

Javascript convert data from utf-8 to iso-8859-1

I work on a website which is all done in iso-8859-1 encoding using old ASP 3.0. I use Yahoo YQL to request data (XML) from external websites but which I request to be returned as JSON-P (JSON with a ...

Wait for getJSON response

i m trying to make a script using Yahoo s YQL in a web applicaion. The script looks over a text paragraph and then it finds some references and appends on the text as a popup. It all goes fine until I ...

YQL Geo Distance between 2 WOEID s

I store the YQL WOEID (Where on earth id) for all the users of my application locations. I now need a way to search for all users within x miles of a given WOEID, is this possible using YQL? ...

YQL scrape entire website/domain

I m trying to scape back a set of links and content from a domain. The Query in google would be "site:www.newswebsite.com search_term" I ve seen some close stuff to getting this working, but I can ...

热门标签