[web2py] Scheduler on PythonAnywhere not working since Dec 1

2017-12-06 Thread Scott Hunter
Since Dec 1, I can no longer schedule tasks in the scheduler for my web2py (Version 2.14.6-stable+timestamp.2016.05.10.00.21.47) app on PythonAnywhere.com; the task log is a LONG permutation of the following 3 lines: ERROR:web2py.scheduler.giles-livetask1#7087:error popping tasks

[web2py] Problem enabling Email services

2017-12-06 Thread Sandeep Patel
Hello I am trying to send a welcome message to user as an email. To achieve this, I have followed all the steps as they are described in the official documentation. Additionally all the settings that I have adopted for the purported functionality, can be found in the trailing email thread.

[web2py] postgres field optimization smallint

2017-12-06 Thread lucas
hey one and all, i would like to make some fields of type smallint, which postgresql allows. is there a way to do this under the DAL in the model file, under the Field designator? thank you in advance, lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: About Restful with web2py

2017-12-06 Thread pbreit
What you are doing is different from what the guide shows. If you just want to GET the entries: curl http://127.0.0.1:8000/RT/default/api/entries.json If you want to POST/add a new entry you may need to have authentication: curl --user user:pass -d "f_entry=something"

Re: [web2py] Re: Web2Py + VueJS SPA (Webpack)

2017-12-06 Thread Milton A
All the build tools are the hell. Not for a fullstack js programmer, but for us we use a better programming language for our tasks on server (better programming language is relative for what you need) but we need to use js on client because we can not use python. Those new build tools come to

Re: [web2py] Re: Web2Py + VueJS SPA (Webpack)

2017-12-06 Thread pbreit
How would the "Browser" install method work? Just a matter of adding those lines to layout.html? Possible to implement this without all the build tools? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: Web2Py + VueJS SPA (Webpack)

2017-12-06 Thread Carlos Costa
This bootstrap-vue.js transparently integrated with web2py backend woud be a dream. IMO this would be half the web3py. 2017-12-04 11:42 GMT-02:00 : > Hi Massimo, I thought you might be interested in this: > https://bootstrap-vue.js.org/ > > Quite a new project, MIT

Re: {Disarmed} Re: {Disarmed} [web2py] Re: grid IS_IMAGE validator behavior

2017-12-06 Thread Dave S
On Wednesday, December 6, 2017 at 11:06:02 AM UTC-8, Carlos Cesar Caballero wrote: > > That's the issue, I don't want null values, the user shouldn't remove the > image without upload a new one, but when I use the grid's edit form, the > validation error is triggered if the user edit another

{Disarmed} Re: {Disarmed} [web2py] Re: grid IS_IMAGE validator behavior

2017-12-06 Thread Carlos Cesar Caballero Díaz
That's the issue, I don't want null values, the user shouldn't remove the image without upload a new one, but when I use the grid's edit form, the validation error is triggered if the user edit another field, so the form can't be submitted without uploading a new image. El 06/12/17 a las

[web2py] Re: grid IS_IMAGE validator behavior

2017-12-06 Thread Val K
yes, if you want to allow null-value - use IS_EMPTY_OR wrapper IS_EMPTY_OR(IS_IMAGE(...)) On Wednesday, December 6, 2017 at 8:48:06 PM UTC+3, Carlos Cesar Caballero wrote: > > Hi, I have being using web2py for some time, but I don't use files too > often, now I am using the IS_IMAGE, but

[web2py] Re: Scheduler workers crash on usage of urllib

2017-12-06 Thread Val K
Hi! Consider that is NameError, not ImportError. i.e. there is trying to use urllib without import On Wednesday, December 6, 2017 at 6:39:11 PM UTC+3, Ryan Herbert wrote: > > Hello, > I am currently experiencing an issue with my scheduler workers crashing on > startup with the following

[web2py] grid IS_IMAGE validator behavior

2017-12-06 Thread Carlos Cesar Caballero Díaz
Hi, I have being using web2py for some time, but I don't use files too often, now I am using the IS_IMAGE, but using the grid on edit it's throwing a validation error if the user don't set a new image. It's a bug or is the default behavior? -- Resources: - http://web2py.com -

[web2py] Re: How to prohibit delete of row in parent table if is refwrenced by child tables

2017-12-06 Thread rafi farchi
Hi Thks its a good solution . wlll test it . Many thanks for your detailed expkanations -- 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] Get reference format representation on dal callbacks

2017-12-06 Thread Carlos Cesar Caballero Díaz
Hi, I am building a module (plugin) that is using some "after insert" and "after uptade" dal callbacks. The tables has references (relations) and I need to obtain the referenced table string format instead of it's id in the callback, and I need it to be generic. How can I achieve that?

Re: [web2py] Re: serve static files in deployment on pythonanywhere

2017-12-06 Thread Anthony
On Wednesday, December 6, 2017 at 10:19:12 AM UTC-5, Manuele wrote: > > Hi Anthony, > > thank you for your reply, > > On 06/12/2017 15:36, Anthony wrote: > > I followed what indicated in the web configuration panel setting up two >> static configuration considering that my application is

[web2py] Scheduler workers crash on usage of urllib

2017-12-06 Thread Ryan Herbert
Hello, I am currently experiencing an issue with my scheduler workers crashing on startup with the following error: Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File

Re: [web2py] Re: serve static files in deployment on pythonanywhere

2017-12-06 Thread Manuele Pesenti
Hi Anthony, thank you for your reply, On 06/12/2017 15:36, Anthony wrote: I followed what indicated in the web configuration panel setting up two static configuration considering that my application is accessible both as init and as . First, what do you mean by this --

[web2py] Re: serve static files in deployment on pythonanywhere

2017-12-06 Thread Anthony
> > I followed what indicated in the web configuration panel setting up two > static configuration considering that my application is accessible both > as init and as . > First, what do you mean by this -- do you have two exact copies of the same application, one in /applications/init and

[web2py] serve static files in deployment on pythonanywhere

2017-12-06 Thread Manuele Pesenti
Hi! I'm trying to setup static files mapping for my application loaded on pythonanywhere service. I followed what indicated in the web configuration panel setting up two static configuration considering that my application is accessible both as init and as . In order to be sure the