[MacRuby-devel] [MacRuby] #813: /Library/Frameworks/MacRuby.framework/Versions/0.6/usr/lib/ruby/1.9.0/csv.rb:1817:in `block': Unclosed quoted field on line 1. (CSV::MalformedCSVError)

MacRuby ruby-noreply at macosforge.org
Mon Jul 26 11:56:27 PDT 2010


#813: /Library/Frameworks/MacRuby.framework/Versions/0.6/usr/lib/ruby/1.9.0/csv.rb:1817:in
`block': Unclosed quoted field on line 1. (CSV::MalformedCSVError)
------------------------------+---------------------------------------------
 Reporter:  jadarkwah@…       |        Owner:  lsansonetti@…        
     Type:  defect            |       Status:  closed               
 Priority:  blocker           |    Milestone:  MacRuby 0.7          
Component:  MacRuby           |   Resolution:  fixed                
 Keywords:                    |  
------------------------------+---------------------------------------------
Changes (by martinlagardette@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.7


Comment:

 This has been fixed in trunk already, I believe with r4114. Using the non-
 quoted version, I get:

 {{{
 $> macruby csv.rb
 ["1", "2", "River LINE", "0"]
 ["2", "2", "Princeton Shuttle", "0"]
 ["3", "2", "Atlantic City Rail Line", "2"]
 ["4", "2", "Montclair-Boonton Line", "2"]
 ["5", "2", "Montclair-Boonton Line", "2"]
 ["6", "2", "Hudson-Bergen Light Rail", "0"]
 ["7", "2", "Main/Bergen County Line", "2"]
 ["8", "2", "Port Jervis Line", "2"]
 ["9", "2", "Morris & Essex Line", "2"]
 ["10", "2", "Gladstone Branch", "2"]
 ["11", "2", "Northeast Corridor", "2"]
 ["12", "2", "North Jersey Coast Line", "2"]
 ["13", "2", "North Jersey Coast Line", "2"]
 ["14", "2", "Newark Light Rail", "0"]
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/813#comment:3>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list