update-cb3 fails when url is .exe
See original GitHub issueupdate-cb3
fails on otlm-feedstock with
Traceback (most recent call last):
File "/root/repo/cf-scripts/conda_forge_tick/auto_tick.xsh", line 170, in main
hash_type=attrs.get('hash_type', 'sha256'))
File "/root/repo/cf-scripts/conda_forge_tick/auto_tick.xsh", line 87, in run
migrate_return = migrator.migrate(recipe_dir, attrs, **kwargs)
File "/root/repo/cf-scripts/conda_forge_tick/migrators.xsh", line 366, in migrate
content, self.messages = update_cb3('meta.yaml', self.cfp)
File "/opt/conda/lib/python3.6/site-packages/conda_smithy/update_cb3.py", line 184, in update_cb3
need_f, need_c, need_cxx, need_numpy_pin = get_compilers(url)
File "/opt/conda/lib/python3.6/site-packages/conda_smithy/update_cb3.py", line 116, in get_compilers
with tarzip_open(os.path.join(tmp_dir, fname)) as tf:
File "/opt/conda/lib/python3.6/tarfile.py", line 1574, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
This is happening because the url is .exe, but it is trying to be read as a tarfile.
otlm-feedstock actually does have a tar.gz url, but I think update-cb3 just uses the last url in the meta.yaml, which is .exe here.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Modify the -url in setup.exe bootstrapping cause of file locked.
However, I am facing the issue that, when it run to the command of modify the URL, it locked the file setup_xxx.exe, then...
Read more >Download link for exe files results in "Not Found" error
I have an ASP.NET Core Razor Pages application and want to add a link which downloads an exe file when clicked. Therefore, I...
Read more >Find what URL an EXE file is sending data to - Super User
For a quick look at the URL, you can use netstat from the command line, or TCPView. alt text. C:\Documents and Settings\Administrator>netstat -b...
Read more >Oculus Link crashes after playing PC(.exe) build game
Solved: Oculus Link crashes after playing PC(.exe) build game. I develop a game of VR(Oculus Quest 2) in Unity. I build APK file...
Read more >Hi. All attempts to block an .exe download fails
Content type *.exe is set to drop and "windows exe/dll" is blocked in body content type. The website is https://www.copytrans.net/copytransheic/
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Done in https://github.com/conda-forge/otlm-feedstock/pull/8
@justcalamari if you find more just ping me directly I’ll fix them. That way we can reduce the noise and make progress quicker.
Agree with @ocefpaf, I never meant this code to be maintainable. It’s terrible code that I wrote a few months back in a Hackathon in the middle of the night.