[web2py] Re: Folder sessions

2019-02-05 Thread
pls try in arguments (not tested): c:\XXX\X\web2py.py -S stud -M -R c:\XXX\X\scripts\sessions2trash.py -A -o -x 3600 -f -v different from your value is just the 'python', because it's already define in path, so no need to pass python again in arguments value best regards, stifan -- Re

[web2py] Re: Folder sessions

2019-02-04 Thread
from the book: - *sessions* store information related to each particular user. *ref*: http://web2py.com/books/default/chapter/29/04/the-core#Applications think you can clear that folder (remove it folders or files or through web2py admin (clean up), but pls ensure that noone is using it when

[web2py] Re: demo apps on website broken

2019-01-31 Thread
tested same result on both (demo_app1, demo_app2, demo_app3): Internal errorTicket issued: unrecoverable best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (

[web2py] integrate with google contact to send broadcast message

2019-01-25 Thread
is there a way to integrate with google contact to send broadcast message (sms and whatsapp) and record it in database? any hints to achieve it with web2py? thx and best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Error: prepared statement «pg8000_statement_0» already exists

2019-01-23 Thread
perhaps this conversation can give a hint: https://github.com/DataDog/dd-agent/issues/2755 did you backup the server before upgrade? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goo

Re: [web2py] installing web2py book from git

2019-01-21 Thread
@nico yes you are right @vlad it's embeded when installing python just an idea, why not put requirements.txt or setup.py in web2py-book app repo, so that people know this app require another python modules best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Docume

Re: [web2py] installing web2py book from git

2019-01-21 Thread
indeed tested work (python2 & python3), step for python3 docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y git unzip wget python3-pip pip3 install pygments wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip cd web2py/applications git clone h

Re: [web2py] installing web2py book from git

2019-01-21 Thread
think there are two ways to get the recent version: download the latest or clone the repo wget -c http://web2py.com/examples/static/web2py_src.zip or git clone --recursive https://github.com/web2py/web2py but the problem it's not about the recent version of web2py, no error traceback occured or

Re: [web2py] installing web2py book from git

2019-01-20 Thread
tested also got same result, step docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y git unzip wget python wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip cd web2py/applications git clone https://github.com/web2py/web2py-book books python

[web2py] Re: Slightly on-topic -- CMSs

2019-01-17 Thread
oot, for build the website (not webapps that have calculation), recently people goes using ssg (static site generator), think because it's faster dont have to load the plugins or unused themes object for cms, tried a lot base on the wiki list *ref:* https://en.wikipedia.org/wiki/List_of_content_

Re: [web2py] Re: web2py apps & github

2019-01-16 Thread
agree, learn from several web2py app on github some of them didn't include the private folders btw github now offering private repo for free, so if you want to keep it on just set it in the private repo best regards stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentati

[web2py] Re: share AlaSQL

2019-01-16 Thread
seems trending on github recently, had anyone tried it with web2py, any hints? 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

Re: [web2py] Check an empty upload field in database

2019-01-11 Thread
had you try IS_NOT_EMPTY() validator? *ref:* http://web2py.com/books/default/chapter/29/07/forms-and-validators#Range-set-and-equality-validators best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - htt

[web2py] Re: web2py docker

2019-01-10 Thread
> > How do i put my application at applications web2py folder? > not sure what do you want to achieve - if you want to distribute your docker image with web2py app inside, must put your web2py app under applications folder in dockerfile file, so when the user execute docker run your web2py app

Re: [web2py] Happy New Year

2019-01-10 Thread
oot, just suggestion since web2py is full stack web framework *ref:* https://github.com/kamranahmedse/developer-roadmap best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2

[web2py] OperationalError: no such table: web2py_filesystem

2019-01-06 Thread
*models/db.py* from gluon.dal import InDBMigrator db = DAL(configuration.get(configuration_env + '_' + 'db.uri'), pool_size = configuration.get(configuration_env + '_' + 'db.pool_size'), migrate_enabled = configuration.get(configuration_env + '_' + 'db.migrate_enabled'), migrate = configurat

[web2py] custom_auth_table TypeError: a bytes-like object is required, not 'str'

2019-01-06 Thread
*models/db.py* from gluon.dal import InDBMigrator db = DAL(configuration.get(configuration_env + '_' + 'db.uri'), pool_size = configuration.get(configuration_env + '_' + 'db.pool_size'), migrate_enabled = configuration.get(configuration_env + '_' + 'db.migrate_enabled'), migrate = configurat

[web2py] cant access error admin

2019-01-06 Thread
cant access error admin url : http://localhost:8000/admin/default/ticket/admin/127.0.0.1.2019-01-07.11-40-26.d14ede65-9b57-4176-9868-1b1213357273 2.17.2-stable+timestamp.2018.10.06.18.54.02 (Running on Rocket 1.2.6, Python 3.7.2) Traceback (most recent call last): File "/Users/sugizo/learn/web

Re: [web2py] Re: web2py apps & github

2019-01-06 Thread
it depends on what you want to have version record of your files (better to put it all web2py apps on github) $ tree web2py/applications/web2pyapp web2py/applications/web2pyapp |-- ABOUT [if any] |-- LICENSE [if any] |-- __init__.py |-- controllers |-- cron [if any] |-- languages |-- models |-- mo

[web2py] Re: web2py apps & github

2019-01-06 Thread
for pack or unpack thing it's use tar ref: https://groups.google.com/d/msg/web2py/khiGuJYxHpo/clEEU7n3VGEJ 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/lis

[web2py] Re: Customizing detail view (grid)

2019-01-04 Thread
perhaps you can use conditional to check request.args value *e.g.* if 'view' in request.args: do_whatever_you_want best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p

Re: [web2py] Re: modular web2py - need help

2019-01-03 Thread
pardon, can't help further not using win env for the moment, but tested in python 3.6.6 work docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y curl bzip2 git curl -L -O -C - https: //repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda*.sh sourc

Re: [web2py] Re: modular web2py - need help

2019-01-03 Thread
pls provide your environment (os and python version), the log errors indicate in windows but the shell sign is indicate in *nix environment the step provided before tested in mac and also in run well in ubuntu n debian docker pull ubuntu docker run -it ubuntu /bin/bash docker pull debian docker

Re: [web2py] Re: modular web2py - need help

2019-01-02 Thread
yes, you r right, previous error before is due to the lack of step i took - git checkout must run twice in web2py folder and web2py/gluon/packages/dal - execute python (setup.py) must be in web2py folder can't be from another path e.g. web2py/gluon/packages/dal then python ../../../setup.py will

Re: [web2py] Re: modular web2py - need help

2019-01-02 Thread
thx carlos, here is the steps i took git clone --recursive https://github.com/web2py/web2py.git cd web2py/gluon/packages/dal/ git checkout modular $ python -V Python 3.7.1 $ python ../../../setup.py Traceback (most recent call last): File "../../../setup.py", line 85, in start() File "../

[web2py] Re: Male file upload optional_SQLFORM

2019-01-02 Thread
not sure what do you mean with optional, there is fields in SQLFORM constructor another way is using conditonal fields (show_if) *ref:* http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields

Re: [web2py] Re: modular web2py - need help

2019-01-02 Thread
same here test using conda $ uname Darwin $ python -V Python 3.7.1 $ git clone --recursive https://github.com/web2py/web2py.git $ cd web2py $ git checkout modular $ python setup.py Traceback (most recent call last): File "setup.py", line 4, in from gluon.fileutils import tar, untar, read

[web2py] Re: modular web2py - need help

2019-01-01 Thread
pardon, just following your new year's wish in another thread, think it would be web3py repo ok, going to try after it's ready thx n best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goo

[web2py] Re: modular web2py - need help

2019-01-01 Thread
how to test it ? $ python -V Python 3.6.7 :: Anaconda, Inc. $ git clone --recursive https://github.com/web2py/web3py $ python web3py/start.py Traceback (most recent call last): File "web3py/start.py", line 8, in from gluon.main import main_wsgi_app, main File "/Users/sugizo/Downloads/lea

Re: [web2py] Happy New Year

2019-01-01 Thread
happy new year \(^o^)/ is this based on the discussion before? *ref:* https://groups.google.com/forum/#!msg/web2py/89a846kPeGA/nUpNJB_VCAAJ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://c

[web2py] Re: An Easy way to Support ADFS / AZURE / OKTA / Sibboleth and other SAML2 SSO Scenarios

2018-12-31 Thread
cant access http://testshib.org following https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall *not succeed* docker pull debian docker run -it debian /bin/bash apt update apt install -y default-jdk curl unzip export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre/ curl -L -O -C - htt

Re: [web2py] Making my binary standalone apps function faster

2018-12-31 Thread
perhaps profiling can help you understand what's going on your app and fix it base on that report pls try web2py efficiency tricks ref: http://web2py.com/books/default/chapter/29/13/deployment-recipes#Efficiency-and-scalability best regards, stifan -- Resources: - http://web2py.com - http://we

[web2py] Re: An Easy way to Support ADFS / AZURE / OKTA / Sibboleth and other SAML2 SSO Scenarios

2018-12-30 Thread
+1 interested to learn it too thx n 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 subscr

[web2py] Re: How to assign a group to a big auth_user list?

2018-12-30 Thread
you can assign the new id to the variable and pass it to add_membership() function pls try (not tested, and change group_id with the group id number you want to assign) for kardex in db(db.kardex).select(): new_user_id = db.auth_user.validate_and_insert( first_name=kardex.first_name,

Re: [web2py] Re: Show "count()" result in view

2018-12-28 Thread
pardon, not sure got what you want to achieve think if you want to count the rows data, should it better to count the data first (using compute in table constructor or count it manually before insert to the table) before put it on table? or do the count calculation manually on the fly (on the vie

[web2py] Re: Show "count()" result in view

2018-12-28 Thread
just assign it to variable then pass it to the view *e.g. (not tested)* *controllers/default.py* def index(): count_db = db(db.person.id > 0).count() dict(count_db = count_db) *views/default/index.html* {{= count_db}} *ref:* http://web2py.com/books/default/chapter/29/06/the-database-abstr

Re: [web2py] Re: Using Email from inside of Web2py

2018-12-26 Thread
it's just a guess, you must analyze your system (view the log, etc), for configuration management said above perhaps you can understand in link below *ref:* https://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software best regards, stifan -- Resources: - http://web

Re: [web2py] Re: synchronizing / backing up my code between local web2py & PythonAnywhere web2py

2018-12-26 Thread
> > I'm on autopilot now, so an extra step is a part of my daily routine. > when you say 'autopilot', the word 'ci/cd' across my mind and think you can use it too as part of sync your code e.g. jenkins, etc best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Docum

Re: [web2py] Greetings

2018-12-26 Thread
happy christmas \(^o^)/ -- 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

[web2py] Re: Using Email from inside of Web2py

2018-12-26 Thread
> > somehow the system resets the settings back to the defaults. > I don't understand though why in the world I have to set all those > settings up every time - why the system doesn't keep those settings if I > call it just once. > perhaps you had configuration management installed and running

Re: [web2py] Tutorial for mastering web2py

2018-12-26 Thread
read the book, start to build something (start from simple first), share web2py problem here *ref:* http://web2py.com/books/default/chapter/29 best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: synchronizing / backing up my code between local web2py & PythonAnywhere web2py

2018-12-26 Thread
another way around to not upload to PA, you can use scp, not sure rsync or dropbox or version control (git, mercurial, svn, etc) is supported yet *ref:* https://www.pythonanywhere.com/forums/topic/418/ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio

Re: [web2py] Web2py- PayUMoney Secure Online Payment Gateway.

2018-12-22 Thread
had you try using 2.17.2 and python version 3.6.6 ? 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 becaus

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread
another way around perhaps you can use web2py to provide the data from database as json, then show it with js (highchart, d3 or anything) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://cod

Re: [web2py] Web2py- PayUMoney Secure Online Payment Gateway.

2018-12-19 Thread
> > 1) I have to press the pay now button twice to get it working. What should > I change so that one press is sufficient? > did you put web2py server on windows ? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2p

[web2py] Re: DATE & TIME FORMAT | How To?

2018-12-14 Thread
had you try format in validators ? *ref:* http://web2py.com/books/default/chapter/29/07/forms-and-validators#Date-and-time-validators best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.go

[web2py] Re: Unable to land in reset password page

2018-12-11 Thread
On Tuesday, December 11, 2018 at 6:20:18 PM UTC+7, Leonel Câmara wrote: > > Humm your link is actually working fine for me, I followed it and got the > reset password form. > same here your link works fine, perhaps you can post the traceback error or the error logs (web server) you had best reg

[web2py] Re: Check box access

2018-12-09 Thread
think you can compare the logged in user with if else condition *ref:* http://web2py.com/books/default/chapter/29/02/the-python-language#if-elif-else http://web2py.com/books/default/chapter/29/09/access-control http://web2py.com/books/default/chapter/29/07/forms-and-validators best regards, stifan

[web2py] Re: Help with deploy with nginx and ubuntu 18.04

2018-12-08 Thread
> > length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG > checked it, temporary solution is set your web browser tls version *in firefox* about:config *search* security.tls.version.max change it's value to 0 or 1 (< 3) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/bo

[web2py] web2py scripts setup apache (httpd) tested on docker

2018-12-07 Thread
tested all web2py scripts setup apache (httpd) on docker, result only setup-web2py-ubuntu.sh worked *centos* docker pull centos docker run -it centos /bin/bash yum install -y unzip wget sudo iptables mkdir /srv cd /srv wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src

Re: [web2py] Re: Help with deploy with nginx and ubuntu 18.04

2018-12-07 Thread
root@cb542ca9612f:/srv# find / -name web2py.socket find: '/proc/6191/map_files': Permission denied find: '/proc/6192/map_files': Permission denied find: '/proc/6193/map_files': Permission denied find: '/proc/6195/map_files': Permission denied find: '/proc/6196/map_files': Permission denied find: '/

[web2py] Re: 2.17.2 is out

2018-12-07 Thread
> > If you are asking me, I am sorry, i don't know how to make a patch. > ref: http://web2py.com/books/default/chapter/29/15/helping-web2py#Contributing-code-and-documentation-changes best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gith

[web2py] Re: "web2py.app“ wants access to control “System Events.app“

2018-12-07 Thread
curl -L -O -C - https://mdipierro.pythonanywhere.com/examples/static/web2py_osx.zip unzip web2py_osx.zip open web2py/web2py.app tested it with the step above but not found the error like you posted before, for system events.app perhaps you can get explanation here *ref:* https://macosx.com/thre

[web2py] Re: Help with deploy with nginx and ubuntu 18.04

2018-12-07 Thread
tried recently ubuntu 18.04 with the web2py latest version the scripts is no longer work, need update perhaps you can share the error log (nginx) ? best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - h

[web2py] Re: "web2py.app“ wants access to control “System Events.app“

2018-12-07 Thread
did you run web2py_osx.zip (For Mac) ? had you try web2py_src.zip (Source Code) ? 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) --- Yo

[web2py] Re: upload a photo to your site by >

2018-12-07 Thread
perhaps you can show the code and the traceback error ref: http://web2py.com/books/default/chapter/29/03/overview#An-image-blog best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] Re: multi-level form acceptance

2018-12-07 Thread
perhaps you can use auth_group and auth_membership, assign person in auth_user table to auth_membership that belong to auth_gorup then using conditional if to check the value if person from group_1 is 'accepted' then it will appears in person fron group_2 best regards, stifan -- Resources: - h

[web2py] Re: Problem in Ubuntu 18.04

2018-12-07 Thread
2.9 version is old, perhaps you can share the error log (web2py or web server 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) ---

[web2py] Re: Delete sessions

2018-12-04 Thread
think there is a web2py script for that session2trash.py ref: http://web2py.com/books/default/chapter/29/13/deployment-recipes#Cleaning-up-sessions another alternative you can use shell or python subprocess then make a scheduler for it (cron) or even with configuration management like ansible bes

[web2py] Re: Send form data as email

2018-11-27 Thread
think you can put mail.send() method in form.process() method ref: http://web2py.com/books/default/chapter/29/07/forms-and-validators#The-process-method http://web2py.com/books/default/chapter/29/08/emails-and-sms#Sending-emails best regards, stifan -- Resources: - http://web2py.com - http://web

[web2py] Re: Pythonanywhere Configuration Help

2018-11-26 Thread
the error message show that the directory is not empty, perhaps you can backup the app, delete web2py and recreate web2py (start from scratch) then restore the app *e.g. backup application in pythonanywhere console* mkdir -p ~/appdata/webapp rsync -zhavur ~/web2py/applications/* ~/appdata/webapp/

Re: [web2py] Re: Future of web2py

2018-11-21 Thread
another alternative for vue admin: https://github.com/PanJiaChen/vue-element-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 (Report Issues) --- Y

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread
trying to investigate, but seems the configuration isn't work, step i took docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y lighttpd python python-fcgi unzip wget mkdir /srv cd /srv wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip #cp we

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread
perhaps you can show the error logs 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: Cannot see web2py applications behind apache, only see Apache default page

2018-11-18 Thread
there's a lot of discussion in this forum about this, that apache is not recommended, there are another solution for that: - pls use another web server, e.g. nginx, gunicorn, etc - use apache as an proxy to 'another' web server best regards, stifan -- Resources: - http://web2py.com - http://web

Re: [web2py] Re: Future of web2py

2018-11-15 Thread
perhaps can learn from this: https://flatlogic.com/admin-dashboards/sing-app-vue-dashboard https://github.com/flatlogic/sing-app-vue-dashboard best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:/

[web2py] Re: Problem with starting project

2018-11-14 Thread
not sure why fdb not listed when you start web2py, think psycopgy2 is loaded while fdb is not perhaps you can test it first in the python environment, if it no error occured, then you can use it in web2py app *e.g.* python >>> import fdb best regards, stifan -- Resources: - http://web2py.com

[web2py] Re: What are you use with web2py.

2018-11-13 Thread
yes you are right not in github issues yet, because no reply in this forum, so not posted the issue yet probably problem with the newest version of fabric that also support python 3 *ref:* https://groups.google.com/forum/#!topic/web2py/MqUmxCimMZU http://www.fabfile.org best regards, stifan --

[web2py] Re: Summing up values in a dabase table with compute r: r[' ']

2018-11-12 Thread
perhaps you can learn from web2py appliance: pos if i'm not wrong the code to calculate for sum is on the controller side ref: https://github.com/mdipierro/web2py-appliances/ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web

[web2py] Re: What are you use with web2py.

2018-11-08 Thread
> > Ooops, I forgot about Fabric, http://www.fabfile.org> . > There's a sample fabfile in the example scripts directory, and it's been > discussed in the group before. It's like a lighter version of chef, I'd > say. I cooked up a fabfile to see what application files need to be looked > at wh

[web2py] Re: Custom Auth module

2018-11-08 Thread
ref: http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth 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) --- Y

[web2py] Re: Problem with starting project

2018-11-08 Thread
the new error seems you've missed the file in applications/application/modules/fdb.py, pls ensure that file exist perhaps better to start the project from simple first (either windows version or source version) copy the welcome app, ensure no error occured, then add your code, little by little,

[web2py] Re: What are you use with web2py.

2018-11-08 Thread
On Thursday, November 8, 2018 at 3:24:38 PM UTC+7, Константин Комков wrote: > > Now I'm working on server if I want to edit anything in project (I have > duplicate project), but as I think it's not right. > I want to copy all project on PC for editing it. After that if project > working good I wa

[web2py] Re: Problem with starting project

2018-11-08 Thread
perhaps you can try for normal users: source code install python for windows first and then try to run web2py source best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p

[web2py] Re: What are you use with web2py.

2018-11-07 Thread
text editor: sublime or whatever available (notepad++ in windows) vcs: git nodejs used for some project that needs js, something like chart automate use the configuration management, e.g. ansible, or just web2py scheduler is fine best regards, stifan -- Resources: - http://web2py.com - http://w

[web2py] Re: Problem with starting project

2018-11-07 Thread
pls ensure there is a file in web2py/gluon/contrib/appconfig.py perhaps the fastest way is to fix this is re download and re installed web2py best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:/

[web2py] Re: Request for direction to benchmark

2018-11-07 Thread
perhaps you can check on web2py appliances, there are some examples of that ref: 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) - https://code.google.c

[web2py] Re: Error with datetime.

2018-11-07 Thread
from error traceback seems like must convert the str to datetime.date ref: https://stackoverflow.com/questions/466345/converting-string-into-datetime best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: Implementing a chat room?

2018-11-06 Thread
not sure, think it's not KPAX, learned it from web2py appliance before. 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

[web2py] Re: Implementing a chat room?

2018-11-06 Thread
yes, think there is one in web2py appliance base on gevent, but cant find right now (seems the folder name changed) ref: https://github.com/mdipierro/web2py-appliances best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2

[web2py] Re: Connect to Sybase ASE 15.7

2018-11-02 Thread
from error traceback seems like an error with database connection (Data source name not found and no default driver), for Data source name pls check you've already define it. if i'm not wrong in Control Panel > Administrative Tools > Data Source (ODBC), then restart web2py for no driver, perhap

[web2py] Re: Retrieving values from appconfig.ini to a view

2018-10-30 Thread
pls try in views/layout.html (untested) {{=appconf.take("app.version") }} 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 receiv

[web2py] Re: Mongodb Error

2018-10-30 Thread
from the error traceback seems like a problem with a connection to mongodb, wrong password or username, pls ensure the authentication to mongodb connection is correct best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2

[web2py] Re: DAL and DB VIEWS

2018-10-29 Thread
had you try DAL's execute sql ? ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#executesql 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] Re: How to download a copied file to the Upload folder

2018-10-29 Thread
not sure, fully understand what you want to achieve it, think you want to have the files in uploads folder, then why not remote the server then copy it via terminal (rsync, scp, etc) ? if you want to do it in web2py way perhaps you can try : http://web2py.com/books/default/chapter/29/14/other-rec

[web2py] Re: Unable to update database entry after compute=lambda r: calculation of some field values in the DB

2018-10-25 Thread
pls show the error traceback, it's hard to know what the root cause. just a quick analyze (guess), perhaps it's no Number_of_Guests field in your table definition, so it can't be calculated best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://

[web2py] Re: Cant access my admin password

2018-10-23 Thread
think you can restart your web2py server and set the password again *e.g. (change password with your desire password)* python path_to_web2py/web2py.py --nogui --no-banner -a password -i 0.0.0.0 -p 8000 best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio

[web2py] Re: Deployment to Openshift dependency

2018-10-22 Thread
perhaps you can show the step you've taken, so that we know where's the problem 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

[web2py] Re: web2py and jenkins

2018-10-20 Thread
pls see this thread: https://groups.google.com/forum/#!searchin/web2py/jenkins|sort:date/web2py/WZHxzPsI1_c/0fUscGqwAwAJ perhaps you can tell what you want to achieve in more speciific, btw it's oot in this web2py forum, further detail info can get in jenkins forum best regards, stifan -- Reso

[web2py] Re: BUG LOGIN WEB2PY WHEN USE ORACLE

2018-10-11 Thread
think better to show error traceback or the related code, so that people in here can help 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] Re: Future of web2py

2018-10-07 Thread
use the auth tables too (user, group, permission, membership) too n sqlform.grid and sqlform just an idea perhaps, make it as a parameter for auth, sqlform.grid and sqlform *e.g. auth* auth.define_tables(username=True, signature=True, user_table=True, group_table=True, permission_table=True, mem

[web2py] Re: Quota size of Sessions dir and Errors dir

2018-10-07 Thread
perhaps you can store sessions in another way (not in filesystem) -* redis* http://web2py.com/books/default/chapter/29/13/deployment-recipes#Sessions-in-Redis *- memcache* http://web2py.com/books/default/chapter/29/13/deployment-recipes#Sessions-in-memcache *- cookie* ref is in the web2py google g

[web2py] Re: GITHUB and my updates

2018-10-03 Thread
think you must fork web2py repo first on your github then clone it recursively on your local machine create the file you want to contribute in web2py project in git cloned on local machine commit the file change and push it to your github repo create pr on web2py repo https://github.com/web2py/web

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread
the steps : 1. download either one of this : *python* https://www.python.org/downloads/windows/ *miniconda* https://conda.io/miniconda.html *anaconda* https://www.anaconda.com/download/#windows 2. install, just click next, till finish setup 3. set the path environment system *ref:* https://conda.i

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread
> > Ok , so how can i change my web2py python version to 3.7 ? > think you can install it via system (ubuntu or debian using apt, etc) or using conda *ref:* https://groups.google.com/forum/#!topic/web2py/unamesXfBs4 > and also is it possible to install using pip when using web2py? > yes,

[web2py] Re: how to customize user registration form

2018-09-15 Thread
detail explaination and example about customizing auth is on the book http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - ht

Re: [web2py] Can we commit the codes from web2py to Git

2018-09-03 Thread
like pointed by tom's posted web2py repo is on https://github.com/web2py you can clone it and put it on your repo if you want (in previous posted *web2py itself not web2pyp app*) useful when you fix some bug in web2py core or add some feature to web2py core web2py app mean is whatever applicati

Re: [web2py] Can we commit the codes from web2py to Git

2018-09-03 Thread
think you can do whatever you like with your own repo, but the question is ambigitous. web2py in terms of web2py root folder that contain -rw-rw-r-- 1 tetsu staff 66446 Aug 6 08:02 CHANGELOG -rw-rw-r-- 1 tetsu staff5727 Aug 6 08:02 LICENSE -rw-rw-r-- 1 tetsu staff 24 Aug 6

[web2py] Re: port 800 busy

2018-09-03 Thread
just revised my previous post for checked another process using that port (8000) you can use either netstat -ltnp | grep -w ':8000' lsof -i :8000 fuser 8000/tcp ps use just to find the process name by process id : ps -p pid -o comm= best regards, stifan -- Resources: - http://web2py.com - htt

[web2py] Re: web2py & jenkins

2018-09-02 Thread
think you can use git, subversion, etc for version control system (git most used by people) for jenkins extensions or plugins perhaps you can get more detail info from their site or forum as you can see from example of my previous post is just simply - copy the web2py app from my repository fold

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