Error generate Json for Widget... after project upgrade to AS6

This worked for me. Text system works now.

For me it didn’t work.

Hi the community,

I found something : in Version 4.x, it’s allowed to have two different names (in my case Alarms and VisuMain_Page_Alarmes) but in V6 NOT. A little joke from the B&R developpers :slight_smile: .
image

So, i tried this :
1- Set the autoUpdate at true (like Hakan KECECI) to allow updating by AS6
2- I renamed all files of my mappView project (binding, eventbinding, page, content, dialog,…)
3- I closed my project and AS6
4 -I reopened my project and miracule it works ! :tada: For my project, I spent about 3 hours !

I hope my little contribution will be useful.

1 Like

In the meantime, everything worked again with my project after I performed the renaming action. Today, however, I wanted to open some content, and the problem is back. I am not aware of having done anything related to it. I’ve only been working on the PLC program code in the past few days… It was still working yesterday. :woozy_face:

Has anyone made a script to rename all files with the id in this file ?

Hi, this is known bug of AS6.0 and should be not present in AS6.1. There are two known workarounds:

  • close and open AS again.
  • if you have ACP10 or mappMotion version selected, change this to not defined, save a project and reopen AS.
2 Likes

Hi Jaroslav, This means that if you want to use mappMotion it will not work in AS6 if I understand it correctly?

There are several workarounds, you can try which one will work for you. Key message from my reply should be that bug was found and going to be fix in next version of AS6

Hi, when will this new version be released? I’m converting an old project from AS4 to AS6 and it includes servo motors and ACP10, so the disabling work around is unfortunately not applicable in this case. Just closing and opening AS doesn’t help.

It should be untill end of this year. But please do not take it as a promise. For precise information you should contact support at your local B&R office.

Hello,

I have just installed Automation Studio 6.1 and tested whether the issue has been resolved.
Unfortunately, at least for me, that doesn’t seem to be the case. I still can’t open the contents and continue to get the “Error generate Json for Widget…” messages.

I have already used “Projects → Convert Project” to change the project to AS6.1 and performed a “Clean Configuration”.

How about others? Is it still not working for you as well?

Do I need to adjust/convert or update something else?

I really hoped this issue would be resolved with the update.

@C557516
Hi Steffen,

oh … can you please get again in contact with the local support engineer who handled the case before ( I know you have had contact, but I’m not sure to whom)?
We will re-open your case and check how we can move forward together!

Best regards, Alex

Hi again,

I’ve realized that it’s not enough to just have AS6.1 installed. You also need to switch your project to MappView 6.1 (Change Runtime Version). Once that’s done, it seems to work just fine :slight_smile:

3 Likes

Hello the community,
It would be great if B&R staff would create a tutorial to explain how to upgrade a V4 project to V6.

The upgrade guide is available in Automation Help.
Automation Help: Upgrading a project from Automation Studio 4 to Automation Studio 6

Hi Tommi,
I think the help chapters are not a tutorial. On my side with version 6.1, I still have a lot of problems and json errors.

I went through the same steps even used prerelease mappView 6.2 and I would still get the JSON error.

Now I may have figured out the reason for this error!

If you delete the guid entry of the content mine opens correctly.
It was weird because sometimes the same content worked and other times it didn’t. When I created a shadow project in AS4 on the same content it wouldn’t open because guid isn’t defined in AS4 so I deleted it and that’s when I realized that the same content now also opens in AS6.

I hope others can confirm this as well.

3 Likes

Hi,

Is the text system supposed to have been fixed in AS6.1 now? I’ve updated to AS6.1, to mappView 6.1 and to ACP10 6.1, however the text system still shows up empty when ACP10 is used.