[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] py2exe and pygame font causes segfaults
- To: pygame-users@xxxxxxxx
- Subject: [pygame] py2exe and pygame font causes segfaults
- From: "Jake b" <ninmonkeys@xxxxxxxxx>
- Date: Tue, 30 Dec 2008 03:51:18 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 30 Dec 2008 04:51:32 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=/sIMlkuIxIfRD7UUFfAOgk51i7z1i7zVaHQA4ohI9L4=; b=K+VxXhpKvpJQE4HPavY6kBNBt6R1QTyrlzLg7ZPRjQtjabteLrHGtXinBS7p1wgH+D 5dO0M4zf28/h1J2wATgPo4kfaOhiBgj4jE2ZALEr6wI/bbO7Ld3V/8M1y+Lp1HUltQxl gGJ39S3NWL1iseaMZyRx82wlWeSy8eFdx18yA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=QQE3W+XPwRgqsX1K2A2nianxq9w6VKFV0oyuZmjQMfSlpQnkJK43ETYKFMS/wwVtQR hJ/Kwk2u7ZIBpxDnjv1KoWrv/+eNycvp+IQdYrCbhCopOa7ZbDbYnjv+8/B8bvCQtaKh IwK5PRXjWScUNt+ieuJ19+O4EB0xBHb/v39EU=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I have a game that I want to package using py2exe. I compile it, and
seems fine, but I run it and I get:
"""
Fatal Python error: (pygame parachute) Segmentation Fault
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
"""
However, if I run it as normal python script, it works fine.
[ If I rename the freesansbold.ttf to something else, it end with
"IOError: unable to read font filename" as expected. ]
So I set a boolean to toggle all font creation/blits/etc... -- If it
is off, the .exe runs fine. If it is on, it fails with above error.
If I run python script , it runs fine with text on.
Any ideas?
--
Jake