# Github actions CI fails saying my package is not installed, but only on Windows and Mac

**URL:** <https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457>\
**Category:** General Usage\
**Tags:** ci\
**Created:** [October 15, 2020, 7:57pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457 "2020-10-15T19:57:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [October 15, 2020, 7:57pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/1 "2020-10-15T19:57:06Z")

</div>

My package is not registered yet (it is a new package, which I registered for the first time yesterday). The CI action runs without errors for Ubuntu, but on Windows and Mac I am getting these errors:

On Mac:

```julia
 ERROR: LoadError: ArgumentError: Package SPGBox [bf97046b-3e66-4aa0-9aed-26efb7fac769] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

```

Is this related to the package not being registered yet? The CI run in Ubuntu goes fine, without errors. Package `SPGBox` mentioned is the package in question.

On Windows:

```julia
  "C:\Program Files\Git\bin\git.exe" checkout --progress --force -B master refs/remotes/origin/master
  Error: error: invalid path 'src/Aux.jl'
  Error: The process 'C:\Program Files\Git\bin\git.exe' failed with exit code 128

```

The “`Aux.jl`” file is one file of the package, as any other, in the default `src` directory. I do not understand why it is complaining that it is not there.

This is the package page, if that helps: [https://github.com/m3g/SPGBox](https://github.com/m3g/SPGBox)

---

<div class="post-metadata">

**Author:** ![timquelch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timquelch/32/18278_2.png) [@timquelch](https://discourse.julialang.org/u/timquelch)\
**Post date:** [October 15, 2020, 11:27pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/2 "2020-10-15T23:27:12Z")

</div>

> [@lmiq](#):
>
> ```julia
> "C:\Program Files\Git\bin\git.exe" checkout --progress --force -B master refs/remotes/origin/master
> Error: error: invalid path 'src/Aux.jl'
> Error: The process 'C:\Program Files\Git\bin\git.exe' failed with exit code 128
> 
> ```

Could it be something to do with path separators? Here it is referring to `src/Aux.jl` with forward slashes, but windows (ant he other paths in that message) use backslashes.

I haven’t had a look at the code, but maybe make sure you are using `joinpath` whenever you are constructing paths.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [October 15, 2020, 11:43pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/3 "2020-10-15T23:43:31Z")

</div>

The main module file is this:

```julia

module SPGBox
  include("./SPGBoxResult.jl")
  include("./Aux.jl")
  include("./pr_gradnorm.jl")
  include("./spgbox.jl")
  export spgbox!
end

```

It may be the “./”? But I have always used this for all packages, and never had problems.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [October 15, 2020, 11:45pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/4 "2020-10-15T23:45:40Z")

</div>

I just removed the “./” from the paths, but the error remains the same.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [October 16, 2020, 6:11am UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/5 "2020-10-16T06:11:34Z")

</div>

You have one file called `SPGBox.jl` and one called `spgbox.jl`. Some filesystems can’t handle this and will overwrite one of the files.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [October 16, 2020, 12:08pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/6 "2020-10-16T12:08:41Z")

</div>

That solved the problem on the Mac run.

On the Windows run the problem was solved by changing the name of `Aux.jl` to something else, like `Vaux.jl`.

Any idea why is that?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [October 16, 2020, 12:20pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/7 "2020-10-16T12:20:22Z")

</div>

> **[Filename | In Windows](https://en.wikipedia.org/wiki/Filename#In_Windows)**
>
> File system utilities and naming conventions on various systems prohibit particular characters from appearing in filenames or make them problematic:

> In addition, in Windows and DOS utilities, some words are also reserved and cannot be used as filenames.[[16]](https://en.wikipedia.org/wiki/Filename#cite_note-win-16) For example, [DOS](https://en.wikipedia.org/wiki/DOS) [device files](https://en.wikipedia.org/wiki/Device_file):[[18]](https://en.wikipedia.org/wiki/Filename#cite_note-18)
> 
> CON, PRN, AUX, CLOCK$, NUL

Probably something to do with that.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [October 16, 2020, 12:35pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/8 "2020-10-16T12:35:12Z")

</div>

Yes, that was it. Thanks.

---

<div class="post-metadata">

**Author:** ![timquelch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/timquelch/32/18278_2.png) [@timquelch](https://discourse.julialang.org/u/timquelch)\
**Post date:** [October 16, 2020, 1:32pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/9 "2020-10-16T13:32:43Z")

</div>

interesting. That is pretty unlucky you ran into two completely separate filename/filesystem issues

---

<div class="post-metadata">

**Author:** ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Post date:** [October 16, 2020, 3:40pm UTC](https://discourse.julialang.org/t/github-actions-ci-fails-saying-my-package-is-not-installed-but-only-on-windows-and-mac/48457/10 "2020-10-16T15:40:05Z")

</div>

This would be a good candidate to add to a linter.
