Weird Error
dwassena at julian.uwo.ca
dwassena at julian.uwo.ca
Tue Aug 29 19:45:57 EDT 2000
In article <uhf83ptwy.fsf at ctwd0143.fitlinxx.com>,
David Bolen <db3l at fitlinxx.com> wrote:
> dwassena at julian.uwo.ca writes:
>
>
> Hmm - ok, how about trying a quick interactive test? If you
> interactively import Qconfig, and then issue the "qconf = Qconfig()"
> call, what do you get left with in qconf? That is, what is the output
> of "print qconf"
I imported it fine and got the following:
>>print qconf
<qconfig.Qconfig instance at 801b10>
> and "print dir(qconf)" for example.
Output generated(THUS MAJOR PROBLEMS!!!!):
>>>print dir(qconf)
[]
>The latter
> should show the entry for getQPath - if it doesn't, then that explains
> the exception, but not necessarily why you didn't end up with that
> member defined.
>
This test sequence seems to indicate that I am NOT defining the members
for the class despite the numerous ones that are there. I am rather
perplexed as the other classes are defined in like manner. I may yet
find a solution, but this is beyond my knowledge having just picked up
Python. I will try picking apart the file piece by piece again to see
what I may have missed (the class file).
Thanks
dan
--
"Ancient weapons and hokey religions are no match for a good blaster
at your side kid." - Han Solo
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list