Skip to content

what(): lua: error: /data/lib/traffic_signal.lua:12: attempt to index global 'traffic_lights' (a nil value) #7174

@202420505

Description

@202420505

Issue


PS C:\Users\forgb\Desktop\Q\map\osrm-korea> docker run -t -v ${PWD}:/data osrm/osrm-backend `
>>   osrm-extract -p /data/bicycle.lua /data/south-korea-latest.osm.pbf
>>
[info] Parsed 0 location-dependent features with 0 GeoJSON polygons
[info] Using script /data/bicycle.lua
[info] Input file: south-korea-latest.osm.pbf
[info] Profile: bicycle.lua
[info] Threads: 16
[info] Parsing in progress..
[info] input file generated by osmium/1.14.0
[info] timestamp: 2025-05-05T20:20:58Z
[info] Using profile api version 4
[info] Parse relations ...
[info] Parse ways and nodes ...
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
[info] Using profile api version 4
TBB Warning: Exact exception propagation is requested by application but the linked library is built without support for it
terminate called after throwing an instance of 'tbb::captured_exception'
  what():  lua: error: /data/lib/traffic_signal.lua:12: attempt to index global 'traffic_lights' (a nil value)

Steps to reproduce

docker run -t -v ${PWD}:/data osrm/osrm-backend `
osrm-extract -p /data/bicycle.lua /data/south-korea-latest.osm.pbf

Specifications

  • WINDOW 11
  • OSRM-LATEST VERSION

Why This Issue Was Good

  1. according to traffic_signal.lua:12: attempt to index global 'traffic_lights' (a nil value) #6663 and Support OSM traffic signal directions #6153 there was a include/extractor/traffic_lights.hpp but this file was deleted after some updates

So What?

=> We need to recover the file include/extractor/traffic_lights.hpp make a update

TMI

  1. I'm NOT good at English
  2. If I'm wrong please help!
  3. Please don't be angry please

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions