Bug #303
optparse.rb spits warning when UTF-8 string given
Status: | Closed | Start date: | 07/29/2010 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | CLI | Estimated time: | 1.00 hour | |
Target version: | Release 4.4 | |||
Resolution: | wontfix | Pull request: | ||
Affected Versions: | OpenNebula 2.2 |
Description
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.
Associated revisions
History
#1 Updated by Javi Fontan almost 11 years ago
- Category changed from 6 to CLI
#2 Updated by Javi Fontan over 10 years ago
- Target version deleted (
Release 2.0)
#3 Updated by Ruben S. Montero about 8 years ago
- Target version set to Release 4.2
#4 Updated by Ruben S. Montero almost 8 years ago
- Target version changed from Release 4.2 to Release 4.4
#5 Updated by Javi Fontan almost 8 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.