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.
--Tim
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):
In the short term you can work around the mispackaging by setting a PYTHONPATH environment variable:
[kylev@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
I forgot to put the details of my environment (oops, you mean people that read these mailing lists /don't/ read minds!?!?). I'm running F9 on x86_64.
Additionally, I just installed ice-python using the ZeroC repository on CentOS 5 (i386) to compare results (there was mention in README.fedora that the Fedora spec was based on the one provided by upstream, ZeroC). The site-packages/Ice directory has the same stuff on either machine, so is this a bug in the diff between %{python_sitearch} and %{python_sitelib}? I attempted to install ice-python.i386, but there is no such package available for x86_64.
--Tim
I forgot to put the details of my environment (oops, you mean people that read these mailing lists /don't/ read minds!?!?). I'm running F9 on x86_64.
Additionally, I just installed ice-python using the ZeroC repository on CentOS 5 (i386) to compare results (there was mention in README.fedora that the Fedora spec was based on the one provided by upstream, ZeroC). The site-packages/Ice directory has the same stuff on either machine, so is this a bug in the diff between %{python_sitearch} and %{python_sitelib}? I attempted to install ice-python.i386, but there is no such package available for x86_64.
--Tim
python-devel@lists.fedoraproject.org