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

Cannot open C:\foo\_conda-script.py, unable to make menus #457

Closed
3tilley opened this issue Sep 10, 2021 · 2 comments
Closed

Cannot open C:\foo\_conda-script.py, unable to make menus #457

3tilley opened this issue Sep 10, 2021 · 2 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity

Comments

@3tilley
Copy link

3tilley commented Sep 10, 2021

Hello all,

I've made my installer, it used to work, now after updating it with a new version of our internal software I'm getting the error about being unable to create menu items. The fundamental issue appears to be _conda-script.py which I think I've seen on errors before, it's exactly the error in this issue. Is it to do with noarch packages not being supported?

Is there any way of executing a constructed installer with extra debug? This was tested on Win 7 with and without admin rights.

Install logs
Output folder: C:\foo\Lib
Extract: _nsis.py
Extract: _system_path.py
Output folder: C:\foo\conda-meta
Extract: history
Output folder: C:\foo
Extract: _conda.exe
Output folder: C:\foo
Output folder: C:\foo\pkgs
Extract: env.txt
Extract: urls
Extract: urls.txt
Extract: post_install.bat
Extract: pre_uninstall.bat
Output folder: C:\foo\pkgs\cache
Extract: 09516aab.json
Extract: 20b27d08.json
Extract: 57bc0bee.json
Extract: d8dab17e.json
Extract: e16e3c35.json
Extract: e7bfad32.json
Extract: ec4d6668.json
Extract: fdedfb2c.json
Output folder: C:\foo\pkgs
Output folder: C:\foo\pkgs\arrow-1.1.1-pyhd8ed1ab_0\info
Extract: repodata_record.json
Output folder: C:\foo\pkgs\attrs-21.2.0-pyhd8ed1ab_0\info
Extract: repodata_record.json
Output folder: C:\foo\pkgs\backports-1.0-py_2\info
Extract: repodata_record.json
Output folder: C:\foo\pkgs\backports.functools_lru_cache-1.6.4-pyhd8ed1ab_0\info
Extract: repodata_record.json
Output folder: C:\foo\pkgs\beautifulsoup4-4.9.3-pyhb0f4dca_0\info
Extract: repodata_record.json
Output folder: C:\foo\pkgs\binaryornot-0.4.4-py_1\info
Extract: ...
...
Output folder: C:\foo\pkgs
Extract: python-3.6.13-h39d44d4_0_cpython.tar.bz2
Extract: ca-certificates-2021.5.30-h5b45459_0.tar.bz2
Extract: msys2-conda-epoch-20160418-1.tar.bz2
Extract: ucrt-10.0.20348.0-h57928b3_0.tar.bz2
Extract: m2-msys2-runtime-2.5.0.17080.65c939c-3.tar.bz2
Extract: m2w64-gmp-6.1.0-2.tar.bz2
Extract: m2w64-libwinpthread-git-5.0.0.4634.697f757-2.tar.bz2
Extract: vs2015_runtime-14.29.30037-h902a5da_5.tar.bz2
Extract: ....
....
Cannot open C:\foo\_conda-script.py
Cannot open C:\foo\_conda-script.py
Output folder: C:\foo
Delete file: C:\foo\pkgs\env.txt
Output folder: C:\foo\conda-meta
Extract: history
Creating Smash menus...
Cannot open C:\foo\_conda-script.py
Running post install...
Created uninstaller: C:\foo\Uninstall-Smash.exe
Completed

@jaimergp
Copy link
Contributor

This looks like a problem with the bundled conda-standalone executable. Maybe you can get a more recent one from here, extract its contents and point to the standalone_conda/conda.exe file it contains.

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Aug 16, 2023
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Sep 15, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2023
@github-project-automation github-project-automation bot moved this to 🏁 Done in 🧭 Planning Sep 15, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity
Projects
Archived in project
Development

No branches or pull requests

2 participants