GEN: Unknown Variable '%PDFXT4PClarioNETPDFGenLoc'

Out of nowhere, when moving the project from another computer to my current one, I cannot compile it anymore - I haven’t changed anything except some code here and there - the template versions/extension versions are all the same.

Previous version of the code from before the code edit still works, any idea?
Below are all the errors shown:

And now the previous version no longer works either - but only on this project, it’s so weird… anyone have any idea?

That looks like Tracker PDFTools files that are causing the errors.

I checked, it’s Tracker PDFTools but also NetTalk - the one in the title is Tracker PDFTools, but the the other two seem to be inside NetTalk - currently doing a re-install to check if that solves it

Finished re-install, getting exact same errors… any idea what’s causing it?

If it’s only messing up one project, do you perhaps have a custom RED file in that project’s folder?

What fo the NetTalk ones look like?

@Bruce - the NetTalk ones (when I search inside the Clarion IDE folder) are %SimpleMode and %WindowStyleOtherListBoxes

%SimpleMode- Gives NetTalk - Searched using VSCode (Opened the Clarion install folder)

%WindowStyleOtherListBoxes - Gives NetTalk, but also AnyText, FM3 etc - Searched using VSCode (Opened the Clarion install folder)

@Jane - There’s no custom RED file in the project dir

Looks like your template registry may not be quite right.
I’m thinking you didn’t move your Clarion over from the last machine to this one correctly.

Cheers
Bruce

try removing all obj, clw, inc files to regenerate them. Before that check included extensions (global, local) in the app and also check solution items on the list (dlls, libs…).

I’ve just solved it - but still don’t know what caused it…

It had to do with the %appdata%\SoftVelocity folder - I renamed it, started Clarion, it asked me to re-activate, opened the project, CTRL+M - and it just builded… now comes the weird part, I closed Clarion, went back to %appdata%\SoftVelocity, renamed it again and renamed the old one back - repeated the above with success, it just compiles… so, no explanation then Clarion is Magical

Correct that - moving the old one back doesn’t keep it solved - it’s so weird

Only one issue left:
afbeelding

It looks like you need to install Mike’s CJSON:

Yeah Apparently it’s used by EasyEdge and somehow not installed during the re-install - thanks for the headsup

I added it and now my Unknown Variable errors are back…

It’s something in my ClarionProperties.xml file… now gotta figure out what

Just copy the working one that got created over the top. I’ve found that ClarionProperties.xml can cause all sort of issues. To the point that I keep a good copy around just in case.

Notepad++ has an addon called ComparePlus where you can compare side by side the old and new ClarionProperties.xml in order to see the differences.
It colourises those differences to make things stand out a bit better which can help make stuff stand out abit better.

I use it for loads of side by side comparisons with files including source.

https://notepad-plus-plus.org/downloads/

Already did that with VSCode but couldn’t really find any real errorness differences - only preferences