CelestialCartographers / Ahorn

Visual Map Maker and Level Editor for the game Celeste

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't seem to be getting Ahorn working

J-aytee opened this issue · comments

commented

(very sorry if this problem is already addressed, but I can't find a problem similarly to this) When I try to launch Ahorn with the "ahorn.bat" file on Windows 10, this is what shows up in command prompt.

Using Julia from: "C:\Users\Me\AppData\Local\Julia-1.3.1\bin"
If this is the first time running Ahorn, this might take a while.
The window might stay blank for a long time, this is normal as packages are precompiling in the background.
Be patient, the program is still running until the terminal says "Press any key to continue" (or equivalent in your language).
The error log is located at "C:/Users/Me/AppData/Local/Ahorn/error.log", should any problems occur.
Activating environment at C:\Users\Me\AppData\Local\Ahorn\env\Project.toml
Press any key to continue . . .

And in "error.log", this.

(julia.exe:1108): Gtk-WARNING **: 22:08:22.840: Theme parsing error: gtk-win32-base.css:1043:59: Junk at end of value for background-image
ERROR: LoadError: LightXML is not properly installed. Run Pkg.build("LightXML") and restart Julia.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] top-level scope at C:\Users\Me.julia\packages\LightXML\W8FVT\src\LightXML.jl:6
[3] include at .\boot.jl:328 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1105
[5] include(::Module, ::String) at .\Base.jl:31
[6] top-level scope at none:2
[7] eval at .\boot.jl:330 [inlined]
[8] eval(::Expr) at .\client.jl:425
[9] top-level scope at .\none:3
in expression starting at C:\Users\Me.julia\packages\LightXML\W8FVT\src\LightXML.jl:4
┌ Warning: You are using Gtk on Windows which is currently not recommended. Your REPL/IDE and anything depending on task switches will become sluggish and much slower (up to ~85x slower).
└ @ Gtk C:\Users\Me.julia\packages\Gtk\X3A4U\src\Gtk.jl:74
ERROR: LoadError: LoadError: LoadError: Failed to precompile LightXML [9c8b4983-aa76-5018-a973-4c85ecc9e179] to C:\Users\Me.julia\compiled\v1.3\LightXML\a89nj_UawKV.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
[3] _require(::Base.PkgId) at .\loading.jl:1024
[4] require(::Base.PkgId) at .\loading.jl:922
[5] require(::Module, ::Symbol) at .\loading.jl:917
[6] include at .\boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1105
[8] include at .\Base.jl:31 [inlined]
[9] include(::String) at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\Ahorn.jl:2
[10] top-level scope at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\celeste_render.jl:6
[11] include at .\boot.jl:328 [inlined]
[12] include_relative(::Module, ::String) at .\loading.jl:1105
[13] include at .\Base.jl:31 [inlined]
[14] include(::String) at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\Ahorn.jl:2
[15] top-level scope at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\Ahorn.jl:84
[16] include at .\boot.jl:328 [inlined]
[17] include_relative(::Module, ::String) at .\loading.jl:1105
[18] _require(::Base.PkgId) at .\loading.jl:1053
[19] require(::Base.PkgId) at .\loading.jl:922
[20] require(::Module, ::Symbol) at .\loading.jl:917
in expression starting at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\auto_tiler.jl:1
in expression starting at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\celeste_render.jl:6
in expression starting at C:\Users\Me.julia\packages\Ahorn\U7LfK\src\Ahorn.jl:84

I followed the instructions stated on the github page. Would be very grateful if someone can help me with this problem.

Thanks

commented

There are a few issues with Julia packages failing to install for various reasons (network, writing permissions, temporary folder permissions), the only thing I can somewhat recommend doing is attempt to reinstall after wiping affected packages and Ahorn environment files.
That would be %localappdata%/Ahorn for Ahorn itself and %userprofile%/.julia for Julia packages. Obviously don't blindly delete %userprofile%/.julia if you use Julia for other things.

commented

I figured it out. Thanks anyways though!