[IPython-user] [IPython-dev] Win32 - call for pyreadline testing

Aldarion erendisaldarion@gmail....
Wed Apr 11 10:25:26 CDT 2007


Hello, I Install ipython 0.8.0 and pyreadline1.4 (win2003 python2.5)
However, there is still the error:
Maybe something is abnormal.
"""
In [2]: run foo.py
just test
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'>        Traceback (most recent call last)

C:\Documents and Settings\Administrator\Desktop\note\<ipython console> 
in <modul
e>()

C:\Python25\Lib\site-packages\IPython\iplib.py in ipmagic(self, arg_s)
    955         else:
    956             magic_args = self.var_expand(magic_args,1)
--> 957             return fn(magic_args)
    958
    959     def ipalias(self,arg_s):

C:\Python25\Lib\site-packages\IPython\Magic.py in magic_run(self, 
parameter_s, r
unner)
   1674             if restore_main:
   1675                 sys.modules['__main__'] = restore_main
-> 1676             self.shell.reloadhist()
   1677
   1678         return stats

C:\Python25\Lib\site-packages\IPython\iplib.py in reloadhist(self)
   1255
   1256         if self.has_readline:
-> 1257             self.readline.clear_history()
   1258             self.readline.read_history_file(self.shell.histfile)
   1259

<type 'exceptions.AttributeError'>: 'module' object has no attribute 
'clear_hist
ory'

"""

Fernando Perez wrote:
> Hi all,
>
> This was a bit too embarrassing to let it go.
>
> http://ipython.scipy.org/dist/
>
> now contains an upload of pyreadline 1.4 for windows.
>
> I can NOT test whether this works at all, I just did a quick fix of
> the setup.py on my linux box and uploaded the binary installer after
> checking that the .tar.gz looks reasonable.
>
> If anyone can test and confirm that things work now, I can remove the
> warnings from the site.
>
> I also uploaded the fixes to SVN...
>
> thanks, and sorry again.
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>
>   



More information about the IPython-user mailing list