Re: [web2py] web2py.com is down

2012-01-22 Thread Bruno Rocha
On Sun, Jan 22, 2012 at 6:15 PM, Anthony abasta...@gmail.com wrote: http://www.downforeveryoneorjustme.com/web2py.com: It's not just you! http://web2py.com looks down from here. Yesterday the site was down for me, it is occurring every day since the last week. -- Bruno Rocha [http

Re: [web2py] Re: web2py.com is down

2012-01-22 Thread Bruno Rocha
I am using Linode for more than one year and Linode is amazing! http://www.linode.com/?r=3f383df8639c367bfc73419d6c1ebfbd8dc11cf7 -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Web2py auth and Qooxdoo

2012-01-21 Thread Bruno Rocha
via AJAX? Thanks Phyo. On Fri, Jan 20, 2012 at 7:45 PM, Phyo Arkar phyo.ar...@gmail.com wrote: hello web2py. I am trying to get auth working with qooxdoo , can i know how should i login using ajax and (ofcoz use session) of webpy? Thanks Phyo. -- Bruno Rocha [http

Re: [web2py] Re: Web2py auth and Qooxdoo

2012-01-21 Thread Bruno Rocha
(URL('home', 'index', args=[username, 'loginerror'])) So I have a form that posts username and password to /loginbare action (it can be done in ajax) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] web2py with Plesk Control Panel ?

2012-01-21 Thread Bruno Rocha
deployments. At least in my world as I could slowly transition current and new client websites to a web2py setup. -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Auth.registration_requires_invitation

2012-01-21 Thread Bruno Rocha
already implemented this? can share? what are the chances to include it in Auth? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] PSTV [Paradigm Shift Television] Powered by Inclusion

2012-01-20 Thread Bruno Rocha
looks very nice on mobile! congrats! On Sat, Jan 21, 2012 at 12:42 AM, Andrew Evans andrew.rusty...@gmail.comwrote: Wondering if this site can be included in the powered by web2py www.paradigmshift.tv *cheers Andrew -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Setting mysql collation in web2py?

2012-01-19 Thread Bruno Rocha
may be this argument db = DAL(mysql://, * db_codec*='UTF-8') On Thu, Jan 19, 2012 at 6:47 PM, mdorval rockingdor...@gmail.com wrote: Hey, I was wondering if there's any way to set the collation of the mysql tables created by web2py to utf8_bin. Thanks! -- Bruno Rocha [http

Re: [web2py] Setting mysql collation in web2py?

2012-01-19 Thread Bruno Rocha
BTW, DAL receives another argument driver_args = None You can pass args to the mysql driver

Re: [web2py] Re: MSSQL How to access tables which not created by web2py

2012-01-18 Thread Bruno Rocha
So you can use: results = msdb.execute_sql(SELECT * FROM table.) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Python / web2py or.... the learning path?

2012-01-17 Thread Bruno Rocha
become productive fairly rapidly. What would you say? What is your expiriens? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-17 Thread Bruno Rocha
-- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] MSSQL How to access tables which not created by web2py

2012-01-17 Thread Bruno Rocha
'), Field('field1', datatype), Field('field2', datatype), migrate=False ) look here: http://web2py.com/books/default/chapter/29/6#Legacy-databases-and-keyed-tables -- Bruno Rocha [http

[web2py] Auth with Google Oauth2 - Google Plus, Gmail and other scopes

2012-01-16 Thread Bruno Rocha
to replace them with your API keys. I also found an issue in Auth http://code.google.com/p/web2py/issues/detail?id=616 -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Auth with Google Oauth2 - Google Plus, Gmail and other scopes

2012-01-16 Thread Bruno Rocha
://zerp.ly/rochacbruno Em 16/01/2012 09:25, Michele Comitini michele.comit...@gmail.com escreveu: Hi Bruno, Do you think we can integrate all in one oath20 module? tnx mic 2012/1/16 Bruno Rocha rochacbr...@gmail.com: Hi, I just implemented Google Connect Oauth2 in http://movu.ca/demo

