Hi Bradley,

I don't use emacs so can't be much help here, other than to tell you
that I have definitely seen bpython running inside emacs.

If I remember correctly there was some requirement for ... well, all I
can remember is something about ANSI colours.

This may or may not be relevant and could be a figment of my
imagination. But hopefully your perseverance and the help from emacs
users here will help you. I'm sure Andreas is typing a response right
now, in fact. ;-)

On 25 July 2011 21:58, Bradley Powers <[email protected]> wrote:
> Hi all,
>
> I use emacs as my primary development environment.  I'd like to be
> able to use bpython inside of emacs as my Python shell for testing and
> such.  When I simply run bpython in shell-mode, it doesn't work:
>
>
>  bradpowers@bpow-rosdev:~$ bpython
>  Traceback (most recent call last):
>   File "/usr/local/bin/bpython", line 9, in <module>
>     load_entry_point('bpython==0.10', 'console_scripts', 'bpython')()
>   File "/usr/local/lib/python2.6/dist-packages/bpython-0.10-py2.6.egg/
> bpython\
>  /cli.py", line 1756, in main
>     banner=banner)
>   File "/usr/local/lib/python2.6/dist-packages/bpython-0.10-py2.6.egg/
> bpython\
>  /cli.py", line 1658, in curses_wrapper
>     return func(stdscr, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/bpython-0.10-py2.6.egg/
> bpython\
>  /cli.py", line 1701, in main_curses
>   main_win, statusbar = init_wins(scr, config)
>  File "/usr/local/lib/python2.6/dist-packages/bpython-0.10-py2.6.egg/
> bpython\
>  /cli.py", line 1538, in init_wins
>   main_win = newwin(background, h - 1, w, 0, 0)
>  File "/usr/local/lib/python2.6/dist-packages/bpython-0.10-py2.6.egg/
> bpython\
>  /cli.py", line 1638, in newwin
>   win = curses.newwin(*args)
> _curses.error: curses function returned NULL
>
>
> Any recommendations on how to get emacs and bpython to play nicely
> together?
>
> Thanks,
> Bradley Powers
>
> --
> You received this message because you are subscribed to the Google Groups 
> "bpython" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/bpython?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bpython" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/bpython?hl=en.

Reply via email to