PowerApps-Language-Tooling: Error when unpacking on `.msapp`

I just installed the latest version and I got an error when unpacking:

PS C:\Users\NicolasMedda\Documents\Projets\mh360\MH360Partenaires\CanvasApps> pac canvas unpack --msapp .\new_applicationauditetcontrlepermanent_7caa7_DocumentUri.msapp
UnPack from C:\Users\NicolasMedda\Documents\Projets\mh360\MH360Partenaires\CanvasApps\new_applicationauditetcontrlepermanent_7caa7_DocumentUri.msapp-->C:\Users\NicolasMedda\Documents\Projets\mh360\MH360Partenaires\CanvasApps
Désolé, l'application a rencontré une erreur non récupérable et doit être fermée. Les détails de l'exception ont été capturés et seront transmis à l'équipe de développement, si la télémétrie a été activée. ID de l'exception :cbcc9b32-5b11-4aff-910f-9f4128aff50c
PS C:\Users\NicolasMedda\Documents\Projets\mh360\MH360Partenaires\CanvasApps>

Is there a way to know what the exception is? Maybe through a verbose parameter or something, but it would really help understand what’s going on.

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 26 (2 by maintainers)

Most upvoted comments

I experience the same behavior with 1.9.8

Cannot unpack canvas app

Error message: Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id:91cb509d-35d2-42e2-ad7a-e77d765dad80

works with 1.9.4 but not 1.9.8

After changing the version (thanks for pac use BTW), I figured it needed the --sources parameter set.

The command pac canvas unpack --msapp .\new_applicationauditetcontrlepermanent_7caa7_DocumentUri.msapp --sources auditetcontrolpermanent works with 1.9.4 but doesn’t with 1.9.8+g642d61a

Here’s the exception id with the correct command: f4a525a7-7c79-4236-bd06-ebfe91d88f65

The PAC bug has been fixed with yesterday’s release of v1.9.9

The PAC bug has been fixed with yesterday’s release of v1.9.9

Perfect, I can confirm canvas unpack is working for me again on v1.9.9

image

Thank you guys ! I works like a charm 🥇

I think there is similar issue that reported here: Unpack canvas on Power App release 3.21111.22 Seem like it was fixed and will be released in next version.