From timothy.selivanow at virtualxistenz.com Tue Jul 29 21:52:47 2008 From: timothy.selivanow at virtualxistenz.com (Timothy Selivanow) Date: Tue, 29 Jul 2008 14:52:47 -0700 Subject: Issues with ice-python Message-ID: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> 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 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 From kylev at kylev.com Tue Jul 29 22:07:50 2008 From: kylev at kylev.com (Kyle VanderBeek) Date: Tue, 29 Jul 2008 15:07:50 -0700 Subject: Issues with ice-python In-Reply-To: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> References: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> Message-ID: <20080729220750.GF30494@kylev.com> 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 > 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. From timothy.selivanow at virtualxistenz.com Tue Jul 29 22:20:41 2008 From: timothy.selivanow at virtualxistenz.com (Timothy Selivanow) Date: Tue, 29 Jul 2008 15:20:41 -0700 Subject: Issues with ice-python In-Reply-To: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> References: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> Message-ID: <1217370041.13609.18.camel@denkiteki-penpen.easystreet.com> 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 From ravenoak at virtualxistenz.com Tue Jul 29 22:16:41 2008 From: ravenoak at virtualxistenz.com (Timothy Selivanow) Date: Tue, 29 Jul 2008 15:16:41 -0700 Subject: Issues with ice-python In-Reply-To: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> References: <1217368367.13609.7.camel@denkiteki-penpen.easystreet.com> Message-ID: <1217369801.13609.16.camel@denkiteki-penpen.easystreet.com> 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