Re: [web2py] Re: error class proposal

2012-01-16 Thread Bruno Rocha
of the input. I think this would be very useful and don't think it would break any backwards compatibility. Thanks. -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
and automatically creates a new text box. Take a look in to this image http://www.diigo.com/item/image/121xl/8cvh That's the idea, may be somebody already developed something like that? -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Welcome app and i18n

2012-01-16 Thread Bruno Rocha
missing something? -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
Something like that http://www.diigo.com/item/image/121xl/oahk would be great for list widget -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
I found the resource http://webspirited.com/tagit/?page=tagit just need to know if it already exists for web2py, so I will not start to develop, else I will start tomorrow. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
is not receiving the same args as request, or form is not validating its type for a list:string field. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] get user id on mobile app after login to web2py

2012-01-16 Thread Bruno Rocha
is the best suggested way to pass back the user id to the container application (browser)? Thanks, Yuval -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: get user id on mobile app after login to web2py

2012-01-16 Thread Bruno Rocha
-- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
Thats working! http://www.diigo.com/item/image/121xl/vnwt -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: I am looking for an html widget for lists

2012-01-16 Thread Bruno Rocha
After hours hacking Jquery plugin I have a good and working web2py tag-widget. http://www.diigo.com/item/image/121xl/3snt The code is in github -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] priority of web2py CMS

2012-01-15 Thread Bruno Rocha
Movuca is a social network engine, but it is also a CMS. It is intended to be generic and customizable, you can create themes, contenttypes etc... If someone do not want the social features such as, user profiles, likes, dislikes, follows and boards. With one click in config and some chsnges in

Re: [web2py] Re: priority of web2py CMS

2012-01-15 Thread Bruno Rocha
by community, so you can install then http://www.movu.ca/demo/article/show/1/how-to-create-content-types-in-movuca-cms Em 15/01/2012 11:24, Gour g...@atmarama.net escreveu: On Sun, 15 Jan 2012 10:47:31 -0200 Bruno Rocha rochacbr...@gmail.com wrote: Movuca is a social network engine

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-15 Thread Bruno Rocha
it will get the config values bypassing the cache. config is in a sqlite db, so it is cached for 300s (the expiration is a config option and you can change it) because of that I have the setup/install (which needs a interface) you can reload the cache with setup/reload

Re: [web2py] Screencasts for web2py? where?

2012-01-15 Thread Bruno Rocha
what about this http://www.youtube.com/playlist?list=PL5E2E223FE3777851 I have 36 videos but it is all in portuguese and part of cursodepython.com.br I am planning to include english subtitles or record new with my bad english pronunciation. BTW it is not all free, I released some free but the

Re: [web2py] Executing controller- and function-specific models in web2py shell

2012-01-15 Thread Bruno Rocha
using: $ python web2py.py -S myapp -M Typing 'db.tables' prints tables defined in db.py Is there a way to specify a controller (or function) to execute models for in a web2py shell? Thanks -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Executing controller- and function-specific models in web2py shell

2012-01-15 Thread Bruno Rocha
Typing 'db.tables' prints tables defined in db.py Is there a way to specify a controller (or function) to execute models for in a web2py shell? Thanks -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] contains return no rows of field list:string

2012-01-14 Thread Bruno Rocha
(db.entries.tags.contains('learning')).select() It returns no values (though there are rows in db). db: sqlite; web2py: 1.99.4 Thank you, Joseph -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] [FYI] DAL IMAPAdapter

2012-01-14 Thread Bruno Rocha
that contain a string within the subject text rows = imapdb(imapdb.INBOX.subject.contains(mytext)).select() I will appreciate your comments. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: [FYI] DAL IMAPAdapter

2012-01-14 Thread Bruno Rocha
by sending an e-mail to movucacms+* x4f567899083*@gmail.com I will use DAL with your API to rows = imapdb(imapdb.INBOX.to.contains(*x4f567899083*)).select() So I can take the email, parse and process to publish as a post in CMS. I am going to try it! -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-14 Thread Bruno Rocha
I made several changes to database model, the problem is that SQLITE does not support ALTER TABLE so you need to delete your tables and let them to be created again. You can just delete config* from databases folder, but I has problems with birthdate column in auth_user, so it is a good idea to

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-14 Thread Bruno Rocha
I forgot to mention that you can have comments in different ways, Facebook comments, DIsqus, Intense Debate or Movuca comments. All configuration is in databases/config_movuca.sqlite (I am developing an admin page for that)

Re: [web2py] Re: PCBSD 9 release (freebsd 9) cannot start web2py

2012-01-14 Thread Bruno Rocha
-- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] PyCharm for web2py development -- interest in a third-party plugin?

2012-01-13 Thread Bruno Rocha
I can help with the plugin, but where is the docs about plugin creation? http://zerp.ly/rochacbruno Em 13/01/2012 14:45, monotasker scotti...@gmail.com escreveu: I had an email exchange over the last couple of days with a developer at Jetbrains who works on PyCharm. The bad news is they've

Re: [web2py] html5 charting library

2012-01-12 Thread Bruno Rocha
I like to use wijmo charts (but it is not free) Googlecharts is very easy to use, I created a plugin for google charts ajax api. http://zerp.ly/rochacbruno Em 12/01/2012 11:40, Kenneth kenneth.t.lundst...@gmail.com escreveu: Hello, has anybody done any comparing of different html5 charting

Re: [web2py] Re: URL Helper.

2012-01-12 Thread Bruno Rocha
Or can just create a new helper URLBuilder -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Intercept file download

2012-01-11 Thread Bruno Rocha
) and is_mobile, I resize the image to an arbitrary small size (ex: 480 px) and give the new url to the response. 3c) If !is_mobile, I return the normal url How can I intercept file download also the static ones? Thank you! -- Profile: http://it.linkedin.com/in/compagnucciangelo -- Bruno

Re: [web2py] Intercept file download

2012-01-11 Thread Bruno Rocha
On Wed, Jan 11, 2012 at 2:23 PM, Bruno Rocha rochacbr...@gmail.com wrote: https://github.com/globocom/thumbor and https://github.com/globocom/mugshot

Re: [web2py] How to perform a function in a template?

2012-01-11 Thread Bruno Rocha
:}} br {{=name_first[0]}} br {{=*urllib.quote_plus*(name_first[0])}} br {{=name_first[1]}} {{pass}} -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] plugin badmin

2012-01-10 Thread Bruno Rocha
Just found this https://github.com/elcio/badmin I am going to test it more, looks very nice!

Re: [web2py] Re: One to many question

2012-01-10 Thread Bruno Rocha
may be db.user.account = db.user.account_id should work in controllers -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: One to many question

2012-01-10 Thread Bruno Rocha
: row.account = row.account_id print row.account.first_name -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: plugin badmin

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

Re: [web2py] Reminder : Web2py Application Exhibition Version 3.0

2012-01-10 Thread Bruno Rocha
I have an app, but I cant join (because I won latest edition) On Tue, Jan 10, 2012 at 2:56 PM, NetAdmin mr.netad...@gmail.com wrote: Just a reminder : See the pinned message at the top of the web2py- users list for more details. Mr.NetAdmin -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] web2py wins an InfoWorld 2012 Technology of the Year Award

2012-01-09 Thread Bruno Rocha
great!!! the website now needs a page to post every award web2py wins! Congratulations everyone, users and developers! http://zerp.ly/rochacbruno Em 09/01/2012 13:48, Anthony abasta...@gmail.com escreveu:

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-09 Thread Bruno Rocha
-to-create-content-types-in-movuca-cms The post is in progress, if you login and click in subscribe you will receive an e-mail alerting post updates. Comments are open for you to give me suggestions. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] New select widget plugin available for testing

