optparse.rb spits warning when UTF-8 string given
|Category:||CLI||Estimated time:||1.00 hour|
|Target version:||Release 4.4|
|Affected Versions:||OpenNebula 2.2|
I accidently hit wrong key when deploying VM and this happened
-bash-4.1$ onevm deploy 6 é /usr/lib/ruby/1.9.1/optparse.rb:1262: warning: regexp match /.../n against to UTF-8 string /usr/lib/ruby/1.9.1/optparse.rb:1278: warning: regexp match /.../n against to UTF-8 string Host named é not found.
#5 Updated by Javi Fontan over 7 years ago
- Status changed from New to Closed
- Resolution set to wontfix
- Affected Versions OpenNebula 2.2 added
This was a problem with "optparse" library from ruby 1.9.1 as the regexp had the "n" modifier (match with UTF-8). This modifier was deleted from newer versions of the library and no longer gives this problem.