[web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2018-02-18 Thread Anthony
On Sunday, February 18, 2018 at 7:05:37 AM UTC-5, mweissen wrote: > > I have tried > > form = SQLFORM.grid(db.qr_info, > showblob=True, > ) > > and I got: > grid() got an unexpected keyword argument > 'showblob' > What is wrong? > The argument is actually showblobs.

[web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2018-02-18 Thread mweissen
I have tried form = SQLFORM.grid(db.qr_info, showblob=True, ) and I got: grid() got an unexpected keyword argument 'showblob' What is wrong? Version 2.16.1-stable+timestamp.2017.11.14.05.54.25 (läuft auf nginx/1.10.0, Python 2.7.12) Am Montag, 20. März 2017

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-22 Thread Dave S
On Wednesday, March 22, 2017 at 1:56:56 PM UTC-7, Jordan Myers wrote: > > Also, attempting to access appadmin for any table yields: > > Traceback (most recent call last): > File "/home/veda/acre/gluon/restricted.py", line 216, in restricted > exec(ccode, environment) > File "", line 192,

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-22 Thread Jordan Myers
Also, attempting to access appadmin for any table yields: Traceback (most recent call last): File "/home/veda/acre/gluon/restricted.py", line 216, in restricted exec(ccode, environment) File "", line 192, in File "/home/veda/acre/gluon/sqlhtml.py", line 3314, in __init__ fieldmap =

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-22 Thread Jordan Myers
I have done as you suggested, but web2py server will no longer start (tried with rocket server). Traceback: Traceback (most recent call last): File "web2py.py", line 21, in import gluon.widget File "/home/veda/acre/gluon/widget.py", line 26, in from gluon import main, newcron File

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-21 Thread Massimo Di Pierro
You should be able to donwload the zip version and unzip over the existing one (assuming you are running from source). I plan a new release within less then 1 month. It is long overdue. On Tuesday, 21 March 2017 14:17:41 UTC-5, Jordan Myers wrote: > > Thanks for the quick fix! Do you know when

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-21 Thread Jordan Myers
Thanks for the quick fix! Do you know when the next scheduled release will be for web2py? If it's not soon, what is the best practice for cloning the repository into an existing web2py source-download? On Mon, Mar 20, 2017 at 4:16 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > It

[web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-20 Thread Massimo Di Pierro
It is a bug in grid. I just pushed a new version on github that allows you to do SQLFORM.grid(...,showblob=True) On Monday, 20 March 2017 13:52:53 UTC-5, Jordan Myers wrote: > > Hello, > > I am trying to display a Field that has type 'blob' in a SQLFORM.grid. The > data is NOT user-uploaded,