I believe there is problem in parsing options. Those options are not web2py options. They are winservice options. Please pen a ticket about this.
On Wednesday, 20 March 2013 09:36:18 UTC-5, wprins wrote: > > Hi, > > I'm trying to set up web2py with alternate account credentials via the > command line as per the command line help page, but when I pass the > specified options web2py claims there's no such option: > > C:\web2py>python web2py.py -W help > web2py Web Framework > Created by Massimo Di Pierro, Copyright 2007-2013 > Version 2.4.5-stable+timestamp.2013.03.18.22.46.22 > Database drivers available: SQLite(sqlite3), MySQL(pymysql), PostgreSQL( > pg8000), > MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), IMAP( > imaplib) > Unknown command - 'help' > Usage: 'web2py.py [options] install|update|remove|start > [...]|stop|restart [...] > |debug [...]' > Options for 'install' and 'update' commands only: > --username domain\username : The Username the service is to run under > --password password : The password for the username > --startup [manual|auto|disabled] : How the service starts, default =manual > --interactive : Allow the service to interact with the desktop. > --perfmonini file: .ini file to use for registering performance monitor > data > --perfmondll file: .dll file to use when querying the service for > performance data, default = perfmondata.dll > Options for 'start' and 'stop' commands only: > --wait seconds: Wait for the service to actually start or stop. > If you specify --wait with the 'stop' option, the service > and all dependent services will be stopped, each waiting > the specified period. > > C:\web2py>python web2py.py -W install --username=web2py > Usage: python web2py.py > > web2py.py: error: no such option: --username > > C:\web2py>python web2py.py -W install --username web2py > Usage: python web2py.py > > web2py.py: error: no such option: --username > > C:\web2py> > > What am I missing? > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.