pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.62k stars 518 forks source link

PB loading baselib.lua #991

Closed FullGas1 closed 5 years ago

FullGas1 commented 5 years ago

Hello,

When I launch ZBS, this one start, but I have an error message "Error while loading API file :cannot open F:\Outils_développement\ZeroBrane\api\lua\baselib.lua: No such file or directory.

When à look in this path, there is the File, and he is normaly formed (I can open it in Notepad.

Can someone please tell me what I can do for fix this problem ?

Thank's

madmaxoft commented 5 years ago

I would venture a guess that the international letter in the path could a problem. If you temporarily move ZBS to a different path with no é in it, does it work?

pkulchenko commented 5 years ago

@FullGas1, @madmaxoft is likely to be correct. I think I fixed this issue in 2687a4aa (that was fixing #965), but you'll need to use the current version from the repository or avoid unicode characters in the name.

FullGas1 commented 5 years ago

Thank's for your help, and sorry for my question.

It was not a bug, I had made an error in my LUA_PATH. When corrected, it's OK.

pkulchenko commented 5 years ago

no problem; thanks for the update.