Bug 610338 - file-roller cannot compress a japanese name's folder to an archive
Summary: file-roller cannot compress a japanese name's folder to an archive
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: file-roller
Version: 13
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-02 06:02 UTC by Daniel
Modified: 2014-12-22 14:21 UTC (History)
8 users (show)

Fixed In Version: file-roller-2.32.0-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-02 05:44:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 617769 0 None None None Never

Description Daniel 2010-07-02 06:02:44 UTC
Description of problem:


Version-Release number of selected component (if applicable):
file-roller-2.30.1.1-3.fc13.x86_64

How reproducible:
everytime

Steps to Reproduce:
1. make a folder contains japanese charactors in name.
mkdir -p 日本語
2. touch a file in the folder made in 1.
touch 日本語/test
3. try to compress the folder made in 1 to an archive by using file-roller.
file-roller -d 日本語
select the type of the archive(zip or 7z or tar) and click "Create" button in the dialog.

  
Actual results:
file-roller gave me an error:
[b]An error occurred while adding files to the archive.[/b]
No such file or directory


Expected results:
an archive named 日本語.{zip, tar, ...} should be created. 

Additional info:
here is my result of locale:
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Comment 1 Fabien Archambault 2010-07-06 06:34:57 UTC
Hello,

I do not know if I need to fill a new bug because this one seems really related to the same problem except I am using the click buttons.

My case is not a japanese name in the folder name but a space inside the folder name.

Steps to Reproduce:
1. Create new folder (named "test" for example)
2. Make a copy of this folder (copy then paste): the name should be "test (copy)"
3. Right click on the folder -> Compress
4. Create

The error is as in the previous bug:
An error occurred while adding files to the archive.
No such file or directory

Version of file-roller : file-roller-2.30.1.1-3.fc13.x86_64
I am on F13 all updated at 6 of july.

Same locale as previous message.

Comment 2 Daniel 2010-07-06 07:08:51 UTC
Hello,

The previous bug reproduced on my system also.

Could somebody fix this bug please?

Comment 3 Daiki Ueno 2010-08-02 07:02:27 UTC
I posted a patch for this:
https://bugzilla.gnome.org/show_bug.cgi?id=617769#c4

Comment 4 Daniel 2010-08-19 08:47:28 UTC
Ueno san,

Thank you very much for your patch file.
I tested your patch file today and it worked for me.

Thanks again for your help.

Comment 5 Daiki Ueno 2010-08-23 02:02:04 UTC
Now the fix is available in the upstream git:
http://git.gnome.org/browse/file-roller/commit/?id=23c4cf9e9e8103d2dc017a03545422119a346d31

Can we close this by including a patch for that commit?

Comment 6 Daniel 2010-08-23 05:24:03 UTC
(In reply to comment #5)
> Now the fix is available in the upstream git:
> http://git.gnome.org/browse/file-roller/commit/?id=23c4cf9e9e8103d2dc017a03545422119a346d31
> 
> Can we close this by including a patch for that commit?

Ueno san,

This problem has been solved for me, but I have no ideas on how to close this problem.

Could you please operate it for me?

Thanks a lot in advance.

Comment 7 Daiki Ueno 2010-08-23 12:05:48 UTC
Sorry, I meant the fedora community by "we".  The actual action to close this bug is up to the maintainer, and at least I can't do it because I'm not the maintainer.

Anyway thanks for testing, Daniel.

Comment 8 Tommy He 2010-09-20 16:24:35 UTC
Problem still persists in current file-roller in file-roller-2.30.1.1-3.fc13. 

Probably a bit longer for general population to benefit from the patch.

Thanks, Daiki. :)

Comment 9 Naoki 2011-03-09 05:16:15 UTC
Persists with file-roller 2.32.0 on F14.

"caution: filename not matched:  \?d\?\?\?l2\?\?_v.xls" when trying to extract a multi-byte (Japanese) named file.

Comment 10 Akira TAGOH 2011-06-01 10:28:45 UTC
the original steps to reproduce this issue at comment#0 works fine with file-roller-2.32.0-2.fc14 on f14.

(In reply to comment #9)
> Persists with file-roller 2.32.0 on F14.
> 
> "caution: filename not matched:  \?d\?\?\?l2\?\?_v.xls" when trying to extract
> a multi-byte (Japanese) named file.

If you still persists this issue, you should provide any test case for that. f13 is going to be EOL soon and the original issue has been fixed in f14 at least, we'll close this otherwise.

Thanks,

Comment 11 Bug Zapper 2011-06-01 14:58:37 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 12 Fabien Archambault 2011-06-01 15:06:25 UTC
This should be closed as in F14 it is working (see also comment #10).
$ rpm -q file-roller
file-roller-2.32.0-2.fc14.x86_64

$ mkdir -p 日本語
$ touch 日本語/test
$ file-roller -d 日本語
$ ls
日本語
日本語.7z


It works!


Note You need to log in before you can comment on or make changes to this bug.