Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installer built with constructor 3.0.1 fails at unpacking stage #318

Closed
jpgill86 opened this issue Dec 6, 2019 · 17 comments
Closed
Labels
locked [bot] locked due to inactivity

Comments

@jpgill86
Copy link

jpgill86 commented Dec 6, 2019

With constructor 3.0.0, my recipe builds a working Windows (win-64) installer. Packages are unpacked properly, menus items are created using menuinst and console_shortcut, and my app works.

With constructor 3.0.1, the recipe still builds, but the Windows installer is broken. At the package unpacking stage, errors are encounted which are visible in the traceback if you click "Show details" (see below). The unpacking stage, which is normally very slow for my large PyQt-based app, goes by instantly. Next, an error dialog pops up when the installer attempts to create the menu items ("Failed to create menus", with options to "Abort", "Retry", and "Ignore"). Presumably the error about menu items is just a symptom of the failure to unpack everything earlier. If I click "Ignore", the process completes and claims to have done so successfully. Finally, if I inspect the installation directory, I can see that almost everything is missing except for the package tarballs.

Here's the traceback:

Traceback

Output folder: C:\Users\Jeffrey\neurotic\Lib
Extract: _nsis.py
Extract: _system_path.py
Output folder: C:\Users\Jeffrey\neurotic\conda-meta
Extract: history
Output folder: C:\Users\Jeffrey\neurotic
Extract: _conda.exe
Output folder: C:\Users\Jeffrey\neurotic
Output folder: C:\Users\Jeffrey\neurotic\pkgs
Extract: env.txt
Extract: urls
Extract: urls.txt
Extract: post_install.bat
Output folder: C:\Users\Jeffrey\neurotic\pkgs\cache
Extract: 09cdf8bf.json
Extract: 3e39a7aa.json
Extract: 59ba4880.json
Extract: 5afe41e9.json
Extract: 5ca77eed.json
Extract: c4a505b4.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs
Output folder: C:\Users\Jeffrey\neurotic\pkgs\av-6.2.0-py38heb183d3_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\ca-certificates-2019.11.28-hecc5488_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\certifi-2019.11.28-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\cffi-1.13.2-py38hb32ad35_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\chardet-3.0.4-py38_1003\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\conda-4.7.12-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\conda-package-handling-1.6.0-py38h2fa13f4_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\console_shortcut-0.1.1-3\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\cryptography-2.8-py38hb32ad35_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\cycler-0.10.0-py_2\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\ephyviewer-1.2.0-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\ffmpeg-4.1.3-h6538335_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\freetype-2.10.0-h563cfd7_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\icc_rt-2019.0.0-h0cc432a_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\icu-64.2-he025d50_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\idna-2.8-py38_1000\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\intel-openmp-2019.4-245\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\jpeg-9c-hfa6e2cd_1001\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\kiwisolver-1.1.0-py38he980bc4_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\libblas-3.8.0-14_mkl\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\libcblas-3.8.0-14_mkl\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\libclang-9.0.0-default_hf44288c_4\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\liblapack-3.8.0-14_mkl\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\libpng-1.6.37-h7602738_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\libtiff-4.1.0-h21b02b4_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\lz4-c-1.8.3-he025d50_1001\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\matplotlib-3.1.2-py38_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\matplotlib-base-3.1.2-py38h2981e6d_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\menuinst-1.4.16-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\mkl-2019.4-245\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\neurotic-1.2.0-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\numpy-1.17.3-py38hc71023c_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\olefile-0.46-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\openssl-1.1.1d-hfa6e2cd_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\packaging-19.2-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pandas-0.25.3-py38he350917_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pillow-6.2.1-py38h5fcff3f_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pip-19.3.1-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pycosat-0.6.3-py38hfa6e2cd_1002\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pycparser-2.19-py38_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pyopenssl-19.1.0-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pyparsing-2.4.5-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pyqt-5.12.3-py38h6538335_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pyqtgraph-0.10.0-py_7\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pysocks-1.7.1-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\python-3.8.0-hc9e8b01_5\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\python-dateutil-2.8.1-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\python-neo-0.8.0-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pytz-2019.3-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pywin32-225-py38hfa6e2cd_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\pyyaml-5.2-py38hfa6e2cd_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\qt-5.12.5-h7ef1ec2_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\quantities-0.12.3-pyh24bf2e0_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\requests-2.22.0-py38_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\ruamel_yaml-0.15.80-py38hfa6e2cd_1000\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\scipy-1.3.2-py38h582fac2_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\setuptools-42.0.2-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\six-1.13.0-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\sqlite-3.30.1-hfa6e2cd_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\tk-8.6.10-hfa6e2cd_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\tornado-6.0.3-py38hfa6e2cd_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\tqdm-4.40.0-py_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\urllib3-1.25.7-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\vc-14.1-h0510ff6_4\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\vs2015_runtime-14.16.27012-hf0eaf9b_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\wheel-0.33.6-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\win_inet_pton-1.1.0-py38_0\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\wincertstore-0.2-py38_1003\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\xz-5.2.4-h2fa13f4_1001\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\yaml-0.2.2-hfa6e2cd_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\zlib-1.2.11-h2fa13f4_1006\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs\zstd-1.4.4-hd8a0e53_1\info
Extract: repodata_record.json
Output folder: C:\Users\Jeffrey\neurotic\pkgs
Extract: python-3.8.0-hc9e8b01_5.tar.bz2
Extract: ca-certificates-2019.11.28-hecc5488_0.tar.bz2
Extract: icc_rt-2019.0.0-h0cc432a_1.conda
Extract: intel-openmp-2019.4-245.conda
Extract: vs2015_runtime-14.16.27012-hf0eaf9b_0.conda
Extract: mkl-2019.4-245.conda
Extract: vc-14.1-h0510ff6_4.conda
Extract: ffmpeg-4.1.3-h6538335_0.tar.bz2
Extract: icu-64.2-he025d50_1.tar.bz2
Extract: jpeg-9c-hfa6e2cd_1001.tar.bz2
Extract: libblas-3.8.0-14_mkl.tar.bz2
Extract: libclang-9.0.0-default_hf44288c_4.tar.bz2
Extract: lz4-c-1.8.3-he025d50_1001.tar.bz2
Extract: openssl-1.1.1d-hfa6e2cd_0.tar.bz2
Extract: sqlite-3.30.1-hfa6e2cd_0.tar.bz2
Extract: tk-8.6.10-hfa6e2cd_0.tar.bz2
Extract: xz-5.2.4-h2fa13f4_1001.tar.bz2
Extract: yaml-0.2.2-hfa6e2cd_1.tar.bz2
Extract: zlib-1.2.11-h2fa13f4_1006.tar.bz2
Extract: libcblas-3.8.0-14_mkl.tar.bz2
Extract: liblapack-3.8.0-14_mkl.tar.bz2
Extract: libpng-1.6.37-h7602738_0.tar.bz2
Extract: zstd-1.4.4-hd8a0e53_1.tar.bz2
Extract: freetype-2.10.0-h563cfd7_1.tar.bz2
Extract: libtiff-4.1.0-h21b02b4_1.tar.bz2
Extract: pywin32-225-py38hfa6e2cd_0.tar.bz2
Extract: qt-5.12.5-h7ef1ec2_0.tar.bz2
Extract: menuinst-1.4.16-py38_0.tar.bz2
Extract: certifi-2019.11.28-py38_0.tar.bz2
Extract: chardet-3.0.4-py38_1003.tar.bz2
Extract: console_shortcut-0.1.1-3.conda
Extract: idna-2.8-py38_1000.tar.bz2
Extract: kiwisolver-1.1.0-py38he980bc4_0.tar.bz2
Extract: numpy-1.17.3-py38hc71023c_0.tar.bz2
Extract: pycosat-0.6.3-py38hfa6e2cd_1002.tar.bz2
Extract: pycparser-2.19-py38_1.tar.bz2
Extract: pyqt-5.12.3-py38h6538335_1.tar.bz2
Extract: pyyaml-5.2-py38hfa6e2cd_0.tar.bz2
Extract: ruamel_yaml-0.15.80-py38hfa6e2cd_1000.tar.bz2
Extract: six-1.13.0-py38_0.tar.bz2
Extract: tornado-6.0.3-py38hfa6e2cd_0.tar.bz2
Extract: win_inet_pton-1.1.0-py38_0.tar.bz2
Extract: wincertstore-0.2-py38_1003.tar.bz2
Extract: cffi-1.13.2-py38hb32ad35_0.tar.bz2
Extract: pysocks-1.7.1-py38_0.tar.bz2
Extract: scipy-1.3.2-py38h582fac2_0.tar.bz2
Extract: setuptools-42.0.2-py38_0.tar.bz2
Extract: cryptography-2.8-py38hb32ad35_1.tar.bz2
Extract: wheel-0.33.6-py38_0.tar.bz2
Extract: pip-19.3.1-py38_0.tar.bz2
Extract: pyopenssl-19.1.0-py38_0.tar.bz2
Extract: urllib3-1.25.7-py38_0.tar.bz2
Extract: requests-2.22.0-py38_1.tar.bz2
Extract: av-6.2.0-py38heb183d3_1.tar.bz2
Extract: conda-4.7.12-py38_0.tar.bz2
Extract: cycler-0.10.0-py_2.tar.bz2
Extract: olefile-0.46-py_0.tar.bz2
Extract: pyparsing-2.4.5-py_0.tar.bz2
Extract: pyqtgraph-0.10.0-py_7.tar.bz2
Extract: python-dateutil-2.8.1-py_0.tar.bz2
Extract: pytz-2019.3-py_0.tar.bz2
Extract: quantities-0.12.3-pyh24bf2e0_0.tar.bz2
Extract: tqdm-4.40.0-py_0.tar.bz2
Extract: conda-package-handling-1.6.0-py38h2fa13f4_1.tar.bz2
Extract: matplotlib-base-3.1.2-py38h2981e6d_1.tar.bz2
Extract: packaging-19.2-py_0.tar.bz2
Extract: pandas-0.25.3-py38he350917_0.tar.bz2
Extract: pillow-6.2.1-py38h5fcff3f_1.tar.bz2
Extract: python-neo-0.8.0-py_0.tar.bz2
Extract: matplotlib-3.1.2-py38_1.tar.bz2
Extract: ephyviewer-1.2.0-py_0.tar.bz2
Extract: neurotic-1.2.0-py38_0.tar.bz2
[30760] Failed to execute script pyi_rth_certifi
Traceback (most recent call last):
  File "site-packages\PyInstaller\loader\rthooks\pyi_rth_certifi.py", line 11, in <module>
  File "D:\bld\conda-standalone_1574051287430\_h_env\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "ssl.py", line 98, in <module>
