[web2py] Re: Icons inside buttons missing if no Internet (LAN is working btw client & server). Is this normal?

2019-03-04 Thread Massimo Di Pierro
yes, download font awesome in static and replace the link to the cdn to a local link. On Monday, 4 March 2019 15:51:25 UTC-8, João Matos wrote: > > Icons inside buttons missing if no Internet (LAN is working between client > and server). Is this normal? > > Is there any way to solve it? > > >

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Yi Liu
Is this fix going to be included in next release? or we are on our own? Thanks! On Monday, March 4, 2019 at 9:45:27 AM UTC-8, Leonel Câmara wrote: > > Kevin I didn't test that, but this fix should indeed fix auth messages as > well since they're also LazyT objects that go into session.flash >

[web2py] Icons inside buttons missing if no Internet (LAN is working btw client & server). Is this normal?

2019-03-04 Thread João Matos
Icons inside buttons missing if no Internet (LAN is working between client and server). Is this normal? Is there any way to solve it? web2py 2.18.3 Python 3.7.1 x86 Windows 7 Pro x64 SP1+all updates Thanks, JM -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: Using REST API for uploading file

2019-03-04 Thread Dave S
On Monday, March 4, 2019 at 2:11:28 PM UTC-8, Sarbjit wrote: > > In my actual app, I have multiple fields which needs to be populated along > with file upload. I have never used CURL before, so I don't know how to > handle this case. I can try with --data-binary but I am not sure if other >

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread João Matos
Hello, I tried your fix after upgrading to 2.18.3, but it didn't work for me. I had to continue to use my kludge of copying 3 files from 2.18.1 (compileapp.py, languages.py and utils.py). In my case even the Logged in and Logged out messages from web2py would appear with the b prefix. Best

[web2py] Re: Using REST API for uploading file

2019-03-04 Thread Sarbjit
In my actual app, I have multiple fields which needs to be populated along with file upload. I have never used CURL before, so I don't know how to handle this case. I can try with --data-binary but I am not sure if other fields will work. On Monday, March 4, 2019 at 5:01:07 PM UTC-5, Dave S

[web2py] Re: Using REST API for uploading file

2019-03-04 Thread Dave S
On Monday, March 4, 2019 at 11:22:19 AM UTC-8, Sarbjit wrote: > > Hello, > > I am trying to use CURL to upload a file in the 'upload' field using REST > services. But on using the command, some garbage is getting uploaded, even > though it shows as type "file" but I could not download the

[web2py] Web2py Thumbnail App

2019-03-04 Thread Jeff Lipkowitz
Does anyone have a open source web2py application that users can upload images and select the image from a tumbnail gallery. I want to make a write up of how to make a web app hitting keras model hosted on google ml. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: Issue with db.export_to_csv_file and Python 3.7

2019-03-04 Thread 'jim kaubisch' via web2py-users
Leonel has copied the solution over to GitHub On Saturday, March 2, 2019 at 3:22:22 AM UTC-8, Kevin Keller wrote: > > Could you make sure that your solutiona are reflected in the github > tickets for export and import problems please? > > Sure that would make it easier for Massimo to fix and

[web2py] Using REST API for uploading file

2019-03-04 Thread Sarbjit
Hello, I am trying to use CURL to upload a file in the 'upload' field using REST services. But on using the command, some garbage is getting uploaded, even though it shows as type "file" but I could not download the file (invalid request) and the URL becomes too lengthy (looks like the file

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
Just tested it.. works fine now. Your fix works. Thanks heaps! On Monday, 4 March 2019 18:45:27 UTC+1, Leonel Câmara wrote: > > Kevin I didn't test that, but this fix should indeed fix auth messages as > well since they're also LazyT objects that go into session.flash > -- Resources: -

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
ahh it does fix it.. I applied your fix wrong.. Thanks!!! On Monday, 4 March 2019 18:40:08 UTC+1, Kevin Keller wrote: > > Create a sample app i.e. with the wizard or create a page that needs login > with the inbuild login form and

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Leonel Câmara
Kevin I didn't test that, but this fix should indeed fix auth messages as well since they're also LazyT objects that go into session.flash -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
Create a sample app i.e. with the wizard or create a page that needs login with the inbuild login form and try to login. The flash message will have the "b" in front off it.. Your fix may address the problem with the other flash messages, but not with the messages from the authapi.py On

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Leonel Câmara
The only way I could reproduce the b' issue was by putting something in the session that was being translated like this: session.flash = T("Hello World") I've fixed that particular case: https://github.com/web2py/web2py/pull/2127 I can't reproduce the b' problem you guys are having in any

[web2py] Re: Microsoft edge login failed

2019-03-04 Thread Yann Dulondel
Found it was a cookie issue on my IE Le lundi 4 mars 2019 17:45:20 UTC+1, Yann Dulondel a écrit : > > Hi all, > I have an issue with MS edge, when i try to log on , i'm redirected on > login page. > I don't have this with firefox or chrome. > Did someone have this issue ? > Best regards > Yann >

[web2py] Microsoft edge login failed

2019-03-04 Thread Yann Dulondel
Hi all, I have an issue with MS edge, when i try to log on , i'm redirected on login page. I don't have this with firefox or chrome. Did someone have this issue ? Best regards Yann -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] Re: retrieving json field from db (GAE)

2019-03-04 Thread Carl Hunter Roach
hi Leonel. I'm not added a Web2py/Pydal github-collabator but I have made your suggested changes to a copy of PyDal and those changes did address my problem. I added an issue as requested: https://github.com/web2py/web2py/issues/2121 but now I've tried out the fix I see that I should have

Re: [web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Lovedie JC
Nice. Thanks for the bug fixes. Any info on the xml()? Regards On Mon, 4 Mar 2019, 14:58 Kevin Keller wrote: > Thanks! > > Its so cool seeing this moving along so quickly. > > There is one thing about this release that is still bothering me, which I > tried to fix myself, but to no avail. > The

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
Thanks! Its so cool seeing this moving along so quickly. There is one thing about this release that is still bothering me, which I tried to fix myself, but to no avail. The "b" that is showing in the flash messages. See screenshot. and here: https://github.com/web2py/web2py/issues/2119

[web2py] validators changes

2019-03-04 Thread Massimo Di Pierro
In master branch I made some changes to validators: 1) validators.py has moved from web2py to pydal 2) validators no longer have a method __call__(self, value) but they have a method validate(self, value) which raises a ValidationError(message) on error 3) older validators will continue work as

[web2py] Re: SQLFORM.smartgrid seems to ignore formargs(separator=':'), whereas SQLFORM.grid obeys it

2019-03-04 Thread Massimo Di Pierro
should work but will check asap On Sunday, 3 March 2019 19:59:49 UTC-8, junderh...@launchpnt.com wrote: > > Thanks, Massimo. Will this work for multiple tables? When I write: > > formargs={'Wordlist': dict(separator=': '), 'Wordlist2word': dict( > separator=': ')} > > this works for the first