Re: Converting Python Scripts to meet PEP-8
Posted: Wed Jul 17, 2013 3:56 pm
Here are some of the values I get when the code runs (going to Watcher's Pub):
sdlName = <PlasmaTypes.ptAttribString instance at 0x18AE95A8>
sdlName.value = boolTreeDayLights
ageSDL = PtGetAgeSDL() (= <Plasma.ptSDL object at 0x1346F7D0>)
so ageSDL[sdlName.value][0] would look like
<Plasma.ptSDL object at 0x1346F7D0>[boolTreeDayLights][0]
I do not understand what this is trying to do.
Going to any of the player Guild Pubs. (Writers, greeters, etc.) I get a tuple index out of range error from xAgeSDLBoolShowHide.py
According to the code, ageSDL[sdlName.value][0] should return a bool value but appears to fail for some reason. Even the debug statements I put in the file to get what this code returns causes a traceback.
If ageSDL[sdlName.value][0] (v2) or ageSDL[stringVarName.value][0] (v1) returns TRUE, then a TRUE responder is run otherwise a FALSE responder.
I also used a different client (the CWE Build) and still got the error.
sdlName = <PlasmaTypes.ptAttribString instance at 0x18AE95A8>
sdlName.value = boolTreeDayLights
ageSDL = PtGetAgeSDL() (= <Plasma.ptSDL object at 0x1346F7D0>)
so ageSDL[sdlName.value][0] would look like
<Plasma.ptSDL object at 0x1346F7D0>[boolTreeDayLights][0]
I do not understand what this is trying to do.
Going to any of the player Guild Pubs. (Writers, greeters, etc.) I get a tuple index out of range error from xAgeSDLBoolShowHide.py
According to the code, ageSDL[sdlName.value][0] should return a bool value but appears to fail for some reason. Even the debug statements I put in the file to get what this code returns causes a traceback.
If ageSDL[sdlName.value][0] (v2) or ageSDL[stringVarName.value][0] (v1) returns TRUE, then a TRUE responder is run otherwise a FALSE responder.
I also used a different client (the CWE Build) and still got the error.