ImportError: DLL load failed: The specified module could not be found.
[28348] Failed to execute script pyi_rth_certifi
Traceback (most recent call last):
  File "site-packages\PyInstaller\loader\rthooks\pyi_rth_certifi.py", line 11, in <module>
  File "D:\bld\conda-standalone_1574051287430\_h_env\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "ssl.py", line 98, in <module>
ImportError: DLL load failed: The specified module could not be found.
Delete file: C:\Users\Jeffrey\neurotic\pkgs\env.txt
Output folder: C:\Users\Jeffrey\neurotic\conda-meta
Extract: history
Creating neurotic menus...
[20632] Failed to execute script pyi_rth_certifi
Traceback (most recent call last):
  File "site-packages\PyInstaller\loader\rthooks\pyi_rth_certifi.py", line 11, in <module>
  File "D:\bld\conda-standalone_1574051287430\_h_env\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
  File "ssl.py", line 98, in <module>
ImportError: DLL load failed: The specified module could not be found.
Execute: "C:\Users\Jeffrey\neurotic\pythonw.exe" -E -s "C:\Users\Jeffrey\neurotic\Lib\_nsis.py" mkdirs
Running post install...
Execute: "C:\Users\Jeffrey\neurotic\pythonw.exe" -E -s "C:\Users\Jeffrey\neurotic\Lib\_nsis.py" post_install
Created uninstaller: C:\Users\Jeffrey\neurotic\Uninstall-neurotic.exe
Completed

It's looking for a missing module at "D:\bld\conda-standalone_1574051287430\_h_env\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", but I don't even have a D drive. I'm not sure where this is coming from. Perhaps a path is hard-coded into something somewhere? I noticed that conda-standalone was added as a dependency for constructor in 3.0.1, and that it's name appears in the missing module path, so it's possibly implicated.

I also tried upgrading constructor to the latest dev version using pip install -U git+https://github.com/conda/constructor.git to see if this issue might have been fixed by recent unreleased changes. This caused the installer to change its default install path (from C:\Users\Jeffrey\neurotic to C:\Users\Jeffrey\AppData\Local\Continuum\neurotic), but otherwise the upgrade made no difference.

The environment in which I ran constructor was created today using conda create -n constructor constructor. Here are my environment details (prior to upgrading with pip):

conda info

     active environment : base
    active env location : C:\Users\Jeffrey\Miniconda3\envs\constructor
            shell level : 2
       user config file : C:\Users\Jeffrey\.condarc
 populated config files : C:\Users\Jeffrey\.condarc
          conda version : 4.7.12
    conda-build version : not installed
         python version : 3.7.3.final.0
       virtual packages :
       base environment : C:\Users\Jeffrey\Miniconda3\envs\constructor  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Jeffrey\Miniconda3\envs\constructor\pkgs
                          C:\Users\Jeffrey\.conda\pkgs
                          C:\Users\Jeffrey\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Jeffrey\Miniconda3\envs\constructor\envs
                          C:\Users\Jeffrey\.conda\envs
                          C:\Users\Jeffrey\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
          administrator : False
             netrc file : None
           offline mode : False

