Bug #303

optparse.rb spits warning when UTF-8 string given

Added by Martin Kopta almost 11 years ago. Updated almost 8 years ago.

Status:ClosedStart date:07/29/2010
Priority:LowDue date:
Assignee:-% Done:

0%

Category:CLIEstimated 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

Revision 7edd0675
Added by Abel Coronado about 4 years ago

Bug #5149 Removed autorefresh option in sunstone-config (#303)

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.

Also available in: Atom PDF