Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error reading the Scenery Library - Little NavMap

Featured Replies

Hello everybody. I use P3D4 and when I reinstall Little NavMap and when I ask to load the scenario library I receive the following message: "NOT NULL constraint failed: airway.airway_name Unable to fetch row. void atools::sql::SqlQuery::exec(): Error executing query. Query is "insert into airway (airway_id, airway_name, airway_type, route_type, airway_fragment_no, sequence_no, from_waypoint_id, to_waypoint_id, direction, minimum_altitude, maximum_altitude, left_lonx, top_laty, right_lonx, bottom_laty, from_lonx, from_laty, to_lonx, to_laty) values(:airway_id, :airway_name, :airway_type, :route_type, :airway_fragment_no, :sequence_no, :from_waypoint_id, :to_waypoint_id, :direction, :minimum_altitude, :maximum_altitude, :left_lonx, :top_laty, :right_lonx, :bottom_laty, :from_lonx, :from_laty, :to_lonx, :to_laty)". Bound values are [":airway_fragment_no"="1",":airway_id"="1",":airway_name"="",":airway_type"="V",":bottom_laty"="57.33027648925781",":direction"="". 
I would like to point out that I have already disabled the most recently installed sceneries and tried other versions of Little NavMap, but without success. Could you help me? Thanks in advance.


Edited by Gilmar Leal
inexperience

  • Author
2 hours ago, albar965 said:

Você está executando a versão mais recente do LNM ( https://albar965.github.io/release/2025/11/19/littlenavmap-stable-3018-released.html )?

Acho que já resolvi isso há muito tempo.

Alex

Thank you for your prompt reply. Yes, I was using an older version that worked perfectly. The problem appeared after I updated. I tried other versions, but nothing worked... I uninstalled all the recent scenery add-ons hoping one of them was causing the issue, but the problem persists. I am running Windows 10. It is an absolutely incredible program and essential for my flights...
  • Author
Here is the report, as requested. I would like to point out that no changes were made to the simulator between the old version of LNM (which worked perfectly) and the current one; in other words, the existing errors did not affect data reading. I also installed the latest version of the program, and the result was the same.
thank you very much.
https://drive.google.com/file/d/18Gf98UO0C--J1OrX3MtFHNeGqm1XiqMY/view?usp=sharing

You use a terribly outdated LNM version 3.0.5. As I mentioned above already: several bugs like this were fixed until 3.0.18.

If this still happens with 3.0.18: you have a broken add-on scenery or navdata somewhere that has an airway without name.

I'd also check if you really use the latest LNM version and not use a stale shortcut pointing to an old one.

Alex

  • Author
Yes, as I explained earlier, in an attempt to resolve the issue, I installed and then uninstalled several versions—both new and old, including the latest one, of course—but without success. I also disabled all the scenery installed in recent months, but the problem persisted.
Unfortunately, to get LNM working again, I think I'll have to uninstall the simulator and reinstall it.

Edited by Gilmar Leal
complementary

Sorry, but I don't see this here. I tested this with LNM 3.0.18 and all available P3D installations I have (3, 4 and 5).

Unfortunately you sent me a log from LNM 3.0.5 and searching the old codebase is too much effort now. A log from 3.0.18 would help more.

For now I improved logging for the next LNM version to find the broken BGL file if this happens again.

Alex

  • Author
I understand and appreciate your willingness to try to resolve the issue. I have reinstalled the latest version,
 and here is the link to the log: https://drive.google.com/file/d/1dj0avxttxZ0RdK_kD87L_fMeaaiMcnl8/view?usp=sharing.


  • Author
I understand. How can I get those changes to see if I can use LNM in my simulator?
  • Author
Thank you very much for the time and effort you’ve dedicated to the problem. I’ll wait for the release, and who knows...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.