[web2py] Re: init.d script samples

2014-08-09 Thread Patrick Walters
I have made much progress on this since I posted and it got approved. 1) I was using python syntax in a bash script... :-) I removed the () and switched to single quotes. DAEMON_ARGS='web2py.py -a "t3st3st" -i 192.168.1.20 -p 8000 -c /usr/share/ssl-cert/server.crt -k /usr/share/ssl-cert/server.k

[web2py] Re: web2py logging logging.conf multiple files

2014-08-09 Thread Leonel Câmara
That's not really an issue, it's using a rotating log, once log reaches max size it creates one of those numbered ones, copies the content there and creates a new one. Your most recent log is the file without a number. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Trouble Creating Update Form

2014-08-09 Thread Massimo Di Pierro
One problem is that you want to select after you process the form: def workouts(): r = db.workouts(request.args(0)) form = SQLFORM(db.workouts, r).process() if form.accepted: response.flash = 'form accepted' elif form.errors: response.flash = 'form has errors' r

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-08-09 Thread Massimo Di Pierro
https://github.com/web2py/web2py/archive/master.zip note, you have to use formstyle. For auth forms this is now set by default in db.py. form = SQLFORM(..., formstyle = SQLFORM.formstyles.bootstrap3) grid = SQLFORM.grid(..., formstyle = SQLFORM.formstyles.bootstrap3) grid = SQLFORM.smartgrid(...

[web2py] Trouble Creating Update Form

2014-08-09 Thread Drew Howell
I'm new to Web2Py, so I am creating a (what I thought was a) simple app that tracks progress of a workout routine. I have a database (db.workouts) that has information such as Workout Name, Rating, Completed, etc. I have 2 fields(rating, completed) I would like to update via a form. I have tried

[web2py] Re: double form in display_form

2014-08-09 Thread Frank Claessen
Thank you!! Regards Frank Op zaterdag 9 augustus 2014 04:10:19 UTC+2 schreef Massimo Di Pierro: > > Remove this {{=BEAUTIFY(response._vars)}} > > response._vars is {'form':form}. > > > > On Friday, 8 August 2014 03:42:41 UTC-5, Frank Claessen wrote: >> >> Hi all, >> >> I am working through the m

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-08-09 Thread eric cuver
where i can find the web2py version with bootstrap Le samedi 9 août 2014 09:17:28 UTC+2, Massimo Di Pierro a écrit : > > also help us test the grid in trunk. > > On Saturday, 9 August 2014 02:13:38 UTC-5, Massimo Di Pierro wrote: >> >> Bootstrap 3 is in trunk now. Please help us test it. >> Also h

[web2py] Re: Another multiple file upload and file drop area demo, this time using dropzone.js

2014-08-09 Thread Massimo Di Pierro
In the near future we may have a smarter mechanism for this On Saturday, 9 August 2014 15:46:49 UTC-5, Spokes wrote: > > Thanks, Massimo. I wasn't aware of that. Looks like I should start > changing certain fields to "uploadseparate = True" rather than the other > way around. > > However, a

[web2py] Re: Web2Py on BeagleBone Black Rev C - Debian

2014-08-09 Thread Patrick Walters
Just wanted to let you know, I abandoned this install and started over... I'm going to stick with the included rocket server since I have no need to run anything elsewhere then on the BBB. Just makes it easier to manage. On Sunday, August 3, 2014 10:28:15 AM UTC-10, Patrick Walters wrote: > > A

[web2py] init.d script samples

2014-08-09 Thread Patrick Walters
I'm setting up on a BeagleBone Black Rev C running Debian and following along with the book where I can. I should mentions I installed web2py using apt-get and my Debian is Wheezy. I never use the desktop on my BBB, so I want everything to work without GUI. I was able to run web2py from the CLI a

[web2py] Re: Another multiple file upload and file drop area demo, this time using dropzone.js

2014-08-09 Thread Spokes
Thanks, Massimo. I wasn't aware of that. Looks like I should start changing certain fields to "uploadseparate = True" rather than the other way around. However, as I mentioned, in the demo mentioned in this thread, when files are deleted, the folders that used to contain them remain. Is this a

[web2py] Re: Powered by Web2py: www.sklad05.si

