public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* GenFds broken in latest basetools-win32
@ 2018-10-01 20:54 Kurt Kennett
  2018-10-08  0:35 ` Zhu, Yonghong
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Kennett @ 2018-10-01 20:54 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

"genfds" seems broken in latest tiano-win32

Can anybody else repo this:

C:\repo\tiano-win32>genfds
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
  File "GenFds\GenFds.py", line 24, in <module>
ValueError: Attempted relative import in non-package

K2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GenFds broken in latest basetools-win32
  2018-10-01 20:54 GenFds broken in latest basetools-win32 Kurt Kennett
@ 2018-10-08  0:35 ` Zhu, Yonghong
  2018-10-08 15:28   ` Kurt Kennett
  0 siblings, 1 reply; 6+ messages in thread
From: Zhu, Yonghong @ 2018-10-08  0:35 UTC (permalink / raw)
  To: Kurt Kennett, edk2-devel@lists.01.org

Hi,

We planned to drop the support of BaseTools Python run from the freeze binary in Windows OS 
https://lists.01.org/pipermail/edk2-devel/2018-September/029436.html 

Please run BaseTools Python from source in Windows. Here is the step wiki  https://github.com/tianocore/tianocore.github.io/wiki/Windows-systems  Compile Tools section.

Best Regards,
Zhu Yonghong

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kurt Kennett
Sent: Tuesday, October 2, 2018 4:55 AM
To: edk2-devel@lists.01.org
Subject: [edk2] GenFds broken in latest basetools-win32

"genfds" seems broken in latest tiano-win32

Can anybody else repo this:

C:\repo\tiano-win32>genfds
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
  File "GenFds\GenFds.py", line 24, in <module>
ValueError: Attempted relative import in non-package

K2
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GenFds broken in latest basetools-win32
  2018-10-08  0:35 ` Zhu, Yonghong
@ 2018-10-08 15:28   ` Kurt Kennett
  2018-10-09  1:16     ` Gao, Liming
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Kennett @ 2018-10-08 15:28 UTC (permalink / raw)
  To: Zhu, Yonghong, edk2-devel@lists.01.org

Does this mean that I should expect the Win32 tools to not work any more "out of the box" for building images using GenFds?

K2

-----Original Message-----
From: Zhu, Yonghong <yonghong.zhu@intel.com> 
Sent: Sunday, October 7, 2018 5:35 PM
To: Kurt Kennett <Kurt.Kennett@microsoft.com>; edk2-devel@lists.01.org
Cc: Zhu, Yonghong <yonghong.zhu@intel.com>
Subject: RE: GenFds broken in latest basetools-win32

Hi,

We planned to drop the support of BaseTools Python run from the freeze binary in Windows OS 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fpipermail%2Fedk2-devel%2F2018-September%2F029436.html&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a74694695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636745557205122493&amp;sdata=FhEKPzqONdjpw5%2Bw4fZrGMfmiESE2M5IoO6YlT23mDs%3D&amp;reserved=0 

Please run BaseTools Python from source in Windows. Here is the step wiki  https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Ftianocore.github.io%2Fwiki%2FWindows-systems&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a74694695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636745557205122493&amp;sdata=2MmoG395pbEHaQ1ybsLMNjepqe%2BwonqtbR%2BcGeDnqng%3D&amp;reserved=0  Compile Tools section.

Best Regards,
Zhu Yonghong

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kurt Kennett
Sent: Tuesday, October 2, 2018 4:55 AM
To: edk2-devel@lists.01.org
Subject: [edk2] GenFds broken in latest basetools-win32

"genfds" seems broken in latest tiano-win32

Can anybody else repo this:

C:\repo\tiano-win32>genfds
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
  File "GenFds\GenFds.py", line 24, in <module>
ValueError: Attempted relative import in non-package

