On Fri, May 29, 2009 at 1:20 PM, Chris Withers <[email protected]> wrote:
>
> Hi All,
>
> I initially tried:
>
> bin\paster.exe controller users
> Command 'controller' not known (you may need to run setup.py egg_info)
>
> So I tried:
>
> bin\buildout.exe setup myproject\setup.cfg egg_info
>

I don't know this command. Is it really work ?

You need to go in your project dir:

cd myproject && ../bin/paster controller user

Hope this help

> Which gave:
>
> Running setup script 'myproject\\setup.cfg'.
> Traceback (most recent call last):
>   File "c:\docume~1\chris\locals~1\temp\tmpyal_od", line 11, in <module>
>     execfile('C:\\myproject\\myproject\\setup.cfg')
>   File "C:\myproject\myproject\setup.cfg", line 6
>     find_links = http://www.pylonshq.com/download/
>                      ^
> SyntaxError: invalid syntax
>
> Just for completeness, I tried commenting out that line in setup.cfg and
> running the command again, this time I got:
>
> Running setup script 'myproject\\setup.cfg'.
> Traceback (most recent call last):
>   File "c:\docume~1\chris\locals~1\temp\tmp7qh6x_", line 11, in <module>
>     execfile('C:\\myproject\\myproject\\setup.cfg')
>   File "C:\myproject\myproject\setup.cfg", line 9
>     with-pylons = test.ini
>                 ^
> SyntaxError: invalid syntax
>
> So, a few questions:
>
> - how do I get "paster controller" to work in a buildout setup
>
> - what's with the invalid syntax errors? I haven't touched setup.cfg
> since "paster create -t pylons" created it?
>
> cheers,
>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
>            - http://www.simplistix.co.uk
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to