2012-01-09 Thread Bruno Rocha
to use the same approach for filtering the contents of one select widget based on the value of another. The plugin is licensed under GPL3, so feel free to adapt and reuse it as you like. Cheers, Ian -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-09 Thread Bruno Rocha
I just finished the article http://movu.ca/demo/article/show/15/how-to-create-content-types-in-movuca-cms subscribers should receive an alert e-mail I am open for suggestions and also I appreciate code reviews! -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Python for Android (any takers to run web2py)

2012-01-08 Thread Bruno Rocha
Look this project https://github.com/kivy/python-for-android May be someone has time to spend trying to run web2py with this. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] best way to process date deltas?

2012-01-07 Thread Bruno Rocha
to calculate deltas between 2 dates? For example I need to calculate how many days are inbetwen 12/31/2011 and today. Then if the delta is a factor of 7 (weekly) do something. Thanks. Adrian -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] best way to process date deltas?

2012-01-07 Thread Bruno Rocha
Also: import datetime as dt date1 = dt.datetime.strptime('2011-12-31', '%Y-%m-%d') date2 = dt.datetime.now() diff = date2 - date1 diff datetime.timedelta(7, 65912, 169900) diff.days 7 -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-06 Thread Bruno Rocha
think. On 5 ene, 07:36, Bruno Rocha rochacbr...@gmail.com wrote: Hi, I am developing a Social CMS, I was very inspired by vikuit.com but I made some conceptual improvements on what I think is a Social CMS. This is a simple system based in Articles, Content Types

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-06 Thread Bruno Rocha
network as a service, I already have 3 clients to use this and I am developing some things according their needs. On Thu, Jan 5, 2012 at 11:23 AM, Martín Mulone mulone.mar...@gmail.comwrote: nice bruno, what does it mean movuca? 2012/1/5 Bruno Rocha rochacbr...@gmail.com On Thu, Jan 5, 2012 at 9

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-06 Thread Bruno Rocha
http://labs.blouweb.com/movuca/article/show/11/about-the-name-movuca -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-06 Thread Bruno Rocha
and people can add recipes to personal book to print or download as pdf. In resume, Instant Press is an organized CMS (just like wordpress). Movuca is a mess! :) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-06 Thread Bruno Rocha
Got a domain name! http://movu.ca -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Movuca - The Social CMS - Need Testers and Contributors

2012-01-05 Thread Bruno Rocha
* not sure if runs on GAE -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-05 Thread Bruno Rocha
On Thu, Jan 5, 2012 at 9:27 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Looks really slick This is the basic theme, I am working on two more themes. One based in Foundation and another in twitter bootstrap. It is all modular so its easy to create new themes. -- Bruno Rocha

Re: [web2py] How do Global Variables Work?

2012-01-05 Thread Bruno Rocha
you need to pass it return dict(t1=t1) or return locals() http://zerp.ly/rochacbruno Em 05/01/2012 12:03, Peter O peter.k.ocon...@gmail.com escreveu: Hihi, I am baffled by what I see between Example 1 and 2. It may be a good case to improve my understanding of the run-time environment

Re: [web2py] gluon.storage.Storage - No more KeyError breaks backward compatibility

2012-01-03 Thread Bruno Rocha
dictionaries is confusing. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: web2py with twitter bootstrap - very clean interface ...

2012-01-02 Thread Bruno Rocha
On Mon, Jan 2, 2012 at 11:25 AM, Vikas Singhal vikas.program...@gmail.comwrote: Any news on integrating it in web2py? I am waiting the final 2.0 version to update it -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Happy new year

2012-01-01 Thread Bruno Rocha
Feliz Ano Novo! http://zerp.ly/rochacbruno Em 01/01/2012 05:26, Massimo Di Pierro massimo.dipie...@gmail.com escreveu: Happy new year everybody!

Re: [web2py] Need Help with Custom Form Widget (Possible web2py Bug)

2011-12-30 Thread Bruno Rocha
help. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: log in issue with client tools, Mr freeze or anyone can help?

2011-12-30 Thread Bruno Rocha
extra_fields -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] access auth in modules

