charliefik
(Clark Coleman)
October 13, 2022, 11:58am
1
I’m doing the academy course Data Manipulation with Strings in Studio and have downloaded the example code for Extract Email without Regex
Practice 1 - Extract Email Address without RegEx.zip (3.4 KB)
When I try to run it I get the message
Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.
Any ideas what this is about please.
I’m using CE 2022.10.1 on Windows 11 home 64-bit 6.0.7
Gokul001
(Gokul Balaji)
October 13, 2022, 12:01pm
2
Hi @charliefik
Upgrade or Downgrade the Uipath.System.activity and check it
Regards
Gokul
charliefik
(Clark Coleman)
October 13, 2022, 1:16pm
3
Did have 22.10.3 installed switched to 22.10.1 that didn’t work (same problem) moved to 22.4.5 still didn’t work. I then tried shutting down Studio and reopening it just in case but that also didn’t work
Gokul001
(Gokul Balaji)
October 13, 2022, 1:21pm
4
Run the process in Debug mode and share the Screenshot @charliefik
charliefik
(Clark Coleman)
October 13, 2022, 1:25pm
6
It’s now back on UiPath.System.Activities v22.10.1 when I ran that but get same error whichever version I use
Gokul001
(Gokul Balaji)
October 13, 2022, 1:27pm
7
Hi @charliefik
Click here and share the screenshot
Yoichi
(Yoichi)
October 13, 2022, 1:28pm
8
Hi,
It seems your double quote is not " (0x22) but “. So can you try to replace your double quote to "?
Please also check the following post.
Hi,
In windows legacy, it seems double quote is normalized and any double quote characer is accepted. However, at this time, in windows (.net6) ,in fact, only " (0x22) is accepted to express string literal. To make matter worse, it seems to occur only compiling. (Expression validator don’t raise an alert.)
FYI, the following is sample for reproducing. The first Assign uses " 0x22 and second Assign uses “ and it fails in compiling.
Sample20221013-2.zip (2.1 KB)
[image]
Regards,
Regards,
1 Like
Gokul001
(Gokul Balaji)
October 13, 2022, 1:37pm
10
Have you checked @Yoichi suggestion. Change the Double Quote "
@charliefik
charliefik
(Clark Coleman)
October 13, 2022, 1:37pm
11
Replacing the quotes worked. Thanks very much both of you.
This wasn’t my code it was the training materials code so they should look into the issue and replace it.
Thanks very much for the help.
1 Like
system
(system)
Closed
October 16, 2022, 1:38pm
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.