Issues with ice-python

Kyle VanderBeek kylev at kylev.com
Tue Jul 29 22:07:50 UTC 2008


On Tue, Jul 29, 2008 at 02:52:47PM -0700, Timothy Selivanow wrote:
> I've just installed ice-python and I am running through the example at
> http://www.zeroc.com/doc/Ice-3.3.0/manual/Hello.4.7.html and when I get
> to the point of running the server (Server.py), python dumps out with an
> import error:
> 
> Traceback (most recent call last):
>   File "./Server.py", line 1, in <module>
>     import sys, traceback, Ice
> ImportError: No module named Ice
> 
> 
> Has anyone else worked with this package, or able to reproduce this?
> While I have just installed the Ice that is available through the
> repository, I don't want to just to any conclusions and file a bug
> report with the packager just yet.

The package looks broken and installed incorrectly (one too many levels
of directories).  File a bug against the "ice" package at Fedora (or 
contact me off-list and I'll open it for you if you don't have a 
bugzilla account):

  https://bugzilla.redhat.com/

In the short term you can work around the mispackaging by setting a 
PYTHONPATH environment variable:

[kylev at kylev-dt docs]$ PYTHONPATH=/usr/lib/python2.5/site-packages/Ice python
Python 2.5.1 (r251:54863, Jul 10 2008, 17:24:48)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice

-- 
kylev at kylev.com
  Some people have a way with words, while others... erm... thingy.




More information about the Fedora-python-devel-list mailing list