Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime Error while creating users #82

Open
farhaanbukhsh opened this issue Sep 30, 2016 · 0 comments
Open

Runtime Error while creating users #82

farhaanbukhsh opened this issue Sep 30, 2016 · 0 comments

Comments

@farhaanbukhsh
Copy link
Contributor

farhaanbukhsh commented Sep 30, 2016

Steps to replicate

After setting up ircb :

Run:
ircb run stores

Another terminal try to create user by the given command.

The following traceback occurs

Traceback (most recent call last):
File "/home/fhackdroid/.virtualenvs/python3/lib/python3.5/site-packages/aiozmq-0.7.1-py3.5.egg/aiozmq/rpc/base.py", line 236, in try_log
fut.result()
File "/usr/lib64/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/home/fhackdroid/.virtualenvs/python3/lib/python3.5/site-packages/aiozmq-0.7.1-py3.5.egg/aiozmq/rpc/pubsub.py", line 223, in process_call_result
if fut.result() is not None:
File "/usr/lib64/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib64/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/home/fhackdroid/waarta/ircb/ircb/lib/dispatcher/init.py", line 49, in register_sub
self._lock.release()
File "/usr/lib64/python3.5/asyncio/locks.py", line 201, in release
raise RuntimeError('Lock is not acquired.')
RuntimeError: Lock is not acquired.
[2016-09-30 15:33:19][ stores DEBUG] UserStore CREATE: store-user-create {'password': '', 'username': 'farhaan', 'email': '[email protected]'} 1d0db124-86f5-11e6-b9e4-$
0fd61ea064c
[2016-09-30 15:33:19][ stores DEBUG] UserStore CREATED: <ircb.models.user.User object at 0x7f8a3edc07b8>
[2016-09-30 15:33:19][dispatcher DEBUG] SEND: store-user-create {'password': '', 'username': 'farhaan', 'email': '[email protected]'} 1d0db124-86f5-11e6-b9e4-90fd61ea064c
[2016-09-30 15:33:19][dispatcher DEBUG] PUBLISH from stores: ('store-user-created', {'last_name': '', 'created': 1475209999.469223, 'id': 1, 'confirmed_at': None, 'first_name': $
', 'email': '[email protected]', 'username': 'farhaan', 'reset_password_token': '', 'last_updated': 1475209999.469235, 'is_active': False}, '1d0db124-86f5-11e6-b9e4-90fd61e$
064c')
An exception RuntimeError('Lock is not acquired.',) from method 'register_sub' call occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant