Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1841653 - ocrmypdf fails to build and install: AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
Summary: ocrmypdf fails to build and install: AttributeError: 'xml.etree.ElementTree.E...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocrmypdf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1793508 1841764 1849963
Blocks: F33FTBFS F33FailsToInstall PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-05-29 14:34 UTC by Igor Raits
Modified: 2020-07-13 07:19 UTC (History)
3 users (show)

Fixed In Version: ocrmypdf-10.2.0-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 07:19:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github jbarlow83 OCRmyPDF issues 583 0 None closed Py 3.9 failures: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' 2020-07-13 07:10:04 UTC

Description Igor Raits 2020-05-29 14:34:23 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

Your package (ocrmypdf) Fails To Install in Fedora 33:

can't install ocrmypdf:
  - nothing provides (python3.8dist(img2pdf) >= 0.3 with python3.8dist(img2pdf) < 0.4) needed by ocrmypdf-9.8.0-1.fc33.noarch
  - nothing provides (python3.8dist(pdfminer.six) <= 20200402 with python3.8dist(pdfminer.six) >= 20181108) needed by ocrmypdf-9.8.0-1.fc33.noarch
  - nothing provides python3.8dist(cffi) >= 1.9.1 needed by ocrmypdf-9.8.0-1.fc33.noarch
  - nothing provides python3.8dist(pillow) >= 6.2 needed by ocrmypdf-9.8.0-1.fc33.noarch
  - nothing provides python3.8dist(reportlab) >= 3.3 needed by ocrmypdf-9.8.0-1.fc33.noarch
  - nothing provides python3.8dist(tqdm) >= 4 needed by ocrmypdf-9.8.0-1.fc33.noarch
  - nothing provides python3.8dist(setuptools) needed by ocrmypdf-9.8.0-1.fc33.noarch
  
If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Igor Raits 2020-06-08 06:58:20 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 2 Miro Hrončok 2020-06-23 15:09:18 UTC
tests/conftest.py:225: in check_ocrmypdf
    result = api.run_pipeline(options, api=True)
../../BUILDROOT/ocrmypdf-9.8.2-1.fc33.noarch/usr/lib/python3.9/site-packages/ocrmypdf/_sync.py:396: in run_pipeline
    exec_concurrent(context)
../../BUILDROOT/ocrmypdf-9.8.2-1.fc33.noarch/usr/lib/python3.9/site-packages/ocrmypdf/_sync.py:285: in exec_concurrent
    page_result = results.next()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <multiprocessing.pool.IMapUnorderedIterator object at 0x7fffa68ae520>
timeout = None
    def next(self, timeout=None):
        with self._cond:
            try:
                item = self._items.popleft()
            except IndexError:
                if self._index == self._length:
                    self._pool = None
                    raise StopIteration from None
                self._cond.wait(timeout)
                try:
                    item = self._items.popleft()
                except IndexError:
                    if self._index == self._length:
                        self._pool = None
                        raise StopIteration from None
                    raise TimeoutError from None
    
        success, value = item
        if success:
            return value
>       raise value
E       AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
/usr/lib64/python3.9/multiprocessing/pool.py:870: AttributeError


Note You need to log in before you can comment on or make changes to this bug.