found another error that the same code run well in previous version
(different from reported before)
Traceback (most recent call last):
File "/Users/MacBookPro/site/web2py/gluon/restricted.py", line 219, in
restricted
exec(ccode, environment)
File
"/Users/MacBookPro/site/web2py/applications/test/models/db_schema_0_auth.py",
line 7, in <module>
custom_auth_table = db[auth.settings.table_user_name]
File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
line 663, in __getitem__
return self.__getattr__(str(key))
File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
line 669, in __getattr__
return self.lazy_define_table(tablename, *fields, **args)
File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
line 621, in lazy_define_table
polymodel=polymodel)
File
"/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 795, in create_table
return self.migrator.create_table(*args, **kwargs)
File
"/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/migrator.py", line
277, in create_table
self.adapter.create_sequence_and_triggers(query, table)
File
"/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 878, in create_sequence_and_triggers
self.execute(query)
File
"/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/__init__.py",
line 67, in wrap
return f(*args, **kwargs)
File
"/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 410, in execute
rv = self.cursor.execute(command, *args[1:], **kwargs)
OperationalError: table "auth_user" already exists
step i took for testing from git
*terminal 1*
cd ~/git/web2py
git remote -v
git fetch upstream
git checkout master
git merge upstream/master
mv ~/site/web2py ~/site/web2py_latest
cp ~/git/web2py ~/site/
source ~/site/bin/activate
python ~/site/web2py/web2py.py --nogui --no-banner -a 'a' -i 0.0.0.0 -p 8000
*terminal 2*
cd
rm -rf ~/site/web2py/applications/test
cp -R ~/site/web2py/applications/welcome/ ~/site/web2py/applications/test
rsync -zavr ~/Programming/Python/Web2py/test ~/site/web2py/applications/
rsync -zavur ~/Programming/Python/Web2py/test ~/site/web2py/applications/
curl http://127.0.0.1:8000/test/install_demo
thanks and best regards,
stifan
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.