Jump to content
Sign in to follow this  
Seat*

Runtime error Little Navmap v 1.4.4

Recommended Posts

I got a runtime error (Microsoft Visual C++ Runtime Library) when building  a dtabase for the scenery library. It stops at 72%. I have tried to set the current bgl file to off but next time I run it stops att nebt i bgl file in the same folder. Earlier verions of Little Navnap hve not stoped at this file.

Any suggestions?

 

 

/Thomas

ESNN


Thomas ( Sundsvall, ESNN, Sweden)
P3D V5.3 HF1, Intel 9 9900K Oc 5 GHZ 16MB, Corsair Hydro H150i PRO RGB 360mm, ASUS GeForce RTX 2080 SUPER 8GB ROG, 2 Corsair Force M2 MP600 1TB+500Gb, ASUS ROG MAXIMUS XI HERO Z390 MB, Corsair 32GB (2x16GB) DDR4 3200Mhz CL16, Fractal Design Define S2 Vision, Win 10 Home, BenQ 32" PD3200U 4K IPS monitor

A2A, Majestic Q400, Leonardo Maddog, IFly B737

Share this post


Link to post
Share on other sites

Hi Thomas,

that sounds familiar. Are you using LNM 1.4.4 and P3D v4?

There was a bug that looked similar which appeared after P3D v4 hotfix 1 and LNM 1.4.3. This was fixed in 1.4.4.

The problem can also appear if the scenery library contains any files that were compiled with P3D v4 SDK.

Alex

Edited by albar965
Made reason more clear

Share this post


Link to post
Share on other sites

Hi Alex!

Thats right. I´m using P3DV4 and LNM 1.4.4. Is there any solution for the problem. The scenery files in the current scenery are not compiled with P3DV4 SDK. It´s a pretty old scenery for Sweden. Is there any way to ecxlude a scenery folder for the scan in LNM.

/Thomas

ESNN


Thomas ( Sundsvall, ESNN, Sweden)
P3D V5.3 HF1, Intel 9 9900K Oc 5 GHZ 16MB, Corsair Hydro H150i PRO RGB 360mm, ASUS GeForce RTX 2080 SUPER 8GB ROG, 2 Corsair Force M2 MP600 1TB+500Gb, ASUS ROG MAXIMUS XI HERO Z390 MB, Corsair 32GB (2x16GB) DDR4 3200Mhz CL16, Fractal Design Define S2 Vision, Win 10 Home, BenQ 32" PD3200U 4K IPS monitor

A2A, Majestic Q400, Leonardo Maddog, IFly B737

Share this post


Link to post
Share on other sites

You can exclude the folder if it crashes always at the same file: Menu "Tools" -> "Options" -> tab "Scenery Library Database". Add it to the upper list.

The error I know of was "moving" when people excluded folders. When they excluded one folder the program crashed with the next one.

Can your send me the offending BGL? You can find that in the log file.

Alex

Share this post


Link to post
Share on other sites

Hi Alex

I can´t find your e-mail adress anywhere.

 

/Thomas


Thomas ( Sundsvall, ESNN, Sweden)
P3D V5.3 HF1, Intel 9 9900K Oc 5 GHZ 16MB, Corsair Hydro H150i PRO RGB 360mm, ASUS GeForce RTX 2080 SUPER 8GB ROG, 2 Corsair Force M2 MP600 1TB+500Gb, ASUS ROG MAXIMUS XI HERO Z390 MB, Corsair 32GB (2x16GB) DDR4 3200Mhz CL16, Fractal Design Define S2 Vision, Win 10 Home, BenQ 32" PD3200U 4K IPS monitor

A2A, Majestic Q400, Leonardo Maddog, IFly B737

Share this post


Link to post
Share on other sites

Alex

Sent you an e-mail

 

/Thomas


Thomas ( Sundsvall, ESNN, Sweden)
P3D V5.3 HF1, Intel 9 9900K Oc 5 GHZ 16MB, Corsair Hydro H150i PRO RGB 360mm, ASUS GeForce RTX 2080 SUPER 8GB ROG, 2 Corsair Force M2 MP600 1TB+500Gb, ASUS ROG MAXIMUS XI HERO Z390 MB, Corsair 32GB (2x16GB) DDR4 3200Mhz CL16, Fractal Design Define S2 Vision, Win 10 Home, BenQ 32" PD3200U 4K IPS monitor

