*** holycow has quit IRC *** holycow has joined #gnuenterprise *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC *** holycow has quit IRC *** reinhard has joined #gnuenterprise *** sjc has joined #gnuenterprise *** kilo has joined #gnuenterprise *** btami has joined #gnuenterprise good morning good morning good morning hi all *** johannesV has joined #gnuenterprise *** sjc has quit IRC *** reinhar1 has joined #gnuenterprise *** reinhard has quit IRC *** reinhar1 has quit IRC *** reinhard has joined #gnuenterprise *** yure has joined #gnuenterprise *** yure has quit IRC *** docelic has joined #gnuenterprise *** yure has joined #gnuenterprise *** dcmwai has quit IRC *** docelic has quit IRC *** docelic has joined #gnuenterprise *** ajmitch has quit IRC *** btami has quit IRC *** docelic has quit IRC *** yure has quit IRC *** johannesV has quit IRC *** wendall911 has quit IRC *** dimas has quit IRC *** ajmitch_ has quit IRC *** mnemoc has quit IRC *** jamest has quit IRC *** kilo has quit IRC *** rynik has quit IRC *** chillywilly has quit IRC *** Amorphous has quit IRC *** johannesV has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** mnemoc has joined #gnuenterprise *** dimas has joined #gnuenterprise *** rynik has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** ajmitch_ has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** jamest has joined #gnuenterprise *** jamest_ has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** jcater has joined #gnuenterprise *** titopbs has joined #gnuenterprise *** dimas has quit IRC *** titopbs has quit IRC *** dimas has joined #gnuenterprise *** titopbs has joined #gnuenterprise *** sjc has joined #gnuenterprise how/where do i close a session opened on an __init__ function? what __init__function? reinhard! great i'm moving my migrator into a appserver.language.app.App() class i added this: COMMAND_OPTIONS = [ ['basedate','d','basedate',1,None,'basedate','YYYY-MM of this periodo' ], ] but i get: self.COMMAND_OPTIONS.append (CommandOption (*option)) TypeError: CommandOption constructor argument after * must be a sequence my other doubt is where should i create the session, doing it on __init__ gives another errors *** yure has joined #gnuenterprise seems like the format of COMMAND_OPTIONS is wrong .oO( where? )o hmm looks correct it worked for GClientApp ah I think I see the problem the COMMAND_OPTIONS thing is "old style" and new style is to use addCommandOption appserver's App adds a --connection option with addCommandOption so if you subclass appserver's App and do COMMAND_OPTIONS you have a mixture of old and new style option handling which doesn't work self.addCommandOption ('connection', 'c', argument='name', default = "gnue", help = _("Connect to the appserver using the connection ")) oh is an example of new style option handling what's the third argument? it's the placeholder for the help text will issue a help text of --connection=name i mean: argument='name' part right it means that the argument is called "name" for self.OPTIONS['...'] ? you would use somethin like argument='month' no just for the help text oh l8r *** reinhard has quit IRC *** docelic has joined #gnuenterprise *** ajmitch_ has quit IRC *** docelic has quit IRC *** wendall911 has quit IRC *** kilo_ has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** mnemoc_ has joined #gnuenterprise *** mnemoc has quit IRC *** reinhard has joined #gnuenterprise *** johannesV_ has quit IRC *** ajmitch_ has joined #gnuenterprise *** sjc has quit IRC *** docelic has joined #gnuenterprise *** jamest_ has quit IRC *** jcater has quit IRC *** docelic has quit IRC *** yure has quit IRC *** kilo_ has quit IRC night all *** reinhard has quit IRC *** wendall911 has quit IRC *** wendall911 has joined #gnuenterprise *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** dimas has quit IRC *** dcmwai has joined #gnuenterprise *** jcater has joined #gnuenterprise *** wendall911 has left #gnuenterprise *** jcater has quit IRC *** ajmitch_ has quit IRC *** mnemoc_ has quit IRC *** jamest has quit IRC *** rynik has quit IRC *** Amorphous has quit IRC *** ajmitch_ has joined #gnuenterprise *** mnemoc_ has joined #gnuenterprise *** rynik has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** jamest has joined #gnuenterprise