Bug 1066708
Summary: | Python sqlite3 module does not allow the loading of extensions (should be enabled) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John C Peterson <jcp> | ||||||||
Component: | python | Assignee: | Bohuslav "Slavek" Kabrda <bkabrda> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 20 | CC: | bkabrda, dmalcolm, ivazqueznet, jonathansteffan, mstuchli, tomspur, tradej, volker27 | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | python-2.7.5-11.fc20 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 1066938 (view as bug list) | Environment: | |||||||||
Last Closed: | 2014-02-24 12:31:46 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1066938 | ||||||||||
Attachments: |
|
Description
John C Peterson
2014-02-18 23:17:01 UTC
Created attachment 864825 [details]
Proposed patch for the Python SRPM
Seems reasonable and it's an easyfix, will do. AFAICS there is a configuration option for this in Python 3, so I'll enable it there too - not with patch, but using that option. Thanks for the report. python-2.7.5-11.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-2.7.5-11.fc20 Package python-2.7.5-11.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-2.7.5-11.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2796/python-2.7.5-11.fc20 then log in and leave karma (feedback). Created attachment 866746 [details]
Update to original test script, to more throughly test the fix.
The fix worked as expected for me. I am now able to load extension libraries from the sqlite3 module. (Positive Karma left on Bohdi).
I have attached an update to the test script I originally posted to demo the problem that enables loading of extensions, and then loads the SpatiaLite extension library (/usr/lib64/libspatialite.so). You must have the libspatialite-devel RPM installed.
python-2.7.5-11.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 814905 has been marked as a duplicate of this bug. *** |