A2A, Majestic Q400, Leonardo Maddog, IFly B737

Share this post


Link to post
Share on other sites

I'm getting this error too using P3D4 with the hotfix

Caught exception: NOT NULL constraint failed: scenery_area.title Unable to fetch row. SqlQuery::exec(): Error executing query. Query is "insert  into scenery_area (scenery_area_id, number, layer, title, remote_path, local_path, active, required, exclude) values(:scenery_area_id, :number, :layer, :title, :remote_path, :local_path, :active, :required, :exclude)". Bound values are [":active"="true",":exclude"="",":layer"="257",":local_path"="B:\P3Dv4 addons\Global AI ship traffic\scenery\world",":number"="296",":remote_path"="",":required"="false",":scenery_area_id"="236",":title"=""].

The above is from the log, although the error message that appears when building the database relates to Flightbeam KMSP/ Flytampa Montreal and Tampa.  Excluding only moves the error to another BGL

From the log for FlyTampa Montreal

21196 of 33058 (64 %)" "FlyTampa-Montreal"
[2017-07-09 11:15:18.711 default INFO ]  unknown:0: ========== "B:\\Prepar3D v4\\FlyTampa\\Montreal"
[2017-07-09 11:15:18.711 default INFO ]  unknown:0: Scenery path "B:\\Prepar3D v4\\FlyTampa\\Montreal"
[2017-07-09 11:15:18.712 default INFO ]  unknown:0: ==== "21197 of 33058 (64 %)" "Aeroterm_Golf.BGL"
[2017-07-09 11:15:18.714 default INFO ]  unknown:0: ==== "21198 of 33058 (64 %)" "AESLite-CYUL-FLIB.BGL"
[2017-07-09 11:15:18.714 default WARN ]  unknown:0: Invalid header size: 0xb1c2004d
[2017-07-09 11:15:18.714 default WARN ]  unknown:0: Invalid magic number: 0x85260001, 0xcb51
[2017-07-09 11:15:18.715 default INFO ]  unknown:0: ==== "21199 of 33058 (64 %)" "AESLite-CYUL-HW1.bgl"
[2017-07-09 11:15:18.715 default WARN ]  unknown:0: Invalid header size: 0xb1c2004d
[2017-07-09 11:15:18.715 default WARN ]  unknown:0: Invalid magic number: 0x85260001, 0xcb51
[2017-07-09 11:15:18.715 default INFO ]  unknown:0: ==== "21200 of 33058 (64 %)" "AESLite-CYUL-HW2.bgl"
[2017-07-09 11:15:18.716 default WARN ]  unknown:0: Invalid header size: 0xb1c2004d
[2017-07-09 11:15:18.716 default WARN ]  unknown:0: Invalid magic number: 0x85260001, 0xcb51
[2017-07-09 11:15:18.716 default INFO ]  unknown:0: ==== "21201 of 33058 (64 %)" "AESLite-CYUL-TM1.bgl"
[2017-07-09 11:15:18.716 default WARN ]  unknown:0: Invalid header size: 0xb1c2004d
[2017-07-09 11:15:18.716 default WARN ]  unknown:0: Invalid magic number: 0x85260001, 0xcb51
[2017-07-09 11:15:18.716 default INFO ]  unknown:0: ==== "21202 of 33058 (64 %)" "AESLite-CYUL-TM2.bgl"
[2017-07-09 11:15:18.716 default WARN ]  unknown:0: Invalid header size: 0xb1c2004d
[2017-07-09 11:15:18.716 default WARN ]  unknown:0: Invalid magic number: 0x85260001, 0xcb51
[2017-07-09 11:15:18.717 default INFO ]  unknown:0: ==== "21203 of 33058 (64 %)" "AESLite-CYUL-VOR.bgl"
[2017-07-09 11:15:18.717 default WARN ]  unknown:0: Invalid header size: 0xb1c2004d
[2017-07-09 11:15:18.717 default WARN ]  unknown:0: Invalid magic number: 0x85260001, 0xcb51
[2017-07-09 11:15:18.717 default INFO ]  unknown:0: ==== "21204 of 33058 (64 %)" "AirportField_Objects.bgl"
[2017-07-09 11:15:18.717 default INFO ]  unknown:0: ==== "21205 of 33058 (64 %)" "Bluroofer.BGL"
[2017-07-09 11:15:18.718 default INFO ]  unknown:0: ==== "21206 of 33058 (64 %)" "Bridges_North.bgl"
[2017-07-09 11:15:18.718 default WARN ]  unknown:0: Invalid header size: 0x223c004d
[2017-07-09 11:15:18.718 default WARN ]  unknown:0: Invalid magic number: 0x23960001, 0xcb94
[2017-07-09 11:15:18.718 default INFO ]  unknown:0: ==== "21207 of 33058 (64 %)" "Bridges_North2.bgl"
[2017-07-09 11:15:18.718 default WARN ]  unknown:0: Invalid header size: 0x2264004d
[2017-07-09 11:15:18.719 default WARN ]  unknown:0: Invalid magic number: 0x26300001, 0xcb97
[2017-07-09 11:15:18.719 default INFO ]  unknown:0: ==== "21208 of 33058 (64 %)" "Cen_Rad.BGL"
[2017-07-09 11:15:18.719 default INFO ]  unknown:0: ==== "21209 of 33058 (64 %)" "CenBuildings1.BGL"
[2017-07-09 11:15:18.719 default INFO ]  unknown:0: ==== "21210 of 33058 (64 %)" "CenBuildings1_CARS.BGL"
[2017-07-09 11:15:18.720 default INFO ]  unknown:0: ==== "21211 of 33058 (64 %)" "CenBuildings2.BGL"
[2017-07-09 11:15:18.720 default INFO ]  unknown:0: ==== "21212 of 33058 (64 %)" "CenBuildings3.BGL"
[2017-07-09 11:15:18.720 default INFO ]  unknown:0: ==== "21213 of 33058 (64 %)" "CenBuildings3_CARS.BGL"
[2017-07-09 11:15:18.721 default INFO ]  unknown:0: ==== "21214 of 33058 (64 %)" "CYUL_ADEX_FLYTAMPA.bgl"
[2017-07-09 11:15:18.756 default DEBUG]  unknown:0: Found 1 airports. idents: "CYUL"
[2017-07-09 11:15:18.756 default INFO ]  unknown:0: ==== "21215 of 33058 (64 %)" "CYUL_Docking.BGL"
[2017-07-09 11:15:18.757 default WARN ]  unknown:0: Invalid header size: 0xffe2004d
[2017-07-09 11:15:18.757 default WARN ]  unknown:0: Invalid magic number: 0x37050001, 0xcb7f
[2017-07-09 11:15:18.757 default INFO ]  unknown:0: ==== "21216 of 33058 (64 %)" "cyul_floodlights_grd.bgl"
[2017-07-09 11:15:18.757 default INFO ]  unknown:0: ==== "21217 of 33058 (64 %)" "cyul_snowdrift.bgl"
[2017-07-09 11:15:18.758 default INFO ]  unknown:0: ==== "21218 of 33058 (64 %)" "cyul_windsocks.bgl"
[2017-07-09 11:15:18.758 default INFO ]  unknown:0: ==== "21219 of 33058 (64 %)" "excl.BGL"
[2017-07-09 11:15:18.758 default INFO ]  unknown:0: ==== "21220 of 33058 (64 %)" "Fence1.BGL"
[2017-07-09 11:15:18.758 default INFO ]  unknown:0: ==== "21221 of 33058 (64 %)" "Fence2.BGL"
[2017-07-09 11:15:18.759 default INFO ]  unknown:0: ==== "21222 of 33058 (64 %)" "Fence3.BGL"
[2017-07-09 11:15:18.759 default INFO ]  unknown:0: ==== "21223 of 33058 (64 %)" "Fence4.BGL"
[2017-07-09 11:15:18.760 default INFO ]  unknown:0: ==== "21224 of 33058 (64 %)" "Fence5.BGL"
[2017-07-09 11:15:18.760 default INFO ]  unknown:0: ==== "21225 of 33058 (64 %)" "Fence6.BGL"
[2017-07-09 11:15:18.761 default INFO ]  unknown:0: ==== "21226 of 33058 (64 %)" "Fence7.BGL"
[2017-07-09 11:15:18.761 default INFO ]  unknown:0: ==== "21227 of 33058 (64 %)" "FerryBus.BGL"
[2017-07-09 11:15:18.761 default INFO ]  unknown:0: ==== "21228 of 33058 (64 %)" "FireArea.BGL"
[2017-07-09 11:15:18.762 default INFO ]  unknown:0: ==== "21229 of 33058 (64 %)" "FlagAC.BGL"
[2017-07-09 11:15:18.762 default INFO ]  unknown:0: ==== "21230 of 33058 (64 %)" "FlagBOMB.BGL"
[2017-07-09 11:15:18.763 default INFO ]  unknown:0: ==== "21231 of 33058 (64 %)" "FlagC.BGL"
[2017-07-09 11:15:18.763 default INFO ]  unknown:0: ==== "21232 of 33058 (64 %)" "FlagLIB.bgl"
[2017-07-09 11:15:18.763 default INFO ]  unknown:0: ==== "21233 of 33058 (64 %)" "FlagQ.BGL"
[2017-07-09 11:15:18.764 default INFO ]  unknown:0: ==== "21234 of 33058 (64 %)" "FlagU.BGL"
[2017-07-09 11:15:18.764 default INFO ]  unknown:0: ==== "21235 of 33058 (64 %)" "Flytampa_mist.BGL"
[2017-07-09 11:15:18.764 default INFO ]  unknown:0: ==== "21236 of 33058 (64 %)" "FT_Lib.bgl"
[2017-07-09 11:15:18.765 default INFO ]  unknown:0: ==== "21237 of 33058 (64 %)" "GA_Area.BGL"
[2017-07-09 11:15:18.765 default INFO ]  unknown:0: ==== "21238 of 33058 (64 %)" "GA_Area_CARS.BGL"
[2017-07-09 11:15:18.766 default INFO ]  unknown:0: ==== "21239 of 33058 (64 %)" "Grass_Edges.bgl"
[2017-07-09 11:15:18.766 default WARN ]  unknown:0: Invalid header size: 0xbf6004d
[2017-07-09 11:15:18.766 default WARN ]  unknown:0: Invalid magic number: 0x24260001, 0xcb8e
[2017-07-09 11:15:18.767 default INFO ]  unknown:0: ==== "21240 of 33058 (64 %)" "Grass_OV.bgl"
[2017-07-09 11:15:18.767 default WARN ]  unknown:0: Invalid header size: 0xc2f004d
[2017-07-09 11:15:18.767 default WARN ]  unknown:0: Invalid magic number: 0x23f30001, 0xcb8f
[2017-07-09 11:15:18.767 default INFO ]  unknown:0: ==== "21241 of 33058 (64 %)" "Grass_Vol_1.bgl"
[2017-07-09 11:15:18.767 default WARN ]  unknown:0: Invalid header size: 0x150a004d

 

