Access denied to my own posts

Hi,

after i asked a question just now and posted it, the system told me “access denied” to the posts…

some configuration wrong in the web site?

thanks,

Lenx

Hello,

I am not sure to understand, you are saying that you cannot access the Q&A site?
Can you please clarify?
It looks like now it is working right?

Regards
Tug
@tgrall

No, it doesn’t work still.

After I posted this question, the web site showed me “access denied”.

Hi,

I found that streaming mode queries behave abnormally, while queries without streaming mode work well. Here are logs of ipython:

In [1]: from couchbase import Couchbase
In [2]: dbay=Couchbase.connect(bucket=xxx, password=xxx)
In [3]: k=dbay.query(‘result’, xxx, streaming=True, include_docs=True)
In [4]: for i in k:
break
…:

KeyError Traceback (most recent call last)
/opt/ in ()
----> 1 for i in k:
2 break
3

/usr/local/lib/python2.7/dist-packages/couchbase/views/iterator.pyc in iter(self)
414
415 while self._do_iter:
–> 416 self._get_page()
417 if not self._rp_iter:
418 break

/usr/local/lib/python2.7/dist-packages/couchbase/views/iterator.pyc in _get_page(self)
386
387 rows = tuple(json.loads® for r in rows)
–> 388 self._process_page(rows)
389
390 def iter(self):

/usr/local/lib/python2.7/dist-packages/couchbase/views/iterator.pyc in _process_page(self, rows)
319 self._rp_iter = self.row_processor.handle_rows(rows,
320 self._parent,
–> 321 self.include_docs)
322
323 # Raise exceptions early on

/usr/local/lib/python2.7/dist-packages/couchbase/views/iterator.pyc in handle_rows(self, rows, connection, include_docs)
106 return iter(self)
107
–> 108 keys = tuple(x[‘id’] for x in rows)
109 self._docs = connection.get_multi(keys, quiet=True)
110 return iter(self)

/usr/local/lib/python2.7/dist-packages/couchbase/views/iterator.pyc in ((x,))
106 return iter(self)
107
–> 108 keys = tuple(x[‘id’] for x in rows)
109 self._docs = connection.get_multi(keys, quiet=True)
110 return iter(self)

KeyError: ‘id’

In [5]: k=dbay.query(‘result’,xxx, streaming=True, include_docs=True)
In [6]: for i in k:
break
…:
// works fine this time

In [7]: k=dbay.query(‘result’,xxx, streaming=True, include_docs=True)
In [8]: for i in k:
break
…:
Segmentation fault (core dumped)

As you can see, in all 3 same queries, one throws a strange exception, one succeeds, and one crashes.

thanks,

Lenx