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.

exception error restarting P2A

Featured Replies

When I restart P2A mid flight   (I need to do this due to loss of voice recognition), then press the connect button, I get this message

(latest version release & with MSFS).

It still tracks me but the plane icon on the moving map is not displayed.

 

 

Error in ATCListener AddUserNames
System.FormatException: 'one-of' must contain at least one 'item' element.
   at System.Speech.Internal.SrgsParser.XmlParser.ThrowSrgsException(SRID id, Object[] args)
   at System.Speech.Internal.SrgsCompiler.OneOf.System.Speech.Internal.SrgsParser.IElement.PostParse(IElement parentElement)
   at System.Speech.Internal.SrgsParser.SrgsDocumentParser.ParseOneOf(SrgsOneOf srgsOneOf, IElement parent, IRule rule)
   at System.Speech.Internal.SrgsParser.SrgsDocumentParser.ProcessChildNodes(SrgsElement srgsElement, IElement parent, IRule rule)
   at System.Speech.Internal.SrgsParser.SrgsDocumentParser.ParseRule(IGrammar grammar, SrgsRule srgsRule)
   at System.Speech.Internal.SrgsParser.SrgsDocumentParser.ProcessGrammarElement(SrgsGrammar source, IGrammar grammar)
   at System.Speech.Internal.SrgsParser.SrgsDocumentParser.Parse()
   at System.Speech.Internal.SrgsCompiler.SrgsCompiler.CompileStream(Int32 iCfg, ISrgsParser srgsParser, String srgsPath, String filename, Stream stream, Boolean fOutputCfg, StringBuilder innerCode, Object cfgResources, CultureInfo& culture, String[] referencedAssemblies, String keyFile)
   at System.Speech.Internal.SrgsCompiler.SrgsCompiler.CompileStream(SrgsDocument srgsGrammar, String filename, Stream stream, Boolean fOutputCfg, String[] referencedAssemblies, String keyFile)
   at System.Speech.Recognition.SrgsGrammar.SrgsGrammarCompiler.Compile(SrgsDocument srgsGrammar, Stream outputStream)
   at P2A_2020.ATCListener.AddUserNames(List`1 Route, Single PathWidthNM)

 

  • Author

Sorry for delay - been away from PC.

FYI, I do have a filed flight plan - sort of!

the steps - 

1. create a flight plan, validate (save it), connect to MSFS and click file

2. deal as usual, with IFR clearance, taxi, takeoff etc.

3. at some point inthe flight, P2A no longer detects my voice/microphone, so I close and restart

4.  I load the flight plan created at 1 and click the connect button (MSFS is still running)

5.  That exception above is triggered.  I click OK.  I notice the connect button is not green but it is conencted.  As I file again and the highlighted row clicks to where I am.

 

 

 

  • Commercial Member

The connect button should turn green when you connect or else you are only partially connected.

I did make a tweak to the code for the next update that should reduce the odds of this error occurring.

What I don't get is why ATC would stop responding during your cruise.  Assuming you're on the latest version of P2A, the next time this happens to you, after shutting down P2A so the Log File gets written, email that log file to [email protected] and I'll have a look at it.

Please don't copy/paste the log here as it is way too long and more difficult to comb through.

Thanks,

Dave

Edited by Dave-Pilot2ATC

  • Author

Will do.  I've no idea either!

I have tried USB and std 3.5mm microphone.  Certain it's something my end.  Just od it detects microphone after I restart P2A with no other changes.

Archived

This topic is now archived and is closed to further replies.

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.