[IPython-user] cd doesn't work on Windows

Elias Bröms elias@eliasit...
Mon Dec 1 21:48:05 CST 2008


OK, done!

2008/12/1 Brian Granger <ellisonbg.net@gmail.com>:
> Can you file a bug report on our launchpad site:
>
> https://bugs.launchpad.net/ipython
>
> Thanks,
>
> Brian
>
> On Tue, Nov 25, 2008 at 10:25 PM, Elias Bröms <elias@eliasit.se> wrote:
>> Now I've uninstalled ipython, python and panda3d.
>> Then I reinstalled python and ipython in their default locations.
>> I still have this problem!
>>
>> Elias
>>
>>
>> 2008/11/17 Elias Bröms <elias@eliasit.se>:
>>> 2008/11/16 Ville M. Vainio <vivainio@gmail.com>:
>>>
>>>> What do you get from "%which ls"? If that does not work immediately,
>>>> do "import ipy_which" and repeat.
>>>>
>>>> Likewise, try running some long running system command ("!copy con
>>>> test") and interrupt it with ctrl+c, paste the traceback here.
>>>>
>>>
>>> In [7]: %which ls
>>> ls -> dir /on
>>>
>>> In [8]: !copy con test
>>> I/O-åtgärden har avbrutits därför att en tråd har avslutats eller för
>>> att ett program har begärt det.
>>>        0 fil(er) kopierad(e).
>>> ERROR: An unexpected error occurred while tokenizing input
>>> The following traceback may be corrupted or invalid
>>> The error message is: ('EOF in multi-line statement', (479, 0))
>>>
>>> ---------------------------------------------------------------------------
>>> KeyboardInterrupt                         Traceback (most recent call last)
>>>
>>> C:\Program\Panda3D-1.5.3\python\Scripts\<ipython console> in <module>()
>>>
>>> C:\Program\Panda3D-1.5.3\python\lib\site-packages\IPython\iplib.pyc in
>>> <lambda>(cmd)
>>>    489         # and it allows interpolation of variables in the
>>> user's namespace.
>>>    490         self.system = lambda cmd: \
>>> --> 491
>>> self.hooks.shell_hook(self.var_expand(cmd,depth=2))
>>>    492
>>>    493         # These are for getoutput and getoutputerror:
>>>
>>> C:\Program\Panda3D-1.5.3\python\lib\site-packages\IPython\hooks.pyc in
>>> __call__(self, *args, **kw)
>>>    139             #print "prio",prio,"cmd",cmd #dbg
>>>    140             try:
>>> --> 141                 ret = cmd(*args, **kw)
>>>    142                 return ret
>>>    143             except ipapi.TryNext, exc:
>>>
>>> C:\Program\Panda3D-1.5.3\python\lib\site-packages\IPython\hooks.pyc in
>>> shell_hook(self, cmd)
>>>    227     """ Run system/shell command a'la os.system() """
>>>    228
>>> --> 229     shell(cmd, header=self.rc.system_header,
>>> verbose=self.rc.system_verbose)
>>>    230
>>>    231 def show_in_pager(self,s):
>>>
>>> C:\Program\Panda3D-1.5.3\python\lib\site-packages\IPython\genutils.pyc
>>> in shell(cmd, verbose, debug, header)
>>>    392                 os.chdir(path)
>>>    393         else:
>>> --> 394             shell_ori(cmd,verbose,debug,header)
>>>    395
>>>    396     shell.__doc__ = shell_ori.__doc__
>>>
>>> C:\Program\Panda3D-1.5.3\python\lib\site-packages\IPython\genutils.pyc
>>> in shell(cmd, verbose, debug, header)
>>>    372     if not debug:
>>>    373         platutils.set_term_title("IPy " + cmd)
>>> --> 374         os.system(cmd)
>>>    375         platutils.set_term_title("IPy " + abbrev_cwd())
>>>    376
>>>
>>> KeyboardInterrupt:
>>>
>> _______________________________________________
>> IPython-user mailing list
>> IPython-user@scipy.org
>> http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
>>
>


More information about the IPython-user mailing list