2014-08-09 Thread Najtsirk
Nothing special. Zurb Foundation. However, this is still a work in progress. On Saturday, 9 August 2014 17:50:41 UTC+2, Cliff Kachinske wrote: > > Very nice. I like the way the pages adapt to changing viewport sizes. Good > decision on shrinking the pictures across the top, I think. > > I

[web2py] Re: Another multiple file upload and file drop area demo, this time using dropzone.js

2014-08-09 Thread Oli
is there a possibilty to change the number of folders/files or set the folders to year/month/day? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You rec

[web2py] Re: Another multiple file upload and file drop area demo, this time using dropzone.js

2014-08-09 Thread Massimo Di Pierro
uploadseparate makes sure that if you have many uploads they are stored in different (sub)folders. This is important for speed because if you have more than 1000 files in a folder accessing the file system is a bottle neck. This does not affect the demo but it is good practice to use uploadsepa

[web2py] Re: A simple bgp looking glass.

2014-08-09 Thread Massimo Di Pierro
Nice! On Saturday, 9 August 2014 09:06:28 UTC-5, Elcimar wrote: > > Hi. > > I created a small bgp looking glass here at work so our partners/customers > can get information of the status of our network. > http://lg.startnetdigital.com.br/ > > Feedback apreciated =) > -- Resources: - http://web2

[web2py] Re: Web2py With Pycharm project on remote Server

2014-08-09 Thread Cliff Kachinske
I agree with Massimo. Unless your situation forbids it, the simplest thing would be to code on your local workstation and push code to the server with git or whatever version control system is in use. If there's no version control system on the server you can even use rsync. But you should use

[web2py] Re: Powered by Web2py: www.sklad05.si

2014-08-09 Thread Cliff Kachinske
Very nice. I like the way the pages adapt to changing viewport sizes. Good decision on shrinking the pictures across the top, I think. If you don't mind my asking, what CSS/javascript magic are you using? Or is it all htm5? On Saturday, August 9, 2014 11:16:24 AM UTC-4, Najtsirk wrote: > > Hi,

[web2py] Powered by Web2py: www.sklad05.si

2014-08-09 Thread Najtsirk
Hi, just wanna share my site I've made with web2py www.sklad05.si Best, Kristjan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this messa

[web2py] Re: Another multiple file upload and file drop area demo, this time using dropzone.js

2014-08-09 Thread Spokes
Thank you for the demo. However, I'm curious as to why it's necessary to use "uploadseparate=True" for the upload fields in the db table. Is there a way to get this to function with "uploadseparate=False" instead? If not, is there a convenient, automatic way, when a file and its thumbnail are d

[web2py] A simple bgp looking glass.

2014-08-09 Thread Elcimar
Hi. I created a small bgp looking glass here at work so our partners/customers can get information of the status of our network. http://lg.startnetdigital.com.br/ Feedback apreciated =) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: sheduler task not running

2014-08-09 Thread peter
Okay thanks Niphlod. That is a difference between the two installations, the working one has a later version of sqlite, with WAL enabled. I will see if I can work around accessing sqlite. Peter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2

Re: [web2py] Re: Resizing a user uploaded image

2014-08-09 Thread lyn2py
Did you manage to figure this out? I am trying out the gluon/ contrib/ imageutils and it isn't working for me either. The db.table_name.picture.requires = RESIZE(200, 200) and db.table_name.thumbnail.compute = lambda row: THUMB(row.picture, 200, 200) Both are not working for me. Instead the

[web2py] Re: Web2py With Pycharm project on remote Server

2014-08-09 Thread Massimo Di Pierro
you create a web2py app simply by copying the welcome app cd applications mkdir myapp cp -r welcome/* myapp/ But I do not know what you mean by working on a remote server. I think PyCharm works on the local machine. You can mount a remote filesystem I guess but is it worth the trouble? On Mo

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-08-09 Thread Massimo Di Pierro
also help us test the grid in trunk. On Saturday, 9 August 2014 02:13:38 UTC-5, Massimo Di Pierro wrote: > > Bootstrap 3 is in trunk now. Please help us test it. > Also help us test that existing apps are not broken. > > Massimo > -- Resources: - http://web2py.com - http://web2py.com/book (Docum

[web2py] bootstrap 3 - if you care help test trunk now

2014-08-09 Thread Massimo Di Pierro
Bootstrap 3 is in trunk now. Please help us test it. Also help us test that existing apps are not broken. Massimo -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issu