Bug 457159

Summary: module 'Ice' not found while using ice-python
Product: [Fedora] Fedora Reporter: Timothy Selivanow <timothy.selivanow>
Component: iceAssignee: Mary Ellen Foster <mefoster>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-05 12:18:06 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 Timothy Selivanow 2008-07-29 22:38:57 UTC
Description of problem:
I'm trying to run through the example at
http://www.zeroc.com/doc/Ice-3.3.0/manual/Hello.4.7.html and I have encountered
an error.  When I try to run the server (Server.py), python dumps out with an
import error unable to find module 'Ice'.  I installed the ZeroC repository on a
CentOS 5 i386 machine, and I can run through the example.  Other than the
difference between one being /usr/lib64/python2.5/ and the other being
/usr/lib/python2.4/, both site-packages/Ice/ have the same layout and files.


Version-Release number of selected component (if applicable):
ice-python-3.3.0-3.fc9.x86_64


How reproducible:
Always


Steps to Reproduce:
1. yum install ice-python-devel
2. run through example at mentioned URL

  
Actual results:
$ python ./Server.py 
Traceback (most recent call last):
  File "./Server.py", line 1, in <module>
    import sys, traceback, Ice
ImportError: No module named Ice


Expected results:
1.  $ python ./Server.py
2.  $ python ./Client.py
3.  Hello World!

Comment 1 Timothy Selivanow 2008-08-01 21:11:10 UTC
Taking another look at this, it seems ice-python is missing a .pth file to make
this work.  Upstream has (for i386 rhel5)
/usr/lib/python2.4/site-packages/ice.pth and doing a `rpm -qf` on it shows
'ice-python-3.3.0-1.rhel5' owns it.

Comment 2 Fedora Update System 2008-08-02 06:07:36 UTC
ice-3.3.0-4.fc8 has been submitted as an update for Fedora 8

Comment 3 Fedora Update System 2008-08-02 06:08:21 UTC
ice-3.3.0-4.fc9 has been submitted as an update for Fedora 9

Comment 4 Fedora Update System 2008-08-07 23:49:53 UTC
ice-3.3.0-4.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ice'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7004

Comment 5 Fedora Update System 2008-08-07 23:59:23 UTC
ice-3.3.0-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ice'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-7120

Comment 6 Fedora Update System 2008-09-05 12:18:03 UTC
ice-3.3.0-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2008-09-05 12:21:19 UTC
ice-3.3.0-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2008-09-10 06:46:02 UTC
ice-3.3.0-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2008-09-10 07:17:05 UTC
ice-3.3.0-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.