[web2py] OFF TOPIC: Collaborative data modeling environment

2016-02-06 Thread Alex Glaros
I'd like to set up a collaborative data modeling environment where multiple governmental licensing agencies jointly participate in designing an open source data model. (They license doctors, dentists, pharmacies, etc.) The default web2py bundle is almost perfect for this except that sqLite is

[web2py] Spreadsheet.py documentation and status

2016-02-06 Thread Henk huisman
I am looking for a way to visualize and enter/update longitudinal data (see my post Q4Web2Py). A tabular/ grid like feature where the columns are the records of a database table and the rows are variables I stumbled in Github on a optional component spreadsheet.py written by Massimo Is

[web2py] Re: Star Rating

2016-02-06 Thread Ron Chatterjee
I have the view like this using plugin and still didn't work (insert values in the database). Any thoughts? {{extend 'layout.html'}} {{=form}} $(document).ready(function() { $("form").submit( function() { $("[name=rating]").removeAttr("disabled"); } ); }); On

Re: [web2py] Re: ubuntu web2py

2016-02-06 Thread xmarx
selman@selman-VirtualBox:~$ ps -ewwf | grep uwsgi selman1878 1848 0 18:15 pts/200:00:00 grep --color=auto uwsgi selman@selman-VirtualBox:~$ sudo restart uwsgi-emperor [sudo] password for selman: restart: Upstart'a bağlanılamıyor: Failed to connect to socket /com/ubuntu/upstart:

[web2py] (2006, 'MySQL server has gone away')

2016-02-06 Thread Alexandru Asimionese
Hi folks, an error like this, everything worked fine, and suddenly Traceback (most recent call last): File "/home/awsmarkets/webapps/web2pyuwsgi/web2py/gluon/main.py", line 543, in wsgibase BaseAdapter.close_all_instances('rollback') File

[web2py] disk cache behind IIS

2016-02-06 Thread Tim Richardson
I have an app set up on Microsoft's IIS 8.5 which seems to use a process pool to handle requests. I also have a scheduler. Does it make sense to try to update the builtin disk cache via a scheduled process? the cache is an attribute of current but in this setup, requests being served by

[web2py] Re: Web2py-appreport

2016-02-06 Thread Ron Chatterjee
Where does this plugin available for download? On Saturday, February 6, 2016 at 1:38:24 AM UTC-5, Anthony Smith wrote: > > Hi All, > > I was following the tutorial from > https://github.com/lucasdavila/web2py-appreport/wiki/Docs-and-examples, > Helper for simple reports and get the follow

[web2py] Re: How to get a referenced field display as a dropdown on a crud form?

2016-02-06 Thread Massimo Di Pierro
this will do: db.define_table('game', Field('game_name', notnull=True, length=255), Field('genre', notnull=True), Field('game_desc'), Field('cost', 'decimal(10,2)'), Field('available', 'boolean'),

[web2py] Re: Yellow box on screen following update

2016-02-06 Thread Massimo Di Pierro
Never see this before. Can you use chrome to check where the box comes from? On Thursday, 4 February 2016 11:39:00 UTC-6, M Bailey wrote: > > Hi All > > I just updated web2py today on my ubuntu box and I now get a yellow box on > the screen in the admin area, which wasn't appearing before

[web2py] Re: Password storage format

2016-02-06 Thread Massimo Di Pierro
N is iterations and M is key length. You can use the CRYPT validator to check them automatically >>> alg = 'pbkdf2(1000,20,sha512)' >>> a = str(CRYPT(digest_alg=alg,salt=True)('test')[0]) >>> a == 'pbkdf2(1000,20,sha512)$...$...' On Saturday, 6 February 2016 23:32:01 UTC-6, Camilo wrote: >

[web2py] Re: Rows not releasing all the memory back

2016-02-06 Thread Massimo Di Pierro
This is not a web2py specific problem. Are you caching something is ram? Do you use a library that may be creating circular references? On Friday, 5 February 2016 01:56:39 UTC-6, Jitun John wrote: > > My application, basically parses log files and presents that using web2py > > So each flat file

[web2py] DePy 2016

2016-02-06 Thread Massimo Di Pierro
I hope to see you at DePy 2016 http://mdp.cdm.depaul.edu/DePy2016 there will be web2py talks! Perhaps you can proposed a few. Massimo -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Web2py-appreport

2016-02-06 Thread Massimo Di Pierro
import modules.plugin_appreport as plugin_appreport_module should be import plugin_appreport as plugin_appreport_module On Saturday, 6 February 2016 00:38:24 UTC-6, Anthony Smith wrote: > > Hi All, > > I was following the tutorial from >

[web2py] Re: (2006, 'MySQL server has gone away')

2016-02-06 Thread Massimo Di Pierro
http://dev.mysql.com/doc/refman/5.7/en/gone-away.html probably a timeout. Check the mysql.conf for timeout On Saturday, 6 February 2016 13:32:36 UTC-6, Alexandru Asimionese wrote: > > Hi folks, an error like this, everything worked fine, and suddenly > > Traceback (most recent call last): >

[web2py] Re: Star Rating

2016-02-06 Thread Massimo Di Pierro
In the other thread you were missing form.process() in controller. ;-) could it be the same problem? On Saturday, 6 February 2016 14:01:43 UTC-6, Ron Chatterjee wrote: > > I have the view like this using plugin and still didn't work (insert > values in the database). Any thoughts? > > >

[web2py] Re: Probably very naive question from new user

2016-02-06 Thread Oliver Holmes
Oh, yes. Those nice small tuts are really helpful. Am Montag, 1. Februar 2016 19:58:44 UTC+1 schrieb jimbo: > > I found this useful as are other posts on the site. > http://www.pyguy.com/web2py/web2py-one-to-many-database-tutorial/ > > On Monday, 1 February 2016 11:33:38 UTC, Chris Green wrote:

[web2py] Password storage format

2016-02-06 Thread Camilo
Hi, So am trying to validate passwords against a db generated by web2py. The format is "pbkdf2(N,M,sha512)$X$Y". I suppose N is iterations (although it seems kind of low), X is salt and Y is encrypted. What would M be? Thank you -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: storing blob field on s3

2016-02-06 Thread Natsu Ken
Hi Massimo, I'm trying to follow the direction you mentioned, but I got 403 Forbidden Error whenever I tried to upload a file. The fs is of version 0.5.4. Is there any specific configuration need to be done on the S3 ? On Tuesday, September 8, 2015 at 9:49:26 PM UTC-5, Massimo Di Pierro wrote:

[web2py] form.accepts fails with 'links' browser

2016-02-06 Thread ..mg..
Hi! I'm trying to run a simple web2py (2.13.4-stable) form from links (2.8/2.12), and I've found a strange bug. web2py's form.accepts is failing because the formkey and formname fields aren't being submitted. links isn't submitting those fields because web2py is wrapping them in a .

[web2py] Re: Using web2py with Existing Python 3 Code

2016-02-06 Thread Massimo Di Pierro
It depends on the kind of interface you need. You can have them exchange data via xmlrpc or pipes. On Thursday, 4 February 2016 11:38:59 UTC-6, Grady Imel wrote: > > Hello, > > I learned Python a little over a year ago and since then have developed an > extensive ETL code base in Python 3 (I

[web2py] Modify sqlform.smartgrid output and layout

2016-02-06 Thread musitwo
Hey, I recently started to do a project with web2py. The SQLFORM.smartgrid is a real timesaver, but I would wish to do some adjustments: 1: Change where the Children are diplayed. Either have the posibility to put the Childrends column somewhere else or I think best would be to make the

[web2py] Re: web2py star rating

2016-02-06 Thread Massimo Di Pierro
It does not get inserted because this: def index(): form = SQLFORM(db.song) return dict(form = form) should be def index(): form = SQLFORM(db.song).process() return dict(form = form) ;-) the problem is not in the JS. Also the rating field should be an integer else you can run

[web2py] Re: ajax callback onchange for checkbox boolean

2016-02-06 Thread 黄祥
why when using 2 checkbox, the latest change or click is applied, the previous one is ignore to store in the session value? let say, i have two unchecked checkbox name : bevel and gosok_halus, when i click for all checkbox, first : bevel and then second click : gosok_halus, the value that been

[web2py] Re: store boolean data type in session, always return true during insert

2016-02-06 Thread 黄祥
that's work perfectly, thank you so much, anthony, never thought that the insert to database table can use if conditional explicitly. another work around, i found the root cause, it is because the value of the boolean type when assigned to session. i confuse the boolean value (in controllers,