logo       


problems with i18n testsuite: msg#00124

Subject: problems with i18n testsuite
hi :)

when running the monotone testsuite, i get two problems:
 * the netsync test doesn't terminate until i press ctrl-c
 * the i18n test failes.

i'm using monotone 0.11 on a debian sid system.
i installed the locales used by the testsuite and got the following error:

========================================================================
t_i18n_file.at:21: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
--key=tester@xxxxxxxx add "tmp/file name with spaces"
stderr:
monotone: adding tmp/file name with spaces to working copy add set
stdout:
t_i18n_file.at:22: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
--key=tester@xxxxxxxx add "tmp/file+name-with_funny@symbols%etc:"
stderr:
monotone: adding tmp/file+name-with_funny@symbols%etc: to working copy add set
stdout:
t_i18n_file.at:26: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
--key=tester@xxxxxxxx add "tmp/$EUROPEAN_UTF8"
stderr:
******** errors detected; see standard output for details ********
stdout:

**** exception(205): std::logic_error: transforms.cc:421: invariant 
'I(converted != NULL)' violated

options path is MT/options
converting 2 bytes 'MT' from UTF-8 to ANSI_X3.4-1968
converting 7 bytes 'options' from UTF-8 to ANSI_X3.4-1968
converting 2 bytes 'MT' from UTF-8 to ANSI_X3.4-1968
converting 7 bytes 'options' from UTF-8 to ANSI_X3.4-1968
converting 6 bytes from UTF-8 to IDNA ACE
converting 4 bytes from UTF-8 to IDNA ACE
converting 3 bytes from UTF-8 to IDNA ACE
converting 8 bytes 'monotone' from ANSI_X3.4-1968 to UTF-8
converting 23 bytes '--rcfile=test_hooks.lua' from ANSI_X3.4-1968 to UTF-8
converting 7 bytes '--nostd' from ANSI_X3.4-1968 to UTF-8
converting 6 bytes '--norc' from ANSI_X3.4-1968 to UTF-8
converting 12 bytes '--db=test.db' from ANSI_X3.4-1968 to UTF-8
converting 21 bytes '--key=tester@xxxxxxxx' from ANSI_X3.4-1968 to UTF-8
converting 3 bytes 'add' from ANSI_X3.4-1968 to UTF-8
converting 12 bytes 'tmp/öäüß' from ANSI_X3.4-1968 to UTF-8
transforms.cc:421: invariant 'I(converted != NULL)' violated
t_i18n_file.at:26: exit code was 200, expected 0
24. t_i18n_file.at:3: 24. importing files with a internationalized names 
(t_i18n_file.at:3): FAILED (t_i18n_file.at:26)

========================================================================
(i added the source string to the debug output)

it seems that iconv could not convert a string.
the string to be converted was c3 b6 c3 a4 c3 bc c3 9f,
which already is utf-8.

why is it trying to convert from/to ANSI_X3.4-1968 (which seems to be
plain ascii) here?
(my personal locale is de_DE.UTF-8)


by the way: shouldn't filenames always be encoded in utf-8?
at least many file managers seem to use utf-8 file names.
that way it is still possible for the user to find his files
when he switched his locale (or via remote access)

-- 
Martin Waitz

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Monotone-devel mailing list
Monotone-devel@xxxxxxxxxx
http://mail.nongnu.org/mailman/listinfo/monotone-devel
Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe