View Single Post
  #1 (permalink)  
Old 05-14-2008
Oscar.Acena Oscar.Acena is offline
Registered User
 
Name: Oscar Aceņa
Organization: Universidad Castilla-La Mancha
Project: Wireless sensor networks
 
Join Date: May 2007
Location: Ciudad Real, Spain
Posts: 7
Interactive python fail to loadSlice

There is a problem with python in interactive mode. The Ice.loadSlice function fails and terminates abnormally the python session.

I've made my tests with python 2.5 and Ice 3.3b, on a Debian SID i686. Here's an output of a failure example:

Quote:
test$ ls
test.ice
test$ cat test.ice
module Test {
interface Something {};
};
test$ slice2cpp test.ice
test$ python
Python 2.5.2 (r252:60911, Apr 27 2008, 11:46:35)
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice
>>> Ice.loadSlice("test.ice")
>>>
test$
Exits whitout asking anything. And using python as a normal interpreter (non-interactive) it is ok. It's odd, isn't it?

Cheers.
Reply With Quote