Re: [web2py] How to use XML data

2012-03-09 Thread Bruno Rocha
-- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] iframe and pdf

2012-03-09 Thread Bruno Rocha
def k(): if 'showpdf' in request.args: return person2pdf(session.ids) else: return dict(ifr=IFRAME(_src=URL('default','k', args='showpdf'))) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] How to use XML data

2012-03-09 Thread Bruno Rocha
, Praveen -- Carlos J. Costa Cientista da Computação Esp. Gestão em Telecom EL MELECH NEEMAN! אָמֵן -- Carlos J. Costa Cientista da Computação Esp. Gestão em Telecom EL MELECH NEEMAN! אָמֵן -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http

Re: [web2py] How to use XML data

2012-03-10 Thread Bruno Rocha
(): temp = get_temp() return dict(temp=temp) Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] How to list:reference users ?

2012-03-11 Thread Bruno Rocha
Field('user_id', list:reference auth_user) On Sun, Mar 11, 2012 at 12:36 AM, bussiere adrien bussi...@gmail.comwrote: maybe Field('Auth','list:reference Auth'), or ('Auth','list:reference User'), Regards Bussiere -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] (Field: unknown field type: float for Price)

2012-03-11 Thread Bruno Rocha
There is no float, it is double in web2py Field http://127.0.0.1:8000/examples/global/vars/Field('Price', 'double'), -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Support for PyPy

2012-03-11 Thread Bruno Rocha
And I have to say! it is very very fast! and you can see the different even running welcome app. I am planning to put a web2py app to run in production for some time to test it. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Rendering HTML CSS Python code The are Retrieved from the database

2012-03-12 Thread Bruno Rocha
the database ? Best Regards , -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Rendering HTML CSS Python code The are Retrieved from the database

2012-03-12 Thread Bruno Rocha
when you do return render(...) it renders the python code into html text markup. the browser is the responsible for rendering this markup. or you can try to output this as pdf using pyfpdf. what are you trying to do? http://zerp.ly/rochacbruno Em 12/03/2012 07:31, Hassan Alnatour

Re: [web2py] Re: Rendering HTML CSS Python code The are Retrieved from the database

2012-03-12 Thread Bruno Rocha
In controller rendered = render(.) return dict(rendered=rendered) in view {{=XML(rendered)}} http://zerp.ly/rochacbruno Em 12/03/2012 10:27, Hassan Alnatour halna...@gardeniatelco.com escreveu: im trying to have somthing like this is the database , in a table called pages :

Re: [web2py] Auth.user is still NULL after a successful login

2012-03-12 Thread Bruno Rocha
Why are you passing session=None to .process ? http://zerp.ly/rochacbruno Em 12/03/2012 09:43, Sushant Taneja sushant.tanej...@gmail.com escreveu: Hi, Following is the snippet from my db.py global file: db = DAL('google:datastore') from gluon.tools import Auth auth = Auth(db,

Re: [web2py] web2pyslice auth error

2012-03-12 Thread Bruno Rocha
.f19c427c-46c8-4120-a189-29f2707ad6d7ticket :( No I suddenly logged out and if I try to log in via google I got the google page with access request and I push OK then I got a facebook auth page :( -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] web2py recipe book

2012-03-12 Thread Bruno Rocha
visible! If I have enjoyed an open source software and also if I get some money working with an open source software. I always consider giving donations, paying for beers and coffees and buying some related stuff. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-12 Thread Bruno Rocha
to start a collaborative project, so in one month we can have an defined ans tested approach, then we include this in the book, or in some web2pyslices recipe, so this kind of doubts will go away. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-12 Thread Bruno Rocha
, mongo is very fast and the best solution i've found for this, -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-12 Thread Bruno Rocha
it. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] raspberry pi

2012-03-13 Thread Bruno Rocha
I see no problem to install Python and web2py on this, You just need to boot from an SD card with python and web2py on it. 2012/3/13 António Ramos ramstei...@gmail.com it would be nice to be able to install web2py in raspberry pi http://www.raspberrypi.org/ -- Bruno Rocha [http

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Bruno Rocha
scalabillity issues too. I think the web2py way is not so bad, but we should find some way to cache the models. Best regards, Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Bruno Rocha
code above is the link which causes the CSS rotation but after submission fails to do so Can somebody help me understand on what's happening ? Thanks, Sushant -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: No models vs. conditional models -- what's the advantage?

2012-03-13 Thread Bruno Rocha
So let me understand better, Mariano, do you think that the use of modules to table-model definitions and using no-models scripts is a bad idea? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] LOAD() function breaking CSS animation

