Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30468

Re: Missing library path (WIndows)

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <kwpolska@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'encoded': 0.05; 'arguments': 0.07; 'python': 0.09; 'encode': 0.09; 'sep': 0.09; 'subject:library': 0.09; 'encoding': 0.15; 'properly': 0.15; 'sat,': 0.15; '4:39': 0.16; 'codec': 0.16; 'gpg': 0.16; 'i\xe2\x80\x99m': 0.16; 'reason.': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'skip:" 30': 0.20; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'appreciated': 0.27; 'message- id:@mail.gmail.com': 0.27; 'url:mailman': 0.29; 'character': 0.29; 'url:python': 0.32; 'file': 0.32; 'not.': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'path': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'characters': 0.36; 'problems': 0.36; 'subject: (': 0.36; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'url:mail': 0.40; 'think': 0.40; 'skip:u 10': 0.60; 'skip:c 50': 0.66; 'url:tk': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Fu3Ia7rLErm2HqBvkTSPg00lX654a5K3Ek7QjH/+I9A=; b=rCtJu6QhXbC3d/E3BxtlgYr6cWC9dX4nAKwQRV459VKqIkcfQDWfgSTG2aTAB83xx1 +XAVU7UvN4C8o9MBWl/ix3xhPo1xPB8Zh3Ij4tFwo6V4W3UunsMfEpkW5n2wH/gOwyOf 4L4RYmQHpJfp4LE7k5z0YD/43GWzY8eIOoKj+FiCvVnbnzJ33u5Pvvh1UWDFs8evHPQG 7pqYH0n2dw0EzupCEzmlxIEhYehelN9NovStk+Aft/hYfh2NX7OR1AV5gShbjolbf9wT 6yDiHU+WD66XVQ+l60b4RHtKbC5/DQ+AZEWDQvFhKEirbFBCjXvXoMcmDSQ6Q+YAWnUk hg+A==
MIME-Version 1.0
In-Reply-To <8cab2c34-7594-471a-80e9-47206bd3ea32@googlegroups.com>
References <8cab2c34-7594-471a-80e9-47206bd3ea32@googlegroups.com>
Date Sat, 29 Sep 2012 10:01:26 +0200
Subject Re: Missing library path (WIndows)
From Kwpolska <kwpolska@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1608.1348905689.27098.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348905689 news.xs4all.nl 6875 [2001:888:2000:d::a6]:52573
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30468

Show key headers only | View raw


On Sat, Sep 29, 2012 at 4:39 AM, FPEFPE <fpesposito@gmail.com> wrote:
> Hello -- I am running python from an application, starting it with a call to the python31.dll
>
> I think I am missing something in my path -- any help would be appreciated -- thanks

Nope, you are not.

> File "C:\Python32\Lib\encodings\cp437.py", line 19, in encode
>
> return codecs.charmap_encode(input,self.errors,encoding_map)[0]
>
> UnicodeEncodeError: 'charmap' codec can't encode characters in position 2-18: character maps to
> --
> http://mail.python.org/mailman/listinfo/python-list

Python has problems with encoding the arguments to look properly with
the crappy Windows cmd.exe encodings. They cannot be encoded for some
reason.  You may need magic, but I’m not quite sure what in Py3k
(bytestrings?)

-- 
Kwpolska <http://kwpolska.tk>
stop html mail      | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
GPG KEY: 5EAAEA16

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Missing library path (WIndows) FPEFPE <fpesposito@gmail.com> - 2012-09-28 19:39 -0700
  Re: Missing library path (WIndows) Kwpolska <kwpolska@gmail.com> - 2012-09-29 10:01 +0200
    Re: Missing library path (WIndows) FPEFPE <fpesposito@gmail.com> - 2012-09-29 13:32 -0700
      Re: Missing library path (WIndows) Kwpolska <kwpolska@gmail.com> - 2012-09-30 14:04 +0200
    Re: Missing library path (WIndows) FPEFPE <fpesposito@gmail.com> - 2012-09-29 13:32 -0700

csiph-web