GenieFramework / SearchLight.jl

ORM layer for Genie.jl, the highly productive Julia web framework
https://genieframework.com
MIT License
139 stars 16 forks source link

Base.Meta.ParserError WHILE SearchLight.Configuration.load_db_connection() |> SearchLight.Database.connect! #16

Closed LeieXoyo closed 4 years ago

LeieXoyo commented 5 years ago

When I exec "SearchLight.Configuration.load_db_connection() |> SearchLight.Database.connect!" I get this error:

ERROR: Base.Meta.ParseError("invalid escape sequence") Stacktrace: [1] #parse#1(::Bool, ::Bool, ::Bool, ::Function, ::String, ::Int64) at .\meta.jl:129 [2] #parse at .\none:0 [inlined] [3] #parse#4(::Bool, ::Bool, ::Function, ::String) at .\meta.jl:164 [4] parse(::String) at .\meta.jl:164

Then I made a further attempt: image It seems like @DIR not work in Meta.parse()

LeieXoyo commented 5 years ago

image If 'dir' from hardcode instead of @DIR, this is working fine

essenciary commented 5 years ago

Might be a Windows issue... I'll run a test, thank you

essenciary commented 4 years ago

I've been running on Windows for the last few weeks and haven't encountered the problem anymore, so I assume it's been addressed by other updates. Closing but feel free to reopen if it still comes up.