|
|
Choosing A Webhost: |
Re: Unknown encoding after 0.1.14: msg#00008version-control.codeville.devel
Sending the output of these commands would help: locale python -c "import locale; print locale.getdefaultlocale()" locale -a (if the output isn't too long, otherwise just send the "es" parts) Info on your OS/distro The problem is cdv is trying to convert the comment into utf8 from your native locale and is having problems with the native portion of that. For some reason it's not getting back the right encoding from the system. For instance, I get the following: $ LANG=es python -c "import locale; print locale.getdefaultlocale()" ('es_ES', 'ISO8859-1') So it decodes using ISO8859-1, which works correctly. Ross On Mon, Dec 26, 2005 at 02:28:51AM -0800, Luis Otero wrote: > Hi! > > I can't commit after upgrading to 0.1.14. Always fails with the following > error: > > cdv commit -n -m "Bla, Bla, ..." > Traceback (most recent call last): > File "/home/luis/Codeville-0.1.14/cdv", line 512, in run > retval = command[0](co, optlist, args) > File "/home/luis/Codeville-0.1.14/cdv", line 178, in run_commit > return commit(co, remote, comment, tstamp=tstamp, backup=backup, > files=args) > File "/home/luis/Codeville-0.1.14/Codeville/client.py", line 1164, in commit > comment = comment.decode(enc).encode("utf8") > LookupError: unknown encoding: es > > Unfortunately python is not my mother tongue. Any idea?? > Thanks in advance. > > L. > -- > Some people believe that football is a matter of life and death. I am > very disappointed with that attitude, it is much, much more important > than that! > > -- Bill Shankly > _______________________________________________ > Codeville-devel mailing list > Codeville-devel@xxxxxxxxxxxxx > http://mail.off.net/mailman/listinfo/codeville-devel >
Codeville-devel mailing list Codeville-devel@xxxxxxxxxxxxx http://mail.off.net/mailman/listinfo/codeville-devel
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Unknown encoding after 0.1.14, Luis Otero |
|---|---|
| Next by Date: | Re: Unknown encoding after 0.1.14, Luis Otero |
| Previous by Thread: | Unknown encoding after 0.1.14, Luis Otero |
| Next by Thread: | Re: Unknown encoding after 0.1.14, Luis Otero |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |