Bug 1533246

Summary: Cannot import dbm.gnu
Product: [Fedora] Fedora Reporter: Randy Barlow <randy>
Component: python3Assignee: Charalampos Stratakis <cstratak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkabrda, cstratak, dmalcolm, ishcherb, lzachar, mcyprian, mhroncok, nitipit, pviktori, rkuska, tomspur, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python3-3.6.4-3.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-23 21:45:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Barlow 2018-01-10 20:15:22 UTC
Description of problem:
I noticed today that a script I wrote could not open a shelve it had previously created, with this error:

dbm.error: db type is dbm.gnu, but the module is not available

I found that I am not able to import dbm.gnu:

$ python3 -c "import dbm.gnu"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.6/dbm/gnu.py", line 3, in <module>
    from _gdbm import *
ImportError: /usr/lib64/python3.6/lib-dynload/_gdbm.cpython-36m-x86_64-linux-gnu.so: undefined symbol: gdbm_errno


Version-Release number of selected component (if applicable):
python3-3.6.3-4.fc28.x86_64

Comment 1 Charalampos Stratakis 2018-01-11 10:44:45 UTC
It seems a rebuild is required due to the gdbm update.

As I am currently working on rebasing python3 to the latest version (3.6.4) it should be taken care soon.

Comment 2 Fedora Update System 2018-01-15 21:36:54 UTC
python3-3.6.4-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-084ebafb44

Comment 3 Fedora Update System 2018-01-17 06:47:20 UTC
python3-3.6.4-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-084ebafb44

Comment 4 Fedora Update System 2018-01-17 09:28:24 UTC
python3-3.6.4-2.fc27 python3-docs-3.6.4-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-084ebafb44

Comment 5 Fedora Update System 2018-01-18 02:09:31 UTC
python3-3.6.4-3.fc27, python3-docs-3.6.4-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-084ebafb44

Comment 6 Fedora Update System 2018-01-23 21:45:43 UTC
python3-3.6.4-3.fc27, python3-docs-3.6.4-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.