JuliaLang / juliaup

Julia installer and version multiplexer
MIT License
931 stars 81 forks source link

Windows version unable to migrate to secondary drive #944

Open GMcArdle opened 3 weeks ago

GMcArdle commented 3 weeks ago

Hi, I have a Windows 10 PC with small primary SSD and larger secondary HDD. I configured Windows to install new software on the secondary drive before installing Julia from the Store. It appears that the configuration choice wasn't followed, because when I looked in apps settings it showed it was still installed on the C: drive. I chose the option to Move the app to the D: drive and it did, but (perhaps unsurprisingly) broke the internal linkage so that juliaup failed with path errors. It would be nice if I could install Julia on D: as my system SSD is quite close to full

I can understand that this is probably not supported yet by design, so whether this issue is marked as a bug or a feature request is up to the developers.

davidanthoff commented 3 weeks ago

What error do you get when you write "It broke the internal linkage"?

GMcArdle commented 3 weeks ago

Sorry I quickly got a failed result and assumed it was completely broken but after logging back in and trying again I can see it's a bit more subtle. By default it seems that installing Julia from the MS store gets you version 1.9.4 and the default channel is set to 1.9. Even after migrating to D: the juliaup command itself is OK for reporting status and help info. I can also run julia and the default 1.9.4 starts up. However, when I try to run

juliaup add release

I get

Error: Io error. Look inside err_kind for more details.

Sorry I don't know how to look inside err_kind