Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Installer fails if zip file is already in the directory

Actually, this fails if any existing ICE file is in the directory. The installer should delete the old install if the --update option is passed.

Jay

On Wed, Nov 11, 2015 at 4:01 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:
The Python installer fails if the ICE zip file is already in the directory:

Traceback (most recent call last):
  File "/home/bkj/research/ICEWorkspace/ice/org.eclipse.ice.installer/Install_ICE.py", line 427, in <module>
    main()
  File "/home/bkj/research/ICEWorkspace/ice/org.eclipse.ice.installer/Install_ICE.py", line 421, in main
    pkg_dirs = unpack_packages(opts, pkg_files)
  File "/home/bkj/research/ICEWorkspace/ice/org.eclipse.ice.installer/Install_ICE.py", line 221, in unpack_packages
    dirs[pkg] = unzip_package(pkg, archive, opts.prefix)
  File "/home/bkj/research/ICEWorkspace/ice/org.eclipse.ice.installer/Install_ICE.py", line 173, in unzip_package
    mkdir_p(out_path)
  File "/home/bkj/research/ICEWorkspace/ice/org.eclipse.ice.installer/Install_ICE.py", line 78, in mkdir_p
    os.makedirs(path)
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/bkj/research/ICEInstall/ICE'

Jay

--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings



--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

Back to the top