Jump to content
Sign in to follow this  
PabloCodeina

V 2.6.4.2 Beta 5X and MakeRwys

Recommended Posts

Hi.
With the version 5X of Beta, importing scenery rom MakeRwys seems to note be working. No progress is shown in the taxyway imort box and gate import hangs at 90 %.
It worked fine with 5V.

Share this post


Link to post
Share on other sites
Spoiler

Program StartedPilot2ATC® (P2A) - version 2.6.4.2_x64_Beta5X  04/29/2023 12:47:46
Windows OS: Microsoft Windows 11 Home
Version: 6.2.9200.0
Platform: Win32NT
Memory: 17109786624

Trying to create DB_Dyno.
DB_Dyno created successfully.
Init 15% done.
Trying to create DB_Base.
DB_Base created successfully.
Application frmP2AMain starting 04/29/2023 12:48:02
Loading Joystick Devices - 4 devices loaded.
Loading Form
Main form opened: Pilot2ATC® 2021 v. 2.6.4.2_x64_Beta5X      Navigraph - AIRAC cycle: 1801
Loading Joystick Devices - 4 devices loaded.
Loading Joystick Devices - 4 devices loaded.
Loading Joystick Devices - 4 devices loaded.
Loading Joystick Devices - 4 devices loaded.
Joystick Device number 0 successfully activated.
Loading Map Control
LoadMapControl: panel 1
Creating ucMap1
SQLiteVersion: 3.8.11.1 | 2015-07-29 20:00:57 cf538e2783e468bbc25e7cb2a9ee64d3e0e80b2f | INTEROP_CODEC INTEROP_EXTENSION_FUNCTIONS INTEROP_VIRTUAL_TABLE NET_40 PRELOAD_NATIVE_LIBRARY THROW_ON_DISPOSED TRACE TRACE_PRELOAD TRACE_SHARED TRACE_WARNING USE_PREPARE_V2 WINDOWS
ucMap1 Created
ucMap DockFill set.
Setting Map Mode
Done Loading Map Control
Loading FPL Control
FPL Control Loaded
Retrieving weather from web failed at 04/29/2023 12:48:06
Retrieving TAF from web successful at 04/29/2023 12:48:07
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.c9a240472a174f4de7f5fd4411c896902(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.c9a240472a174f4de7f5fd4411c896902(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.c9a240472a174f4de7f5fd4411c896902(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
frmTaxiwayGateMnt bkgwkrReadAptGates_DoWork Error: System.InvalidOperationException: Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.Linq.InternalSet`1.RemoveRange(IEnumerable entities)
   at System.Data.Entity.DbSet`1.RemoveRange(IEnumerable`1 entities)
   at P2A2021.frmTaxiwayGateMnt.cff14ace9b529994ce9934089e12e1b2b(Object cb25b07786a6e786dea76cf87175f59f0, DoWorkEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.cf4ba54c18bd9a5a60db0b91d29165f89(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
FormClosing Error: System.InvalidOperationException: Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Infrastructure.DbChangeTracker.HasChanges()
   at P2A2021.frmTaxiwayGateMnt.c590a68629e888b18e74f4f6fbbcb49a8(Object cb25b07786a6e786dea76cf87175f59f0, FormClosingEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
Retrieving weather from web successful at 04/29/2023 12:53:07
Retrieving TAF from web successful at 04/29/2023 12:53:08
Retrieving TAF from web successful at 04/29/2023 12:58:10
Retrieving weather from web successful at 04/29/2023 12:58:10
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.c9a240472a174f4de7f5fd4411c896902(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
frmTaxiwayGateMnt bkgwkrReadAptGates_DoWork Error: System.InvalidOperationException: Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.Linq.InternalSet`1.RemoveRange(IEnumerable entities)
   at System.Data.Entity.DbSet`1.RemoveRange(IEnumerable`1 entities)
   at P2A2021.frmTaxiwayGateMnt.cff14ace9b529994ce9934089e12e1b2b(Object cb25b07786a6e786dea76cf87175f59f0, DoWorkEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.cf4ba54c18bd9a5a60db0b91d29165f89(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.c9a240472a174f4de7f5fd4411c896902(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
frmTaxiwayGateMnt bkgwkrReadAptGates_DoWork Error: System.InvalidOperationException: Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.Linq.InternalSet`1.RemoveRange(IEnumerable entities)
   at System.Data.Entity.DbSet`1.RemoveRange(IEnumerable`1 entities)
   at P2A2021.frmTaxiwayGateMnt.cff14ace9b529994ce9934089e12e1b2b(Object cb25b07786a6e786dea76cf87175f59f0, DoWorkEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Internal.InternalContext.GetStateEntries(Func`2 predicate)
   at System.Data.Entity.Infrastructure.DbChangeTracker.Entries()
   at System.Data.Entity.DbContext.GetValidationErrors()
   at System.Data.Entity.Internal.InternalContext.SaveChanges()
   at P2A2021.frmTaxiwayGateMnt.cf4ba54c18bd9a5a60db0b91d29165f89(Object cb25b07786a6e786dea76cf87175f59f0, RunWorkerCompletedEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
FormClosing Error: System.InvalidOperationException: Multiplicity constraint violated. The role 'Airport' of the relationship 'P2ADataModel.FK_AirportATCController' has multiplicity 1 or 0..1.
   at System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.VerifyNavigationPropertyForAdd(IEntityWrapper wrapper)
   at System.Data.Entity.Core.Objects.EntityEntry.DetectChangesInRelationshipsOfSingleEntity()
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChangesInNavigationProperties(IList`1 entries)
   at System.Data.Entity.Core.Objects.ObjectStateManager.DetectChanges()
   at System.Data.Entity.Internal.InternalContext.DetectChanges(Boolean force)
   at System.Data.Entity.Infrastructure.DbChangeTracker.HasChanges()
   at P2A2021.frmTaxiwayGateMnt.c590a68629e888b18e74f4f6fbbcb49a8(Object cb25b07786a6e786dea76cf87175f59f0, FormClosingEventArgs cb4d4bf05d278f00a41fc902f6c5d26a2)
Simulator Disconnected. 04/29/2023 13:01:31
Application frmP2AMain ended normally 04/29/2023 13:01:33

 

 

Share this post


Link to post
Share on other sites

Looks like a bug.  I'll work on it and get a fix out ASAP. 

In the meantime, everyone should avoid using the MakeRunways Import.

Dave

Share this post


Link to post
Share on other sites

Pablo,

I tried it with my MakeRunways data and it seems to be working.

Try running MakeRunways again and if the problem persists, send your MakeRunways files to admin@p2atc.com and I'll try to replicate the issue.  The files needed are:

t5.csv,  r5.csv,  g5.csv, runways.csv and runways.xml

Share this post


Link to post
Share on other sites

I'm having the same issue since updating to Beta 5X. I've emailed you my MakeRunways files in case you need another set to review and find the issue.

Much thanks!,

Brian


Brian

Intel 12700K, EVGA 3080ti, Asus ROG STRIX z690-E, 32 GB G-Skill DDR5 6000, 2TB WD Black SN850, 2TB WD Black SN850X, Arctic Liquid Freezer II 360, HP Reverb G2 v2

Share this post


Link to post
Share on other sites

Despite Dave's effort he cannot reproduce my (our) bug.
I've totally desinstalled P2ATC and even SQL server but it persists.
Anyway, thanks Dave for looking and responding this fast.

Share this post


Link to post
Share on other sites

I think I may have found the problem. 

I reverted back to Beta 5W as the current beta and will publish a new Beta 5X once the problem is resolved and tested.

Dave

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...