question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update-cb3 fails when url is .exe

See original GitHub issue

update-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:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ocefpafcommented, Aug 3, 2018

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.

1reaction
isurufcommented, Aug 3, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found