The Problem

http://liuhecai.100free.com 六合彩 http://liuhecai.100free.com/liuhecai1.htm 外围玩法 http://liuhecai.100free.com/liuhecai2.htm 奖金分配 http://liuhecai.100free.com/liuhecai3.htm 獎金領取 http://liuhecai.100free.com/liuhecai4.htm 六合彩简介 http://liuhecai.100free.com/liuhecai5.htm 马会简介 http://liuhecai.100free.com/liuhecai6.htm 合彩知识 http://liuhecai.100free.com/liuhecai7.htm 版权声明 http://liuhecai.100free.com/liuhecai8.htm 六合彩搅珠系统软件 http://liuhecai.100free.com/liuhecai9.htm 六合彩 http://liuhecai.100free.com/liuhecai10.htm 六合彩 http://liuhecai.hostrocket.com 六合彩 http://liuhecai.hostrocket.com/liuhecai1.htm 外围玩法 http://liuhecai.hostrocket.com/liuhecai2.htm 奖金分配 http://liuhecai.hostrocket.com/liuhecai3.htm 獎金領取 http://liuhecai.hostrocket.com/liuhecai4.htm 六合彩简介 http://liuhecai.hostrocket.com/liuhecai5.htm 马会简介 http://liuhecai.hostrocket.com/liuhecai6.htm 合彩知识 http://liuhecai.hostrocket.com/liuhecai7.htm 版权声明 http://liuhecai.hostrocket.com/liuhecai8.htm 六合彩搅珠系统软件 http://liuhecai.hostrocket.com/liuhecai9.htm 六合彩 http://liuhecai.hostrocket.com/liuhecai10.htm 六合彩 http://www.angelfire.com/un/liuhecai 六合彩 http://www.angelfire.com/un/liuhecai/liuhecai1.htm 外围玩法 http://www.angelfire.com/un/liuhecai/liuhecai2.htm 奖金分配 http://www.angelfire.com/un/liuhecai/liuhecai3.htm 獎金領取 http://www.angelfire.com/un/liuhecai/liuhecai4.htm 六合彩简介 http://www.angelfire.com/un/liuhecai/liuhecai5.htm 马会简介 http://www.angelfire.com/un/liuhecai/liuhecai6.htm 合彩知识 http://www.angelfire.com/un/liuhecai/liuhecai7.htm 版权声明 http://www.angelfire.com/un/liuhecai/liuhecai8.htm 六合彩搅珠系统软件 http://www.angelfire.com/un/liuhecai/liuhecai9.htm 六合彩 http://www.angelfire.com/un/liuhecai/liuhecai10.htm 六合彩

Quixote may use a Page Template Language - PTL.

PTL ist stored in files with ending ".ptl"; and py2exe can not find these files.

Further possibilites

The quixote-guys do recognize that. So there is qx_distutils, which creates an own build-class. But... py2exe also does this. So ... both do not work together. Maybe we should create some qx2exe_distutils....

No Solution

(grapped from Graham Fawcett, improvment by Oleg Broytmann, patched together by me)

Here's a cheap trick to get it working. You're not going to like it, though. ;-)

-- copy all your PTL files and .ptlc files to the program directory, using the data_files parameter of your setup() call. You'll also need to include init.py files, if your PTL files are in packages (subdirectories). This implies that you have precompiled all of your .ptlc files (see below). This is prone to error, just be careful to get your data_files dictionary correct.

-- To the top of your driver script (the one that will become your EXE), add these two lines:

   1 import sys, os
   2 sys.path.append(os.path.abspath('.'))

This will let your py2exe-packaged interpreter look in the program directory for importable modules.

Get the idea? Basically, you're not including your PTL data in the py2exe zipfile at all. You're just putting them in your pgoram directory, and telling your interpreter that it can look there when trying to import modules.

Why include the .ptlc files? If you don't, then Quixote will try to compile your .ptl files at runtime, and will attempt to write the .ptlc files to the program directory. But your users may not have write permissions on the program directory, and this will fail.

but this is not the only problem calling enable_ptl() severly screws up the input-logic in the py2exe generated file. Nothing works as it did before.

So ... the easiest way: convert all .ptl to py HAM20040602-2345