(oops, was trying to reply-all but only replied to sender)<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Michael Graz</b> <<a href="mailto:mg.graz@googlemail.com">
mg.graz@googlemail.com</a>><br>Date: Nov 28, 2007 8:41 AM<br>Subject: Re: [IPython-user] pyreadline errors with 0.8.2.rc1<br>To: Jesus Aguillon <<a href="mailto:jesus@aguillon.com">jesus@aguillon.com</a>><br><br>
<br>I get these messages in "vi mode"<br><br> print pyreadline.rl.mode<br> <ViMode><br><br>The mode is being set in $HOME\pyreadlineconfig.ini<br><br> set_mode("vi")<br><br>However the message are not fatal, just noisy. Would be nice to have the messages suppressed. Everything appears to be working fine.
<br><br>The pyreadline "vi mode" users must be in the minority here!<br>-Mike<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Nov 27, 2007 9:55 PM, Jesus Aguillon <<a href="mailto:jesus@aguillon.com" target="_blank">
jesus@aguillon.com</a>
> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">
<div><div></div><div>On Nov 27, 2007 1:25 PM, Jörgen Stenarson <
<a href="mailto:jorgen.stenarson@bostream.nu" target="_blank">jorgen.stenarson@bostream.nu</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
Jesus Aguillon skrev:<br><div>> 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></div></div>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:<div><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></div><div>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></div>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>
<br></div></div><div class="Ih2E3d">_______________________________________________<br>IPython-user mailing list<br><a href="mailto:IPython-user@scipy.org" target="_blank">IPython-user@scipy.org</a><br><a href="http://lists.ipython.scipy.org/mailman/listinfo/ipython-user" target="_blank">
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user</a><br><br></div></blockquote></div><br>
</div><br>