Regards

Belinda 

 


Belinda - YBBN

Share this post


Link to post
Share on other sites

Thanks Alex

All have names except those added by the scenery packages themselves the old way. So the sceneries producing the error are the sceneries in the .cfg file, not added using the XML method with the Lorby Addon organiser.

I deleted some of the FlyTampa sceneries using the organiser then added them back in again with the XML method and the error moved on to the next FlyTampa or Flightbeam scenery not added using the organiser.  Hope that makes sense :biggrin:

I unticked Read P3D add-on xml packages then using the 1.4.3 way with Lorby Export library for external tool method, finds all the airports okay.


Belinda - YBBN

Share this post


Link to post
Share on other sites

Belinda,

strange that is. The error message shows that either the "title=" in the scenery.cfg or the <name> in a add-on.xml file is missing.

I just checked my code and found that all entries with a missing name or title are ignored and should not produce an error.

Can you send me your scenery.cfg by email (see about dialog)? Please zip it up to avoid encoding changes.

Alex

Share this post


Link to post
Share on other sites

I have exactly the same problem but using LNv144 on FSXA. It's never happened with previous versions of LN and with the same scenery addons. Sorry I can't send you my log file as I don't know where it's located on my rig but can do that later, if required.

So far I've tried to reduce the number of chars in folder names but it didn't help. But then I reverted the scenery folder name back since I had the same folder name with previous version of LN, so I don't think this is a problem associated with long folder names. Here is the pic with error message:

d6ca241be419e02907a54c5dfb926f38.jpg


Regards,


Victor Quebec

Share this post


Link to post
Share on other sites

Bingo!

Thank you, Alex! It worked OK after I installed the pre-release version above without excluding scenery folders.


Regards,


Victor Quebec

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...