[Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Sorry for this lately reply! But how you solved this problem on your building host? -----邮件原件----- 发件人: Michel Thebeau [mailto:michel.thebeau@windriver.com] 发送时间: 2019年4月29日 22:01 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; starlingx-discuss@lists.starlingx.io 主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso Hi, If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement. A month ago I fixed this on my build host by downgrading mock to a version that was not broken. Google search is agreeing with my memory: https://bugzilla.redhat.com/show_bug.cgi?id=1696234 https://bugzilla.redhat.com/show_bug.cgi?id=1686107 M On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
Hi Folks: According to the Build Guide for stx.2019.05, there is an error found in the building container, /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line 162 will interrupt buiding Process By throwing out an FileNotFoundError. While, FileNotFoundError is an Python3 built-in error, not in python2.7. Just reporting to the community. _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
Hi Song, I agree with you it is a bug in starlingx script. It is not hit just because it is in error handle flow. FileNotFoundError is a python3 only parameter, we should write the code be compatible with both python3 and python2. Please feel free to submit a patch to fix it. Best Regards Shuicheng -----Original Message----- From: Song Gao song (高松) [mailto:gaosong.lc@inspur.com] Sent: Monday, May 6, 2019 9:00 AM To: michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso Sorry for this lately reply! But how you solved this problem on your building host? -----邮件原件----- 发件人: Michel Thebeau [mailto:michel.thebeau@windriver.com] 发送时间: 2019年4月29日 22:01 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; starlingx-discuss@lists.starlingx.io 主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso Hi, If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement. A month ago I fixed this on my build host by downgrading mock to a version that was not broken. Google search is agreeing with my memory: https://bugzilla.redhat.com/show_bug.cgi?id=1696234 https://bugzilla.redhat.com/show_bug.cgi?id=1686107 M On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
Hi Folks: According to the Build Guide for stx.2019.05, there is an error found in the building container, /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line 162 will interrupt buiding Process By throwing out an FileNotFoundError. While, FileNotFoundError is an Python3 built-in error, not in python2.7. Just reporting to the community. _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
Thanks a lot! I will go have a try, But still cannot find where this python package "mockbuild" comes from,-_-||
-----邮件原件----- 发件人: Lin, Shuicheng [mailto:shuicheng.lin@intel.com] 发送时间: 2019年5月6日 9:12 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io 主题: RE: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Hi Song, I agree with you it is a bug in starlingx script. It is not hit just because it is in error handle flow. FileNotFoundError is a python3 only parameter, we should write the code be compatible with both python3 and python2. Please feel free to submit a patch to fix it.
Best Regards Shuicheng
-----Original Message----- From: Song Gao song (高松) [mailto:gaosong.lc@inspur.com] Sent: Monday, May 6, 2019 9:00 AM To: michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Sorry for this lately reply! But how you solved this problem on your building host?
-----邮件原件----- 发件人: Michel Thebeau [mailto:michel.thebeau@windriver.com] 发送时间: 2019年4月29日 22:01 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; starlingx-discuss@lists.starlingx.io 主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso
Hi,
If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement. A month ago I fixed this on my build host by downgrading mock to a version that was not broken.
Google search is agreeing with my memory: https://bugzilla.redhat.com/show_bug.cgi?id=1696234 https://bugzilla.redhat.com/show_bug.cgi?id=1686107
M
On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
Hi Folks: According to the Build Guide for stx.2019.05, there is an error found in the building container, /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line 162 will interrupt buiding Process By throwing out an FileNotFoundError. While, FileNotFoundError is an Python3 built-in error, not in python2.7. Just reporting to the community. _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
Hi Song, It is from “mock” package listed in Dockerfile. Best Regards Shuicheng -----Original Message----- From: Song Gao song (高松) [mailto:gaosong.lc@inspur.com] Sent: Monday, May 6, 2019 10:50 AM To: Lin, Shuicheng <shuicheng.lin@intel.com>; michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io Subject: 答复: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso Thanks a lot! I will go have a try, But still cannot find where this python package "mockbuild" comes from,-_-||
-----邮件原件----- 发件人: Lin, Shuicheng [mailto:shuicheng.lin@intel.com] 发送时间: 2019年5月6日 9:12 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io 主题: RE: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Hi Song, I agree with you it is a bug in starlingx script. It is not hit just because it is in error handle flow. FileNotFoundError is a python3 only parameter, we should write the code be compatible with both python3 and python2. Please feel free to submit a patch to fix it.
Best Regards Shuicheng
-----Original Message----- From: Song Gao song (高松) [mailto:gaosong.lc@inspur.com] Sent: Monday, May 6, 2019 9:00 AM To: michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Sorry for this lately reply! But how you solved this problem on your building host?
-----邮件原件----- 发件人: Michel Thebeau [mailto:michel.thebeau@windriver.com] 发送时间: 2019年4月29日 22:01 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; starlingx-discuss@lists.starlingx.io 主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso
Hi,
If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement. A month ago I fixed this on my build host by downgrading mock to a version that was not broken.
Google search is agreeing with my memory: https://bugzilla.redhat.com/show_bug.cgi?id=1696234 https://bugzilla.redhat.com/show_bug.cgi?id=1686107
M
On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
Hi Folks: According to the Build Guide for stx.2019.05, there is an error found in the building container, /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line 162 will interrupt buiding Process By throwing out an FileNotFoundError. While, FileNotFoundError is an Python3 built-in error, not in python2.7. Just reporting to the community. _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
Oh!Then I got it. Thanks again.
-----邮件原件----- 发件人: Lin, Shuicheng [mailto:shuicheng.lin@intel.com] 发送时间: 2019年5月6日 11:03 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io 主题: RE: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Hi Song, It is from “mock” package listed in Dockerfile.
Best Regards Shuicheng
-----Original Message----- From: Song Gao song (高松) [mailto:gaosong.lc@inspur.com] Sent: Monday, May 6, 2019 10:50 AM To: Lin, Shuicheng <shuicheng.lin@intel.com>; michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io Subject: 答复: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Thanks a lot! I will go have a try, But still cannot find where this python package "mockbuild" comes from,-_-||
-----邮件原件----- 发件人: Lin, Shuicheng [mailto:shuicheng.lin@intel.com] 发送时间: 2019年5月6日 9:12 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io 主题: RE: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Hi Song, I agree with you it is a bug in starlingx script. It is not hit just because it is in error handle flow. FileNotFoundError is a python3 only parameter, we should write the code be compatible with both python3 and python2. Please feel free to submit a patch to fix it.
Best Regards Shuicheng
-----Original Message----- From: Song Gao song (高松) [mailto:gaosong.lc@inspur.com] Sent: Monday, May 6, 2019 9:00 AM To: michel.thebeau@windriver.com; starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] REPLY: Python 3 Error in python 2.7 env when building iso
Sorry for this lately reply! But how you solved this problem on your building host?
-----邮件原件----- 发件人: Michel Thebeau [mailto:michel.thebeau@windriver.com] 发送时间: 2019年4月29日 22:01 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; starlingx-discuss@lists.starlingx.io 主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso
Hi,
If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement. A month ago I fixed this on my build host by downgrading mock to a version that was not broken.
Google search is agreeing with my memory: https://bugzilla.redhat.com/show_bug.cgi?id=1696234 https://bugzilla.redhat.com/show_bug.cgi?id=1686107
M
On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
Hi Folks: According to the Build Guide for stx.2019.05, there is an error found in the building container, /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line 162 will interrupt buiding Process By throwing out an FileNotFoundError. While, FileNotFoundError is an Python3 built-in error, not in python2.7. Just reporting to the community. _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
If the problem is a not with the mock package on the build host, then I do not have any more information to provide. M On Mon, 2019-05-06 at 00:59 +0000, Song Gao song (高松) wrote:
Sorry for this lately reply! But how you solved this problem on your building host?
-----邮件原件----- 发件人: Michel Thebeau [mailto:michel.thebeau@windriver.com] 发送时间: 2019年4月29日 22:01 收件人: Song Gao song (高松) <gaosong.lc@inspur.com>; starlingx-discuss@li sts.starlingx.io 主题: Re: [Starlingx-discuss] Python 3 Error in python 2.7 env when building iso
Hi,
If memory serves me correctly, that's a version of mock that does not properly report python3 as a requirement. A month ago I fixed this on my build host by downgrading mock to a version that was not broken.
Google search is agreeing with my memory: https://bugzilla.redhat.com/show_bug.cgi?id=1696234 https://bugzilla.redhat.com/show_bug.cgi?id=1686107
M
On Sun, 2019-04-28 at 02:11 +0000, Song Gao song (高松) wrote:
Hi Folks: According to the Build Guide for stx.2019.05, there is an error found in the building container, /usr/lib/python2.7/site-packages/mockbuild/package_manager.py Line 162 will interrupt buiding Process By throwing out an FileNotFoundError. While, FileNotFoundError is an Python3 built-in error, not in python2.7. Just reporting to the community. _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discus s
participants (3)
-
Lin, Shuicheng
-
Michel Thebeau
-
Song Gao song (高松)