Home Bug Reports

Error in User Manual

rksk16itrksk16it Member Ravi KumarOrganization: HobbyProject: Hobby
Hello
In both online and downloadable versions of Ice User Manual, I have found a
minor error.

In Chapter-25 (Developing a File System Server in Python)
In __init__ functions of both FileI and DirectoryI, a variable 'myID' is used but
never initialized. This caused python interpreter to fail. On inspecting the C++
version of the class, I have found that adding the line :

myID = Ice.Identity ()

before using myID easily solves the problem.

Though it is a *very* minor problem for anyone even slightly familiar with Ice,
it can cause annoyance to beginners who are starting with python.

Last, but not least, Thank You for creating Ice ! :)

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Thanks for the bug report, we'll fix this for the next release!

    Cheers,

    Michi.
Sign In or Register to comment.