Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Ahorn Crashes on Load if Files Names Have Non-English Text #33

Open
Spekio opened this issue Aug 6, 2021 · 0 comments
Open

Ahorn Crashes on Load if Files Names Have Non-English Text #33

Spekio opened this issue Aug 6, 2021 · 0 comments

Comments

@Spekio
Copy link

Spekio commented Aug 6, 2021

I've been running into the below error from time to time and I finally figured out it was the Japanese characters in my file names (in this case for my custom sprites) that was causing the issue. The file in question doesn't even need to be used. Because my locale is Japanese, windows likes to create a new folder or a copy of a file with japanese text, which is why they sometimes end up in my directories even if I'm naming things in english.

Running Ahorn via Olympus. ┌ Debug: Creating new cache for "C:\\Users\\Michael\\AppData\\Local\\Olympus-Ahorn\\julia\\share\\julia\\stdlib\\v1.6\\Pkg\\Project.toml" └ @ Base loading.jl:225 Activating environment at C:\Users\Michael\AppData\Local\Olympus-Ahorn\ahorn-env\Project.toml`
┌ Debug: Creating new cache for "C:\Users\Michael\AppData\Local\Olympus-Ahorn\ahorn-env\Project.toml"
└ @ Base loading.jl:225
┌ Debug: Creating new cache for "C:\Users\Michael\AppData\Local\Olympus-Ahorn\ahorn-env\Manifest.toml"
└ @ Base loading.jl:225

(julia.exe:4000): Gtk-WARNING **: 02:23:24.490: '/usr/lib/gtk-3.0/3.0.0/immodules/im-xim.so': �w�肳�ꂽ���W���[���ª�©��©�肜�¹�񁂊
(julia.exe:4000): Gtk-WARNING **: 02:23:24.490: Loading IM context type 'xim' failed
Using MoreDasheline hair colors for CommunalHelper DreamBlocks.
WARNING: replacing module AnonhelperAnonCloud.
WARNING: replacing module IsaGrabBagEntities.
WARNING: replacing module IsaGrabBagEntities.
WARNING: replacing module IsaGrabBagEntities.
WARNING: replacing module JackalHelperOneWayJellyBarrierModule.
! Failed to load "Ahorn/entities/CustomCoreBlock.jl" from "E:\Steam\steamapps\common\Celeste\Mods\VivHelper.zip"
ErrorException("syntax: incomplete: "module" at none:1 requires end")
WARNING: replacing module AcidHelperTimeModulateTrigger.
ERROR: LoadError: StringIndexError: invalid index [41], valid nearby indices [39]=>'ー', [42]=>'.'
Stacktrace:
[1] string_index_err(s::String, i::Int64)
@ Base .\strings\string.jl:12
[2] getindex
@ .\strings\string.jl:263 [inlined]
[3] (::Ahorn.var"#92#93"{String})()
@ Ahorn ~\AppData\Local\Olympus-Ahorn\julia-depot\packages\Ahorn\dG2aU\src\drawing.jl:200
[4] get!(default::Ahorn.var"#92#93"{String}, h::Dict{String, String}, key::String)
@ Base .\dict.jl:465
[5] fixTexturePath
@ ~\AppData\Local\Olympus-Ahorn\julia-depot\packages\Ahorn\dG2aU\src\drawing.jl:199 [inlined]
[6] loadAllExternalSprites!(force::Bool)
@ Ahorn ~\AppData\Local\Olympus-Ahorn\julia-depot\packages\Ahorn\dG2aU\src\drawing.jl:176
[7] loadAllExternalSprites!
@ ~\AppData\Local\Olympus-Ahorn\julia-depot\packages\Ahorn\dG2aU\src\drawing.jl:173 [inlined]
[8] macro expansion
@ ~\AppData\Local\Olympus-Ahorn\julia-depot\packages\Ahorn\dG2aU\src\helpers\gtk_helpers.jl:15 [inlined]
[9] displayMainWindow()
@ Ahorn ~\AppData\Local\Olympus-Ahorn\julia-depot\packages\Ahorn\dG2aU\src\display_main_window.jl:45
[10] top-level scope
@ ~\AppData\Local\Temp\tmp61C3.tmp:82`

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

No branches or pull requests

1 participant