Created
April 14, 2016 01:04
-
-
Save ChristianTremblay/98d0d32ddd212baa3e2d447cb685cf56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
TypeError Traceback (most recent call last) | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\ops\grid.py in _do_auth_attempt(self, event) | |
116 try: | |
--> 117 self._session.authenticate(callback=self._on_authenticate) | |
118 except: # Catch all exceptions to pass to caller. | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\session.py in authenticate(self, callback) | |
97 # Already done | |
---> 98 return callback(auth_op) | |
99 else: | |
TypeError: _on_authenticate() takes 1 positional argument but 2 were given | |
During handling of the above exception, another exception occurred: | |
TypeError Traceback (most recent call last) | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\ops\grid.py in _do_auth_attempt(self, event) | |
116 try: | |
--> 117 self._session.authenticate(callback=self._on_authenticate) | |
118 except: # Catch all exceptions to pass to caller. | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\session.py in authenticate(self, callback) | |
97 # Already done | |
---> 98 return callback(auth_op) | |
99 else: | |
TypeError: _on_authenticate() takes 1 positional argument but 2 were given | |
During handling of the above exception, another exception occurred: | |
TypeError Traceback (most recent call last) | |
<ipython-input-11-06b6818d43ec> in <module>() | |
1 site = session.read(filter_expr='site') | |
----> 2 site.result | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\util\state.py in result(self) | |
86 | |
87 if isinstance(self._result, AsynchronousException): | |
---> 88 self._result.reraise() | |
89 | |
90 return deepcopy(self._result) | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\util\asyncexc.py in reraise(self) | |
27 | |
28 def reraise(self): | |
---> 29 reraise(*self._exc_info) | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\six.py in reraise(tp, value, tb) | |
684 if value.__traceback__ is not tb: | |
685 raise value.with_traceback(tb) | |
--> 686 raise value | |
687 | |
688 else: | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\ops\grid.py in _do_auth_attempt(self, event) | |
115 """ | |
116 try: | |
--> 117 self._session.authenticate(callback=self._on_authenticate) | |
118 except: # Catch all exceptions to pass to caller. | |
119 self._state_machine.exception(result=AsynchronousException()) | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\session.py in authenticate(self, callback) | |
96 if auth_op.is_done: | |
97 # Already done | |
---> 98 return callback(auth_op) | |
99 else: | |
100 auth_op.done_sig.connect(callback) | |
TypeError: _on_authenticate() takes 1 positional argument but 2 were given |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment