You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive a BadYieldError when running the code written in the Corduroy guide, and using the relaxed requesthandler.
Traceback (most recent call last):
File "c:\env\pymeals_tornado\lib\site-packages\tornado\web.py", line 1074, in wrapper
return method(self, args, *kwargs)
File "c:\env\pymeals_tornado\lib\site-packages\corduroy__init.py", line 43, in r_e_l_a_x
return gen.engine(func)(_args, *_kwargs)
File "c:\env\pymeals_tornado\lib\site-packages\tornado\gen.py", line 107, in wrapper
runner.run()
File "c:\env\pymeals_tornado\lib\site-packages\tornado\gen.py", line 319, in run
yielded = self.gen.throw(*exc_info)
File "test.py", line 10, in get
doc = yield people_db.get(user_id)
BadYieldError: yielded unknown object <Document 65d936ee54417e46479a908f7a0038ef[2] {name:Colin}>
Is there some additional setup required, or am I missing something basic?
Pip freeze yields the following dependencies on a virtualevn python 2.7.2
CouchDB==0.8
certifi==0.0.8
chardet==1.0.1
corduroy==0.9.1
lettuce==0.1.35
lxml==2.3
nose==1.1.2
oauthlib==0.1.3
pyasn1==0.1.3
rsa==3.0.1
selenium==2.17.0
splinter==0.4.4
tornado==2.2.1
The text was updated successfully, but these errors were encountered:
(Hopefully) quick question, that I have also put here http://stackoverflow.com/questions/11502802/badyielderror-in-tornado-gen-when-using-corduroy-couchdb-async-library
I receive a BadYieldError when running the code written in the Corduroy guide, and using the relaxed requesthandler.
Traceback (most recent call last):
File "c:\env\pymeals_tornado\lib\site-packages\tornado\web.py", line 1074, in wrapper
return method(self, args, *kwargs)
File "c:\env\pymeals_tornado\lib\site-packages\corduroy__init.py", line 43, in r_e_l_a_x
return gen.engine(func)(_args, *_kwargs)
File "c:\env\pymeals_tornado\lib\site-packages\tornado\gen.py", line 107, in wrapper
runner.run()
File "c:\env\pymeals_tornado\lib\site-packages\tornado\gen.py", line 319, in run
yielded = self.gen.throw(*exc_info)
File "test.py", line 10, in get
doc = yield people_db.get(user_id)
BadYieldError: yielded unknown object <Document 65d936ee54417e46479a908f7a0038ef[2] {name:Colin}>
Is there some additional setup required, or am I missing something basic?
Pip freeze yields the following dependencies on a virtualevn python 2.7.2
CouchDB==0.8
certifi==0.0.8
chardet==1.0.1
corduroy==0.9.1
lettuce==0.1.35
lxml==2.3
nose==1.1.2
oauthlib==0.1.3
pyasn1==0.1.3
rsa==3.0.1
selenium==2.17.0
splinter==0.4.4
tornado==2.2.1
The text was updated successfully, but these errors were encountered: