You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See errors bellow.
Today, we workaround creating in deployed version by creating C:\Program Files (x86)\Ginga\ginga with content of C:\Program Files (x86)\Ginga. Then create C:\Program Files (x86)\Ginga\share and C:\Program Files (x86)\Ginga\lib folders with nclua required files.
error in source code folder:
module 'nclua.canvas' not found:
no field package.preload['nclua.canvas']
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua\canvas.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas\init.lua'
no file '.\nclua\canvas.lua'
no file '.\nclua\canvas\init.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\loadall.dll'
no file '.\nclua\canvas.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3..\lib\lua\5.3\nclua.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\loadall.dll'
no file '.\nclua.dll'
error in source deployed folder:
module 'nclua.canvas' not found:
no field package.preload['nclua.canvas']
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua\canvas.lua'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas\init.lua'
no file '.\nclua\canvas.lua'
no file '.\nclua\canvas\init.lua'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\loadall.dll'
no file '.\nclua\canvas.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3..\lib\lua\5.3\nclua.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\loadall.dll'
no file '.\nclua.dll'
The text was updated successfully, but these errors were encountered:
alanlivio
changed the title
Fix nclua runtime files location in both source code and deployed folder
Fix nclua runtime files location in both source code and deployed folder in windows
May 14, 2018
Try making the executable (ginga or ginga-gui) set both LUA_PATH and LUA_CPATH to the directory of the .lua's and .dll's when it's on Windows. This can be done using setenv().
See errors bellow.
Today, we workaround creating in deployed version by creating C:\Program Files (x86)\Ginga\ginga with content of C:\Program Files (x86)\Ginga. Then create C:\Program Files (x86)\Ginga\share and C:\Program Files (x86)\Ginga\lib folders with nclua required files.
error in source code folder:
module 'nclua.canvas' not found:
no field package.preload['nclua.canvas']
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua\canvas.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\share\lua\5.3\nclua\canvas\init.lua'
no file '.\nclua\canvas.lua'
no file '.\nclua\canvas\init.lua'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\loadall.dll'
no file '.\nclua\canvas.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\nclua.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3..\lib\lua\5.3\nclua.dll'
no file 'C:\Users\alan\dev\ginga\ginga\src-gui..\lib\lua\5.3\loadall.dll'
no file '.\nclua.dll'
error in source deployed folder:
module 'nclua.canvas' not found:
no field package.preload['nclua.canvas']
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua\canvas.lua'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua\canvas\init.lua'
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas.lua'
no file 'C:\Program Files (x86)\Ginga..\share\lua\5.3\nclua\canvas\init.lua'
no file '.\nclua\canvas.lua'
no file '.\nclua\canvas\init.lua'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3..\lib\lua\5.3\nclua\canvas.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\loadall.dll'
no file '.\nclua\canvas.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\nclua.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3..\lib\lua\5.3\nclua.dll'
no file 'C:\Program Files (x86)\Ginga..\lib\lua\5.3\loadall.dll'
no file '.\nclua.dll'
The text was updated successfully, but these errors were encountered: