>
>
> - How to view Error Tickets while doing development in web2py on GAE
> SDK?
>
> you can check the error on terminal that run gae dev_appserver.py,
assumming you have the same step like i shown before
*e.g. error traceback in terminal that run gae dev_appserver.py*
ERROR 2018-08-18 11:05:13,150 restricted.py:174] Traceback (most recent
call last):
File "/Users/sugizo/Downloads/learn/web2py/gluon/restricted.py", line 219,
in restricted
exec(ccode, environment)
File "/Users/sugizo/Downloads/learn/web2py/applications/test/models/db.py"
, line 20, in <module>
locale.setlocale(locale.LC_ALL, 'id_ID') # for mac
File
"/Users/sugizo/Downloads/learn/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime/stubs.py"
, line 92, in fake_set_locale
raise locale.Error('locale emulation only supports "C" locale')
Error: locale emulation only supports "C" locale
INFO 2018-08-18 11:05:13,151 gaehandler.py:75] **** Request: 856.24ms/
490.36ms (real time/cpu time)
INFO 2018-08-18 11:05:13,259 module.py:880] default: "GET /test
HTTP/1.1" 500 707INFO 2018-08-18 11:05:13,931 module.py:880] default: "GET
/favicon.ico HTTP/1.1" 404 -
> - How to access the full web2py Admin features on GAE SDK?
>
> think you can have web2py admin features via terminal or file manager or
browser for database (datastore), i mean:
- for edit, create or delete file (*.py, *.html) you can do it via terminal
or file manager with text editor
- for uninstall you can remove the web2py app under applications folder
- to pack web2py app you can use tar command
- for database access you can access http://localhost:8000 (datastore)
for the web2py admin via web browser, like reported on previous post i
found an error too, perhaps others can give a hint
an a few notes pls ensure you run on python 2.7.x, python 3 is not work
$ python google-cloud-sdk/bin/dev_appserver.py web2py
ERROR: Python 3 and later is not compatible with the Google Cloud SDK.
Please use Python version 2.7.x.
If you have a compatible Python interpreter installed, you can use it by
setting
the CLOUDSDK_PYTHON environment variable to point to it.
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.