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


Groups > comp.lang.python > #97450

python3.5 + reportlab + windows again

Path csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'configure': 0.04; 'debug': 0.04; 'compiler': 0.05; 'subject: + ': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'assume': 0.11; 'extensions': 0.13; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:windows': 0.16; 'basically': 0.18; 'debugging': 0.18; 'working.': 0.18; 'tests': 0.18; 'windows': 0.20; 'import': 0.24; 'downloaded': 0.24; 'somewhere': 0.24; 'install': 0.25; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'appear': 0.26; 'header:X-Complaints-To:1': 0.26; 'error': 0.27; 'least': 0.27; 'idea': 0.28; 'issues.': 0.29; "i'm": 0.30; 'creating': 0.30; 'guess': 0.31; 'anyone': 0.32; 'says': 0.32; 'getting': 0.33; 'run': 0.33; 'point': 0.33; 'options': 0.33; 'date.': 0.33; 'flags': 0.33; 'ubuntu': 0.33; 'stopped': 0.35; 'but': 0.36; 'should': 0.36; 'possible': 0.36; 'to:addr:python-list': 0.36; 'two': 0.37; 'setting': 0.37; 'received:org': 0.37; 'version': 0.38; 'does': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'where': 0.40; 'called': 0.40; 'some': 0.40; 'strange': 0.63; 'more': 0.63; 'latest': 0.64; 'received:109': 0.75; 'becker': 0.84; 'extensions.': 0.84; 'x64': 0.84; 'from.': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robin Becker <robin@reportlab.com>
Subject python3.5 + reportlab + windows again
Date Tue, 6 Oct 2015 16:14:38 +0100
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 109.174.168.73
X-Mozilla-News-Host news://news.gmane.org:119
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.429.1444144485.28679.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1444144485 news.xs4all.nl 23811 [2001:888:2000:d::a6]:43815
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:97450

Show key headers only | View raw


I can run all of the reportlab tests OK under ubuntu 14.04 amd65 with the latest 
python 3.5 (built using configure make dance).

However, when I try to do the same with windows 7 x64 & VS2015 as the compiler I 
am getting strange issues.

Basically at some point in the run python pops up a dialogue that says python 
has stopped working and MS is searching for a solution :(

MS doesn't find a solution and then my only options are debug & stop. Debugging 
reveals that the error appeared to happen somewhere in 'external code' called 
from python, but I don't have any idea which of the possible extensions is at 
fault. So far as I know I'm only using two extensions from inside reportlab and 
pillow.

When tested separately, the two RL extensions appear to work OK, but I don't 
know where pillow came from. I just used c:\python35\scripts\pip install pillow 
and it automagically got downloaded as a wheel. I can at least import _imaging 
etc etc so I assume the pillow 3.0.0 is working.

I guess I have to think about creating a debug build of python 3.5 and or one or 
more extensions.

Does anyone know which flags I should be setting in the PCBUILD? I vaguely 
remember /Od /Zi, but this is a new version of VS so perhaps I'm out of date.
-- 
Robin Becker

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


Thread

python3.5 + reportlab + windows again Robin Becker <robin@reportlab.com> - 2015-10-06 16:14 +0100

csiph-web