| Summary: | Installing python dependency for django app fails to install relevant C library dependencies | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | moxious |
| Component: | Containers | Assignee: | Rob Millner <rmillner> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.x | CC: | bmeng, mfisher |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-17 13:32:01 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: | |
|
Description
moxious
2013-09-26 17:01:41 UTC
Reviewed the Extractor python egg. It expects libextractor to be installed in the OS and neither provides it or has a listed dependency on it. Fedora has an RPM for libextractor. RHEL 6 does not, even via EPEL. I'll see what we can do with it. I've been able to backport libextractor-0.6.3 from Fedora 18 to RHEL 6 (required backporting zzuf). It seems to produce a usable build with just the RHEL, Optional and EPEL repositories as dependencies. The version of Extractor in PyPi (0.5) is very old and wants version 1 of the library. There's a version of python's Extractor in the libextractor site that's compatible with 0.6.3 and is likely the source used for the Ubuntu package. We should be able to package up the newer version of Extracter and ship it as an RPM as well that will supersede the PyPi version. Packaging work is under way to include these in OpenShift Online. Packages are complete. Waiting on them to matriculate through the system. Packages are available in our development environment. The following pull request brings them in and there's a corresponding entry in the release plan for installing. https://github.com/openshift/li/pull/1938 Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/07015944e5ea419716984ec381fa07edbc84ff51 Bug 1012590 - Add python-extractor to the build. Checked on devenv_3864, issue has been fixed. 1.Add django and extractor to the python app setup.py 2.Git push remote: Searching for Extractor==0.6 remote: Best match: Extractor 0.6 remote: Adding Extractor 0.6 to easy-install.pth file 3.SSH login to the app, Use the python script from this article https://www.openshift.com/forums/openshift/missing-shared-object-file-from-python-module 4. [py1-bmengdev.dev.rhcloud.com data]\> python test.py Z8TM.jpg Keywords from Z8TM.jpg: mimetype - image/jpeg image resolution - 1x1 dots per inch? comment - CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90 image dimensions - 600x399 image dimensions - 600x399 mimetype - image/jpeg image dimensions - 600x399 Extractor works well. |