After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 48454 - nautilus -c gives errors
nautilus -c gives errors
Status: RESOLVED DUPLICATE of bug 45406
Product: nautilus
Classification: Core
Component: Internationalization (i18n)
0.x.x [obsolete]
Other Linux
: Normal major
: old
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-08-01 04:18 UTC by Dennis Björklund
Modified: 2005-01-19 22:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dennis Björklund 2001-09-10 01:18:45 UTC
When running nautilus -c with the swedish locale I get some error messages
indicating that it's something wrong. It's things like 

expected: apa (11:e kopian)
got: apa (11:a kopian)

I don't know where the error is but there is obviously some error when printing
the number 11:a (in swedish it should be 11:e). I talked with menthos and he
didn't see any error in the .po file so it's probably something in the code.

Also when I ran "nautilus -c" it outputs everything showed below but then it
does not exit. It just sits there using no cpu. After a minute I killed it.
Guess its an error but I never ran "nautilus -c" before so I don't know what
it's supposed to do there.

Here is the output (probably badly wrapped by bugzilla)

$ nautilus -c
running nautilus_self_check_search_uri

FAIL: check failed in nautilus-search-uri.c, line 701
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name contains
stuff")
       expected: Objekt som har "saker" i sina namn
            got: Objekt som har "stuff" i sina namn
FAIL: check failed in nautilus-search-uri.c, line 706
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name contains
stuff & file_type is file")
       expected: Objekt som har "saker" i sina namn och som är vanliga filer
            got: Objekt som har "stuff" i sina namn och som är vanliga filer
FAIL: check failed in nautilus-search-uri.c, line 711
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name contains
stuff & file_type is file" " & size smaller_than 2000")
       expected: Objekt som har "saker" i sina namn, som är vanliga filer och
som är mindre än 2000 byte
            got: Objekt som har "stuff" i sina namn, som är vanliga filer och
mindre än 2000 byte
running nautilus_self_check_file_utilities
running nautilus_self_check_file_operations
FAIL: check failed in nautilus-file-operations.c, line 2275
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo (another
copy)", 5), 1)
       expected: apa (tredje kopian)
            got: apa (3:e kopian)
FAIL: check failed in nautilus-file-operations.c, line 2276
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo (another
copy).txt", 5), 1)
       expected: apa (tredje kopian).txt
            got: apa (3:e kopian).txt
FAIL: check failed in nautilus-file-operations.c, line 2277
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo foo (another
copy).txt", 5), 1)
       expected: apa apa (tredje kopian).txt
            got: apa apa (3:e kopian).txt
FAIL: check failed in nautilus-file-operations.c, line 2293
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo (10th copy)",
5), 1)
       expected: apa (11:e kopian)
            got: apa (11:a kopian)
FAIL: check failed in nautilus-file-operations.c, line 2294
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo (10th
copy).txt", 5), 1)
       expected: apa (11:e kopian).txt
            got: apa (11:a kopian).txt
FAIL: check failed in nautilus-file-operations.c, line 2295
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo (11th copy)",
5), 1)
       expected: apa (12:e kopian)
            got: apa (12:a kopian)
FAIL: check failed in nautilus-file-operations.c, line 2296
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo (11th
copy).txt", 5), 1)
       expected: apa (12:e kopian).txt
            got: apa (12:a kopian).txt
running nautilus_self_check_directory



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:18 -------
Comment 1 John Fleck 2002-01-05 04:06:19 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 John Fleck 2002-01-05 21:19:09 UTC
Are you still having this problem?
Comment 3 Dennis Björklund 2002-01-06 00:31:03 UTC
I have nautilus 1.0.4 and there I still get the same FAIL-messages
when I run "nautilus -c".

Now at least it is terminating after it runs the self check. I still
don't know what the self check is for, but since something is failing
I thought you wanted to know.
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2002-02-28 22:30:56 UTC
Does this effect nautilus2?
Comment 5 Dave Bordoley [Not Reading Bug Mail] 2002-03-19 04:35:21 UTC
louie:

I don't get errors with nautilus2, do you?
Comment 6 Luis Villa 2002-03-19 16:47:08 UTC
Kjartan, menthos: are either of you guys seeing this problem in 1.1.x?
Comment 7 Kjartan Maraas 2002-03-20 18:06:41 UTC
I get the same errors when running nautilus -c Not sure where that is
coming from though.
Comment 8 Kjartan Maraas 2003-07-08 23:20:19 UTC
Output from nautilus 2.2.4:

[kmaraas@km bugzilla.gnome.org]$ nautilus -c
running nautilus_self_check_search_uri
 
FAIL: check failed in nautilus-search-uri.c, line 699
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name
contains stuff")
       expected: Oppføringer som har «stuff» i sitt navn
            got: Oppføringer som har «stuff»� i sitt navn
FAIL: check failed in nautilus-search-uri.c, line 704
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name
contains stuff & file_type is file")
       expected: Oppføringer som har «stuff» i navnet og er vanlige
filer
            got: Oppføringer som har «stuff»� i sitt navn og som er
