[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

what am I doing wrong?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-17 20:23:31 CEST

Look at this code fragment from utf8_tests.py:

i18n_filename = "b";

def basic_utf8_conversion(sbox):
  "conversion of paths and logs to/from utf8"

  if sbox.build():
    return 1

  wc_dir = sbox.wc_dir

  # Set our environment's locale to ISO-8859-1
  os.putenv('LC_ALL', 'ISO-8859-1')

  # Create the new i18n file and schedule it for addition
  svntest.main.file_append(os.path.join(wc_dir, i18n_filename), "hi")
  outlines, errlines = svntest.main.run_svn(None,
  if errlines:
    print "Failed to schedule i18n filename for addition"
    return 1

When I run this code, I get:

svn_error: #21047 : <Can't find a working copy path>
  'working_copies/utf8_tests-1/b\324\347\305' not found
Failed to schedule i18n filename for addition

gstein, can I have a hint? :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 17 20:25:07 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.