Ice.getSliceDir() returns None

Bug #464727 reported by Tobias Strauß
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zeroc-ice (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: zeroc-ice

... but Ice.getSliceDir() should return the path /usr/share/slice

affected Version: 3.3.1-6

test it:
import Ice
assert Ice.getSliceDir() != None

fix:
/usr/lib/pymodules/python2.6/Ice.py
124a125,127
> dir = os.path.join("/", "usr", "share","slice")
> if os.path.exists(dir):
> return dir

OR

symlink /usr/share/slice /usr/share/Ice-3.3.1/slice

# aptitude search ice33 | grep ^i
i ice33-services - Services bundled into ZeroC Ice
i ice33-slice - Slice definitions for Ice 3.3 services
i ice33-translators - Slice translators to several languages
i A libslice33 - Ice for C++ Slice parser library
i A libzeroc-ice33 - Ice for C++ runtime library

Linux brutus 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.