ChristianTremblay / pyhaystack

Pyhaystack is a module that allow python programs to connect to a haystack server project-haystack.org. Connection can be established with Niagara Platform running the nhaystack, Skyspark and Widesky. For this to work with Anaconda IPython Notebook in Windows, be sure to use "python setup.py install" using the Anaconda Command Prompt in Windows. If not, module will be installed for System path python but won't work in the environment of Anaconda IPython Notebook. You will need hszinc 1.3+ for this to work.
Apache License 2.0
74 stars 32 forks source link

pyReadLine error #29

Closed MakhdumS closed 8 years ago

MakhdumS commented 8 years ago

Hi,

i'm getting an error when i use the grid_format=hszinc.MODE_JSON when setting up the session

Traceback (most recent call last): File "C:\Users\makhdum shaikh\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyreadline\console\console.py", line 768, in hook rapper_23 res = ensure_str(readline_hook(prompt)) File "C:\Users\makhdum shaikh\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyreadline\rlmain.py", line 571, in readline self._readline_from_keyboard() File "C:\Users\makhdum shaikh\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyreadline\rlmain.py", line 536, in _readline_fro keyboard if self._readline_from_keyboard_poll(): File "C:\Users\makhdum shaikh\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyreadline\rlmain.py", line 556, in _readline_fro keyboard_poll result = self.mode.processkeyevent(event.keyinfo) File "C:\Users\makhdum shaikh\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyreadline\modes\emacs.py", line 243, in process yeven

ChristianTremblay commented 8 years ago

We'll need more infos. Can you provide some code ?

sjlongland commented 8 years ago

I concur, I don't think that's the full stack trae as I don't think anything in pyhaystack cals pyreadline. This smells like a Python shell going haywire.

Possibly on Windows 10 judging from the mention of "Continuum".

MakhdumS commented 8 years ago

Managed to resolve this by installing pyreadline