#486 closed defect (fixed)

Infinite license download during quite installation of szip

Reported by: mloskot Owned by: jef
Priority: major Component: Package
Version: Keywords:
Cc:

Description

I try to install szip in the quite mode:

osgeo4w-setup-x86_64.exe -s http://download.osgeo.org/osgeo4w/ -q -a -r -l %CD%\__packages__  -P szip

and the step downloading license gets stuck in infinite download loop:

2016/02/24 10:55:38 Starting OSGeo4W install, version 2.579
2016/02/24 10:55:38 using locales .1252
2016/02/24 10:55:38 Current Directory: D:\tmp\__packages__
2016/02/24 10:55:38 Root Directory: C:\OSGeo4W64
2016/02/24 10:55:38 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2016/02/24 10:55:38 root: C:\OSGeo4W64
2016/02/24 10:55:38 Selected local directory: D:\tmp\__packages__
2016/02/24 10:55:38 Menu name: OSGeo4W
2016/02/24 10:55:38 net: Direct
Loaded cached mirror list
2016/02/24 10:55:38 site: http://download.osgeo.org/osgeo4w/
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/setup.ini.bz2
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/setup.ini.bz2
2016/02/24 10:55:38 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 No such file or directory
 The package <gdal-ecw-2.0.2-3> has a non-free license it was successfully added 
 The package <gdal-filegdb-2.0.2-3> has a non-free license it was successfully added 
 The package <gdal-mrsid-2.0.2-3> has a non-free license it was successfully added 
 The package <oci-12.1.0.1.0-1> has a non-free license it was successfully added 
 The package <oci-devel-12.1.0.1.0-1> has a non-free license it was successfully added 
 The package <szip-2.1-1> has a non-free license it was successfully added 
2016/02/24 10:55:38 Added manual package szip
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:39 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:39 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:40 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:40 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:41 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:41 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:41 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:42 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:42 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
Using remote path: http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
saving file locally in file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt
1: restricted package szip-2.1-1 [9dae8922da18cc6bf19260f90bee3aba, not yet accepted]
1 packages selected, 1 restricted selected, 0 accepted.
2016/02/24 10:55:43 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
get_url_to_membuf http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
getUrlToStream http://download.osgeo.org/osgeo4w/x86_64/release/szip/szip-2.1-1.txt
2016/02/24 10:55:43 Ending OSGeo4W install

But, the license file is downloaded successfully and the setup.log confirms that:

2016/02/24 10:55:39 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:39 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:40 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:40 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:41 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:41 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:41 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:42 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:42 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.
2016/02/24 10:55:43 License file://C:\OSGeo4W64/etc/licenses/szip-2.1-1.txt successfully loaded.

Change History (3)

comment:1 Changed 12 months ago by jef

Owner: changed from osgeo4w-dev@… to jef

comment:2 Changed 12 months ago by jef

Status: newassigned

comment:3 Changed 12 months ago by jef

Resolution: fixed
Status: assignedclosed

(In [1294]) * Resolve prerequisited in unattended mode (fixes #485)

  • Add -k/-autoaccept to automatically accept licenses in unattended mode and fix infinite loop in unattended mode (fixes #117, fixes #151, fixes #486)
  • Change short option for advanced mode from from a to A (fixes #351)
  • Change short option for disable-buggy-antivirus from A to b
  • Refactor out express_mode (fixes #262)
Note: See TracTickets for help on using tickets.