Am Dienstag, 4. Juli 2017 00:49:19 UTC+2 schrieb Leonel Câmara:
>
> This has nothing to do with web2py, this is an issue between mod_wsgi
> which uses sub-interpreters and numpy which really doesn't like that and
> may become deadlocked.
>
> The best solution is simply not to use mod_wsgi.
>
It's not a recent problem see:
https://github.com/numpy/numpy/issues/3837
https://github.com/numpy/numpy/issues/8559
And see:
http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#multiple-python-sub-interpreters
You were just being lucky before. Note that you can supposedl
I'm using Postgresql, with the pg8000 adapter.
One of the fields I have is of 'json' type
Field('json_string','json'),
And each time I restart the web2py server, this error will show one time.
Refreshing the page the second time makes it go away:
ProgrammingError: (u'ERROR', u'ERROR',
thanks for your help Peter!
Actually, i've been playing around with it but need some into on
the functions/views too!
'The report_functions should point to valid report functions/views
that you have created (I can provide some info on this if needed)'
On Tue, Jul 4, 2017 at 4:37 AM, Peter
Am Dienstag, 4. Juli 2017 11:02:50 UTC+2 schrieb Leonel Câmara:
>
> It's not a recent problem see:
> https://github.com/numpy/numpy/issues/3837
> https://github.com/numpy/numpy/issues/8559
>
> And see:
>
> http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#multiple-python
Based on previous code, the companies query/function would look something
like...
def csv_companies():
# assumes there is a table called 'company'with field 'name'
query = db.company.id > 0
companies = db(query).select(db.company.id,
Ok, maybe my explanation was too long.
Let's look at a simple example:
I have installed
https://mdipierro.pythonanywhere.com/examples/static/web2py_win.zip
Now a controller:
def mmtest():
t="""
---
This is an ordered list:
+ Item 1
+ Item 2
-:blockquoteclass[blockquot
Thanks Peter - that was very helpful indeed. I didn't manage to get a
'download to CSV from checkboxes' function working, don't quite get why
as i managed to set up a 'download links from rows ' function in the
SQLFORM.grid.
Here is the code for you just in case it is any help for you in the fut
Something about cookies and GDPR.
https://www.cookielaw.org/blog/2016/5/13/the-gdpr,-cookie-consent-and-customer-centric-privacy/
2017-06-03 0:06 GMT+01:00 Carlos Kitu :
> Hi Antonio,
> I don't know the UK regulations about GDPR, but I know the spanish ones,
> and in this subject both countries
Glad you got something out of it Matt!
I decided to try and follow it through to the end but couldn't. (I did get
the grid check-boxes working but only if I selected just one report at a
time).
Your solution with the links is more user friendly (one click generates the
report) if you haven't
Hey Santi, how do i go about doing that, deleting all the tables in the
database backup folder?
On Tuesday, July 4, 2017 at 12:08:44 AM UTC+2, Santiago Cartasegna wrote:
>
> Go to the database folder backup and delete all the .tables. Perhaps a
> change was not reflected on the creation of the t
Please help us test the new web2py:
https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_src.zip
https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_osx.zip
https://mdipierro.pythonanywhere.com/examples/static/nightly/web2py_win.zip
Personally and on behalf of the
12 matches
Mail list logo