[albatross-users] Exception: set_page() passing wrong number of parameters to page_enter()?

Gregory Bond gnb at itga.com.au
Tue May 20 09:29:11 EST 2003


> self.app.page_enter(self, args)

You are forgetting the implicit hidden "self" argument that all member 
functions get.  So this is a call to the page_enter() routine of the app 
object.  The args are the app object, an app_context object ("self" in the 
above code) and the empty tuple () in args.

[This is a python-ism, not an albatross-ism.]

Which doesn't help to explain your unexpected exception, tho.  I've not used 
Random apps nor Modular apps, let alone RandomModular apps!

Are you sure you are using a ModularApp and not a SimpleApp?  Are you using 
the correct AppContext type?




More information about the Albatross-users mailing list