rpattabi / diskpacker

Automatically exported from code.google.com/p/diskpacker
0 stars 0 forks source link

Problems with Unicode filenames #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DiskPacker does not work with files with unicode names.

I'm trying to backup my photos. DiskPacker throwing an error and stops when
 it encounters a filename/folder with unicode characters. I experience this
problem in my windows xp machine, with Tamil and Korean filenames. 

Here's the output:

D:\diskpacker-read-only\lib>ruby main.rb
main.rb:32:in `size': No such file or directory -
f:/photos/august_2007/????006.
jpg (Errno::ENOENT)
        from main.rb:32:in `element_generator'
        from main.rb:11:in `dir_tree_walker'
        from main.rb:16:in `dir_tree_walker'
        from E:/Program Files/ruby/lib/ruby/1.8/find.rb:39:in `find'
        from E:/Program Files/ruby/lib/ruby/1.8/find.rb:38:in `catch'
        from E:/Program Files/ruby/lib/ruby/1.8/find.rb:38:in `find'
        from main.rb:14:in `dir_tree_walker'
        from main.rb:16:in `dir_tree_walker'
        from E:/Program Files/ruby/lib/ruby/1.8/find.rb:39:in `find'
        from E:/Program Files/ruby/lib/ruby/1.8/find.rb:38:in `catch'
        from E:/Program Files/ruby/lib/ruby/1.8/find.rb:38:in `find'
        from main.rb:14:in `dir_tree_walker'
        from main.rb:28:in `element_generator'
        from main.rb:27:in `each'
        from main.rb:27:in `element_generator'
        from main.rb:54:in `generate_elements'
        from main.rb:87

Original issue reported on code.google.com by ananth.p...@gmail.com on 12 Jun 2008 at 2:27

GoogleCodeExporter commented 9 years ago
my ruby version:
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]

Original comment by ananth.p...@gmail.com on 12 Jun 2008 at 4:18

GoogleCodeExporter commented 9 years ago
DiskPacker is written with unicode in mind. So it is surprising that it didn't 
work
for you.

I don't have this issue in Ubuntu linux. Particularly I have the following 
version of
Ruby (ruby --version):

  ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

If you don't have the latest version of ruby, I request you to try updating and 
try
again.

Original comment by ragunath...@gmail.com on 12 Jun 2008 at 4:52

GoogleCodeExporter commented 9 years ago
Reset the status to 'New'

Original comment by ragunath...@gmail.com on 12 Jun 2008 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by ragunath...@gmail.com on 22 Jun 2008 at 5:26

GoogleCodeExporter commented 9 years ago
I am updating the status to closed. Reopen if the problem still exists.

Original comment by ragunath...@gmail.com on 22 Jun 2008 at 6:21