[MacRuby] #465: [0.5b2] Problem walking directory trees with unicode filenames
#465: [0.5b2] Problem walking directory trees with unicode filenames ---------------------------------+------------------------------------------ Reporter: roberto@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ OS X 10.6.2 / macruby 0.5b2 I have a script that walk a given directory tree looking for photos (jpg, raw and all that) called find-photos.rb (see attached file). When running in on trees with unicode characters in filenames (such as the ones generated by iPhoto), it fails to read the name with the following error. MRI 1.8 & YARV 1.9.1 succeeds. Interestingly enough, jRuby fails the same way as macruby. Ticket in jRuby is [http://jira.codehaus.org/browse/JRUBY-3032 [JRUBY-3032]] -- Ticket URL: <http://www.macruby.org/trac/ticket/465> MacRuby <http://macruby.org/>
#465: [0.5b2] Problem walking directory trees with unicode filenames ---------------------------------+------------------------------------------ Reporter: roberto@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by roberto@…): Sorry, send it too fast. Here is the error message: IMAG0024 jpg: Cambridge/IMAG0024.jpg (626541) IMAG0026 jpg: Cambridge/IMAG0026.jpg (752489) IMAG0028 jpg: Cambridge/IMAG0028.jpg (759544) IMG_0001 JPG: iPhoto Library/Modified/2009/Erwan aÌ Pornichet//IMG_0001.JPG (1163888) JPG: iPhoto Library/Originals/2009/Erwan aÌ Pornichet//IMG_0001.JPG (1108306) jpg: iPhoto Library/Data/2009/Erwan aÌ Pornichet//IMG_0001.jpg (49972) IMG_0002 core:in `size:': No such file or directory - /Volumes/Users/roberto/Pictures/iPhoto Library/Modified/2009/CreÌperie aÌ Saint-Nazaire/I/IMG_0002.JPGlumes/Users/roberto/Pictures/Photo Library/2007/12/12/IGP04545.dng (Errno::ENOENT) from core:in `each' from core:in `each' from ./find-photos.rb:100:in `each' from core:in `each' from ./find-photos.rb:223:in `main:' -- Ticket URL: <http://www.macruby.org/trac/ticket/465#comment:1> MacRuby <http://macruby.org/>
#465: [0.5b2] Problem walking directory trees with unicode filenames ---------------------------------+------------------------------------------ Reporter: roberto@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------------+------------------------------------------ Changes (by martinlagardette@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.6 Comment: Fixed with the new ICU branch merge :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/465#comment:2> MacRuby <http://macruby.org/>
#465: [0.5b2] Problem walking directory trees with unicode filenames ---------------------------------+------------------------------------------ Reporter: roberto@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | ---------------------------------+------------------------------------------ Comment(by roberto@…): Fix confirmed, thanks! -- Ticket URL: <http://www.macruby.org/trac/ticket/465#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby