CelestialCartographers / Ahorn

Visual Map Maker and Level Editor for the game Celeste
Other
195 stars 23 forks source link

installation mishap (related to julia pathing, probably) #36

Open enchantable opened 1 year ago

enchantable commented 1 year ago

hello! while this is likely extremely obvious to the developers, i personally am having a bit of a conundrum here! the error i run into when running ahorn.bat is as follows [i've already installed julia]:

ERROR: LoadError: InitError: IOError: could not spawn setenv('C:\Users\formi\.julia\artifacts\57bd9311faafa3d8e73dfb991c2cb420f2c65ab9\bin\gdk-pixbuf-query-loaders.exe',["PATH=C:\Users\formi\.julia\artifacts\a5b7c195243758d88c64cd8547e527fbace3877b\bin;C:\Users\formi\.julia\artifacts\e5872943f1078a6397a4f4d0f760db959ec50630\bin;C:\Users\formi\AppData\Local\Programs\Julia-1.6.0\bin;C:\Users\formi\.julia\artifacts\431cad9bf95e817b5fc813666e353ae36b2202c0\bin;C:\Users\formi\.julia\artifacts\f9f799e6ae3fe7f244bb55052db7ff1cea876c27\bin;C:\Users\formi\.julia\artifacts\4f67e82ee394e74ca63b7dc589dcc9218c12b20a\bin;C:\Users\formi\.julia\artifacts\4a2cc4b6aef321d12f704be234ed46372e67d1a2\bin;C:\Users\formi\.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin;C:\Users\formi\.julia\artifacts\2e9a29903fddf79371cd5f82327f70ada670a234\bin;C:\Users\formi\.julia\artifacts\3a34dec1472dcb90db22005558267071d9a8b913\bin;C:\Users\formi\.julia\artifacts\01b969d96551292e78f0acfa204f120b09f4e7b4\bin;C:\Users\formi\.julia\artifacts\57bd9311faafa3d8e73dfb991c2cb420f2c65ab9\bin;C:\Users\formi\AppData\Local\Programs\Julia-1.6.0\bin\..\lib\julia;C:\Users\formi\AppData\Local\Programs\Julia-1.6.0\bin\..\lib;C:\Users\formi\AppData\Local\Programs\Julia-1.6.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Git\cmd;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Users\formi\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\formi\AppData\Local\GitHubDesktop\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2020.3.1\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\formi\AppData\Local\Programs\Julia-1.6.0\bin;", "USERDOMAIN_ROAMINGPROFILE=DESKTOP-PCNFBJD", "HOMEPATH=\Users\formi", "NVCUDASAMPLES11_2_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.2", "GDK_PIXBUF_MODULEDIR=C:\Users\formi\.julia\artifacts\57bd9311faafa3d8e73dfb991c2cb420f2c65ab9\lib\gdk-pixbuf-2.0\2.10.0\loaders", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "SESSIONNAME=Console", "SYSTEMROOT=C:\WINDOWS", "APPDATA=C:\Users\formi\AppData\Roaming", "PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules", "COMMONPROGRAMW6432=C:\Program Files\Common Files", "DISPLAYHELP=0", "GTK_THEME=win32", "PROGRAMDATA=C:\ProgramData", "PUBLIC=C:\Users\Public", "OS=Windows_NT", "USERDOMAIN=DESKTOP-PCNFBJD", "PROCESSOR_REVISION=7100", "TMP=C:\Users\formi\AppData\Local\Temp", "DARKMODE=0", "COMSPEC=C:\WINDOWS\system32\cmd.exe", "NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\", "ALLUSERSPROFILE=C:\ProgramData", "GALLDL=C:\Users\formi\AppData\Local\Programs\Python\Python39\Scripts", "COMPUTERNAME=DESKTOP-PCNFBJD", "USERNAME=formi", "INSTALL_FILENAME=install_ahorn.jl", "XDG_DATA_DIRS=C:\Users\formi\.julia\artifacts\65eca7c48dea1e32203b205613441ce9506045b4\share;C:\Users\formi\.julia\artifacts\eb6ac7b2d830e5142ad5e345e54fb33dc7aafd6c\share;C:\Users\formi\.julia\artifacts\da6c2aa0d20a483437256f245d3c35b25e667c62\bin\..\share", "GTK_CSD=0", "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2", "USERPROFILE=C:\Users\formi", "GTK_AUTO_IDLE=false", "DEVELOPERMODE=0", "PROCESSOR_LEVEL=23", "INSTALL_URL=https://raw.githubusercontent.com/CelestialCartographers/Ahorn/master/install_ahorn.jl", "VBOX_HWVIRTEX_IGNORE_SVM_IN_USE=1", "PROGRAMW6432=C:\Program Files", "ONLYUPDATE=0", "HOMEDRIVE=C:", "TEMP=C:\Users\formi\AppData\Local\Temp", "WINDIR=C:\WINDOWS", "RTOOLS42_HOME=C:\rtools42", "LOCALAPPDATA=C:\Users\formi\AppData\Local", "PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD", "UPDATEFIRST=0", "NUMBER_OF_PROCESSORS=12", "PROMPT=\$P\$G", "FONTCONFIG_FILE=C:\Users\formi\.julia\artifacts\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\etc\fonts\fonts.conf", "COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files", "AHORN_PATH=C:/Users/formi/AppData/Local/Ahorn", "COMMONPROGRAMFILES=C:\Program Files\Common Files", "CUDA_PATH_V11_2=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2", "PROGRAMFILES(X86)=C:\Program Files (x86)", "JULIA_FILENAME=julia-1.6.0-installer.exe", "JULIA_URL_32BIT=https://julialang-s3.julialang.org/bin/winnt/x86/1.6/julia-1.6.0-win32.exe", "OPENBLAS_NUM_THREADS=8", "MINIMUM_VERSION=\"v\\"1.6.0\\"\"", "PROGRAMFILES=C:\Program Files", "LOGONSERVER=\\DESKTOP-PCNFBJD", "DRIVERDATA=C:\Windows\System32\Drivers\DriverData", "FONTCONFIG_PATH=C:\Users\formi\.julia\artifacts\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\etc\fonts", "AHORN_ENV=\\"C:/Users/formi/AppData/Local/Ahorn/env/\\"", "JULIA_URL_64BIT=https://julialang-s3.julialang.org/bin/winnt/x64/1.6/julia-1.6.0-win64.exe", "SYSTEMDRIVE=C:", "NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.2", "=EXITCODE", "PROCESSOR_ARCHITECTURE=AMD64", "OPENBLAS_MAIN_FREE=1"]): invalid argument (EINVAL)

quite a mess, probably related to my fucked up environment variables but i'm not sure what to change or where to change it. also why should this program be pulling from what seems to be literally all of my environment variables in the first place? haha, well, what do i know. any tips?

skyeredwood commented 1 year ago

got this exact same error, did you find a fix?

Cruor commented 1 year ago

It is a bug in Gtk.jl, and I'm assuming they still haven't fixed it since you are mentioning the issue again. I would recommend just install Ahorn through Olympus, it has a fix for the issue. If this is your first time mapping I would recommend just getting Lönn instead though, Ahorn has been deprecated for about 18 months now and counting. It can also be installed via Olympus.

skyeredwood commented 1 year ago

ah okay, never mind - thank you :)