Where can I get one so that I'm SURE the .py is valid?

On Aug 28, 4:59 pm, "Noah Kantrowitz" <[EMAIL PROTECTED]> wrote:
> Whatever you gave it as an authz policy isn't a valid ini file.
>
> --Noah
>
>
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> > On Behalf Of slade867
> > Sent: Thursday, August 28, 2008 1:58 PM
> > To: Trac Users
> > Subject: [Trac] Configobj/authzpolicy problems
>
> > I installed Configobj into site packages. I placed authz_policy.py
> > into my Project\plugins folder.
>
> > I try to run using the command C:\Python24\Scripts\tracd-script.py -p
> > 8000 -- auth=Project,C:\TracProjects\passwords.txt,trac c:\TracProjects
> > \trac\Project
>
> > When I tryo to go to the page I get some of the following errors:
>
> > Traceback (most recent call last):
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\web\api.py", line 342, in send_error
> >     'text/html')
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\web\chrome.py", line 684, in render_template
> >     data = self.populate_data(req, data)
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\web\chrome.py", line 592, in populate_data
> >     d['chrome'].update(req.chrome)
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\web\api.py", line 169, in __getattr__
> >     value = self.callbacks[name](self)
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\util\compat.py", line 133, in newfunc
> >     return func_(*(args + fargs), **dict(kwargs, **fkwargs))
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\web\chrome.py", line 460, in prepare_request
> >     for category, name, text in contributor.get_navigation_items(req):
> >   File "c:\python24\lib\site-packages\Trac-0.11stable_r7496-py2.4.egg
> > \trac\ticket\web_ui.py", line 155, in get_navigation_items
> >     if 'TICKET_CREATE' in req.perm:
> > ...
> > ConfigObjError: Parsing failed with several errors.
> > First error at line 1.
>
> > Any ideas how to get past this?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to