Florent Aide wrote:
> Hi Simon,
> 
> I have created a real packaged egg with your provider but I am missing
> the following things to test anything:
> 
> identity.saprovider.model.user="prprint15.model.User"
> identity.saprovider.model.user_account="prprint15.model.UserAccount"
> identity.saprovider.model.group="prprint15.model.Group"
> identity.saprovider.model.permission="prprint15.model.Permission"
> identity.saprovider.model.visit="prprint15.model.VisitIdentity"
> 
> since those are part of your app I don't have it and thus cannot test
> or debug your provider...
> 
> Find attached a full blown project for your provider, you just have to
> go in and type:
> 
> python setup.py develop
> 
> to test in development and
> 
> python setup.py bdist_egg
> 
> to create egg for deployment.
> Please note the use of the setup.cfg file for managing the version
> number and other metada. Please note also the auto creation of the
> metadata file that is then used for accessing the same information
> from inside the program :)
> 
> Cheers,
> Florent.
> 
> On 6/27/07, Simon van der Linden <[EMAIL PROTECTED]> wrote:
>> Florent Aide wrote:
>>> Hi Simon,
>>>
>>> Ok I'll take a look at your provider tonight, could you also post your
>>> app.cfg file ?
>>>
>>> In the mean time please look at this post:
>>>
>>> http://groups.google.com/group/turbogears/tree/browse_frm/thread/4ac1805b08934ac7/27f3ea763d7615b9?rnum=1&q=custom+identity+provider&_done=%2Fgroup%2Fturbogears%2Fbrowse_frm%2Fthread%2F4ac1805b08934ac7%2F27f3ea763d7615b9%3Ftvc%3D1%26q%3Dcustom%2Bidentity%2Bprovider%26#doc_8aa47e3cc0494ec8
>>>
>>> http://tinyurl.com/28uqjl (same in tiny form)
>>>
>>> and see if you can register your provider "properly" this will make
>>> your task easier in the long run to maintain your application.
>> Florent,
>>
>> I didn't have the time today to try <<your>> method to register a provider.
>>
>> Here is my config file: http://pastebin.ca/592131
>>
>> Regards,
>>
>> --
>> Simon van der Linden
>>

Hi Florent,

Thanks for your files; I managed to get an egg for that provider, but 
that doesn't solve my problem.

In my app.cfg, I still have to put

identity.provider='prprint'

and

prprint = prprintidentity.prprintprovider:PRPrintIdentityProvider

in my EGG-INFO/entry_points.txt (turbogears package).
Is it possible to indicate in identity.provider a provider that is 
outside of TG (my egg in this case)?

And, I still have the error with the toolbox :-/

Regards,

--
Simon van der Linden

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to