Skip to main content
KKark
Associate
February 11, 2023
Question

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)

  • February 11, 2023
  • 7 replies
  • 1915 views

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>'

This topic has been closed for replies.

7 replies

Yoann KLEIN
ST Employee
February 13, 2023

Hello @KKark​,

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

Thanks,

/Yoann

Yoann KLEINST Software Developer | TouchGFX
brianshankland9
Associate III
February 22, 2023

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.

Osman SOYKURT
ST Technical Moderator
February 23, 2023

Hello,

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

/Osman

ST Software Developer | TouchGFX
brianshankland9
Associate III
February 23, 2023
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<>