[web2py] Re: DAL write permission error

2017-12-07 Thread Val K
OK, just try print 'c:\web2py\applications\testme\databases' and you will be surprised On Friday, December 8, 2017 at 12:14:18 AM UTC+3, Pbop wrote: > > Sorry for not being more clear in my original question so would like to > offer more specific information > > I have a SQLITE database

[web2py] Re: Glyphicons not showing

2017-12-07 Thread Alex Glaros
>From another thread here: Bootstrap 4 dropped the bootstrap 3 included glyphicons. You need to use fontawesome or something like that and give a ui dict to grid with the proper classes to use. Alex Glaros -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

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

2017-12-07 Thread pbreit
Wouldn't this be just a matter of supplying a "welcome-spa" welcome app/starter with REST "on" and Vue-based (or whatever) views? This doesn't require any changes to core Web2py, does it? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Custom SOAP service response

2017-12-07 Thread Dave S
On Thursday, November 9, 2017 at 3:00:15 AM UTC-8, Nicola Gramola wrote: > > Hello. > > I have made a SOAP service using service decorator like this: > > @service.soap('fileSdIConMetadati', returns={'Esito': str}, > args={'IdentificativoSdI': int, 'NomeFile': str, 'File': str, >

[web2py] Re: postgres field optimization smallint

2017-12-07 Thread lucas
i went with the Custom Field Type of SQLCustomType. just stuck it right in the db.py DAL file. sweet, thank you. lucas -- 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: DAL write permission error

2017-12-07 Thread Pbop
Eureka!!! A little embarrassed I missed that. Oh well, I have learned how to fish! Much appreciated. Being able to connect so easily to a database from a shell script is a HUGE problem I am trying to solve. On Thursday, December 7, 2017 at 5:04:52 PM UTC-5, Val K wrote: > > OK, just try >

[web2py] Re: postgres field optimization smallint

2017-12-07 Thread Val K
Hi! I defined/changed field type to smallint by hands using pgAdmin, it works OK (with web2py integer type). If you want to do it under DAL only, you can try Custom Field types or

[web2py] Re: DAL write permission error

2017-12-07 Thread Pbop
Sorry for not being more clear in my original question so would like to offer more specific information I have a SQLITE database located at c:\web2py\applications\testme\databases When running web2py, I have no problem connecting to the database. It loads the test data and works just

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

2017-12-07 Thread Ryan Herbert
Ah, yes you are right. However, this error isn't occuring in my own code, could it be an issue with this build of web2py ( 2.16.1-stable+timestamp.2017.11.14.05.54.25 (Running on nginx/1.10.3, Python 2.7.12) ) ? On Wednesday, 6 December 2017 18:59:29 UTC+1, Val K wrote: > > Hi! > Consider that

[web2py] Re: menu li > a padding in case of button

2017-12-07 Thread 'Annet' via web2py-users
Hi Paolo, Maybe > > .web2py-menu li:nth-of-type(2) {padding:0;} > > Yes, that solves the problem, thank you for your help. Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

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

2017-12-07 Thread Ryan Herbert
I found this issue: https://github.com/web2py/pydal/issues/498 which denotes my exact problem, so it should be fixed soon (?). Not entirely sure why this issue didn't come up when searching my error on google... On Wednesday, 6 December 2017 16:39:11 UTC+1, Ryan Herbert wrote: > > Hello, > I am

[web2py] Re: DAL write permission error

2017-12-07 Thread Alfonso Serra
Unable to open the database could mean: - The database does not exists. - The credentials to access the database are wrong. - Theres not read/write access to the file. - The database is corrupted. If you get the full trace stack there may be more information to know which one is the problem. I

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

2017-12-07 Thread Carlos Cesar Caballero Díaz
Yes, first I crete the entry using the grid add form without problems, when I open the edit form, the image is in the field, but when I submit the form without changes, the validator says that there is no image. El 06/12/17 a las 14:32, Dave S escribió: On Wednesday, December 6, 2017 at

[web2py] Asking support for MySQL create/alter column "AFTER" keyword

2017-12-07 Thread Alfonso Serra
Hi everybody. I would like to ask for support for the create column "AFTER" another column keyword so whenever we change something in our models the order of the columns in the database is respected. I know this is a cosmetic change but migrations wont mess up column order this way. In large

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

2017-12-07 Thread Richard Vézina
That why I think we should keep sqlhtml a live so we can choose to create forms/tags from server side when ever it makes sens... I use web2py HELPERS all the time as I find it cleaner to write than HTML despite it slower... Though, at some point server side is painful (for complex form or piece of

[web2py] Glyphicons not showing

2017-12-07 Thread mostwanted
I upgraded to the 2.16.1-stable+timestamp.2017.11.14.05.54.25 version of web2py but i seem not to be able to get my glyphicons to appear! Could i be doing something wrong Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: DAL write permission error

2017-12-07 Thread Val K
Not sure, but may help - try to replace backslash with slash: 'c:/web2py/applications//databases' On Sunday, December 3, 2017 at 2:34:12 PM UTC+3, Pbop wrote: > > On windows in command prompt, running latest version of web2py > > When on any directory other than web2py\applications\\databases, >

[web2py] Re: Problem enabling Email services

2017-12-07 Thread Dave S
On Wednesday, December 6, 2017 at 10:44:07 PM UTC-8, Sandeep Patel wrote: > > > 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