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

Conflicts with colorama on Windows #21

Closed
blink1073 opened this Issue Jan 12, 2014 · 5 comments

Comments

Projects
None yet
4 participants
@blink1073

blink1073 commented Jan 12, 2014

I installed a bare Python 27 64 bit and installed pyreadline 2.0 64 bit from PyPI and colorama 0.2.7 from PyPi. I get the following error repeating over and over when importing colorama. I am posting to colorama as well.

>>> import colorama
ArgumentError: argument 2: <type 'exceptions.TypeError'>: expected LP_CONSOLE_SC
REEN_BUFFER_INFO instance instead of pointer to CONSOLE_SCREEN_BUFFER_INFO
Readline internal error
Traceback (most recent call last):
  File "C:\Users\silvester\Anaconda\lib\site-packages\pyreadline\console\console
.py", line 768, in hook_wrapper_23
    res = ensure_str(readline_hook(prompt))
  File "C:\Users\silvester\Anaconda\lib\site-packages\pyreadline\rlmain.py", lin
e 569, in readline
    self.readline_setup(prompt)
  File "C:\Users\silvester\Anaconda\lib\site-packages\pyreadline\rlmain.py", lin
e 565, in readline_setup
    self._print_prompt()
  File "C:\Users\silvester\Anaconda\lib\site-packages\pyreadline\rlmain.py", lin
e 466, in _print_prompt
    x, y = c.pos()
  File "C:\Users\silvester\Anaconda\lib\site-packages\pyreadline\console\console
.py", line 261, in pos
    self.GetConsoleScreenBufferInfo(self.hout, byref(info))
@pfmoore

This comment has been minimized.

Show comment
Hide comment
@pfmoore

pfmoore Feb 19, 2014

See also #18 which is the same issue

pfmoore commented Feb 19, 2014

See also #18 which is the same issue

@kivhift

This comment has been minimized.

Show comment
Hide comment
@kivhift

kivhift Apr 4, 2014

Contributor

This is fixed via #24.

Contributor

kivhift commented Apr 4, 2014

This is fixed via #24.

@blink1073 blink1073 closed this Apr 4, 2014

@blink1073

This comment has been minimized.

Show comment
Hide comment
@blink1073

blink1073 Apr 4, 2014

Great, thanks!

blink1073 commented Apr 4, 2014

Great, thanks!

@untitaker

This comment has been minimized.

Show comment
Hide comment
@untitaker

untitaker Jun 6, 2014

The PR doesn't actually seem to have landed in master.

untitaker commented Jun 6, 2014

The PR doesn't actually seem to have landed in master.

@untitaker

This comment has been minimized.

Show comment
Hide comment
@untitaker

untitaker Jun 6, 2014

Installing this manually from the PR branch, i can confirm that #24 fixes this issue.

untitaker commented Jun 6, 2014

Installing this manually from the PR branch, i can confirm that #24 fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment