[web2py] Re: nssm does not work

2019-06-05 Thread Niphlod
what happened may differ from what you thought it should happen which may differ from what needs to happen. said that, nssm just bootstrap the process. the fact that you have a service up&running may already indicate that everything is running smoothly but if you wanna do a check, open the task

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Tuesday, June 4, 2019 at 10:11:43 PM UTC-7, Val K wrote: > > Try xhttp.withCredentials = true I did. The tricky part is that using a file on the browser's host, the first request is OPTIONS. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://githu

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Val K
Yes, file:// is even another protocol, so using http transport in this case is out of all standards. But it should work fine with regular web2py app (over http) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://c

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Ben Duncan
Put some console logs in to see strange ... This site makes use of a SHA-1 Certificate; it’s recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1. loadajax In function loaddoc loadajax:14:11

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 5:54:23 AM UTC-7, Ben Duncan wrote: > > Put some console logs in to see strange ... > > This site makes use of a SHA-1 Certificate; it’s recommended you use > certificates with signature algorithms that use hash functions stronger > than SHA-1. > loadajax

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 3:30:46 AM UTC-7, Val K wrote: > > Yes, file:// is even another protocol, so using http transport in this > case is out of all standards. But it should work fine with regular web2py > app (over http) Since I found a way to successfully demonstrate the javascript

[web2py] sqlform grid search widget expression question

2019-06-05 Thread Vlad
How can I search for None values? For example, the search expression table.customer == "1" gives me records with customer equals 1. I can't figure out how to search for records with customer field equals None. Tried none,NONE, None, "none", etc. Nothing helped :) Is it possible at all?

[web2py] Re: sqlform grid search widget expression question

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 3:56:56 PM UTC-7, Vlad wrote: > > How can I search for None values? > > For example, the search expression >table.customer == "1" > gives me records with customer equals 1. > I can't figure out how to search for records with customer field equals > None. > >

Re: [web2py] Re: How to make this code work ...

2019-06-05 Thread Dave S
On Wednesday, June 5, 2019 at 12:47:51 PM UTC-7, Dave S wrote: > > > > On Wednesday, June 5, 2019 at 3:30:46 AM UTC-7, Val K wrote: >> >> Yes, file:// is even another protocol, so using http transport in this >> case is out of all standards. But it should work fine with regular web2py >> app (o

Re: [web2py] Re: sqlform grid search widget expression question

2019-06-05 Thread Eliezer (Vlad) Tseytkin
It's a reference field (foreign key) and the pull down has no empty value. It should have (because it can be null), but it doesn't for some reason. On Wed, Jun 5, 2019, 10:44 PM Dave S wrote: > > > On Wednesday, June 5, 2019 at 3:56:56 PM UTC-7, Vlad wrote: >> >> How can I search for None values

[web2py] Re: Web3py

2019-06-05 Thread 黄祥
test another way around to installed web3py, seems can't work smoothly using this way pip3 install directly from git repo (which installed web3py-start on /usr/local/bin/), another problem is requirements.txt package not same like on setup.py install_requires=[...] *steps* docker pull ubuntu doc

[web2py] Re: Web3py

2019-06-05 Thread 黄祥
test latest commits (146) *$ make test* tests/test_auth.py::TestAuth::test_register FAILED tests/test_auth.py::TestAuth::test_register_invalid FAILED tests/test_cache.py::CacheTest::test_change_detection PASSED tests/test_cache.py::CacheTest::test_different_keys PASSED tests/test_cache.py::CacheTes