2011-12-29 Thread Bruno Rocha
? Thanks! -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] How to use SELECT Tag (HTML HELP) to print out a list

2011-12-28 Thread Bruno Rocha
*SELECT(*[OPTION(i) for i in ['a', 'b', 'c']])* On Thu, Dec 29, 2011 at 4:52 AM, Dan ideall...@googlemail.com wrote: select {{for i in ['a','b','c']:}} option{{=i}} /option {{pass}} /select -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] rxncon bug tracking plugin

2011-12-22 Thread Bruno Rocha
Someone posted in web2py facebook group. http://rxncon.org/rxncon/plugin_issue/index http://sourceforge.net/projects/yeastmap/develop -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] OFF TOPIC - www.codeschool.com

2011-12-20 Thread Bruno Rocha
Very nice! I teach an online web2py class at cursodepython.com.br I am now preparing some material in english, so I will have the first in-english online class very soon. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] error gluon/sqlhtml.py?

2011-12-13 Thread Bruno Rocha
that we need to interpolate the string before passing it to T(..) For me the right is T(a placeholder %(key)s % dict(key=value) ) because for me this raises an error: T(a placeholder %(key)s) % dict(key=value) *TypeError: unsupported operand type(s) for %:* -- Bruno Rocha [http

Re: [web2py] web2py 1.99.3 is OUT

2011-12-09 Thread Bruno Rocha
what does {{=MARKMIN('qr:http://web2py.com')}} ??

Re: [web2py] Re: How to reuse view functions

2011-12-09 Thread Bruno Rocha
In that cases I prefer to keep the generators in server side. modules/html_helpers.py from gluon import DIV class MySidebar(DIV): def __init__(self): # do whatever you want DIV.__init__(self) self.append(H1(mysidebar)) self.append(UL(*[LI().])) def

Re: [web2py] web2py book 4th Edition

2011-12-09 Thread Bruno Rocha
and in PDF. The book described web2py 1.99.3 and later. Massimo -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Bruno Rocha
I miss a click here for regular website to bypass mobile detection. http://zerp.ly/rochacbruno Em 09/12/2011 16:01, Vasile Ermicioi elff...@gmail.com escreveu: also web2py.com website changed, I like old menu better than new one

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2011-12-09 Thread Bruno Rocha
Any ideas? Suggestions? I am using plugin_ckeditor with inline edit support. look it working here: http://labs.blouweb.com/movuca2/article/show/1/how-to-use-modules-in-web2py (t...@test.com / 1234) It is all server-side so i think it has no problem with custom layouts. -- Bruno Rocha

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2011-12-09 Thread Bruno Rocha
you have to login to see inline-edit working.

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2011-12-09 Thread Bruno Rocha
On Fri, Dec 9, 2011 at 6:48 PM, Ross Peoples ross.peop...@gmail.com wrote: Glad to know someone is using my plugin :) Your plugin is very good, I made some changes, included more methods and solved some bugs. I will send a patch, -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2011-12-09 Thread Bruno Rocha
/modules/plugin_ckeditor.py But I am planning to submit a patch to the author. I am using the edit in place for comments Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] App sugggestion for Web2py -Lottery

2011-12-06 Thread Bruno Rocha
you can use random.org I made something like that www.rifar.me http://zerp.ly/rochacbruno Em 06/12/2011 08:58, António Ramos ramstei...@gmail.com escreveu: Hello, i have a private business with dozens of clients. I want to offer every year a lottery for my clients. The winner will get an

Re: [web2py] Re: oracle error after changing password

2011-12-05 Thread Bruno Rocha
fake_migrate=True http://zerp.ly/rochacbruno Em 05/12/2011 10:37, Tim Korb jtk...@gmail.com escreveu: Oh, I see. Since the password is part of the connect string, the connection string hash used for migrations has changed. Web2py is apparently trying to recreate existing tables, assuming

[web2py] How to deploy web2py on PythonAnywhere

2011-12-05 Thread Bruno Rocha
How to deploy web2py on PythonAnywhere http://stackoverflow.com/a/8386751/559935 -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Bug : exec_environment vs. Auth

2011-12-05 Thread Bruno Rocha
\web2py\gluon\tools.py, line 811, in get_or_create_key request = current.request AttributeError: 'thread._local' object has no attribute 'request' -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Bug : exec_environment vs. Auth

2011-12-05 Thread Bruno Rocha
I mean, Class based logic in modules. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: loading db in module - AttributeError: 'thread._local' object has no attribute 'db'

2011-12-05 Thread Bruno Rocha
you cant assign db to current. you need to pass db to you class __init__ http://zerp.ly/rochacbruno Em 05/12/2011 23:21, Francisco Costa m...@franciscocosta.com escreveu: thanks Anthony, but how can I have access to db in modules then? On Dec 6, 1:14 am, Anthony abasta...@gmail.com wrote:

Re: [web2py] Re: Best practices: When to use classes

2011-12-02 Thread Bruno Rocha
: https://github.com/rochacbruno/Movuca/tree/master/modules BaseModel, BaseHandler and custom DataBase and Access -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Best practices: When to use classes

2011-12-01 Thread Bruno Rocha
using modules and classes. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Best practices: When to use classes

2011-12-01 Thread Bruno Rocha
to be more reusable. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: Best practices: When to use classes

2011-12-01 Thread Bruno Rocha
created to run on Google App Engine, where CPU costs a lot. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: joins across databases

2011-12-01 Thread Bruno Rocha
With two databases will work only if you have linked-servers in your backend. I did it with MSSQL two databases linked and some views defined in DB. so in web2py I defined the views as tables.

Re: [web2py] Re: Best practices: When to use classes

2011-12-01 Thread Bruno Rocha
and database. -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] URL helper - using register and next

2011-11-30 Thread Bruno Rocha
should be _next http://zerp.ly/rochacbruno Em 30/11/2011 12:46, lyn2py lyn...@gmail.com escreveu: Hi guys, I created two links: a href={{=URL('default','user',args='login',vars=dict(next=request.env.path_info))}}login/a a

Re: [web2py] Re: web2py logo and layout has changed one year ago...

2011-11-30 Thread Bruno Rocha
web2python. we have 'web' an object and 'python' an animal :) http://zerp.ly/rochacbruno Em 30/11/2011 13:16, António Ramos ramstei...@gmail.com escreveu: I love the framework but hate the name Web2py Everyone uses names related to animals, objects,etc. At least it gives a better change for

Re: [web2py] Re: Creating URL-safe links/strings?

2011-11-30 Thread Bruno Rocha
to create /blog/show/today-is-wonderful instead of /blog/show/today-is-wonderful%**21 which gives a Invalid Request error... Thanks! -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] call submit from an A tag

2011-11-30 Thread Bruno Rocha
On Wed, Nov 30, 2011 at 1:15 PM, thodoris pasxi...@gmail.com wrote: table.append(A('Submit',_type='submit', _value='submit'))) table.append(A('Submit',_href=#, _onclick=$('form').submit())) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] call submit from an A tag

2011-11-30 Thread Bruno Rocha
table.append(A('Submit',_href=#, _onclick=*$('form').submit(); return false;*)) You shoould define an id to form if you have more than one form in a page. *$('#form_id').submit(); return false;* -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: trunk error

2011-11-30 Thread Bruno Rocha
Just got the same with firefox on windows (dp1 S'output' p2 Stype 'exceptions.SyntaxError' invalid syntax (user_agent_parser.py, line 214) -- Bruno Rocha [http://rochacbruno.com.br]

Re: [web2py] Re: trunk error

2011-11-30 Thread Bruno Rocha
:19:48 PM UTC-5, rochacbruno wrote: Just got the same with firefox on windows (dp1 S'output' p2 Stype 'exceptions.SyntaxError' invalid syntax (user_agent_parser.py, line 214) -- Bruno Rocha [http://rochacbruno.com.br] -- Bruno Rocha [http://rochacbruno.com.br]

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