Ice.getSliceDir() returns None
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/
124a125,127
> dir = os.path.join("/", "usr", "share","slice")
> if os.path.
> return dir
OR
symlink /usr/share/slice /usr/share/
# 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