September 6Sep 6 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 September 6Sep 6 by Gilmar Leal inexperience
September 6Sep 6 Do you run the latest LNM (https://albar965.github.io/release/2025/11/19/littlenavmap-stable-3018-released.html)? I think I fixed this a long time ago.Alex Alex' Projects: Little Navmap
September 6Sep 6 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.AlexThank 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...
September 6Sep 6 Strange. This should not happen with the latest LNM 3.0.18. I just loaded the P3D v4 library on my test system without problems. Can you try to reload the library and then create and send me an issue report from LNM menu "Tools" (https://albar965.github.io/contact.html)?Alex Alex' Projects: Little Navmap
September 6Sep 6 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
September 7Sep 7 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 Alex' Projects: Little Navmap
September 7Sep 7 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 September 7Sep 7 by Gilmar Leal complementary
September 7Sep 7 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 Alex' Projects: Little Navmap
September 7Sep 7 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.
September 7Sep 7 Thanks for the report. Just downloaded and I think you can remove the files.I'll have a look at it tomorrow.Alex Alex' Projects: Little Navmap
September 8Sep 8 I dug through the code for 3.0.18 and I see no error. I changed it to log a warning and skip broken airways with no name but this is all I can do for now, sorry.Alex Alex' Projects: Little Navmap
September 8Sep 8 Author I understand. How can I get those changes to see if I can use LNM in my simulator?
September 8Sep 8 You have to wait for the next release. But this will be a Beta / Test version.Alex Alex' Projects: Little Navmap
September 8Sep 8 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