Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Unknown encoding after 0.1.14: msg#00008

version-control.codeville.devel

Subject: Re: Unknown encoding after 0.1.14

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
>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Codeville-devel mailing list
Codeville-devel@xxxxxxxxxxxxx
http://mail.off.net/mailman/listinfo/codeville-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | 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

Navigation