conda config --show-sources

==> C:\Users\Jeffrey\.condarc <==
ssl_verify: True
channels:
  - conda-forge
  - defaults

conda list --show-channel-urls

# packages in environment at C:\Users\Jeffrey\Miniconda3\envs\constructor:
#
# Name                    Version                   Build  Channel
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28               py37_0    conda-forge
cffi                      1.13.2           py37hb32ad35_0    conda-forge
chardet                   3.0.4                 py37_1003    conda-forge
conda                     4.7.12                   py37_0    conda-forge
conda-package-handling    1.6.0            py37h2fa13f4_1    conda-forge
conda-standalone          4.7.12                        1    conda-forge
constructor               3.0.1                    py37_0    conda-forge
cryptography              2.8              py37hb32ad35_1    conda-forge
freetype                  2.10.0               h563cfd7_1    conda-forge
idna                      2.8                   py37_1000    conda-forge
jpeg                      9c                hfa6e2cd_1001    conda-forge
libpng                    1.6.37               h7602738_0    conda-forge
libtiff                   4.1.0                h21b02b4_1    conda-forge
lz4-c                     1.8.3             he025d50_1001    conda-forge
menuinst                  1.4.16                   py37_0    conda-forge
nsis                      3.01                          1    conda-forge
olefile                   0.46                       py_0    conda-forge
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
pillow                    6.2.1            py37h5fcff3f_1    conda-forge
pip                       19.3.1                   py37_0    conda-forge
pycosat                   0.6.3           py37hfa6e2cd_1002    conda-forge
pycparser                 2.19                     py37_1    conda-forge
pyopenssl                 19.1.0                   py37_0    conda-forge
pysocks                   1.7.1                    py37_0    conda-forge
python                    3.7.3                h510b542_1    conda-forge
pywin32                   225              py37hfa6e2cd_0    conda-forge
requests                  2.22.0                   py37_1    conda-forge
ruamel_yaml               0.15.80         py37hfa6e2cd_1000    conda-forge
setuptools                42.0.2                   py37_0    conda-forge
six                       1.13.0                   py37_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
tk                        8.6.10               hfa6e2cd_0    conda-forge
tqdm                      4.40.0                     py_0    conda-forge
urllib3                   1.25.7                   py37_0    conda-forge
vc                        14.1                 h0510ff6_4    defaults
vs2015_runtime            14.16.27012          hf0eaf9b_0    defaults
wheel                     0.33.6                   py37_0    conda-forge
win_inet_pton             1.1.0                    py37_0    conda-forge
wincertstore              0.2                   py37_1003    conda-forge
xz                        5.2.4             h2fa13f4_1001    conda-forge
yaml                      0.2.2                hfa6e2cd_1    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge
zstd                      1.4.4                hd8a0e53_1    conda-forge

@y2kbugger
Copy link
Contributor

I got this even with constructor 3.0.0.

@jpgill86
Copy link
Author

