On 7/2/07, Simon van der Linden <[EMAIL PROTECTED]> wrote: > >> Thanks for your files; I managed to get an egg for that provider, but > >> that doesn't solve my problem. > > > > Yeah I know :)
Found it this time... > Indeed. I changed some things, and it works :-) Thanks a lot, it's > easier like that! yes :) setuptools _rocks_ > > Is it possible for you to send me your model so I have a complete > > custom provider and can play a bit with it to fix the toolbox...? > > Yes, I'll, but in a private email. Ok. Done I pinpointed the pb. Some config options where not correctly copied over from the app config file into the config sent to CherryPy before it was started, so you provider did get back a None and tried to load_class() it and thus borked out :) This is fixed in SVN 1.0 branch (ie: 1.0.3 future release) at r3203. For the moment you will have to either patch you TG with the following file: http://trac.turbogears.org/browser/branches/1.0/turbogears/command/base.py?format=txt which goes to turbogears/command/base.py. OR if you really badly want to access the toolbox but _really_ don't want to "patch" your current TG: mount the toolbox from inside your own app controller and protect it as you deem fit from intruders... Regards, Florent. PS: thanks for your time in helping to pinpoint this issue! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

