[web2py] Re: Web3py

2019-05-20 Thread
> > Getting error missing table , sqlite3.OperationalError: no such table: > web3py_error > > _dashboard won't load at all. > could you please tell us steps to reproduce that error or show some code ? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: Web3py

2019-05-19 Thread
in latest commit (116) for reload fixed: - edit, add and delete function on controllers take effects after hit reload button - route for is refreshed after hit reload button (last reported dissapear in some webapp) btw, the button said 'Reaload Apps' is it intention or correct one is 'Reload

Re: [web2py] Re: Web3py

2019-05-19 Thread
after hit 'reload' affect the '_dashboard', when do crud for 'recent tickets' (before hit 'reload', no error occured on terminal) [OK] reloaded _dashboard [OK] reloaded _scaffold [OK] reloaded examples [OK] reloaded myapp [OK] reloaded superheroes [OK] reloaded todo

Re: [web2py] Re: Web3py

2019-05-19 Thread
tested latest commit (115) about recent tickets - recent tickets can be deleted but when refresh the browser, http://localhost:8000/_dashboard it will appears again - recent tickets can be edited, not sure why the ticket can be edited ? - when click create, it show forms, but can't be saved, not

Re: [web2py] Re: Web3py

2019-05-18 Thread
understood, my bad, just test it n report it what think related with the problem @massimo should this thing address an issue in github, so that you can focus release the first version of web3py ? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-18 Thread
> > restQL sounds OK. Very generic, but it does what it says on the tin. > What about stupidQL? :) ok just kidding! > like the idea, it can read as : restQL = restkill stupidQL = stupidkill just my imagination by cranberries best regards, stifan -- Resources: - http://web2py.com -

Re: [web2py] Re: Web3py

2019-05-18 Thread
already checked : https://pypi.org/project/reload did you test : reload ./web3py-start apps ? want to learning about reload, but not sure how to do it best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

Re: [web2py] Re: Web3py

2019-05-18 Thread
test reload apps with gunicorn server and reloader=True, can run at first, but when hit 'reload apps' it return an error on terminal *web3py/web3py/core.py* bottle.run(server='gunicorn', host=host, port=int(port), reloader=True) [2019-05-18 18:43:48 +0700] [47687] [INFO] Starting gunicorn 19.9.0

Re: [web2py] Re: Web3py

2019-05-18 Thread
> > What OS are you testing on? > mac, linux via docker (ubuntu, debian, centos or fedora) btw, seems not related with os, like root cause is in the web server module (parameter to run web server perhaps (not sure just guess) ), see previous message best regards, stifan -- Resources: -

Re: [web2py] Re: Web3py

2019-05-18 Thread
*web3py/web3py/core.py* tried bottle.run(server='tornado', host=host, port=int(port), reloader=True) and bottle.run(host=host, port=int(port), reloader=True) got same result, edit and add new function, routes for not work tested work for edit and add new function (but still routes for still

Re: [web2py] Re: Web3py

2019-05-18 Thread
> > Also, web3py uses this: > https://pypi.org/project/reloader/ > The docs have an example. Does this module work for you? > yes reloader already installed, since it's written on requirements.txt git clone https://github.com/web2py/web3py cd web3py pip install -r requirements.txt perhaps some

Re: [web2py] Re: Web3py

2019-05-18 Thread
> > Does it print this when you press [reload]? > yes it is $ ./web3py-start apps ___ __ __ | / / / / __ |/___ \/ __ \ \/ / | | / / /_ / /_/ /___/ / /_/ /\ / | | /| / / __/ / __ //__ / / / / | |/ |/ / /___/ /_/ /___/ / / / /

Re: [web2py] Re: Web3py

2019-05-17 Thread
> > Editing apps and reloading forks for me. Please try again and let's try > figure out why does not work for you. > after tried latest commit (110), guess when it's work on you, but not work on us, perhaps related with module installed (python or js via npm) on your side, but not installed

Re: [web2py] Re: Web3py

2019-05-17 Thread
problem still exist (in commits 110) only superheroes app traceback error is gone when hit 'reload apps': 1. 'routes for ' disappears after hit 'reload apps' for : - scaffold - myapp but for _dashboard, example, todo still exist (appears as expected) 2. editing and adding new function in

[web2py] Re: Web3py

2019-05-17 Thread
test 'reload apps' on http://localhost:8000/_dashboard return an error on terminal and also on browser http://localhost:8000/_dashboard when click superheroes installed applications [FAILED] loading superheroes Traceback (most recent call last): File

[web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-15 Thread
for naming perhaps python module : acronym can give any idea: pip3 install acronym acronym "database abstraction layer application programming interface" put whatever you want best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Web3py

2019-05-14 Thread
pls ignore my previous report about web3py tests folder, pardon, done it in wrong way, my bad, here is the correct one docker pull ubuntu docker run -it --privileged ubuntu /bin/bash apt update apt install -y git python3-pip memcached service memcached restart cd git clone

[web2py] Re: Web3py

2019-05-14 Thread
pls try: *need an extra steps to make web3py start in latest commit (101)* git clone https://github.com/web2py/web3py cd web3py pip3 install -r requirements.txt mkdir applications/_dashboard/translations mkdir applications/_scaffold/databases mkdir applications/toys/databases ./web3py-start

[web2py] Re: Web3py

2019-05-13 Thread
yes, you are right, my bad echo tornado >> requirements.txt or pip3 install tornado required to make web3py started while for directories creation is needed to get access to the webapp mkdir applications/_dashboard/translations mkdir applications/_scaffold/databases mkdir

[web2py] Re: Web3py

2019-05-13 Thread
*in latest commits (100) steps will reproduce an error that make web3py won't start (error traceback reported on previous message)* git clone https://github.com/web2py/web3py cd web3py pip3 install -r requirements.txt ./web3py-start applications/ *so need an extra steps to make web3py start in

[web2py] Re: Web3py

2019-05-13 Thread
isionError: division by zero id= 1 WARNING:tornado.access:404 GET /_scaffold/static/js/auth_test.js (127.0.0.1) 3.63ms best regards, stifan On Monday, May 13, 2019 at 2:53:35 PM UTC+7, 黄祥 wrote: > > *last commit need extra step on terminal* > echo tornado >> requirements.txt > mkdi

[web2py] Re: Web3py

2019-05-13 Thread
*last commit need extra step on terminal* echo tornado >> requirements.txt mkdir applications/_dashboard/translations mkdir applications/_scaffold/databases mkdir applications/toys/databases *error traceback* $ ./web3py-start applications/ Traceback (most recent call last): File

[web2py] Re: Web3py

2019-05-11 Thread
$ ./web3py-start applications/ Dashboard is at: http://127.0.0.1:8000/_dashboard Traceback (most recent call last): File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 560, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init). load_module() File "", line

Re: [web2py] Re: Future of web2py

2019-05-10 Thread
> > What is pwa? ref: https://en.wikipedia.org/wiki/Progressive_web_applications https://developers.google.com/web/progressive-web-apps/ https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Online store with Web2py

2019-05-06 Thread
some of web2py appliances: estore, posonlinestore, perhaps you can learn from: https://github.com/mdipierro/web2py-appliances best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Web3py

2019-05-03 Thread
open http://localhost:8000/_scaffold ERROR:root:Traceback (most recent call last): File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 327, in wrapper [obj.on_success() for obj in fixtures] File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 327, in

[web2py] Re: Web3py

2019-05-03 Thread
git clone https://github.com/web2py/web3py cd web3py $ pip3 install -r requirements.txt Collecting memcache (from -r requirements.txt (line 9)) Could not find a version that satisfies the requirement memcache (from -r requirements.txt (line 9)) (from versions: ) No matching distribution found

[web2py] Re: Web3py

2019-04-30 Thread
tested web3py/test return an error, detail error and step below: docker pull ubuntu docker run -it --privileged ubuntu /bin/bash apt update apt install -y git python3-pip cd git clone https://github.com/web2py/web3py cd web3py pip3 install -r requirements.txt pip3 install mechanize cd

[web2py] Re: Web3py

2019-04-28 Thread
fixed for store session in redis without password problem still exist : - store session in redis with password on redis.conf - store session in memcache best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: Web3py

2019-04-28 Thread
still got an error, tested redis last version (source) without password, in conda environment: $ uname Darwin $ python -V Python 3.7.3 $ pip list Package Version redis3.2.1 $ ./web3py-start applications/ ERROR:root:Traceback (most recent call

[web2py] Re: Web3py

2019-04-28 Thread
still got an error for store session in redis after update the *_scaffold/controllers.py* ... elif settings.SESSION_TYPE == 'redis': import redis host, port = settings.REDIS_SERVER.split(':') conn = redis.Redis(host=host, port=int(port)) *conn**.set = lambda key, value, expire,

[web2py] Re: Web3py

2019-04-28 Thread
*_scaffold/controllers.py* @action('index', method='GET')# the function below is exposed as index.html @action.uses('generic.html', session, db, T) # it uses the generic.html template, a session, and the db def index(): T.select('id') session['counter'] =

[web2py] Re: Web3py

2019-04-28 Thread
> > $ ./web3py-start applications/ >> Traceback (most recent call last): >> File "./web3py-start", line 3, in >> from web3py.core import main >> File "/Users/sugizo/learn/python/web3py/web3py/__init__.py", line 1, in >> >> from . core import render, DAL, Field, action, request,

[web2py] Re: bye bye T, welcome pluralize

2019-04-27 Thread
*web3py/applications/_scaffold/controllers.py* def index(): *T**.select('jp')* msg = T('Hello World from {name}') return dict(message=msg.format(name=request.app_name)) learn new behavior in compare with web2py T() 1. in web2py when select new language that is not covered yet (i.e.

[web2py] Re: Web3py

2019-04-26 Thread
> > $ ./web3py-start applications/ > Traceback (most recent call last): > File "./web3py-start", line 3, in > from web3py.core import main > File "/Users/sugizo/learn/python/web3py/web3py/__init__.py", line 1, in > > from . core import render, DAL, Field, action, request, response,

[web2py] Re: Web3py

2019-04-26 Thread
$ ./web3py-start applications/ Traceback (most recent call last): File "./web3py-start", line 3, in from web3py.core import main File "/Users/sugizo/learn/python/web3py/web3py/__init__.py", line 1, in from . core import render, DAL, Field, action, request, response, redirect,

[web2py] Re: Web3py

2019-04-26 Thread
git clone https://github.com/web2py/web3py cd web3py $ pip3 install -r requirements.txt Collecting pyjwt (from -r requirements.txt (line 1)) Using cached https: //files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl

[web2py] Re: Hiding menu when on a certain page

2019-04-24 Thread
perhaps can use conditonal if to check the controller or the function *e.g.* if not 'test' in request.controller and request.function == 'index' : response.menu = [options ] else: response.menu = [] best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Web3py

2019-04-23 Thread
yeah you right, pls follow this step instead (for latest commit) git clone https://github.com/web2py/web3py cd web3py pip install -U -r requirements.txt python web3py-start applications/ for url return 404, perhaps you can check on the applications folder, in the webapp name, you could learn

Re: [web2py] Re: Web3py

2019-04-23 Thread
> > the web2py admin is different. The web3py one is much more spartan. But > the functions that need to be ported to zip/unzip apps are indentical. > not sure got the meaning of spartan tested last commit, all errors above gone (_dashboard and _scaffold) just a note for default

Re: [web2py] Re: Web3py

2019-04-22 Thread
> > 127.0.0.1 - - [22/Apr/2019 03:08:12] "GET /dashboard HTTP/1.1" 303 0 > 127.0.0.1 - - [22/Apr/2019 03:08:12] "GET /_dashboard/static/index.html > HTTP/1.1" 404 459 > 127.0.0.1 - - [22/Apr/2019 03:08:56] "GET /_dashboard/ HTTP/1.1" 404 459 > 127.0.0.1 - - [22/Apr/2019 03:09:31] "GET

Re: [web2py] Re: Web3py

2019-04-22 Thread
> > Traceback (most recent call last): > File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 460, in > import_apps > module = importlib.import_module(app_name) > File > "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/importlib/__init__.py" > , line 127, in

Re: [web2py] Re: Web3py

2019-04-21 Thread
Traceback (most recent call last): File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 460, in import_apps module = importlib.import_module(app_name) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/importlib/__init__.py" , line 127, in import_module return

Re: [web2py] Re: Web3py

2019-04-20 Thread
scaffolding app would be nice to have example of authentication (user registration, login and logout) and to update the data, e.g. update todo list on todo app just wondering, if form used manually using javascript, is the field validation on pydal, still can work ? e.g. requires=IS_NOT_EMPTY()

[web2py] Re: Web3py

2019-04-20 Thread
is it on same situation web2py for python 3 vs web3py with laravel vs lumen ? the first is full stack web framework, while the other is micro web framework best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

Re: [web2py] Re: Web3py

2019-04-20 Thread
github latest commit *access via browser * http://localhost:8000/dashboard *on console* 127.0.0.1 - - [20/Apr/2019 16:17:21] "GET /dashboard HTTP/1.1" 303 0 127.0.0.1 - - [20/Apr/2019 16:17:21] "GET /_dashboard/static/index.html HTTP/1.1" 404 460 127.0.0.1 - - [20/Apr/2019 16:17:26] "GET

[web2py] Re: How to set up email notification for a failed scheduler task?

2019-04-18 Thread
yes, it's possible ref: http://web2py.com/books/default/chapter/29/08/emails-and-sms?search=scheduler#Sending-messages-using-a-background-task http://web2py.com/books/default/chapter/29/04/the-core?search=scheduler#web2py-Scheduler best regards, stifan -- Resources: - http://web2py.com -

[web2py] Re: Web3py

2019-04-16 Thread
On Tuesday, April 16, 2019 at 8:41:50 PM UTC+7, En Ware wrote: > > Getting error > > | / / / / __ |/___ \/ __ \ \/ / > | | / / /_ / /_/ /___/ / /_/ /\ / > | | /| / / __/ / __ //__ / / / / > | |/ |/ / /___/ /_/ /___/ / / / / > |___/|_/_/_/_/_/ /_/ > It is

[web2py] Re: Web3py

2019-04-16 Thread
after learn the code *web3py/web3py/core.py* python3 /web3py/web3py-start /web3py/applications/ is automatically run the address 127.0.0.1:8000 so the correct one to make it run on docker should use : python3 /web3py/web3py-start /web3py/applications/ --address 0.0.0.0:8000 think there are two

[web2py] Re: Web3py

2019-04-16 Thread
nice dashboard, only myapp can work from dashboard link some strange behaviour, when accessing dashboard (without index), it automatic add dashboard/static/index.html, while for another web app is not, must add index manually. sorry forgot to test about docker-compose (not work either, guess

[web2py] Re: Datatables add buttons on each row and pass args to controller function

2019-04-15 Thread
crud() method is obsolete, perhaps you can use sqlform() ref: http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-and-insert-update-delete best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: Web3py

2019-04-15 Thread
added parameter for logging the app or server would be nice in web3py-start, problem found is when try to analyze the root cause during the test in docker. checked in docker logs, there is no logs, when try the interactively inside web3py folder and /var/log/ there is none of the log tell

[web2py] Re: Web3py

2019-04-15 Thread
*web3py/applications/myapp/controllers.py* def helloworld(): return dict(name=request.forms.get('name', 'visitor')) change *'visitor'* with whatever string value, require restart web server to update the new value *web3py/applications/myapp/templates/helloworld.html* Hello Dear [[=name]] change

[web2py] Re: Web3py

2019-04-15 Thread
*web3py/web3py/core.py* def start_server(args): host, port = args.address.split(':') if args.number_workers < 1: bottle.run(host=host, port=int(port)) else: if not gunicorn: logging.error('gunicorn not installed') *elif not gunicorn: #

[web2py] Re: Web3py

2019-04-14 Thread
*test dockerfile provided on web3py* *1st attempt from github (not worked)* git clone https://github.com/web2py/web3py cd web3py/docker docker build -t test/web3py_git . docker run -d \ -p 8000:8000 \ --name web3py_git \ test/web3py_git $ docker ps -a CONTAINER IDIMAGE

[web2py] Re: Web3py

2019-04-14 Thread
test work for Makefile and setup.py *web3py/setup.py* install_requires=[ 'bottle', 'gunicorn', 'gevent', 'pydal3', *'pyjwt',* 'yatl', 'reloader', ], best regards, stifan -- Resources: - http://web2py.com -

[web2py] Re: Web3py

2019-04-14 Thread
docker pull ubuntu docker run -it --privileged ubuntu /bin/bash apt update apt install -y git python3-pip make git clone https://github.com/web2py/web3py cd web3py make make install # ./web3py-start applications/ Traceback (most recent call last): File "./web3py-start", line 3, in from

[web2py] Re: I'm trying to open the app. but it gives this error.

2019-04-14 Thread
pls show some code on default.py around line 1130 or 2012, and paste the error traceback (no images) 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

[web2py] Re: Web3py

2019-04-14 Thread
*test latest commit on docker because seen the Makefile in there* docker pull ubuntu docker run -it --privileged ubuntu /bin/bash apt update apt install -y git python3-pip git clone https://github.com/web2py/web3py cd web3py pip3 install -r requirements.txt # ./web3py-start applications/

[web2py] Re: Web3py

2019-04-13 Thread
perhaps it related with pydal is not released yet on pypi, btw, this is the step i took to reproduce the traceback above rm -rf ~/learn/python/web3py cd ~/learn/python git clone https://github.com/web2py/web3py source activate python3_test cd ~/learn/python/web3py *pip install **-r

[web2py] Re: Web3py

2019-04-13 Thread
*test the latest commit* $ python web3py.py applications/ Traceback (most recent call last): File "web3py.py", line 438, in import_apps module = importlib.import_module(app_name) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/importlib/__init__.py", line 127, in

[web2py] Re: Web3py

2019-04-13 Thread
perhaps can learn the concept from popphp, seems make it modular e.g. pop-form pop-auth etc ... ref: https://www.popphp.org/documentation just an idea : web2py decomposed into small module with css or frontend agnostic that work only in python3 = web3py best regards, stifan -- Resources: -

[web2py] Re: web2py 2.18.5 is OUT

2019-04-12 Thread
it's work, no error in web2py app, my bad, it's just about configuration migrate_enabled=*True *(in dev environment), already change before but forgot the value of Appconfig(reload=*False*), correct one is *True*, because it's in dev environment, in production environment run well, because the

[web2py] Re: web2py 2.18.5 is OUT

2019-04-11 Thread
Traceback (most recent call last): File "/Users/sugizo/learn/python/web2py/gluon/authapi.py", line 590, in has_membership group_id = int(group_id) ValueError: invalid literal for int() with base 10: 'Admin' During handling of the above exception, another exception occurred: Traceback

[web2py] Re: 2.18.5 LI(_class="dropdown-divider") bug?

2019-04-11 Thread
> > Also, instead of the code below, why not just: > > response.menu[1][3] = [ > (T('Dashboard'), False, URL('main', 'students')), > ... > ] > > Anthony > try this from working old app in recent web2py version *models/menu.py* response.menu = [ (T('Report'), False, URL('report',

[web2py] Re: pycharm "No python interpreter selected"

2019-04-06 Thread
pls check it out https://geek-university.com/python/add-python-to-the-windows-path/ 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) ---

[web2py] Re: pycharm "No python interpreter selected"

2019-04-06 Thread
WindowsWindows 10 and Windows 8 1. In Search, search for and then select: System (Control Panel) 2. Click the *Advanced system settings* link. 3. Click *Environment Variables*. In the section *System Variables*, find the PATH environment variable and select it. Click *Edit*. If

[web2py] Re: web3py again....

2019-04-02 Thread
yes, you are right, my bad, like the idea of jekpack (combine server side (jekyll ruby) with client side (webpack js), perhaps can learn from it and adapt it to web3py. ref: https://github.com/yfxie/jekpack ever thought of graphql as an option to REST? best regards, stifan -- Resources: -

[web2py] Re: Click the update web2py button in Python Anywhere (PA) leads to crash.

2019-03-31 Thread
*pls read carefully first or test on another pc first, before execute on server bash* # change to home directory cd # make folders for appdata mkdir -p ~/appdata/applications mkdir -p ~/appdata/databases mkdir -p ~/appdata/uploads # backup applications mv ~/web2py/applications/*

[web2py] Re: web3py again....

2019-03-31 Thread
> > Backporting SQLFORM, grid and Auth, should not be that complicated, > although I think we can do better. > sqlform, grid and auth is a great helper to make web2py as rapid application development, but please consider some of users who want to use another css or js framework. perhaps just

[web2py] Re: web3py again....

2019-03-31 Thread
new behaviour learned for now: 1. start server with python web3py.py applications/, then copy the app and access the new app in the browser will result : Error: 404 Not Found, solution whenever add new app must restart the server (gunicorn) 2. seems index not the default function like in web2py,

Re: [web2py] Re: web3py again....

2019-03-30 Thread
*step* rm -rf ~/learn/python/web3py cd ~/learn/python git clone https://github.com/web2py/web3py cd web3py cp -r applications/todo applications/todoo python web3py.py applications/ *result on browser* Error: 404 Not Found Sorry, the requested URL 'http://localhost:8000/todoo' caused an error:

Re: [web2py] Re: web3py again....

2019-03-30 Thread
on github : - request, response objects are from bottle ( https://bottlepy.org/docs/dev/) what is different web2py and bottle in terms of request and response ? plus minus between it? - unlike web2py, web3py does not use custom import or eval is custom import is same like import from

Re: [web2py] web3py again....

2019-03-28 Thread
interested in github readme : - it is not as good as web2py yet, but it is 10-20x faster perhaps could you share which benchmark method or tools to get this conclusion (compare with similar web2py todo apps) ? best regards, stifan -- Resources: - http://web2py.com -

[web2py] Re: web3py again....

2019-03-28 Thread
great, tested it *environment* $ uname Darwin $ python -V Python 3.7.2 *steps* git clone https://github.com/web2py/web3py cd web3py pip install -r requirements.txt python web3py.py applications/ open http://localhost:8000/todo/index *result in browser* can add (save) and delete data in browser

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread
perhaps you can share the error log (web server or web2py) tested before in 2018 is worked ref: https://groups.google.com/forum/#!topic/web2py/IFasLOdWsbI best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread
think on line 164 and 165 is the culprit, should be sudo -u www-data *python3* -c "from gluon.widget import console; console();" sudo -u www-data *python3* -c "from gluon.main import save_password; save_password(raw_input('admin password: '),443)" best regards, stifan -- Resources: -

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-15 Thread
might we know which script that you used ? check script is with python2 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh check script is with python3 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh best regards, stifan --

[web2py] Re: Is it possible to sort the grid search fields list?

2019-03-12 Thread
is the sqlform.grid(sortable=True) doesnt meet your requirement ? ref: http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid-signature best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] another python 3 minor bug in 2.18.2: b'Logged in'

2019-02-27 Thread
already created https://github.com/web2py/web2py/issues/2110 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

Re: [web2py] Re: Using Http.Client module in my controls

2019-02-27 Thread
seems can't found the module applications/welcome/modules/http.py 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

Re: [web2py] another python 3 minor bug in 2.18.2: b'Logged in'

2019-02-27 Thread
similar issues happen during : - clear session, cache from web2py admin - remove app from web2py admin 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

Re: [web2py] Re: 2.18.1 is OUT

2019-02-27 Thread
done ref: https://github.com/web2py/web2py/issues/2108 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

[web2py] Re: 2.18.1 is OUT

2019-02-27 Thread
> > Traceback (most recent call last): > File "/Users/sugizo/project/python/web2py/gluon/restricted.py", line > 219, in restricted > exec(ccode, environment) > File > "/Users/sugizo/project/python/web2py/applications/test/models/db_schema_0_auth.py", > > line 9, in >

[web2py] Re: Using Http.Client module in my controls

2019-02-27 Thread
perhaps you can share the code that reproduce an error and the traceback error log 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) ---

Re: [web2py] 2.18.1 is OUT

2019-02-25 Thread
not sure about the download page problem, but tested with cli run well cd curl -O http://web2py.com/examples/static/web2py_src.zip unzip ./web2py_src.zip best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: 2.18.1 is OUT

2019-02-24 Thread
perhaps you should use web2py source then install reportlab manually ref: https://www.reportlab.com/opensource/installation best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: off topic - npm for visualization dependencies and set up

2019-02-24 Thread
in your local desktop - first you need to have nodejs installed either from distro repo or from official site (https://nodejs.org/en/download/) - then just follow the step according to what written on that github - make your code (orgchart.js) inside web2py app mine is under :

[web2py] Re: 2.18.1 is OUT

2019-02-24 Thread
$ uname Darwin $ python -V Python 3.7.2 Traceback (most recent call last): File "/Users/sugizo/project/python/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/Users/sugizo/project/python/web2py/applications/test/models/db_schema_0_auth.py", line 9,

[web2py] Re: Letsencrypt, docker and apache

2019-02-20 Thread
perhaps you can use docker mount volume (-v) *e.g. (not tested)* docker -v generated_letsencrypt_path_in_host:apache_cert_path_configuration_in_docker note change the value with your own path: - generated_letsencrypt_path_in_host - apache_cert_path_configuration_in_docker best regards, stifan

[web2py] Re: Lighttpd deploy issue

2019-02-17 Thread
perhaps you can show the step and the configuration 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

[web2py] Re: Error connecting to MySQL 8.0

2019-02-15 Thread
seems like same problem on this thread: https://groups.google.com/d/msg/web2py/w0aSCaf7W5o/gzWWzu6-AQAJ perhaps upgraded python driver could solve the problem best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Re: Migrate from sqlite to mysql

2019-02-14 Thread
on the stackoverflow ben's sent seems like problem with mysql ver 8 running on windows perhaps you can use docker to run mysql or mariadb or percona container (which running on top of linux os) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: Migrate from sqlite to mysql

2019-02-13 Thread
RuntimeError: Failure to connect, tried 5 times: seems have a connection problem between python and mysql perhaps you can test the connection first (via command prompt) or perhaps an uri definition is wrong, had you try: *private/appconfig.ini* uri = mysql://root:passwordroot@localhost/gadb ?

Re: [web2py] Re: Migrate from sqlite to mysql

2019-02-11 Thread
another way around you can use bundled software (xampp, mamp, wamp, ampps, bitnami etc) or docker (mysql or python container) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Update web2py manually

2019-02-11 Thread
*the step are:* - backup your web2py apps from applications folders (copy or sync) - update webp2y (either download and extract the package or using git fetch or pull) - restore your web2py apps to applications folders (copy or sync) the command line will match with your os environment test it

[web2py] Re: Migrate from sqlite to mysql

2019-02-10 Thread
> > but, what happen if I install python 3.7 on windows? Does web2py still use > 2.7? > this question is vague not sure what do you have in web2py? win version or source version? if use source version, then web2py run on python is depending on the command you use *e.g. in ubuntu environment*

[web2py] Re: Migrate from sqlite to mysql

2019-02-10 Thread
pardon, not using windows atm, so cant test it perhaps you have 2 options: - try mariadb (not sure mariadb required python3 or not) or - use conda (miniconda (light version) or anaconda) to install python3 and python2 in 1 machine *ref:* https://www.anaconda.com/distribution/

[web2py] Re: Migrate from sqlite to mysql

2019-02-08 Thread
> > - what version of mysql do I have to install to my PC where I have 2.17 > version of web2py? Where can I find? > in windows env there are mysql and mariadb *ref:* https://downloads.mariadb.org https://dev.mysql.com/downloads/mysql/ - is it necessary to install drivers or it is still

[web2py] Re: Folder sessions

2019-02-05 Thread
port is available port to run web2py server example.com.au.crt is certificate file ref: http://web2py.com/books/default/chapter/29/04/the-core#Command-line-options seems doesn't need the password to run session_2_trash.py ref:

<    1   2   3   4   5   6   7   8   9   10   >