pkg-exporter icon indicating copy to clipboard operation
pkg-exporter copied to clipboard

AttributeError: 'NoneType' object has no attribute 'origins'

Open blackknight36 opened this issue 1 year ago • 0 comments

Packages with a missing origin cause the pkg-exporter script to crash with an error as follows.

Traceback (most recent call last): File "/usr/local/bin/pkg-exporter", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/pkg_exporter/textfile.py", line 39, in main pkgmanager.query() File "/usr/local/lib/python3.8/dist-packages/pkg_exporter/pkgmanager/apt.py", line 63, in query for origin in selected_package.candidate.origins: AttributeError: 'NoneType' object has no attribute 'origins'

blackknight36 avatar Feb 23 '24 20:02 blackknight36