amnextking / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Cursor causes assertion error #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempting to extract a cursor from a query

What is the expected output? What do you see instead?
I expected no error to occur, and for the cursors to work as they do in the 
GAESDK and GAE.
Instead, an AssertionError exception occurs:
AssertionError: No cursor available, either this query has not been 
executed or there is no compilation available for this kind of query
(Full traceback attached as a file)

What version of the product are you using? On what operating system?
Latest trunk. Ubuntu 9.10.

Please provide any additional information below.
I included a simple script that demonstrates the error occurring. It runs 
fine on GAE SDK and GAE, but not Typhoon.

Original issue reported on code.google.com by Noah.Mci...@gmail.com on 27 Feb 2010 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
That's on my TODOs since 1.3.1 was released. This depends on the datastore 
backend. I plan to implement it for 
mongoDB, soon.

Original comment by tobias.r...@gmail.com on 27 Feb 2010 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by tobias.r...@gmail.com on 27 Feb 2010 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by tobias.r...@gmail.com on 4 Mar 2010 at 9:12

GoogleCodeExporter commented 9 years ago
Implemented support for Datastore Query Cursors (mongoDB) in our trunk.

Original comment by tobias.r...@gmail.com on 5 Mar 2010 at 1:46

GoogleCodeExporter commented 9 years ago
Fix included in 0.1.3 release.

Original comment by tobias.r...@gmail.com on 12 Mar 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Still occurs for me on 0.2.1 release, when accessing the cursor of a query that 
did not return any results (attached). Works on GAE SDK.

Original comment by bjorn.me...@gmail.com on 8 Jan 2011 at 8:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this! Reopening the issue.

Original comment by tobias.r...@gmail.com on 8 Jan 2011 at 8:35