K2
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fmailman%2Flistinfo%2Fedk2-devel&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a74694695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636745557205122493&amp;sdata=RWW9n3h6wznjqsLMhVeUAGTXrq4eUNoOeXY4GcpSx%2Bg%3D&amp;reserved=0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GenFds broken in latest basetools-win32
  2018-10-08 15:28   ` Kurt Kennett
@ 2018-10-09  1:16     ` Gao, Liming
  2018-10-09 15:29       ` Kurt Kennett
  0 siblings, 1 reply; 6+ messages in thread
From: Gao, Liming @ 2018-10-09  1:16 UTC (permalink / raw)
  To: Kurt Kennett, Zhu, Yonghong, edk2-devel@lists.01.org

Yes.  The binary version edk2-BaseTools-win32 doesn't work now. It will not be maintained. 

If you still want to use the binary version BaseTools, you can switch to version dd00d6c9eed34b5b4d3fb0c5a5714ceeaed76165 of edk2-BaseTools-win32. It can work. 

And, I strongly suggest to run BaseTools Python from source in Windows. After you install python27 and set PYTHON_HOME, there is no extra step. 

Thanks
Liming
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Kurt Kennett
>Sent: Monday, October 08, 2018 11:28 PM
>To: Zhu, Yonghong <yonghong.zhu@intel.com>; edk2-devel@lists.01.org
>Subject: Re: [edk2] GenFds broken in latest basetools-win32
>
>Does this mean that I should expect the Win32 tools to not work any more
>"out of the box" for building images using GenFds?
>
>K2
>
>-----Original Message-----
>From: Zhu, Yonghong <yonghong.zhu@intel.com>
>Sent: Sunday, October 7, 2018 5:35 PM
>To: Kurt Kennett <Kurt.Kennett@microsoft.com>; edk2-devel@lists.01.org
>Cc: Zhu, Yonghong <yonghong.zhu@intel.com>
>Subject: RE: GenFds broken in latest basetools-win32
>
>Hi,
>
>We planned to drop the support of BaseTools Python run from the freeze
>binary in Windows OS
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.
>org%2Fpipermail%2Fedk2-devel%2F2018-
>September%2F029436.html&amp;data=02%7C01%7CKurt.Kennett%40micros
>oft.com%7C9a74694695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d
>7cd011db47%7C1%7C0%7C636745557205122493&amp;sdata=FhEKPzqONdjpw
>5%2Bw4fZrGMfmiESE2M5IoO6YlT23mDs%3D&amp;reserved=0
>
>Please run BaseTools Python from source in Windows. Here is the step wiki
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>com%2Ftianocore%2Ftianocore.github.io%2Fwiki%2FWindows-
>systems&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a74694
>695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7
>C0%7C636745557205122493&amp;sdata=2MmoG395pbEHaQ1ybsLMNjepqe%
>2BwonqtbR%2BcGeDnqng%3D&amp;reserved=0  Compile Tools section.
>
>Best Regards,
>Zhu Yonghong
>
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Kurt Kennett
>Sent: Tuesday, October 2, 2018 4:55 AM
>To: edk2-devel@lists.01.org
>Subject: [edk2] GenFds broken in latest basetools-win32
>
>"genfds" seems broken in latest tiano-win32
>
>Can anybody else repo this:
>
>C:\repo\tiano-win32>genfds
>Traceback (most recent call last):
>  File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line
>27, in <module>
>  File "GenFds\GenFds.py", line 24, in <module>
>ValueError: Attempted relative import in non-package
>
>K2
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.
>org%2Fmailman%2Flistinfo%2Fedk2-
>devel&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a7469469
>5f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0
>%7C636745557205122493&amp;sdata=RWW9n3h6wznjqsLMhVeUAGTXrq4eU
>NoOeXY4GcpSx%2Bg%3D&amp;reserved=0
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GenFds broken in latest basetools-win32
  2018-10-09  1:16     ` Gao, Liming
@ 2018-10-09 15:29       ` Kurt Kennett
  2018-10-10  0:34         ` Gao, Liming
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Kennett @ 2018-10-09 15:29 UTC (permalink / raw)
  To: Gao, Liming, Zhu, Yonghong, edk2-devel@lists.01.org

Ok.  May want to clean up the git .readme pages to not tell people to use something that is broken.

K2

-----Original Message-----
From: Gao, Liming <liming.gao@intel.com> 
Sent: Monday, October 8, 2018 6:16 PM
To: Kurt Kennett <Kurt.Kennett@microsoft.com>; Zhu, Yonghong <yonghong.zhu@intel.com>; edk2-devel@lists.01.org
Subject: RE: GenFds broken in latest basetools-win32

Yes.  The binary version edk2-BaseTools-win32 doesn't work now. It will not be maintained. 

If you still want to use the binary version BaseTools, you can switch to version dd00d6c9eed34b5b4d3fb0c5a5714ceeaed76165 of edk2-BaseTools-win32. It can work. 

And, I strongly suggest to run BaseTools Python from source in Windows. After you install python27 and set PYTHON_HOME, there is no extra step. 

