RE: [Edk2 Dev] Issue with 1261 python code?

Subject: RE: [Edk2 Dev] Issue with 1261 python code?

From: "Wang, Jian J" <jian.j.wang@intel.com>

To: <dev@edk2.tianocore.org>

Date: 2008-06-19 20:58:21

Done. Thanks for remind.=20


Cheers,
Javen

-----Original Message-----
From: Andrew Fish [mailto:afish@apple.com]=20
Sent: 2008=C4=EA6=D4=C219=C8=D5 12:52
To: dev@edk2.tianocore.org
Subject: Re: [Edk2 Dev] Issue with 1261 python code?

Javen,

I copied the cx_freeze arguments from the instructions checked into =20
svn. Could you please update the instructions to be correct and check =20
them back in?

Andrew Fish
afish@apple.com
Work iPhone: 360-259-7562




On Jun 18, 2008, at 6:36 PM, Wang, Jian J wrote:

> Andrew,
>
> If you use cx_freeze to freeze the Python source, you have to  use --=20
> include-modules switch to freeze extra encoding modules. For example,
>
> C:\tools\cx_Freeze-3.0.3\FreezePython.exe --include-=20
> modules=20
> =3D=20
> encodings=20
> .cp437=20
> ,encodings.gbk,encodings.utf_16,encodings.utf_16_le,encodings.utf_8 =20
> --install-dir=3D..\bin %*
>
>
> Cheers,
> Javen
>
> -----Original Message-----
> From: Andrew Fish [mailto:afish@apple.com]
> Sent: 2008=C4=EA6=D4=C219=C8=D5 05:06
> To: dev@edk2.tianocore.org
> Subject: [Edk2 Dev] Issue with 1261 python code?
>
> I grabbed BaseTools 1261 and froze it. I get the following error on
> NT32. The checked in binary works OK.
>
>
> Python...
>  : error C0DE: Tools code failure
>     Please submit bug report in www.TianoCore.org, attaching
> following call stack trace!
>
> Traceback (most recent call last):
>   File "GenFds\GenFds.py", line 205, in main
>   File "GenFds\GenFds.py", line 285, in GenFd
>   File "GenFds\Fd.py", line 91, in GenFd
>   File "GenFds\Region.py", line 115, in AddToBuffer
>   File "GenFds\Fv.py", line 80, in AddToBuffer
>   File "GenFds\FfsInfStatement.py", line 146, in GenFfs
>   File "GenFds\FfsInfStatement.py", line 466, in
> __GenComplexFileSection__
>   File "GenFds\EfiSection.py", line 194, in GenSection
>   File "GenFds\GenFdsGlobalVariable.py", line 175, in GenerateSection
> LookupError: unknown encoding: utf_16_le
>
> NMAKE : fatal error U1077: 'GenFds' : return code '0xc0de'
> Stop.
>
>
> Andrew Fish
> afish@apple.com
> Work iPhone: 360-259-7562
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@edk2.tianocore.org
> For additional commands, e-mail: dev-help@edk2.tianocore.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@edk2.tianocore.org
> For additional commands, e-mail: dev-help@edk2.tianocore.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@edk2.tianocore.org
For additional commands, e-mail: dev-help@edk2.tianocore.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@edk2.tianocore.org
For additional commands, e-mail: dev-help@edk2.tianocore.org