Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2749

Python 3.12: AttributeError: 'PathFinder' object has no attribute 'find_module'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.10.0rc1
    • 2.9.1
    • None
    • None
    • Fedora 39, Python 3.12.0rc1

      picard 2.9.1 and picard from git both crash with the following error message on python 3.12/fedora 39

      Traceback (most recent call last):
        File "/usr/local/bin/picard", line 4, in <module>
          from picard.tagger import main
        File "/usr/local/lib64/python3.12/site-packages/picard/tagger.py", line 69, in <module>
          from picard import (
        File "/usr/local/lib64/python3.12/site-packages/picard/acoustid/__init__.py", line 36, in <module>
          from picard import log
        File "/usr/local/lib64/python3.12/site-packages/picard/log.py", line 51, in <module>
          picard_module_path = Path(PathFinder().find_module('picard').get_filename()).resolve()
                                    ^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: 'PathFinder' object has no attribute 'find_module'
       

            outsidecontext Philipp Wolfer
            hanb Han Boetes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package
                2.10.0rc1