2012-03-13 Thread Bruno Rocha
to bind the event using .live .bind or .on example: *$(document).on(click, .flipLink, function(event){ $('#formContainer').**toggleClass('flipped');** $('.flash').hide('slow');** });* -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: web2py talk at PyCon US 2012 [video]

2012-03-13 Thread Bruno Rocha
)! Anthony On Tuesday, March 13, 2012 1:22:39 AM UTC-4, rochacbruno wrote: http://pyvideo.org/video/714/**web2py-ideas-we-stole-and-**ideas-we-hadhttp://pyvideo.org/video/714/web2py-ideas-we-stole-and-ideas-we-had -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http

Re: [web2py] Modules on Google App Engine

2012-03-13 Thread Bruno Rocha
also added a call from my default.py from api import Api working locally, everything is fine. when deploying to GAE, I get type 'exceptions.ImportError' No module named api can anyone suggest an answer to my problem? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] error in def show():

2012-03-13 Thread Bruno Rocha
http://127.0.0.1:8000/examples/global/vars/response.download(request http://127.0.0.1:8000/examples/global/vars/request, db) response http://127.0.0.1:8000/examples/global/vars/response._vars=response http://127.0.0.1:8000/examples/global/vars/response._caller(show) -- Bruno Rocha

Re: [web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-13 Thread Bruno Rocha
Amazing! just installed using easy_install on windows! *c:\Python27\Scriptseasy_install.exe gluino* Searching for gluino Reading http://pypi.python.org/simple/gluino/ Reading https://github.com/mdipierro/gluino Best match: Gluino 0.1 Downloading

Re: [web2py] Re: pycon talk

2012-03-13 Thread Bruno Rocha
I dont know exaclty why, but if you changed a field from string in to list:string and you are using sqlite, so you are going to have some problems like this, specially if already has data on that fields. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Modules on Google App Engine

2012-03-14 Thread Bruno Rocha
to the /modules directory. I've also added a call from my default.py from api import Api working locally, everything is fine. when deploying to GAE, I get type 'exceptions.ImportError' No module named api can anyone suggest an answer to my problem? -- Bruno Rocha [http://rochacbruno.com.br

Re: [web2py] First message and getting aknowledge about the group behavior.

2012-03-15 Thread Bruno Rocha
are appreciated. Best regards. -- -- -- Ramiro Batista da Luz -- ramiro...@gmail.com -- (41) 9173-2231 -- http://www.ramiroluz.eti.br -- Programador || Câmara Municipal de Curitiba -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Modules on Google App Engine

2012-03-15 Thread Bruno Rocha
also added a call from my default.py from api import Api working locally, everything is fine. when deploying to GAE, I get type 'exceptions.ImportError' No module named api can anyone suggest an answer to my problem? -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha

Re: [web2py] a .contains() query with virtual field

2012-03-15 Thread Bruno Rocha
.__getitem__(self, str(key)) KeyError: 'tags' -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Modules on Google App Engine

2012-03-15 Thread Bruno Rocha
directory. I've also added a call from my default.py from api import Api working locally, everything is fine. when deploying to GAE, I get type 'exceptions.ImportError' No module named api can anyone suggest an answer to my problem? -- Bruno Rocha [http://rochacbruno.com.br

Re: [web2py] Nginx and Web2py

2012-03-16 Thread Bruno Rocha
that for production, but not sure if I can use it like that. Any ideias? Thanks! -- []'s Marco Tulio -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Gedit as IDE

2012-03-17 Thread Bruno Rocha
I really want to have somethink like this[1] for web2py http://www.micahcarrick.com/gedit-as-a-django-ide-for-linux.html I am trying to enroll my own plugin with gtk, does anybody worked on something like this? http://zerp.ly/rochacbruno

Re: [web2py] config file - configuration per environment

2012-03-17 Thread Bruno Rocha
Mult tenance, in web2py you have request.tenant I use SQLite for configs http://zerp.ly/rochacbruno Em 17/03/2012 21:26, Alex mrauc...@gmail.com escreveu: Hi, what is the best way to have settings depending on the environment? I know this question has been asked a couple of times before but

Re: [web2py] Creating a cms with restricted video streaming access

2012-03-18 Thread Bruno Rocha
brand like vimeo or other similar, have anybody tested those services? Could I use Instant Press for this project? Does it have this video streaming features or should I develop something like an Instant Press plugin for this case?. Thank you. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Creating a cms with restricted video streaming access

2012-03-18 Thread Bruno Rocha
, although it probably was developed for django). On 18 mar, 05:16, Bruno Rocha rochacbr...@gmail.com wrote: I am building something like this using Movu.ca as base for the system. I will use this on my coursewww.cursodepython.com.br, Now this course runs with VIMEO plus and only registered

Re: [web2py] Re: Creating a cms with restricted video streaming access

2012-03-19 Thread Bruno Rocha
VIMEO Plus protect videos for downloading http://zerp.ly/rochacbruno Em 19/03/2012 01:46, Osama Khan osama...@gmail.com escreveu:

Re: [web2py] Using Facebook for registration and login

2012-03-20 Thread Bruno Rocha
I use this in movuca and web2pyslices. Code in github. http://zerp.ly/rochacbruno Em 20/03/2012 02:41, pbreit pbreitenb...@gmail.com escreveu: Has anyone programmed a Facebook integration for registration and login using this server-side technique:

Re: [web2py] Re: Creating a cms with restricted video streaming access

2012-03-20 Thread Bruno Rocha
for users, publishers, editors, moderators and administrators. it has to be based on web2py Auth (group, membership etc) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] psycopg2.ProgrammingError: relation table_name already exists

2012-03-20 Thread Bruno Rocha
://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: web2py[:]

2012-03-20 Thread Bruno Rocha
I migrated all the comments! On Tue, Mar 20, 2012 at 8:58 PM, villas villa...@gmail.com wrote: Hi Bruno, I know that you didn't migrate the comments from the old site. However, are those comments still visible somewhere? BTW Movuca is great! Regards, D -- Bruno Rocha [http

[web2py] Re: [video] websockets com web2py e tornado

2012-03-22 Thread Bruno Rocha
Sorry, this is in Portuguese and should go only to Brazilian groups... On Thu, Mar 22, 2012 at 5:10 AM, Bruno Rocha rochacbr...@gmail.com wrote: *Curso De Python .com.br * websockets com tornado, web2py, Python, jQueryhttp://vimeo.com/38972256, [image: websockets com tornado

Re: [web2py] Getting started in Web2py

2012-03-22 Thread Bruno Rocha
You can use eclipse to develop your web2py apps and avoid the alt+tab problem. If you really like the IDE experience I suggest you to try wingIDE. Also you can just use a terminal with emacs, VI or whatever you like to work. No need to even open the web admin interface. The documentation, at a

Re: [web2py] web2py integration with python applications

2012-03-24 Thread Bruno Rocha
Normally the best option for your case is XMLRPC. Take a look at services chapter on web2py book. http://zerp.ly/rochacbruno Em 25/03/2012 02:11, Sam samjenkin...@googlemail.com escreveu: I am fairly new to Linux, Python and web2py so I have given myself a project to help me learn - I'm aware

Re: [web2py] Highest table record

2012-03-26 Thread Bruno Rocha
i get the record with the highest Hits ? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] I am trying to make pizza order page with web2py. What's the best way to store toppings info?

2012-03-26 Thread Bruno Rocha
. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] How to allow Image Upload and Border Selection preview before saving to permanent table

2012-03-27 Thread Bruno Rocha
Web2py_Superfan -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Customizing a widget

2012-03-27 Thread Bruno Rocha
, requires=IS_IN_SET(['b','w']), default='b') -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: New Google Groups functionality

2012-03-27 Thread Bruno Rocha
#%21forum/web2py), it will now default to a question post. However, you can easily change that to discussion or announcement once you are creating the post. It is also now possible to add a comma separated list of tags to each post. Enjoy. Anthony -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] how to redirect from ajax

2012-03-28 Thread Bruno Rocha
On your javascript code you can do. location = url http://zerp.ly/rochacbruno Em 28/03/2012 01:01, weheh richard_gor...@verizon.net escreveu: I'm trying to figure out how the proper syntax to redirect from an ajax call using HTTP(200,Location=URL(...)). The problem is the ajax call points

Re: [web2py] Re: how to redirect from ajax

2012-03-28 Thread Bruno Rocha
({{=URL('default', 'myfunc')}}, [], :eval) In default.py: def myfunc(): return 'window.location = %s;' % URL('default', 'otherfunc') Anthony -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] web2py hosting on VPS server for enterprise

2012-03-28 Thread Bruno Rocha
not for personal but more like enterprise level with my requirements ? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: web2py icon/logo?

2012-03-29 Thread Bruno Rocha
In download page there is s link to download the artwork in .png high resolution. http://zerp.ly/rochacbruno Em 29/03/2012 11:57, selecta gr...@delarue-berlin.de escreveu: thanks i thought so, I like the fav icon because of its compact format, unfortunately my poster will be in A0 so it will

Re: [web2py] Re: Agree on some terms before registration

2012-03-30 Thread Bruno Rocha
custom_fields or extra_fields??? http://zerp.ly/rochacbruno Em 30/03/2012 07:52, weheh richard_gor...@verizon.net escreveu: Just add a label argument to Massimo's answer: auth.settings.custom_fields['**auth_user'].append(Field('**agree','boolean',label='Abandon hope all ye who

Re: [web2py] Login username fake ending character

2012-03-30 Thread Bruno Rocha
method of list. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Improving scaffolding application

2012-04-02 Thread Bruno Rocha
. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Bruno Rocha
83 8826 9088 - Oi 83 9334 0266 - Claro Brasil -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Deployment web2py Snow Leopard Server error

2012-04-03 Thread Bruno Rocha
- itjp.net.br 83 8826 9088 - Oi 83 9334 0266 - Claro Brasil -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] new feature in trunk: full auditing

2012-04-05 Thread Bruno Rocha
records needing update from the original table to the archive table. This requires selecting all the records. Comments? Suggestions? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] new feature in trunk: full auditing

2012-04-05 Thread Bruno Rocha
table to the archive table. This requires selecting all the records. Comments? Suggestions? -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Is there anyone using Linode to host Web2py??

2012-04-05 Thread Bruno Rocha
://groups.google.com/forum/?fromgroups#!topic/web2py/kd_A86Qwz6w by creating a script and run it. (init.deb.sh files are relocated) I think everything's followed nicely but not working. Is there anyone who can help me out by giving me instruction or info? Thank you. -- Bruno Rocha [http

Re: [web2py] Is there anyone using Linode to host Web2py??

2012-04-05 Thread Bruno Rocha
://groups.google.com/forum/?fromgroups#%21topic/web2py/kd_A86Qwz6w by creating a script and run it. (init.deb.sh files are relocated) I think everything's followed nicely but not working. Is there anyone who can help me out by giving me instruction or info? Thank you. -- Bruno Rocha [http

Re: [web2py] Re: How to install gluon in virtualenv?

2012-04-06 Thread Bruno Rocha
, 2012 6:52:46 AM UTC-3, Vincenzo Ampolo wrote: Hi, How can I install and use gluon in virtualenv ? Thanks -- Vincenzo Ampolo http://vincenzo-ampolo.net http://goshawknest.wordpress.**com http://goshawknest.wordpress.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Something very interesting

2012-04-10 Thread Bruno Rocha
/screencast -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Something very interesting

2012-04-10 Thread Bruno Rocha
for commercial apps. Anthony -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Create iOS, Android(.apk) clients for your web2py apps in minutes with this

2012-04-10 Thread Bruno Rocha
) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Cookbook recipe for nginx/uwsgi woes

2012-04-11 Thread Bruno Rocha
Note that in some versions uwsgi files are located at /etc/*uswgi-python* /apps-available/filename.xml Which version os Linux and uwsgi are you using? Here are a working example: https://gist.github.com/2359513 -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: new web2py cheatsheet

2012-04-11 Thread Bruno Rocha
On Wed, Apr 11, 2012 at 10:37 AM, villas villa...@gmail.com wrote: form=SQLFORM.dictform(d) Is that something new? Yes this is a upcoming feature, it is being discussed on developer list. basically it can create forms to edit dictionaries and text files. -- Bruno Rocha [http

Re: [web2py] error in loading web2py source code version in ubuntu 11.10

2012-04-11 Thread Bruno Rocha
/admin.py, line 439, in create_missing_folders os.mkdir(path) OSError: [Errno 13] Permission denied: '/home/praveen/web2py/web2py/deposit' how to resolve it? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-04-11 Thread Bruno Rocha
:02 PM, Gour g...@atmarama.net wrote: On Tue, 7 Feb 2012 15:06:26 -0200 Bruno Rocha rochacbr...@gmail.com wrote: Hello, I want every one to be able to use it, customize it and deploys, sell support, sell as a service. But I want to keep it Open Source (I mean, I dont want someone to take

Re: [web2py] Add conditional sub-menu

2012-04-11 Thread Bruno Rocha
'), [('Guideline', False, URL('pricelist','default','guideline')), ('Multiplier Tables', False, URL('pricelist','default','multitable')), ('Cut Charge Tables', False, URL('pricelist','default','cuttable')), ])] -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-04-11 Thread Bruno Rocha
have you done it first? - http://localhost:8000/appname/setup/install ?? It is needed to populate the config db On Wed, Apr 11, 2012 at 2:07 PM, Gour g...@atmarama.net wrote: On Wed, 11 Apr 2012 13:09:17 -0300 Bruno Rocha rochacbr...@gmail.com wrote: Movu.ca is a general purpose CMS

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-04-11 Thread Bruno Rocha
On Wed, Apr 11, 2012 at 4:56 PM, pbreit pbreitenb...@gmail.com wrote: Yeah, something simple like Tumblr would be nice. tumblr has a lot of social networking features -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Database connections speed issue

2012-04-13 Thread Bruno Rocha
://www.warplydesigned.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Design of a minimal chat-like application in Web2py

2012-04-13 Thread Bruno Rocha
pieces (besides Javascript on the client side) do I need? Thanks! -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Syntax error - can not find solution

2012-04-13 Thread Bruno Rocha
'],'project');%r.id), ' |', _class='element') for n, r in enumerate(rows)] works.insert(0, SPAN(category, _class='category')) works.insert(0, INPUT(_type='hidden', _id='id_project', _name='id_project')) return DIV(*works, _id='submenu2') any idea? Jose -- Bruno

Re: [web2py] jQuery Multi-Select Form Input Names

2012-04-14 Thread Bruno Rocha
You need to create a custom widget and then: db.gallery.tag_id.widget = mycustomwidget or use the web2py mult select widget that ships with plugin_wiki. http://zerp.ly/rochacbruno Em 14/04/2012 07:50, villas villa...@gmail.com escreveu: Hi All, I have just spent a few frustrating hours with

Re: [web2py] Design of a minimal chat-like application in Web2py

2012-04-14 Thread Bruno Rocha
, but this is not essential. So how should I design this given the MVC model of Web2py? What extra pieces (besides Javascript on the client side) do I need? Thanks! -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Custom attributes in DIV

2012-04-14 Thread Bruno Rocha
DIV(, **{_data-role: something}) http://zerp.ly/rochacbruno Em 14/04/2012 22:24, Jon Molesa rjmol...@gmail.com escreveu: Does the div class support hyphenated attribute names data-role=listview? I can't seem to get it to work. I can get _dat_role and _datarole to work, but any attempt to

Re: [web2py] CPU 210%

2012-04-14 Thread Bruno Rocha
We have to see significant part of the code too figure out what is going on... http://zerp.ly/rochacbruno Em 14/04/2012 22:45, Bruce Wade bruce.w...@gmail.com escreveu: Hi, So I just launched and have been hit with a tone of traffic and my CPU on linode is showing 210% usage. Any

Re: [web2py] CPU 210%

2012-04-17 Thread Bruno Rocha
http://www.wadecybertech.com http://www.fittraineronline.com - Fitness Personal Trainers Online http://www.warplydesigned.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Ticket issued: unrecoverable

2012-04-17 Thread Bruno Rocha
://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.fittraineronline.com - Fitness Personal Trainers Online http://www.warplydesigned.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Ticket issued: unrecoverable

2012-04-17 Thread Bruno Rocha
am getting: Admin is disabled because insecure channel when trying to view tickets. Using nginx + uwsgi On Tue, Apr 17, 2012 at 3:43 PM, Bruno Rocha rochacbr...@gmail.comwrote: May be permission issues on the tickets folder On Tue, Apr 17, 2012 at 7:26 PM, Bruce Wade bruce.w...@gmail.com

Re: [web2py] CPU 210%

2012-04-18 Thread Bruno Rocha
Are you storing sessions in db or FS? http://zerp.ly/rochacbruno Em 18/04/2012 02:18, Bruce Wade bruce.w...@gmail.com escreveu: Yeah, I am not sure how well web2py can handle load but I am going to find out pretty fast. I finished setting up a load balancer today, going to have 3 servers

Re: [web2py] CPU 210%

2012-04-18 Thread Bruno Rocha
I recommend you to store sessions on db or cache like memcached, redis... If you are going to run in a load balance, sessions in disk will be a problem. On Wed, Apr 18, 2012 at 11:32 AM, Bruce Wade bruce.w...@gmail.com wrote: Currently FS On Wed, Apr 18, 2012 at 7:22 AM, Bruno Rocha rochacbr

Re: [web2py] CPU 210%

2012-04-18 Thread Bruno Rocha
There are directions for this on book http://web2py.com/books/default/chapter/29/4#session Store session on db or set separate=True On Wed, Apr 18, 2012 at 1:36 PM, Bruno Rocha rochacbr...@gmail.com wrote: I recommend you to store sessions on db or cache like memcached, redis... If you

Re: [web2py] CPU 210%

2012-04-18 Thread Bruno Rocha
prematurely closed connection while reading response header from upstream, client: 173.180.212.86, server: youadstage, request: GET / HTTP/1.1, upstream: uwsgi://127.0.0.1:9001, host: 50.116.6.124 On Wed, Apr 18, 2012 at 9:43 AM, Bruno Rocha rochacbr...@gmail.comwrote

Re: [web2py] Web2py templates for HamlPY

2012-04-18 Thread Bruno Rocha
! -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Time to move from Google Groups to a web2py or python??

2012-04-22 Thread Bruno Rocha
might be another reason to be web2py based. Thanks for any responses. Love and peace, Joe -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Using _before_insert to implement subsecond precision?

2012-04-25 Thread Bruno Rocha
You can use validators in scripts with .validate_and_insert or .update_and_insert http://zerp.ly/rochacbruno Em 25/04/2012 15:53, nick name i.like.privacy@gmail.com escreveu: On Tuesday, April 24, 2012 9:24:34 AM UTC-4, Massimo Di Pierro wrote: I think this belongs to the validator. If

Re: [web2py] Re: Ubuntu and Python3

2012-04-26 Thread Bruno Rocha
12.04 is LTS. So the 2.7 will be on servers for a long time. We need to have web3py working till the next LTS. For development just need to create a tool or tutorial to run web2py on a virtualenv. http://zerp.ly/rochacbruno Em 26/04/2012 10:34, Francisco Costa m...@franciscocosta.com escreveu:

Re: [web2py] response.view html file from static

2012-04-26 Thread Bruno Rocha
myfunction(): response.view = 'static/tinymce/jscripts/tiny_mce/plugins/files.html' return dict() -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Routes.py

2012-04-26 Thread Bruno Rocha
- Claro Brasil -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Show my views code in html as can be seen in web2py.com

2012-04-26 Thread Bruno Rocha
error, because the web2py engine try to execute it. Thanks -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Looking for a good beginner's guide

2012-04-26 Thread Bruno Rocha
the Head First series for other languages and those are pretty close to what I'm looking for. Does anyone have any recommendations? -- Carlos J. Costa Cientista da Computação Esp. Gestão em Telecom EL MELECH NEEMAN! אָמֵן -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Reloading modules

2012-04-28 Thread Bruno Rocha
- or to have a setting that automatically reloads on each request- Otherwise it's almost impossible to do active module development from within web2py. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] autodelete image computed field

2012-04-28 Thread Bruno Rocha
try setting uploadfolder=request.folder+'static/img_folder' to the thumbnail field. I guess web2py will look this to unlink the file. On Sat, Apr 28, 2012 at 9:06 PM, CtrlSoft zerooo...@gmail.com wrote: uploadfolder=request.folder+'static/img_folder' -- Bruno Rocha [http

Re: [web2py] Re: [w2py-dev] Re: Movuca - Social CMS beta 0.1

2012-05-01 Thread Bruno Rocha
On Wed, Apr 11, 2012 at 2:07 PM, Gour g...@atmarama.net wrote: On Wed, 11 Apr 2012 13:09:17 -0300 Bruno Rocha rochacbr...@gmail.com wrote: Movu.ca is a general purpose CMS with focus on social network features (as likes, shares, users and connections...) Tried to install according to: https

Re: [web2py] is it possible to communicate over webservices in web2py application?

2012-05-02 Thread Bruno Rocha
is running on SERVER(here SERVER acts as Server). Now My question is how to achieve it using web services as it is a bi-directional communication between SERVER and N/W Panel AND how to integrate with Web2Py application? Web services can be SOAP OR REST. Regards, Amit -- Bruno Rocha [http

Re: [web2py] .update_or_insert not optimized!!

2012-05-02 Thread Bruno Rocha
,Latitud=float(Latitud),Longitud=float(Longitud),Gasolinera=Gasolinera,Precio=float(Precio),Fecha_Actualizacion=Fecha_Actualizacion) What's your opinion? -- Bruno Rocha [http://rochacbruno.com.br]

<    4   5   6   7   8   9   10   11   12   13   >