I got this even with constructor 3.0.0.

@y2kbugger, were you trying my recipe, or a different one?

If you were using a different recipe and are willing to share it, I could try it on my system with constructor 3.0.0 to see if I have the same issue. If you were then willing to try my recipe on your system with constructor 3.0.0, we might be able to pinpoint the difference that allows one recipe to work and another to fail with 3.0.0.

I'm just trying to determine if the issue is with the version of constructor, the environment, some specific dependency, or the recipes themselves.

@y2kbugger
Copy link
Contributor

y2kbugger commented Dec 10, 2019 via email

@jpgill86
Copy link
Author

Interesting, because I don't have conda-standalone in my recipe's specs, yet it works with 3.0.0. 🤷🏼‍♂️

@y2kbugger
Copy link
Contributor

y2kbugger commented Dec 10, 2019 via email

@jpgill86
Copy link
Author

So you first said you were having the issue I described for 3.0.1, but that you were experiencing it in 3.0.0. Now you have your recipe working in 3.0.0. Does 3.0.1 work for you also, or are you in the same boat as me?

@y2kbugger
Copy link
Contributor

y2kbugger commented Dec 10, 2019 via email

@y2kbugger
Copy link
Contributor

Did you do a conda uninstall --force constructor && pip install ./Constructor if you don't remove the package with conda I think pip might not fully clean up the old version.

@y2kbugger
Copy link
Contributor

Using master I get the same "Failed to create menus issue"

@y2kbugger
Copy link
Contributor

So it seems like the Constructor 3.0.0 package is stomping on $PREFIX/standalone_conda/conda.exe

Maybe the version of conda.exe is different between the constructor pkg and the conda-standalone pkg

@y2kbugger
Copy link
Contributor

I can also confirm that 3.0.0 works with or without conda-standalone in construct.yaml spec, and that 3.0.1 always fails. I have not determined what caused 3.0.0 to fail in the same manner originally, as it has worked ever since I updated environment.

@jpgill86
Copy link
Author

Did you do a conda uninstall --force constructor && pip install ./Constructor if you don't remove the package with conda I think pip might not fully clean up the old version.

Yes, I did that, and the dev version still fails in the described way.

Using master I get the same "Failed to create menus issue"

Exactly!

So it seems like the Constructor 3.0.0 package is stomping on $PREFIX/standalone_conda/conda.exe

Maybe the version of conda.exe is different between the constructor pkg and the conda-standalone pkg

I'm not exactly sure what you meant here. Did you mean version 3.0.1? I was under the impression that the conda-standalone requirement was added to constructor in version 3.0.1.

I can also confirm that 3.0.0 works with or without conda-standalone in construct.yaml spec, and that 3.0.1 always fails. I have not determined what caused 3.0.0 to fail in the same manner originally, as it has worked ever since I updated environment.

Same boat!

@okz
Copy link

okz commented Dec 14, 2019

can confirm installers created with 3.0.1 always fails on a windows 10. Have tested the maxiconda example, the installer failed on 2 PC's. Initially I assumed this was due to path environment variables etc, similiar to the 'Failed to create Anaconda menus', but going back to 3.0.0 everything is ok.

@y2kbugger
Copy link
Contributor

y2kbugger commented Dec 14, 2019 via email

@msarahan
Copy link
Contributor

msarahan commented Feb 3, 2020

The conda-forge conda-standalone package appears to use a Python build that has an issue where it does not respect the CONDA_DLL_SEARCH_MODIFICATION_ENABLE environment variable. That variable is used by constructor to force activation and help ensure that random system-installed software does not interfere. More details at https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#numpy-mkl-library-load-failed

There is one further issue with the standalone executable regarding incompatibility of pyinstaller with the latest setuptools. The pyinstaller package needs to be rebuilt with a setuptools <45 constraint. See conda-forge/pyinstaller-feedstock#39

@msarahan
Copy link
Contributor

msarahan commented Feb 5, 2020

If you use the conda-standalone-4.8.2, build 2 package from defaults, this should be fixed. There's work to fix this at conda-forge, but that's outside the scope of this issue. Closing. Please reopen or comment if this is not fixed for you.

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically locked because it has not had recent activity after being closed.

Please open a new issue if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Mar 12, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

4 participants