pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.66k stars 279 forks source link

Error generating windows package #2118

Closed jirkapinus closed 2 years ago

jirkapinus commented 2 years ago

I received the following error when generating a package for https://www.slunecno.cz

Error: Error generating Windows package Error: Failed. Status code 500, Error: , Details: Microsoft.PWABuilder.Windows.Chromium.Models.ProcessException: The pwa_builder.exe process exited with exit code 1.

Process: C:\inetpub\wwwroot\Resources\cli\pwabuilder\pwa_builder.exe

Process args: --url="https://www.slunecno.cz" --target="D:\Temp\pwabuilder\modernpackage-2fb12ed1-1c48-48a6-a583-e1ad531fd175" --version="1.0.1.0" --publisher="CN=D655E7C9-6E81-44D9-AD71-EABAA2614AEA" --package-id-name="EvaluateDynamicss.r.o.PedpovpoasSluneno.cz" --launch-args=" --windows-store-app" --display-name="Počasí Slunečno.cz" --publisher-display-name="Evaluate Dynamics s.r.o." --images="D:\Temp\pwabuilder\app-images-2f00352b-1031-4626-a3bb-56a97a13d989" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="standalone" --signed-app

Standard output:

Standard error: [1005/045646.354:WARNING:resource_bundle.cc(430)] locale_file_path.empty() for locale [1005/045650.102:INFO:pwa_headless_manifest_handler.cc(197)] Found manifest at https://www.slunecno.cz/manifest.json [1005/045650.506:INFO:media_internals.cc(730)] AddToMetadataStore 3 [1005/045650.506:INFO:media_internals.cc(735)] AddToMetadataStore 0 [1005/045650.506:INFO:media_internals.cc(744)] AddToMetadataStore event [1005/045650.507:INFO:media_internals.cc(730)] AddToMetadataStore 3 [1005/045650.507:INFO:media_internals.cc(735)] AddToMetadataStore 1 [1005/045650.510:INFO:media_internals.cc(744)] AddToMetadataStore event [1005/045652.046:INFO:media_internals.cc(730)] AddToMetadataStore 3 [1005/045652.046:INFO:media_internals.cc(735)] AddToMetadataStore 2 [1005/045652.047:INFO:media_internals.cc(744)] AddToMetadataStore event [1005/045652.048:INFO:media_internals.cc(730)] AddToMetadataStore 3 [1005/045652.048:INFO:media_internals.cc(735)] AddToMetadataStore 3 [1005/045652.048:INFO:media_internals.cc(744)] AddToMetadataStore event [1005/045652.227:ERROR:appx_package_builde

ghost commented 2 years ago

Hello jirkapinus, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

davrous commented 2 years ago

Hi @jirkapinus, I'm reproducing the error using the values you've provided. But are you sure those values are the one coming from the Partner Center: https://blog.pwabuilder.com/docs/finding-your-windows-publisher-info/ ?

Your values don't seem to be valid. Because, using my own Partner Center publisher info, I can generate a package for your PWA.

If those are the right values, I guess we have issues with the special characters in this string: "Počasí Slunečno.cz". Adding @JudahGabriel for feedback on that.

Thanks!

JudahGabriel commented 2 years ago

@jirkapinus

We've identified the issue on our end, it has to do with long package IDs (longer than 39 characters), which break an internal tool we use.

We're working on a fix. I'll update here when the fix is available.

JudahGabriel commented 2 years ago

Update: We have a fix now in code review. Should be deployed early next week.

jirkapinus commented 2 years ago

Great 👍 thank you

Dne pá 15. 10. 2021 19:00 uživatel Judah Gabriel Himango < @.***> napsal:

JudahGabriel commented 2 years ago

@jirkapinus I'm glad to report this has been fixed.

Please feel free to reopen this issue if you encounter any problems.