[Fwd: Re: [IPython-user] Installers for current CVS (basically a release candidate). Testers, please?]

Fernando Perez Fernando.Perez at colorado.edu
Wed Jun 9 12:37:12 CDT 2004


Hi Victor,

thanks for your report.  I got an auto-discard from mailman about you, so I
added your current address to the whitelist.

-------- Original Message --------
Subject: Re: [IPython-user] Installers for current CVS (basically a release
candidate). Testers, please?
Date: Wed, 09 Jun 2004 10:31:11 +0200
From: viktor.ransmayr at t-online.de (Viktor Ransmayr)
To: Fernando Perez <Fernando.Perez at colorado.edu>
CC: IPython-user List <ipython-user at scipy.net>,        IPython-dev List
<ipython-dev at scipy.net>
References: <40C657E8.1060906 at colorado.edu> <40C6A89F.7090906 at t-online.de>
<40C6C573.4050608 at t-online.de>

Viktor Ransmayr wrote:


>> o Installation failed w/ the following traceback:
>>
>> Traceback (most recent call last):
>>  File "D:\Python23\Scripts\ipython_win_post_install.py", line 126, in ?
>>    run()
>>  File "D:\Python23\Scripts\ipython_win_post_install.py", line 86, in run
>>    shutil.copytree('doc',doc_dir)
>>  File "D:\Python23\lib\shutil.py", line 100, in copytree
>>    names = os.listdir(src)
>> WindowsError: [Errno 3] Das System kann den angegebenen Pfad nicht 
>> finden: 'doc/*.*'
>> *** run_installscript: internal error 0xFFFFFFFF ***

[snip]

> I've been a little to fast before, since I didn't check any further ...
>
> It looks like IPython-0.6.1.cvs got properly installed.

Hi,

I promise this to be the last mail :-)

Here is  my internal configuration log for the de-installation attempt:

2004-06-09 10:09:08

o De-Install IPython-0.6.1.cvs
   - A similar traceback than above occured. However this time it couldn't be
     copied.
   - De-installation succeeded partially, i.e. it removed the
     directory D:\Python23\Lib\site-packages\IPython\ but did not remove
     directory C:\Programme\IPython.

******************* END VIKTOR'S MAIL **************

Well, it looks like it works for Windows somewhat better than before, since at
least there is some install/deinstall magic going on, albeit imperfect.
Unfortunately since I can't run any of this code, unless somebody sends me a
tested patch which fixes the remaining glitches under Windows, it won't
improve much.  The problematic code seems to be:

      # File and directory names
      ip_dir = program_files_dir + '\\IPython'
      ip_prog_dir = programs_dir + '\\IPython'
      doc_dir = ip_dir+'\\doc'
      ip_filename = ip_dir+'\\IPython_shell.py'
      pycon_icon = doc_dir+'\\pycon.ico'

      if not os.path.isdir(ip_dir):
          os.mkdir(ip_dir)

      # Copy startup script and documentation
      shutil.copy(sys.prefix+'\\Scripts\\ipython',ip_filename)
      if os.path.isdir(doc_dir):
          shutil.rmtree(doc_dir)
      shutil.copytree('doc',doc_dir)

But without knowing exactly why that doc_dir path doesn't exist it will be
hard to fix.  Since this code uses Win32 calls, I can't even test it anywhere,
sorry.

But many thanks for your reports.

Best,

f




More information about the IPython-user mailing list