vanlige filer
FAIL: check failed in nautilus-search-uri.c, line 707
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name
contains stuff & file_type is file" " & size smaller_than 2000")
       expected: Oppføringer som har «stuff» i navnet, er vanlige
filer og som er mindre enn 2000 bytes
            got: Oppføringer som har «stuff»� i sitt navn, som er
vanlige filer og mindre enn 2000 bytes
FAIL: check failed in nautilus-search-uri.c, line 712
      evaluated: nautilus_search_uri_to_human ("search:[][]file_name
contains medusa & file_type is directory")
       expected: Oppføringer som har «medusa» i navnet og er mapper
            got: Oppføringer som har «medusa»� i sitt navn og som
er mapper
running nautilus_self_check_file_utilities
running nautilus_self_check_file_operations
FAIL: check failed in nautilus-file-operations.c, line 2353
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(13th copy)", __LC_MESSAGES), 1)
       expected: foo (14de kopi)
            got: foo (13de kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2354
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(13th copy).txt", __LC_MESSAGES), 1)
       expected: foo (14de kopi).txt
            got: foo (13de kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2355
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(21st copy)", __LC_MESSAGES), 1)
       expected: foo (22ndre kopi)
            got: foo (21ste kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2356
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(21st copy).txt", __LC_MESSAGES), 1)
       expected: foo (22ndre kopi).txt
            got: foo (21ste kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2357
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(22nd copy)", __LC_MESSAGES), 1)
       expected: foo (23dje kopi)
            got: foo (22ndre kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2358
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(22nd copy).txt", __LC_MESSAGES), 1)
       expected: foo (23dje kopi).txt
            got: foo (22ndre kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2359
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(23rd copy)", __LC_MESSAGES), 1)
       expected: foo (24de kopi)
            got: foo (23dje kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2360
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(23rd copy).txt", __LC_MESSAGES), 1)
       expected: foo (24de kopi).txt
            got: foo (23dje kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2361
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(24th copy)", __LC_MESSAGES), 1)
       expected: foo (25te kopi)
            got: foo (24de kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2362
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(24th copy).txt", __LC_MESSAGES), 1)
       expected: foo (25te kopi).txt
            got: foo (24de kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2363
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo foo
(24th copy)", __LC_MESSAGES), 1)
       expected: foo foo (25te kopi)
            got: foo foo (24de kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2364
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo foo
(24th copy).txt", __LC_MESSAGES), 1)
       expected: foo foo (25te kopi).txt
            got: foo foo (24de kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2365
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo foo
(100000000000000th copy).txt", __LC_MESSAGES), 1)
       expected: foo foo (kopi).txt
            got: foo foo (100000000000000te kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2366
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(10th copy)", __LC_MESSAGES), 1)
       expected: foo (11te kopi)
            got: foo (10de kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2367
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(10th copy).txt", __LC_MESSAGES), 1)
       expected: foo (12te kopi).txt
            got: foo (10de kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2368
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(11th copy)", __LC_MESSAGES), 1)
       expected: foo (12te kopi)
            got: foo (11te kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2369
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(11th copy).txt", __LC_MESSAGES), 1)
       expected: foo (12te kopi).txt
            got: foo (12te kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2370
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(12th copy)", __LC_MESSAGES), 1)
       expected: foo (13de kopi)
            got: foo (12te kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2371
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(12th copy).txt", __LC_MESSAGES), 1)
       expected: foo (13de kopi).txt
            got: foo (12te kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2372
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(110th copy)", __LC_MESSAGES), 1)
       expected: foo (111te kopi)
            got: foo (110de kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2373
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(110th copy).txt", __LC_MESSAGES), 1)
       expected: foo (112te kopi).txt
            got: foo (110de kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2374
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(122nd copy)", __LC_MESSAGES), 1)
       expected: foo (123dje kopi)
            got: foo (122ndre kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2375
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(122nd copy).txt", __LC_MESSAGES), 1)
       expected: foo (123dje kopi).txt
            got: foo (122dre kopi) (kopi).txt
FAIL: check failed in nautilus-file-operations.c, line 2376
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(123rd copy)", __LC_MESSAGES), 1)
       expected: foo (124de kopi)
            got: foo (123dje kopi) (kopi)
FAIL: check failed in nautilus-file-operations.c, line 2377
      evaluated: get_duplicate_name (dcgettext (((void *)0), "foo
(123rd copy).txt", __LC_MESSAGES), 1)
       expected: foo (124de kopi).txt
            got: foo (123dje kopi) (kopi).txt
running nautilus_self_check_directory
running nautilus_self_check_file
running nautilus_self_check_icon_container
running nautilus_self_check_icon_factory
 
[kmaraas@km bugzilla.gnome.org]$

I wonder if the '-c' checks are broken themselves?
Comment 9 Simon Porter 2004-02-11 12:30:38 UTC
Curtis C. Hovey has informed me that removing the dead Medusa code
will fix this issue.
Comment 10 Kjartan Maraas 2005-01-19 22:33:53 UTC

*** This bug has been marked as a duplicate of 45406 ***