microsoft / PowerBI-visuals-tools

Contains tools for building/packaging Power BI visuals
https://www.powerbi.com
MIT License
334 stars 150 forks source link

When build with version >= 3.4.3 I'm getting the following error on import: The file "filename.pbiviz" isn't a valid custom visual. #402

Closed JipAccobat closed 2 years ago

JipAccobat commented 2 years ago

Hello,

After updating to version 3.4.3 or above of the build tool I'm getting the following error when trying to import packages build with it: image

/Jimmy

Demonkratiy commented 2 years ago

Hello @JipAccobat, is this visual project is private or can I try to test it?

zBritva commented 2 years ago

@JipAccobat it seems that GUID contains whitespace. Could you check it?

JipAccobat commented 2 years ago

@Demonkratiy the visual project is private.

@zBritva the GUID doesn't contain whitespace: "guid": "accoPLANNING_4DAA52ABFBF441E2A7898A79384CAFA9_test", image

Melethainiel commented 2 years ago

I have the same here. My last version on the visual with v3.3.2 is working fine and since I updated to 4.0.0 I got the same error

Demonkratiy commented 2 years ago

@Melethainiel, does your visual project is also private and you can't share it with me to test?

iMicknl commented 2 years ago

I can reproduce with my project, which is public: https://github.com/iMicknl/powerbi-botframework-chat-transcripts. @Demonkratiy you can use this for debugging. And feel free to ping me internally as well (mivleesh).

See https://github.com/iMicknl/powerbi-botframework-chat-transcripts/issues/114 for context.

Melethainiel commented 2 years ago

@Melethainiel, does your visual project is also private and you can't share it with me to test?

Sure, I’ll give you access next monday

nishantjainuk commented 2 years ago

I am also getting the same issue. However, it works on the browser. The issue is only with Desktop

Melethainiel commented 2 years ago

@Demonkratiy you can find the repo here

Demonkratiy commented 2 years ago

@iMicknl , @Melethainiel , thanks for provided source code. I think I found possible issue, it starts from tools version 3.4.3. We will prepare a fix soon. As for right now, please use version 3.4.2, it should work.

Melethainiel commented 2 years ago

@Demonkratiy it’s working fine with 3.4.2.

iMicknl commented 2 years ago

@Demonkratiy any estimation when a fix will be released?

I am not able to fix this issue after rollback (locally) and I am not sure why..

Demonkratiy commented 2 years ago

Yes sorry for a delay. Fix version is published - v 4.0.2. Please use it for now.

iMicknl commented 2 years ago

I can confirm that 4.0.2 fixes the issue. Thanks for mitigating this issue.

ashfaqdawood commented 2 years ago

This issue seems to be occurring if we create a custom visual using "powerbi-visuals-webpack-plugin" version 3.0.0 without using the out of the box "pbiviz new" flow.