-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when extracting OSRM file #466
Comments
you should have a 'profile.lua' symlink in the root folder, pointing to profiles/car.lua: |
I tried to upgrade to 0.3.4 this morning. I tried to copy/paste foot.lua and rename it : I tried car.lua too : |
I'm on Debian Wheezy(64 bits) with changeset 828b370 from master and with a symlink to car.lua I'm getting the same error of 'lib/access' not found. [i /tmp/Project-OSRM/Extractor/ScriptingEnvironment.cpp:25] Using script profile.lua
[! /tmp/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] profile.lua:2: module 'lib/access' not found:
no field package.preload['lib/access']
no file '/lib/access.lua'
no file 'profiles/lib/access.lua'
no file './lib/access.lua'
no file '/usr/local/share/lua/5.1/lib/access.lua'
no file '/usr/local/share/lua/5.1/lib/access/init.lua'
no file '/usr/local/lib/lua/5.1/lib/access.lua'
no file '/usr/local/lib/lua/5.1/lib/access/init.lua'
no file '/usr/share/lua/5.1/lib/access.lua'
no file '/usr/share/lua/5.1/lib/access/init.lua'
no file './lib/access.so'
no file '/usr/local/lib/lua/5.1/lib/access.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so'
no file '/usr/lib/lua/5.1/lib/access.so'
no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block
[! /tmp/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] profile.lua:2: module 'lib/access' not found:
no field package.preload['lib/access']
no file '/lib/access.lua'
no file 'profiles/lib/access.lua'
no file './lib/access.lua'
no file '/usr/local/share/lua/5.1/lib/access.lua'
no file '/usr/local/share/lua/5.1/lib/access/init.lua'
no file '/usr/local/lib/lua/5.1/lib/access.lua'
no file '/usr/local/lib/lua/5.1/lib/access/init.lua'
no file '/usr/share/lua/5.1/lib/access.lua'
no file '/usr/share/lua/5.1/lib/access/init.lua'
no file './lib/access.so'
no file '/usr/local/lib/lua/5.1/lib/access.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so'
no file '/usr/lib/lua/5.1/lib/access.so'
no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block
|
lib/access.lua is located in osrm_root/profiles/lib/access.lua. |
Thx @emiltin !!! I made also a symlink to the lib and it started to work properly, I wouldn't expect it to be that way, but it works now.
If I copied the car.lua to default.lua I got the same error. |
Oh, the link has been deleted from the git repository by accident. Will re-add it soon |
FYI: I had the same issue with the |
When doing /osrm-extract on a clean build (ubuntu) I get the following error:
[error extractor.cpp:146] cannot open profile.lua: No such file or directory occured in scripting block
I got it extracting by copying car.lua (and others) from the profiles dir to the main dir and renaming car to profile.lua.
It appears to be looking for profile.lua which is deleted after scons
The text was updated successfully, but these errors were encountered: