Jump to content


Photo

python3-treq error


  • Please log in to reply
5 replies to this topic

#1 TheCount

  • Senior Member
  • 38 posts

0
Neutral

Posted 15 August 2024 - 13:39

Hi,

 

Building the feed I got the following error when compiling python3-treq: -

 

DEBUG: Executing shell function do_compile
Traceback (most recent call last):
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/treq-22.2.0/setup.py", line 24, in <module>
    setup(
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/dist.py", line 432, in __init__
    _Distribution.__init__(self, {
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/dist.py", line 735, in finalize_options
    ep(self)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/dist.py", line 742, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/treq-22.2.0/.eggs/incremental-24.7.2-py3.9.egg/incremental/__init__.py", line 438, in _get_distutils_version
    sp_command.finalize_options()
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/command/build_py.py", line 36, in finalize_options
    orig.build_py.finalize_options(self)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/command/build_py.py", line 43, in finalize_options
    self.set_undefined_options('build',
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/cmd.py", line 286, in set_undefined_options
    src_cmd_obj = self.distribution.get_command_obj(src_cmd)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/distutils/dist.py", line 857, in get_command_obj
    klass = self.get_command_class(command)
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/setuptools/dist.py", line 782, in get_command_class
    self.cmdclass[command] = cmdclass = ep.load()
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/media/dream/Media1/OpenPLi-develop/build/tmp/work/mips32el-oe-linux/python3-treq/22.2.0-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'setuptools.command.build'
ERROR: 'python3 setup.py build ' execution failed.
WARNING: exit code 1 from a shell command.
 
 
Strange because my release-9.0 build works fine.
 
Any ideas?


Re: python3-treq error #2 TheCount

  • Senior Member
  • 38 posts

0
Neutral

Posted 15 August 2024 - 15:30

Strange because my release-9.0 build works fine.

 

 

Correction. It is failing with the same error there as well

 

So both develop and release-9.0 have the same problem.

 

Debian GNU/Linux 12 (bookworm)



Re: python3-treq error #3 WanWizard

  • PLi® Core member
  • 69,816 posts

+1,780
Excellent

Posted 15 August 2024 - 17:39

On our buildservers it was last build on May 24th, on my own server on July 14th.

 

Assuming this is about the dm8000 again, I've started a package build for it here. And I have the same error.

 

I'll have look.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: python3-treq error #4 WanWizard

  • PLi® Core member
  • 69,816 posts

+1,780
Excellent

Posted 15 August 2024 - 17:44

I've pushed a fix to develop. If you can confirm, I can backport it to 9.0-release.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: python3-treq error #5 TheCount

  • Senior Member
  • 38 posts

0
Neutral

Posted 15 August 2024 - 19:29

I've pushed a fix to develop. If you can confirm, I can backport it to 9.0-release.

Yes, dm8000 and that fix works.

 

Thanks.

 

Make feed now continuing.



Re: python3-treq error #6 WanWizard

  • PLi® Core member
  • 69,816 posts

+1,780
Excellent

Posted 16 August 2024 - 09:37

Thanks for the feedback.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users