My guess is you have previuosly run web2py with sudo or installed web2py sudo.
rm /home/www-data/web2py/parameters_8000.py it is exists and make sure the user starting web2py has permission to read and write the web2py folder. Massimo On Monday, 20 March 2017 08:36:19 UTC-5, Rasmus Kreiner wrote: > > Hi All, > > > I keep getting this error when I try start web2 py: > > > *-------------* > > > *pi@FoyerAfspiller_1*:*/home/www-data/web2py $* python web2py.py -a 'xxx' > -i 192.168.0.10 -p 8000 > > web2py Web Framework > > Created by Massimo Di Pierro, Copyright 2007-2017 > > Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 > > Database drivers available: sqlite3, imaplib, pymysql, pg8000 > > > please visit: > > http://192.168.0.10:8000/ > > use "kill -SIGTERM 1105" to shutdown the web2py server > > > > Traceback (most recent call last): > > File "web2py.py", line 32, in <module> > > gluon.widget.start(cron=True) > > File "/home/www-data/web2py/gluon/widget.py", line 1313, in start > > interfaces=options.interfaces) > > File "/home/www-data/web2py/gluon/main.py", line 741, in __init__ > > save_password(password, port) > > File "/home/www-data/web2py/gluon/main.py", line 596, in save_password > > fp = open(password_file, 'w') > > IOError: [Errno 13] Permission denied: > '/home/www-data/web2py/parameters_8000.py' > > *-------------* > > Im running of a raspberry pi with the latest jessie software, and used > this recipe to install web2py: > https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh > . > > Thanks in advance > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.