-On [20080717 09:01], karthikbalaguru ([EMAIL PROTECTED]) wrote: >AttributeError : Classroom instance has no attribute 'desk_offset'
You are using a Classroom instance and probably assigning something to the instance's variable/attribute 'desk_offset'. Except that the class Classroom has no self.desk_offset. So in your class definition you would need to add something to __init__() like: self.desk_offset = None # or 0 or... -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B A frightened mental vortex we will be, a Sun we seek, a Sun we flee... -- http://mail.python.org/mailman/listinfo/python-list