擅长:python、mysql、java
<p>我遇到了同样的“错误:访问视图没有响应时出错”的问题,结果发现这是我的python代码中的一个bug。具体地说,在javascript实现中,我有类似于:</p>
<pre><code>function (doc) {
emit(doc.somefield, doc);
}
</code></pre>
<p>我把它改成:</p>
^{pr2}$
<p>但是,这给了我你描述的“没有响应”错误。在</p>
<p>将其更改为以下内容可解决此问题。在</p>
<pre><code>def map(doc):
yield doc['somefield'], doc
</code></pre>