cancel
Showing results for 
Search instead for 
Did you mean: 

I get an error when I try to open my 4.18.1 project into 4.19.0: C:/TouchGFX/4.19.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems/version.rb:214:in `initialize': Malformed version number string - (ArgumentError)

KKark
Associate II

I'm trying to get my 4.16.1 project updated to 4.21.1, but the conversion fails. I then tried installing all the versions in between, and can see that it fails from 4.18.1 to 4.19.0:

The full error message:

C:/TouchGFX/4.19.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems/version.rb:214:in `initialize': Malformed version number string - (ArgumentError)

from C:/TouchGFX/4.19.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems/version.rb:205:in `new'

from C:/TouchGFX/4.19.0/env/MinGW/msys/1.0/Ruby30-x64/lib/ruby/3.0.0/rubygems/version.rb:205:in `new'

from C:/touchgfx/4.19.0/touchgfx/framework/tools/textconvert/upgrader.rb:42:in `<class:Main>'

from C:/touchgfx/4.19.0/touchgfx/framework/tools/textconvert/upgrader.rb:25:in `<main>'

7 REPLIES 7
Yoann KLEIN
ST Employee

Hello @KKark​,

Could you please share your project, so we could try to reproduce the issue ?

Thanks,

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX
brianshankland9
Associate II

I also see the same error when upgrading from my V4.10 project

The zipped project is 89MB if you wish me to send this to you.

Hello,

You can send us your .touchgfx file only, should be sufficient for us to open the project at least.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
This is the project file I tried to upgrade. Thanks for looking into this. I have a few similar projects so if there is an easy modification that s required using a text editor I’m happy to do this to make it upgradable. regards _________________________________________________­_ Brian Shankland Icon Research Ltd 3 Raw Holdings | East Calder | West Lothian | EH53 0HY | UK T: +44 1506 885000 Ext 226 F: +44 1506 885501 www.iconresearch.co.uk<>

Hello brianshankland9,

Sorry but no attached file is visible, could you retry to upload it? (you can send it to me or @Yoann KLEIN​ in PM if you prefer)

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
Hello Osman,
I performed a clean install of V4.21.1 on another computer and it will import the project file if there are no other files present. In this case the displays all contain empty boxes since the required images and text files are not present.
When I import the project with all of the files present it creates the error so I think you would need the entire project (zipped 89 MB) to replicate.
Is there a way of emailing a dropbox link to you such that the link is not visible to the entire world since the project contains company confidential information?

Hello brianshankland9,

I sent you a PM :)

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX