ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
[Py2exe-users] fake_getline and Python 2.5
by Michael Foord other posts by this author
Sep 15 2006 4:25PM messages near this date
Re: [Py2exe-users] understanding bundle_files:1 crashes | [Py2exe-users] import error with libxml2
Hello all,

FWIW I am seeing (with py2exe 0.6.5) the same error reported here :


Seems to stem from the addition of an extra parameter to
linecache.getline in Python 2.5.

http://aspn.activestate.com/ASPN/Mail/Message/py2exe-users/3216424

As that post says :

Changing:
def fake_getline(filename, lineno):
in boot_common.py to:
def fake_getline(filename, lineno, module_globals=None):
may solve the problem.

All the best,

Fuzzyman
http://www.voidspace.org.uk


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/448 - Release Date: 14/09/2006


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Py2exe-users mailing list
Py2exe-users@[...].net
https://lists.sourceforge.net/lists/listinfo/py2exe-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved