[web2py] clear error database

2013-07-23 Thread BlueShadow
I got a bit of a problem: I get a timeout when I go to errors in the admin section. I guess there are so many errors that it just takes to long for the page to load (haven't looked at them for quite some time.) Is there a way to clear those errors so that I can at least see the new one's? thanks

[web2py] get web2py 1.8

2013-07-23 Thread aloka
hi all, for development purpose , I want web2py 1.8 version , How I download it ?? please reply me asap aloka -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an

[web2py] Re: DAL select help

2013-07-23 Thread Paul
try: Field('name','list:string') then select: db.table.name.contains('string') On Tuesday, 23 July 2013 09:37:00 UTC+8, Trevor Overman wrote: > > In my database, I have a list of items stored. What I am trying to do is > select a database row when the list in the database contains the item tha

[web2py] Re: clear error database

2013-07-23 Thread Massimo Di Pierro
There should not be a timeout. Do you use nginx or apache? If so you can increase their timeout for the admin app. On Tuesday, 23 July 2013 02:27:49 UTC-5, BlueShadow wrote: > > I got a bit of a problem: > I get a timeout when I go to errors in the admin section. I guess there > are so many erro

[web2py] [JOB][ITALY][MILANO] web2py + python junior developer

2013-07-23 Thread Michele Comitini
For Italian speakers: http://www.jobcrawler.it/jc/search.jsp?k=web2py&l=&paese=IT&lingua=IT mic -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un

Re: [web2py] get web2py 1.8

2013-07-23 Thread Michele Comitini
That's vintage! The older I can find is here http://bazaar.launchpad.net/~mdipierro/web2py/devel/changes/1 2013/7/23 aloka > hi all, > > for development purpose , I want web2py 1.8 version , How I download it ?? > please reply me asap > > aloka > > -- > > --- > You received this message

Re: [web2py] Re: Off topic - Ubuntu Edge

2013-07-23 Thread Michele Comitini
NOT OFFTOPIC. As web developers we must favor adoption of this kind of efficient mobile OS. We need it to get out of the app-trap(TM) and start moving the web forward again. IMHO Firefox OS is even more fit to our community: https://www.mozilla.org/en-US/firefox/os/ mic 2013/7/23 samuel bonil

[web2py] Re: Using Custom Forms with upstream version of twitter bootstrap ( not using all default *.css web2py)

2013-07-23 Thread Zbigniew Pomianowski
I am not sure if I understood correctly your intention. In your model you can define widgets for your input fields. When you want to construct a custom SQLFORM you can override it. In SQLFORM constructor there is a field "formstyle". Just define a function: def formstyle_custom(form, fields):

[web2py] Re: clear error database

2013-07-23 Thread BlueShadow
I'm Using nginx. conf file: user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepaliv

Re: [web2py] Re: best advice for checking/unchecking all INPUT checkboxes with certain pattern in name

2013-07-23 Thread lucas
yes, it does along with window.open. i guess i was hoping for a more redirect(URL(... kind of solution, but that really doesn't make sense on the server-side. thanx lucas -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe f

[web2py] Re: clear error database

2013-07-23 Thread Niphlod
usually you don't store errors on a database. If indeed you're not doing it, errors are just files within the application/yourappname/errors. You can clear it or just move some files over to "speed up" the process of inspecting those. Then you can review them and clear, and move to the errors f

[web2py] Re: get web2py 1.8

2013-07-23 Thread LightDot
I can see tags on Google code go back to 1.77.1, so if it's 1.8.x you're after, just check out the exact version you need. Regards, Ales On Tuesday, July 23, 2013 5:33:20 AM UTC+2, aloka wrote: > > hi all, > > for development purpose , I want web2py 1.8 version , How I download it ?? > please r

Re: [web2py] Re: get web2py 1.8

2013-07-23 Thread Michele Comitini
1.8.x << 1.80 bzr goes back to 1.31. Massimo do you have a prehistorical archive somewhere? 2013/7/23 LightDot > I can see tags on Google code go back to 1.77.1, so if it's 1.8.x you're > after, just check out the exact version you need. > > Regards, > Ales > > > On Tuesday, July 23, 2013 5:3

[web2py] Is GROUP_CONCAT supported?

2013-07-23 Thread Sujan Shakya
Does web2py dal support GROUP_CONCAT? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://

[web2py] Re: web2py book multilanguage

2013-07-23 Thread Andrea Bonini
is not possible recreate pdf of italian version? link is not valid... Il giorno giovedì 11 agosto 2011 11:23:37 UTC+2, Massimo Di Pierro ha scritto: > > The web2py book online http://web2py.com/book is not multilanguage. > > If your browser is set to English it is in Eglish > If your browser is

[web2py] Problem with {{include "some_page.html"}} - its adding some empty line at the top of parsed template

2013-07-23 Thread David Marko
I have a problem with {{include "some_page.html"}} on templates. Its adding some empty line at the top of parsed template. I have some html theme that requires precise html and I found out that when I use {{include}} its adding some strange char(s) at the top of parsed template. I simply try

[web2py] Re: Problem with {{include "some_page.html"}} - its adding some empty line at the top of parsed template

2013-07-23 Thread Massimo Di Pierro
hard to say without the source. the template does not add any characters which are not there. On Tuesday, 23 July 2013 08:39:12 UTC-5, David Marko wrote: > > I have a problem with {{include "some_page.html"}} on templates. Its > adding some empty line at the top of parsed template. I have some h

[web2py] Strange Scheduler Problem

2013-07-23 Thread Tyrone
I am using the scheduler to run our email queue on our website. We have two duplicate sites in different countries on different servers. The one uses a newer /init/ service management and the other uses an older /etc/init.d/ setup. Otherwise the code is the same. (I can't remember the exact term

[web2py] Re: Problem with {{include "some_page.html"}} - its adding some empty line at the top of parsed template

2013-07-23 Thread David Marko
I just found it was IDE issue. I'm using PyScripter and when I oppened the HTML templates in another editor and resaved it simply disapeared ... -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop recei

[web2py] Re: web2py book multilanguage

2013-07-23 Thread Massimo Di Pierro
Here is the book in Italian (older version): https://dl.dropboxusercontent.com/u/18065445/web2py/web2py_manual_it2.pdf On Tuesday, 23 July 2013 07:35:41 UTC-5, Andrea Bonini wrote: > > is not possible recreate pdf of italian version? link is not valid... > > Il giorno giovedì 11 agosto 2011 11:23

[web2py] predefined auth groups auth.add_group

2013-07-23 Thread Antonis Konstantinos Tzorvas
so, first of all i kept auth.settings.create_user_groups = True as suggested, and from the manual there is auth.add_group('role', 'description') this should be in a model.py file or in a module such as first_init.py which will initialize the whole application with predefined groups/etc? adding

[web2py] Entry in the group web2py Users

2013-07-23 Thread MrEdusi
Good morning guys, I'm starting to use the web2py to audition for a job must deliver an application in four days or as soon as possible, I hope to count on the collaboration of you and then collaborate with other developers in the future. Thank you. -- --- You received this message because

Re: [web2py] Re: web2py book multilanguage

2013-07-23 Thread Richard Vézina
Book is down! http://web2py.com/admin/default/ticket/unknown On Tue, Jul 23, 2013 at 10:23 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Here is the book in Italian (older version): > https://dl.dropboxusercontent.com/u/18065445/web2py/web2py_manual_it2.pdf > > > > On Tuesday, 23

[web2py] Re: predefined auth groups auth.add_group

2013-07-23 Thread Alan Etkin
I'd move the groups creation to a setup action or similar. adding this into models/db.py after the auth.define_table() every time i am > visiting appadmin it adds the same groups over and over > @auth.requires_membership("admin") def setup(): if not db(db.auth_group.role=="role").count():

[web2py] Re: Strange Scheduler Problem

2013-07-23 Thread Niphlod
first step of the shallow sysadmin: turn on the logs! have you already ? if yes, post them here, if not, enable them (optionally tuning logging.config) and run the scheduler with -D 0 to enable logging at DEBUG level. Il giorno martedì 23 luglio 2013 15:44:06 UTC+2, Tyrone ha scritto: > > I am u

[web2py] Changing SQLFORM.grid/container width default size

2013-07-23 Thread Kyle Flanagan
I'm trying to change the width of an SQLFORM.grid to take up the full width of the browser window, but only in one view. I'm assuming that means I need to change the .container width, but I can't figure out where exactly the width needs to be changed. I've also read that changing container to c

[web2py] Re: Changing SQLFORM.grid/container width default size

2013-07-23 Thread Jim S
I'd specify a different view for that page and then have css styling at the top of the custom view. That way this width change would only be applicable on that page. Am I over-simplifying the problem? -Jim On Tuesday, July 23, 2013 10:47:05 AM UTC-5, Kyle Flanagan wrote: > > I'm trying to cha

Re: [web2py] Re: web2py book multilanguage

2013-07-23 Thread Ovidio Marinho
*Parabenizar a Latinuxpress pela dedicação aos trabalhos feitos com web2py.* * * *Latinuxpress congratulate the dedication to the work done with web2py. * * * *Latinuxpress felicitar a la dedicación al trabajo realizado con web2py. * * * Ovidio Marinho Falcao Neto ITJ

[web2py] online web2py book inaccessible

2013-07-23 Thread David S
It seems the online web2py book (http://web2py.com/book) isn't working for me and is giving an unknown error. Is anyone seeing this issue? David -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop rec

Re: [web2py] online web2py book inaccessible

2013-07-23 Thread Jonathan Lundell
On 23 Jul 2013, at 9:59 AM, David S wrote: > It seems the online web2py book (http://web2py.com/book) isn't working for me > and is giving an unknown error. > > Is anyone seeing this issue? Yeah, it's broken. -- --- You received this message because you are subscribed to the Google Groups

Re: [web2py] Is GROUP_CONCAT supported?

2013-07-23 Thread Vinicius Assef
I think it doesn't. But you can use raw queries if you need. On Tue, Jul 23, 2013 at 6:14 AM, Sujan Shakya wrote: > Does web2py dal support GROUP_CONCAT? > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this

[web2py] save to ascii text to file instead of html

2013-07-23 Thread lucas
hey everyone, i ask a lot of questions, but i do a lot of strange stuff. anyway, i have a form that processes an XML file and converts it into a plain text CSV file ready for excel. how do i direct web2py or client-side to automatically open the Save File As dialog in whatever browser to save

[web2py] offtopic : beautiful code

2013-07-23 Thread Ykä Marjanen
I've watched this at least 10 times. Definately would recommend all web2py developers to watch and learn from this. Ykä -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, sen

[web2py] Re: save to ascii text to file instead of html

2013-07-23 Thread Niphlod
you set the content-disposition header as 'attachment; filename=yourfilename.csv' On Tuesday, July 23, 2013 8:30:56 PM UTC+2, lucas wrote: > > hey everyone, > > i ask a lot of questions, but i do a lot of strange stuff. anyway, i have > a form that processes an XML file and converts it into a p

[web2py] Re: [JOB][ITALY][MILANO] web2py + python junior developer

2013-07-23 Thread Niphlod
that was going to be a perfect fit one year ago :( On Tuesday, July 23, 2013 9:41:01 AM UTC+2, Michele Comitini wrote: > > For Italian speakers: > > http://www.jobcrawler.it/jc/search.jsp?k=web2py&l=&paese=IT&lingua=IT > > mic > > > -- --- You received this message because you are subscribed t

[web2py] delete stored image

2013-07-23 Thread nicormoreno
i am making a product app in web2py everything is working really well exept one thing. i upload the images like this: the_image = db.product_images.image.store(request.vars.image.file, request.vars.image.filename) img_id = db.product_images.insert(product_id=p_id , image=the_ima

Re: [web2py] online web2py book inaccessible

2013-07-23 Thread David Ripplinger
Is there anywhere else that I can view a copy of the book for the meantime? On Tuesday, July 23, 2013 1:15:42 PM UTC-4, Jonathan Lundell wrote: > > On 23 Jul 2013, at 9:59 AM, David S > > wrote: > > It seems the online web2py book (http://web2py.com/book) isn't working > for me and is giving an

Re: [web2py] online web2py book inaccessible

2013-07-23 Thread David Ripplinger
Nevermind. Found another thread that addresses this: https://groups.google.com/forum/#!topic/web2py/Gzj1GbzJ7lk On Tuesday, July 23, 2013 4:49:26 PM UTC-4, David Ripplinger wrote: > > Is there anywhere else that I can view a copy of the book for the meantime? > > On Tuesday, July 23, 2013 1:15:42

[web2py] Re: delete stored image

2013-07-23 Thread Niphlod
use Field('image', 'upload', autodelete=True) On Tuesday, July 23, 2013 10:18:24 PM UTC+2, nicor...@gmail.com wrote: > > i am making a product app in web2py everything is working really well > exept one thing. > > i upload the images like this: > > the_image = db.product_images.image.stor

Re: [web2py] Re: delete stored image

2013-07-23 Thread Nicolas Rodriguez
Thanks :P awesome thats really simple hahaha :D On Tue, Jul 23, 2013 at 5:06 PM, Niphlod wrote: > use Field('image', 'upload', autodelete=True) > > > On Tuesday, July 23, 2013 10:18:24 PM UTC+2, nicor...@gmail.com wrote: >> >> i am making a product app in web2py everything is working really wel

[web2py] Inserting db entries (+ upload files) from standalone script on different machine

2013-07-23 Thread Sveinbjörn J . Tryggvason
Hey guys, I'm fairly new with web2py and python for web dev stuff in general. Anyway, here's the deal. I have a machine that is running web2py, lets call it 'A', everything in my application requires being logged in. Now I have a second machine running other servers and stuff, let's call th

[web2py] Failing to execute python script from the Windows CMD

2013-07-23 Thread Zeke Schmois
I'm sure I'm missing something very fundamental here but whenever I try to run my script on the windows command line I get >python web2py.exe -S myApp - M -R applications/myApp/scripts/myAppScript.py File "web2py.exe", line 1 SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1

[web2py] Web2py sem Segredos

2013-07-23 Thread Ovidio Marinho
As 20:00hs hoje não percam https://plus.google.com/events/cocblop80ibv4ou44po12j87i2k Ovidio Marinho Falcao Neto ITJP.NET.BR ovidio...@gmail.com 83 8826 9088 - Oi 83 9336 3782 - Claro Brasil --

[web2py] Re: Failing to execute python script from the Windows CMD

2013-07-23 Thread Anthony
If you have Python installed on your system, then download and unzip the * source* version of web2py, not the Windows binary version. In that case, you'll start it with python web2py.py. Anthony On Tuesday, July 23, 2013 5:58:46 PM UTC-4, Zeke Schmois wrote: > > I'm sure I'm missing something ve

[web2py] Re: save to ascii text to file instead of html

2013-07-23 Thread lucas
yes, that worked, here is my code under the controller: response.headers['Content-Type'] = 'text/x-dude' response.headers['Content-Disposition'] = 'attachment; filename="%s.csv"' % xml.sample['name'].strip().replace(' ','_') return str(body).replace('','\n') where i gav

[web2py] onvalidation upload size

2013-07-23 Thread __pyslan__ - Ayslan Jenken
Hello everybody. I'm trying upload files with SQLFORM.grid. Model: FilesUploaded = db.define_table('files_uploaded', Field('name', notnull=True, label=T("Name")), Field('file_name', 'upload', notnull=False, label=T("File")), Field('owner_group', 'reference auth_group', notnull=True,

[web2py] Re: Question about @request.restful

2013-07-23 Thread Franco
Anybody? El domingo, 21 de julio de 2013 14:46:08 UTC-3, Franco escribió: > > Greetings everyone, > I've been using request.restful > to provide an restful interface to my angularjs app, > i tried to post data from the angularjs app and it works, it sends the > data but in the POST method i've go

[web2py] Re: Entry in the group web2py Users

2013-07-23 Thread Jeremy Hankenson
Good luck on your app. I've only just started learning web2py and asked a couple 'noob' questions already and always got an answer right away with no fuss to it. Cheers to everyone on here willing to eagerly help out us! On Tuesday, July 23, 2013 7:49:55 AM UTC-7, MrEdusi wrote: > > Good morn

[web2py] Auto-Updation of auth object after login callback updates database

2013-07-23 Thread Apoorve Mohan
Hello My App triggers a login callback that updates the user tables in the database. My app fetches user info from a remote db and updates my local db. How can I update my "auth object automatically". One way out is that after inserting info in the db I manually update auth. But I want to kno

[web2py] What is the import order for model files when using subfolders based on controller names ?

2013-07-23 Thread David Marko
I'm using model subfolders for specific controllers based on docs here "By default, this is set automatically to load /a/models/*.py, /a/models/c/*.py, and /a/models/c/f/*.py files when /a/c/f is requested." What is the import order for this? -- --- You received this message because you are