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

[Errno 22] Invalid argument on Windows 10 #2

Closed
camlloyd opened this issue Jun 15, 2020 · 7 comments
Closed

[Errno 22] Invalid argument on Windows 10 #2

camlloyd opened this issue Jun 15, 2020 · 7 comments

Comments

@camlloyd
Copy link

conda create -n bftools -c ome bftools

Running this as described in #1 works as expected using a clean install of Miniconda3 on macOS/spun-up Ubuntu 20.04 VM, but produces the error below on Windows 10.

Expand

(base) C:>conda create -n bftools -c ome bftools
Collecting package metadata (current_repodata.json): done
Solving environment: done

Package Plan

environment location: C:\ProgramData\Miniconda3\envs\bftools

added / updated specs:
- bftools

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
bftools-6.3.1              |                1        33.7 MB  ome
openjdk-11.0.6             |       he774522_1       295.7 MB
------------------------------------------------------------
                                       Total:       329.3 MB

The following NEW packages will be INSTALLED:

bftools ome/noarch::bftools-6.3.1-1
openjdk pkgs/main/win-64::openjdk-11.0.6-he774522_1

Proceed ([y]/n)? y

Downloading and Extracting Packages
bftools-6.3.1 | 33.7 MB | ############################################################################ | 100%
openjdk-11.0.6 | 295.7 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'ome::bftools-6.3.1-1'.
Rolling back transaction: done

[Errno 22] Invalid argument: 'C:\ProgramData\Miniconda3\pkgs\bftools-6.3.1-1\bin\bf.sh'
()

(base) C:>

@joshmoore
Copy link
Member

Thanks, @camlloyd. I've pushed a bld.bat file if you would like to test:

conda install conda-build
conda build .

Just working on the deployment to anaconda.org now.

@camlloyd
Copy link
Author

camlloyd commented Jun 18, 2020

This issue also affects the recipes for:

right?

@joshmoore
Copy link
Member

Definitely. Still working on getting the Azure builds to upload the artifacts, and then I'll roll out to the rest.

see: https://dev.azure.com/openmicroscopy/conda-bftools/_build?definitionId=2

@joshmoore
Copy link
Member

@camlloyd : https://anaconda.org/ome/bftools/files build 6.5.0-3 appears to be ready for Windows. Let us know how it goes for you.

@camlloyd
Copy link
Author

camlloyd commented Jun 18, 2020

Looks good to me - thanks!

EDIT: added output below

Expand

(base) C:>conda create -n bftools -c ome bftools
Collecting package metadata (current_repodata.json): done
Solving environment: done

Package Plan

environment location: C:\Users\cameron\miniconda3\envs\bftools

added / updated specs:
- bftools

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
bftools-6.5.0              |                3        34.8 MB  ome
openjdk-11.0.6             |       he774522_1       295.7 MB
------------------------------------------------------------
                                       Total:       330.5 MB

The following NEW packages will be INSTALLED:

bftools ome/win-64::bftools-6.5.0-3
openjdk pkgs/main/win-64::openjdk-11.0.6-he774522_1

Proceed ([y]/n)? y

Downloading and Extracting Packages
bftools-6.5.0 | 34.8 MB | ############################################################################ | 100%
openjdk-11.0.6 | 295.7 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate bftools

To deactivate an active environment, use

$ conda deactivate

(base) C:>

@joshmoore
Copy link
Member

Great, thanks for letting us know. Just getting blosc installed in Azure on the other repositories then they should be available as well.

@joshmoore
Copy link
Member

I think that's all three pages now. Let us know if you have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants