Troubleshooting
JOSM Jar Not Found
Install JOSM, or set JOSM_JAR to its jar. This error concerns JOSM itself,
not the LOFT-Edit plugin jar. See
Install JOSM.
Plugin Build Failed
The launcher builds the LOFT-Edit plugin, plugin/dist/loft-edit.jar, with the
local JDK on the first launch and whenever the plugin sources change. When it
reports that the JOSM plugin build failed, run the build by hand from the
LOFT-Edit checkout to see the reason:
python plugin/build_plugin.py
The usual cause is a missing JDK: install Java 17 or newer as a JDK, or set
JAVA_HOME, and launch again. LOFT-Edit does not publish a prebuilt jar yet,
so the launcher needs a JDK. If the build reports that the jar is locked,
close the running JOSM and launch again.
LOFT-Sim Import or Contract Error
LOFT-Edit and LOFT-Sim share one Python vocabulary and must be updated
together. Pull both repositories, install the current simulator checkout into
the launcher’s Python environment, and run from the LOFT-Edit checkout:
loft-edit doctor
Each finding names its fix; the setup is sound when the last line reads
Setup is usable. The launcher runs the same check before it opens anything
and does not open the editor while the binding is broken.
Do not add fallback spellings when a simulator import fails. An old binding can otherwise make LOFT-Edit write files the current simulator rejects.
Existing Project Is Rejected
Choose the project folder, not a file. It must contain scenario.json and
network/airspace_network.osm. Use JOSM’s File > Open for a standalone OSM
document.
Imagery Menu Is Empty
Refresh providers in JOSM’s imagery preferences and check network/proxy access. A background OSM is vector context, not aerial imagery.
An Old Enriched Layer Is Open
Current workflows use airspace_network.osm directly. Close generated enriched
layers from old projects and use the Auto-Split Corridors sidebar action for
topology normalization. No Enrich step is required.
Save Reports an Incomplete Upload
For local project layers, select Save and clear Upload in JOSM’s exit dialog. A local file may save successfully while JOSM separately fails to upload its negative-ID objects to an OSM server.
Validation Report Does Not Open
Run Validation > Validate first. Then click Open Report in Validation Results, or use Validation > Open Validation Report. Check the reported file path and the operating system’s browser association if no browser opens.
Demand Does Not Highlight a Route
The flow’s route value must equal one unique relation’s route_id. An OD flow
has no fixed route until LOFT-Sim resolves it, so it cannot highlight a
route relation in the same way.
A Flow Uses route_id
Change the flow attribute to route. route_id belongs on the OSM relation;
the current demand loader rejects the retired flow-side spelling.
An Overlay Is Missing or Grey
Confirm the source project layer is open and active, then regenerate the overlay from Visualization. Only the topmost visible corridor line overlay controls the corridor colors and legend. A background OSM layer is not a satellite layer.