<br><br><div class="gmail_quote">On Nov 27, 2007 1:25 PM, Jörgen Stenarson <<a href="mailto:jorgen.stenarson@bostream.nu">jorgen.stenarson@bostream.nu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jesus Aguillon skrev:<br><div class="Ih2E3d">> I have downloaded 0.8.2 rc1 and pyreadline 1.5 from<br>> <a href="http://ipython.scipy.org/dist/testing/" target="_blank">http://ipython.scipy.org/dist/testing/</a><br>
><br>> I am seeing the following errors when I start IPython:<br>><br>> ====================================<br>> pyeadline parse_and_bind error, unknown function to bind: "tab-insert"<br>> pyeadline parse_and_bind error, unknown function to bind:
<br>> "reverse-search-history"<br>> pyeadline parse_and_bind error, unknown function to bind:<br>> "forward-search-history"<br>> pyeadline parse_and_bind error, unknown function to bind:<br>
> "history-search-backward"<br>> pyeadline parse_and_bind error, unknown function to bind:<br>> "history-search-forward"<br>> pyeadline parse_and_bind error, unknown function to bind:<br>> "history-search-backward"
<br>> pyeadline parse_and_bind error, unknown function to bind:<br>> "history-search-forward"<br>> pyeadline parse_and_bind error, unknown function to bind: "kill-line"<br>> pyeadline parse_and_bind error, unknown function to bind:
<br>> "unix-line-discard"<br><br><br></div>I'm also unable to reproduce this error.<br>To narrow things down a bit could you replace your ipy_user_conf.py with<br>the attached one and try again? What errors do you see?
<br><br>/Jorgen<br><br>import IPython.rlineimpl as readline<br>readline.parse_and_bind('"\C-r": reverse-search-history')<br><br></blockquote></div><br><br><br>I assume that the ip_user_conf.py file I replace is the one in "Documents and Settings"? I replaced that one with the two lines above.
<br>(I also renamed the one in C:\Python25\Lib\site-packages\IPython\UserConfig just to be sure that one wasn't being used).<br><br>I got the following output:<br><br>pyeadline parse_and_bind error, unknown function to bind: "reverse-search-history"
<br>pyeadline parse_and_bind error, unknown function to bind: "tab-insert"<br>pyeadline parse_and_bind error, unknown function to bind: "reverse-search-history"<br>pyeadline parse_and_bind error, unknown function to bind: "forward-search-history"
<br>pyeadline parse_and_bind error, unknown function to bind: "history-search-backward"<br>pyeadline parse_and_bind error, unknown function to bind: "history-search-forward"<br>pyeadline parse_and_bind error, unknown function to bind: "history-search-backward"
<br>pyeadline parse_and_bind error, unknown function to bind: "history-search-forward"<br>pyeadline parse_and_bind error, unknown function to bind: "kill-line"<br>pyeadline parse_and_bind error, unknown function to bind: "unix-line-discard"
<br>Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]<br>Type "copyright", "credits" or "license" for more information.<br><br>IPython 0.8.2.rc1 -- An enhanced Interactive Python.
<br>? -> Introduction and overview of IPython's features.<br>%quickref -> Quick reference.<br>help -> Python's own help system.<br>object? -> Details about 'object'. ?object also works, ?? prints more.
<br><br>In [1]:<br><br><br>I also tried the two lines in the interactive Python interpreter and got:<br><br>Microsoft Windows XP [Version 5.1.2600]<br>(C) Copyright 1985-2001 Microsoft Corp.<br><br>C:\Documents and Settings\Jesus Aguillon>python
<br>Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import
IPython.rlineimpl as readline<br>>>> readline.parse_and_bind('"\C-r": reverse-search-history')<br>pyeadline parse_and_bind error, unknown function to bind: "reverse-search-history"<br>
>>><br><br><br><br>