Thanks
Liming
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of 
>Kurt Kennett
>Sent: Monday, October 08, 2018 11:28 PM
>To: Zhu, Yonghong <yonghong.zhu@intel.com>; edk2-devel@lists.01.org
>Subject: Re: [edk2] GenFds broken in latest basetools-win32
>
>Does this mean that I should expect the Win32 tools to not work any 
>more "out of the box" for building images using GenFds?
>
>K2
>
>-----Original Message-----
>From: Zhu, Yonghong <yonghong.zhu@intel.com>
>Sent: Sunday, October 7, 2018 5:35 PM
>To: Kurt Kennett <Kurt.Kennett@microsoft.com>; edk2-devel@lists.01.org
>Cc: Zhu, Yonghong <yonghong.zhu@intel.com>
>Subject: RE: GenFds broken in latest basetools-win32
>
>Hi,
>
>We planned to drop the support of BaseTools Python run from the freeze 
>binary in Windows OS 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.
>org%2Fpipermail%2Fedk2-devel%2F2018-
>September%2F029436.html&amp;data=02%7C01%7CKurt.Kennett%40micros
>oft.com%7C9a74694695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d
>7cd011db47%7C1%7C0%7C636745557205122493&amp;sdata=FhEKPzqONdjpw
>5%2Bw4fZrGMfmiESE2M5IoO6YlT23mDs%3D&amp;reserved=0
>
>Please run BaseTools Python from source in Windows. Here is the step 
>wiki https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>com%2Ftianocore%2Ftianocore.github.io%2Fwiki%2FWindows-
>systems&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a74694
>695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7
>C0%7C636745557205122493&amp;sdata=2MmoG395pbEHaQ1ybsLMNjepqe%
>2BwonqtbR%2BcGeDnqng%3D&amp;reserved=0  Compile Tools section.
>
>Best Regards,
>Zhu Yonghong
>
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of 
>Kurt Kennett
>Sent: Tuesday, October 2, 2018 4:55 AM
>To: edk2-devel@lists.01.org
>Subject: [edk2] GenFds broken in latest basetools-win32
>
>"genfds" seems broken in latest tiano-win32
>
>Can anybody else repo this:
>
>C:\repo\tiano-win32>genfds
>Traceback (most recent call last):
>  File 
>"C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 
>27, in <module>
>  File "GenFds\GenFds.py", line 24, in <module>
>ValueError: Attempted relative import in non-package
>
>K2
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.
>org%2Fmailman%2Flistinfo%2Fedk2-
>devel&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a7469469
>5f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0
>%7C636745557205122493&amp;sdata=RWW9n3h6wznjqsLMhVeUAGTXrq4eU
>NoOeXY4GcpSx%2Bg%3D&amp;reserved=0
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
>01.org%2Fmailman%2Flistinfo%2Fedk2-devel&amp;data=02%7C01%7CKurt.Kennet
>t%40microsoft.com%7Cc2dc10b1b6fd43c774ec08d62d85150d%7C72f988bf86f141af
>91ab2d7cd011db47%7C1%7C0%7C636746446939664345&amp;sdata=XFYlyhWM0s31U0i
>CuP54TplWuIfOs0FzxDRyo4LkY2c%3D&amp;reserved=0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GenFds broken in latest basetools-win32
  2018-10-09 15:29       ` Kurt Kennett
@ 2018-10-10  0:34         ` Gao, Liming
  0 siblings, 0 replies; 6+ messages in thread
From: Gao, Liming @ 2018-10-10  0:34 UTC (permalink / raw)
  To: Kurt Kennett, Zhu, Yonghong, edk2-devel@lists.01.org

K2:
   Thanks for your suggestion. I just send the patch to update Notes in edk2-basetools-win32. 

Thanks
Liming
>-----Original Message-----
>From: Kurt Kennett [mailto:Kurt.Kennett@microsoft.com]
>Sent: Tuesday, October 09, 2018 11:29 PM
>To: Gao, Liming <liming.gao@intel.com>; Zhu, Yonghong
><yonghong.zhu@intel.com>; edk2-devel@lists.01.org
>Subject: RE: GenFds broken in latest basetools-win32
>
>Ok.  May want to clean up the git .readme pages to not tell people to use
>something that is broken.
>
>K2
>
>-----Original Message-----
>From: Gao, Liming <liming.gao@intel.com>
>Sent: Monday, October 8, 2018 6:16 PM
>To: Kurt Kennett <Kurt.Kennett@microsoft.com>; Zhu, Yonghong
><yonghong.zhu@intel.com>; edk2-devel@lists.01.org
>Subject: RE: GenFds broken in latest basetools-win32
>
>Yes.  The binary version edk2-BaseTools-win32 doesn't work now. It will not
>be maintained.
>
>If you still want to use the binary version BaseTools, you can switch to version
>dd00d6c9eed34b5b4d3fb0c5a5714ceeaed76165 of edk2-BaseTools-win32. It
>can work.
>
>And, I strongly suggest to run BaseTools Python from source in Windows.
>After you install python27 and set PYTHON_HOME, there is no extra step.
>
>Thanks
>Liming
>>-----Original Message-----
>>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>>Kurt Kennett
>>Sent: Monday, October 08, 2018 11:28 PM
>>To: Zhu, Yonghong <yonghong.zhu@intel.com>; edk2-devel@lists.01.org
>>Subject: Re: [edk2] GenFds broken in latest basetools-win32
>>
>>Does this mean that I should expect the Win32 tools to not work any
>>more "out of the box" for building images using GenFds?
>>
>>K2
>>
>>-----Original Message-----
>>From: Zhu, Yonghong <yonghong.zhu@intel.com>
>>Sent: Sunday, October 7, 2018 5:35 PM
>>To: Kurt Kennett <Kurt.Kennett@microsoft.com>; edk2-devel@lists.01.org
>>Cc: Zhu, Yonghong <yonghong.zhu@intel.com>
>>Subject: RE: GenFds broken in latest basetools-win32
>>
>>Hi,
>>
>>We planned to drop the support of BaseTools Python run from the freeze
>>binary in Windows OS
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.0
>1.
>>org%2Fpipermail%2Fedk2-devel%2F2018-
>>September%2F029436.html&amp;data=02%7C01%7CKurt.Kennett%40micro
>s
>>oft.com%7C9a74694695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2
>d
>>7cd011db47%7C1%7C0%7C636745557205122493&amp;sdata=FhEKPzqONdjp
>w
>>5%2Bw4fZrGMfmiESE2M5IoO6YlT23mDs%3D&amp;reserved=0
>>
>>Please run BaseTools Python from source in Windows. Here is the step
>>wiki
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
>>com%2Ftianocore%2Ftianocore.github.io%2Fwiki%2FWindows-
>>systems&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a7469
>4
>>695f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%
>7
>>C0%7C636745557205122493&amp;sdata=2MmoG395pbEHaQ1ybsLMNjepqe%
>>2BwonqtbR%2BcGeDnqng%3D&amp;reserved=0  Compile Tools section.
>>
>>Best Regards,
>>Zhu Yonghong
>>
>>-----Original Message-----
>>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>>Kurt Kennett
>>Sent: Tuesday, October 2, 2018 4:55 AM
>>To: edk2-devel@lists.01.org
>>Subject: [edk2] GenFds broken in latest basetools-win32
>>
>>"genfds" seems broken in latest tiano-win32
>>
>>Can anybody else repo this:
>>
>>C:\repo\tiano-win32>genfds
>>Traceback (most recent call last):
>>  File
>>"C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line
>>27, in <module>
>>  File "GenFds\GenFds.py", line 24, in <module>
>>ValueError: Attempted relative import in non-package
>>
>>K2
>>_______________________________________________
>>edk2-devel mailing list
>>edk2-devel@lists.01.org
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.0
>1.
>>org%2Fmailman%2Flistinfo%2Fedk2-
>>devel&amp;data=02%7C01%7CKurt.Kennett%40microsoft.com%7C9a746946
>9
>>5f942c56c4608d62cb5ec03%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C
>0
>>%7C636745557205122493&amp;sdata=RWW9n3h6wznjqsLMhVeUAGTXrq4e
>U
>>NoOeXY4GcpSx%2Bg%3D&amp;reserved=0
>>_______________________________________________
>>edk2-devel mailing list
>>edk2-devel@lists.01.org
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
>>01.org%2Fmailman%2Flistinfo%2Fedk2-
>devel&amp;data=02%7C01%7CKurt.Kennet
>>t%40microsoft.com%7Cc2dc10b1b6fd43c774ec08d62d85150d%7C72f988bf86f
>141af
>>91ab2d7cd011db47%7C1%7C0%7C636746446939664345&amp;sdata=XFYlyh
>WM0s31U0i
>>CuP54TplWuIfOs0FzxDRyo4LkY2c%3D&amp;reserved=0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-10  0:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-01 20:54 GenFds broken in latest basetools-win32 Kurt Kennett
2018-10-08  0:35 ` Zhu, Yonghong
2018-10-08 15:28   ` Kurt Kennett
2018-10-09  1:16     ` Gao, Liming
2018-10-09 15:29       ` Kurt Kennett
2018-10-10  0:34         ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox