Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#25 Patch for containers.py

OpenRPG1
closed-fixed
chris davis
GameTree (6)
5
2006-03-13
2005-01-12
Raelik
No

This patch, which was built against the CVS snapshot as
of 1/11/2005, fixes a problem with the
build_splitter_wnd function in
orpg/gametree/nodehandlers/containers.py that was
keeping splitters from workings. Here's a traceback for
the curious:

Traceback (most recent call last):
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/gametree.py",
line 764, in on_ldclick
obj.on_use(evt)
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/nodehandlers/core.py",
line 109, in on_use
self.create_useframe()
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/nodehandlers/core.py",
line 122, in create_useframe
self.mywindow.panel = self.get_use_panel(self.mywindow)
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/nodehandlers/containers.py",
line 280, in get_use_panel
return tabbed_panel(parent,self,2)
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/nodehandlers/containers.py",
line 301, in __init__
panel = obj.get_use_panel(self)
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/nodehandlers/containers.py",
line 335, in get_use_panel
return build_splitter_wnd(parent,self,2)
File
"/usr/games/lib/openrpg-cvs/orpg/gametree/nodehandlers/containers.py",
line 353, in build_splitter_wnd

(child,cookie)=self.tree.GetFirstChild(handler.mytree_node)
NameError: global name 'self' is not defined

Discussion

  • Raelik
    Raelik
    2005-01-12

    Patch fixing self.tree references in build_splitter_wnd

     
    Attachments
  • Digital Xero
    Digital Xero
    2005-02-13

    Logged In: YES
    user_id=76439

    This has been fixed in CVS

     
  • Digital Xero
    Digital Xero
    2005-02-13

    • status: open --> closed-fixed
     
  • Todd Faris
    Todd Faris
    2006-03-13

    • milestone: --> OpenRPG1