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


Groups > comp.lang.python > #63503

Re: Trouble with UnicodeEncodeError and email

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mailinglists@xgm.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.070
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'received:localnet': 0.09; 'thx': 0.09; 'python': 0.11; 'jan': 0.12; '3.1.3': 0.16; 'januar': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'thu,': 0.19; 'written': 0.21; '(the': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'unicode': 0.24; 'connected': 0.24; 'sort': 0.25; "i've": 0.25; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'scanned': 0.29; 'strongly': 0.30; "i'm": 0.30; 'getting': 0.31; 'becoming': 0.31; 'run': 0.32; 'subject:with': 0.35; 'received:84': 0.35; 'but': 0.35; 'everyone.': 0.36; 'minutes,': 0.36; 'so,': 0.37; 'server': 0.38; 'stable': 0.38; 'to:addr:python-list': 0.38; 'previous': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'unable': 0.39; 'how': 0.40; 'most': 0.60; 'new': 0.61; 'matter': 0.61; 'first': 0.61; 'realized': 0.68; '2014,': 0.84; 'desperate': 0.84; 'does?': 0.84; 'florian': 0.84; 'lot,': 0.93
From Florian Lindner <mailinglists@xgm.de>
To python-list@python.org
Subject Re: Trouble with UnicodeEncodeError and email
Date Wed, 08 Jan 2014 19:09:19 +0100
User-Agent KMail/4.12 (Linux/3.12.6-1-ARCH; KDE/4.12.0; x86_64; ; )
In-Reply-To <CAPTjJmrSGuWXodk7bt_SFfEoM3SUDZJ06NeN5Sdt79S6Kf3WYQ@mail.gmail.com>
References <1566196.GRmDzgaeKX@horus> <CAPTjJmrSGuWXodk7bt_SFfEoM3SUDZJ06NeN5Sdt79S6Kf3WYQ@mail.gmail.com>
MIME-Version 1.0
Content-Transfer-Encoding 7Bit
Content-Type text/plain; charset="utf-8"
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5188.1389204562.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389204562 news.xs4all.nl 2832 [2001:888:2000:d::a6]:37919
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63503

Show key headers only | View raw


Am Donnerstag, 9. Januar 2014, 00:26:15 schrieb Chris Angelico:
> On Thu, Jan 9, 2014 at 12:14 AM, Florian Lindner <mailinglists@xgm.de> wrote:
> > I've written some tiny script using Python 3 and it used to work perfectly. Then I realized it needs to run on my Debian Stable server too, which offers only Python 2. Ok, most backporting was a matter of minutes, but I'm becoming desperate on some Unicode error...
> 
> Are you sure it does? The current Debian stable is Wheezy, which comes
> with a package 'python3' in the repository, which will install 3.2.3.
> (The previous Debian stable, Squeeze, has 3.1.3 under the same name.)
> You may need to change your shebang, but that's all you'd need to do.
> Or are you unable to install new packages? If so, I strongly recommend
> getting Python 3 added, as it's going to spare you a lot of Unicode
> headaches.
> 
> Mind you, I compile my own Py3 for Wheezy, since I like to be on the
> bleeding edge. But that's not for everyone. :)

Well, I thought I had scanned to repos but obviously... I had to install BeautifulSoup and scikit-learn manually. Now some other Unicode issues have arised, but I need to sort them out first how they are connected to my mail delivery agent.

Thx a lot,

Florian

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


Thread

Re: Trouble with UnicodeEncodeError and email Florian Lindner <mailinglists@xgm.de> - 2014-01-08 19:09 +0100

csiph-web