Bug 2292032

Summary: lensfun-update-data doesn't work
Product: [Fedora] Fedora Reporter: tokariew <korbolinhii>
Component: lensfunAssignee: Rex Dieter <rdieter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: awilliam, germano.massullo, graham_alton, nphilipp, rdieter, trix
Target Milestone: ---Keywords: Desktop, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-27 18:21:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tokariew 2024-06-12 13:17:19 UTC
When trying to run `lensfun-update-data` on fedora 39 or fedora 40 the following error occur:

```
Traceback (most recent call last):
  File "/usr/bin/lensfun-update-data", line 46, in <module>
    import lensfun
ModuleNotFoundError: No module named 'lensfun'
```

On fedora38 it work without any problems

Reproducible: Always

Steps to Reproduce:
1. sudo  dnf install lensfun-tools
2. run `lensfun-update-data `
Actual Results:  
The command end with error

```
Traceback (most recent call last):
  File "/usr/bin/lensfun-update-data", line 46, in <module>
    import lensfun
ModuleNotFoundError: No module named 'lensfun'
```

Expected Results:  
run like in fedora 38
[root@d32f157694e1 /]# lensfun-update-data 
Reading http://lensfun.sourceforge.net/db/versions.json …
Reading http://wilson.bronger.org/lensfun-db/versions.json …
Successfully updated the database in /var/lib/lensfun-updates/version_1.

on fedora 38 runnning inside podman it work, on fedora 39 and 40 in the container doesn't work

Comment 1 Adam Williamson 2024-06-27 18:21:16 UTC

*** This bug has been marked as a duplicate of bug 2255539 ***