[web2py] Re: web2py wizard (alpha) is here

2010-10-25 Thread dederocks
Hello, Experimenting with the new wizard to accelerate my developement, I encountered an error when defining a recursive field. With table location and fields id_location location description barcode I get: File "C:\Users\Andre\Documents\web2py\gluon\sql.py", line 1528, in __allocate rais

[web2py] [OFF] my participation in PyCon Brasil talking about web2py

2010-10-25 Thread Bruno Rocha
Google Translated to English: http://translate.google.com.br/translate?js=n&prev=_t&hl=pt-BR&ie=UTF-8&layout=2&eotf=1&sl=pt&tl=en&u=http://rochacbruno.com.br/blog/2010/10/curitiba-e-minha-participacao-na-pythonbrasil6/ Original in portuguese: http://rochacbruno.com.br/blog/2010/10/curitiba-e-minh

[web2py] Re: why do we populate the auth_user table?

2010-10-25 Thread mart
oh, didn't realize it was the dummy data... thanks for clearing it up. Mart :) On Oct 26, 2:09 am, mdipierro wrote: > When you use the wizard, on step 6, it asks if you want to populate > the table with dummy data or not. > > On Oct 26, 12:53 am, mart wrote: > > > Hi, > > > I may have missed th

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Bruno Rocha
*A ship on the beach is a lighthouse to the sea.* 2010/10/26 Jason Brower > I like the white one! Very nice! Nothing wrong with the ship. Does it > mean we are a flasg ship product with new ideas?! [image: :D] > > > On Tue, 2010-10-26 at 00:46 +0200, Branko Vukelic wrote: > > It says no more

[web2py] Re: why do we populate the auth_user table?

2010-10-25 Thread mdipierro
When you use the wizard, on step 6, it asks if you want to populate the table with dummy data or not. On Oct 26, 12:53 am, mart wrote: > Hi, > > I may have missed this, so apologies if a repeat...  but would like to > know. Why do we have this happen when using the wizard? There must be > a good

[web2py] why do we populate the auth_user table?

2010-10-25 Thread mart
Hi, I may have missed this, so apologies if a repeat... but would like to know. Why do we have this happen when using the wizard? There must be a good reason, just can"t figure it out... from gluon.contrib.populate import populate if not db(db.auth_user).count(): populate(db.auth_user,100)

Re: [web2py] Re: auth issue in Firefox 3.6.10+ on Mac

2010-10-25 Thread Aditya Sahay
No. This is seconds after logging in. On Tue, Oct 26, 2010 at 12:28 AM, mdipierro wrote: > Could it be their session expired? > > On Oct 25, 1:05 pm, Adi wrote: > > Hi all, > > > > I've got some users facing this peculiar problem in Radbox. > > > > Faced in: Mac OS X 10.6.4, Firefox 3.6.10 and

[web2py] hey I like this idea

2010-10-25 Thread mdipierro
http://miksovsky.blogs.com/flowstate/2010/10/squeeze-wide-page-content-into-narrow-windows-let-the-content-overlap-the-left-navigation-pane.html

Re: [web2py] Re: uWSGI examples page updated for web2py

2010-10-25 Thread Roberto De Ioris
> I read the example with great interest, but I don't understand why "3 > Web2Py instances, one XML configuration" is better than multiple > configuration files. I'm not saying it's not better, I just really > don't understand it. > > It would seem that either way, one still has 3 uwsgi instances

[web2py] Re: Hidden form fields not accepted by form.accept()?

2010-10-25 Thread Ruiwen Chua
On Oct 25, 7:54 pm, mdipierro wrote: > On Oct 25, 1:17 am, Ruiwen Chua wrote: > > > I see. So form.accept() will not parse any field unless explicitly > > defined in SQLFORM? > > > (Ok I'm not sure if I should start another thread for this, but a few > > issues I found with using SQLFORM.. so p

Re: [web2py] Unable to open web2py using ip address

2010-10-25 Thread Ramjee Ganti
I tried it but does not work. What I want to do is simple. I have to open the webapplication from my mobile browser. Thanks, rAm i Think, i Wait, i Fast -- Siddhartha http://sodidi.ramjeeganti.com On Mon, Oct 25, 2010 at 8:05 PM, Branko Vukelic wrote: > Have you tried serving off 0.0.0.0 in

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Jason Brower
I like the white one! Very nice! Nothing wrong with the ship. Does it mean we are a flasg ship product with new ideas?! :D On Tue, 2010-10-26 at 00:46 +0200, Branko Vukelic wrote: > It says no more uploads, so I'll attach the first proposal here. In > the following days, I will probably do more

[web2py] celery queue?

2010-10-25 Thread Jonathan Z.
Has anyone tried integrating celery with web2py? If not, is there a recommended task queue (beyond the lightweight option mentioned in the "Core" chapter of the web2py book)?

[web2py] new ticket reporting system

2010-10-25 Thread mdipierro
Thanks to Thadeus and Selecta we have a new ticket reporting system in trunk. Tickets are listed grouped by error traceback. So if there are multiple tickets caused by the same problem, you see only one of them with a number indicated how many occurrences. This allows you to easily identify recurr

[web2py] Re: AWS Free Tier

2010-10-25 Thread mdipierro
The reason I like VPS.net is that I can do everything I want (like amazon and any other vps) but up to a point I can scale it but moving a slider on the screen (and they will move everything to a bigger/ faster instance) and it takes about one minute. On Amazon any operation takes 20-30 minutes to

[web2py] Re: AWS Free Tier

2010-10-25 Thread howesc
GAE is to me a true cloud compute environment - you have 0 control over the hardware, and magic happens to scale your services. This does mean that you are restricted in what you can do - no file writes, only have the option of bigtable for database storage inside GAE, and some other restrictions.

[web2py] Re: uWSGI examples page updated for web2py

2010-10-25 Thread Triquetra
I read the example with great interest, but I don't understand why "3 Web2Py instances, one XML configuration" is better than multiple configuration files. I'm not saying it's not better, I just really don't understand it. It would seem that either way, one still has 3 uwsgi instances and 3 web2p

[web2py] Re: True or False in Mail

2010-10-25 Thread villas
On a similar theme... probably also worth mentioning that this line: mail.settings.server = 'logging' or 'smtp.gmail.com:587' also provides an example which evaluates to 'logging'. To get the smtp server working, you may wish to edit that to: mail.settings.server = 'smtp.gmail.com:587' On Oct

[web2py] Re: Pythonn and Yahoo Pipes on Google App Engine

2010-10-25 Thread Richard
My understanding was Yahoo Pipes is good for people with little programming experience, who couldn't scrape the data otherwise. What does it offer to programmers? On Oct 26, 7:35 am, Bruno Rocha wrote: > The amazing Yahoo Pipes now runs on Google App Engine with Python! > > This is a great tool

[web2py] Re: Supporters of the current logo concept

2010-10-25 Thread Richard
Agreed, lowercase is more appropriate. I suspect that logo was most popular because web2py.com uses it. On Oct 22, 1:52 pm, weheh wrote: > Bruno, thanks for the link. Massimo, please consider that we live in a > case sensitive world. All your branding to date has been lower case > web2py. web2py

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread mdipierro
I have no strong opinion one way or another. On Oct 25, 6:18 pm, Bruno Rocha wrote: > I Like more the white one! > > What people and Massimo think about reopen logo contest for a second round > keeping just which has more than 5 votes, and new submissions ? > > 2010/10/25 Branko Vukelic > > > >

[web2py] problem with "double" input on safari and chrome

2010-10-25 Thread mattynoce
hi, i'm running across a problem and want to alert the community about it. i don't yet have a solution but am working on it. maybe one of you has done it before. what's happening the javascript that prevents you from putting bad characters in the "double" input fields is also acting strangely in s

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Bruno Rocha
I Like more the white one! What people and Massimo think about reopen logo contest for a second round keeping just which has more than 5 votes, and new submissions ? 2010/10/25 Branko Vukelic > It says no more uploads, so I'll attach the first proposal here. In > the following days, I will prob

[web2py] Re: model across multiple file order resolution

2010-10-25 Thread mr.freeze
Models are executed alphabetically. I typically prepend digits to the file name for more granular control: 0_somestuff.py On Oct 25, 6:12 pm, Manu wrote: > Hi  , >   I was looking at the db.py file and in the section regarding the > table definition , there is a note advertising the possibility

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Bruno Rocha
Very nice logo! could explain the concept of the ship? All sailing together with web2py! 2010/10/25 Branko Vukelic > It says no more uploads, so I'll attach the first proposal here. In > the following days, I will probably do more. > > > > On Mon, Oct 25, 2010 at 11:32 PM, Branko Vukelic > wr

[web2py] model across multiple file order resolution

2010-10-25 Thread Manu
Hi , I was looking at the db.py file and in the section regarding the table definition , there is a note advertising the possibility to split the model accross multiple model files. It sounds interesting but i was wondering how can we enforce the order these files will be loaded/executed into th

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Branko Vukelic
On Mon, Oct 25, 2010 at 11:17 PM, Bruno Rocha wrote: > Branko, I dont know if people are thinking about a Second round on logo > votation http://www.blouweb.com/logovote/default/index?order=id > , but even without tha votation, I think it is a good idea for you to > propose a new logo. > - Logo sh

[web2py] [OFF] Python Bug Weekend Announced

2010-10-25 Thread Bruno Rocha
Python Bug Weekend Announced Sharing -- Forwarded message -- From: Antoine Pitrou Date: 25 October 2010 19:03 Subject: [Python-Dev] Python bug week-end : 20-21 November To: python-...@python.org Cc: python-l...@python.org Hello, The development team of the Python interpr

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Albert Abril
+1 to Bruno and Branko On Mon, Oct 25, 2010 at 11:17 PM, Bruno Rocha wrote: > > Branko, Did you proposed a logo for web2py main site too ? >> > You did an excelent work with this one, if we have a second round to >> submit >> > and vote for logos, you would send your ideas. >> >> Well, no I have

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Bruno Rocha
> > > Branko, Did you proposed a logo for web2py main site too ? > > You did an excelent work with this one, if we have a second round to > submit > > and vote for logos, you would send your ideas. > > Well, no I haven't proposed a logo for web2py. I wasn't aware of > web2py until very recently, an

[web2py] Re: list:string thoughts

2010-10-25 Thread mdipierro
h. that is possible. Will look into it. On Oct 25, 3:59 pm, yamandu wrote: > It seems that this widget does not work when there is more than one > list:string field in a page. > > On Oct 25, 2:01 am, mdipierro wrote: > > > The list:string is not an alternative to using a tag table and > > ta

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Christopher Steel
Nice!!! On Oct 25, 9:49 am, Branko Vukelic wrote: > I've missed this part of the convo when I was replying to Thadeus > off-list. Anyway, since I've already done something, and the current > plugins site doesn't seem to have it's own logo either, I'll attach > the thing I've done, so you can take

[web2py] Re: list:string thoughts

2010-10-25 Thread yamandu
It seems that this widget does not work when there is more than one list:string field in a page. On Oct 25, 2:01 am, mdipierro wrote: > The list:string is not an alternative to using a tag table and > tag_link many-to-many (an example of which is provided by > plugin_tagging). > > Yet you should

[web2py] Python Tip - Ypu can execute .zip files with Python

2010-10-25 Thread Bruno Rocha
*sharing a tip that came from "Facundo Batista" on PyConBrasil * This is a way to pack a Python module as a .jar in Java Fisrt we need to create a directory called foo, and create a __init__ file to became a Python module $mkdir foo $touch foo/__init__.py Then create/edit a file $vi foo/bar.

[web2py] Pythonn and Yahoo Pipes on Google App Engine

2010-10-25 Thread Bruno Rocha
The amazing Yahoo Pipes now runs on Google App Engine with Python! This is a great tool to create webcrawlers and create scrappers for webpages http://www.wordloosed.com/running-yahoo-pipes-on-google-app-engine

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Branko Vukelic
Consider adding code-reivew and rating features, so the community can mark stuff as safe to include in a project or not safe. On Mon, Oct 25, 2010 at 6:53 PM, Thadeus Burgess wrote: > It should be easy enough to add a service for a listing of plugins. Would > come up with a design specification f

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Anthony
Should we also have a section for appliances? Anthony On Oct 25, 4:54 am, Thadeus Burgess wrote: > No, I do not have a server that can run web2py currently. (due to a conflict > with simplejson. I require the version from pypi, which coincidentally is > incompatible with web2py (and I do not fee

[web2py] Suggestion to include a tip in the components documentation of web2py book

2010-10-25 Thread Luther Goh Lu Feng
I have a small suggestion that will be very helpful to n00bs like me regarding http://web2py.com/book/default/chapter/13#Components The following is the correct code snippet from the correct code snippet @auth.requires_login() def post(): return dict(form=crud.create(db.comment), comments=d

[web2py] Re: forms2pdf: new free web2py appliance

2010-10-25 Thread mdipierro
forgot to say... requires trunk. On Oct 25, 1:55 pm, mdipierro wrote: > http://web2py.com/appliances/default/show/69

[web2py] Re: auth issue in Firefox 3.6.10+ on Mac

2010-10-25 Thread mdipierro
Could it be their session expired? On Oct 25, 1:05 pm, Adi wrote: > Hi all, > > I've got some users facing this peculiar problem in Radbox. > > Faced in: Mac OS X 10.6.4, Firefox 3.6.10 and newer > > Even when they're logged into Radbox, there's this small piece of code > which returns -1. > > --

[web2py] Re: True or False in Mail

2010-10-25 Thread mdipierro
That is what it is mail.settings.tls=True or False is just an example. The right hand site evaluates to True. On Oct 25, 12:52 pm, Alexei Vinidiktov wrote: > Thanks, Massimo. > > But why does the line include both True and False? > > Why isn't it simply > > mail.settings.tls=True > > or > > mai

[web2py] Re: better mercurial integration

2010-10-25 Thread mart
sounds good, thanks for the tip :) On Oct 25, 10:01 am, mdipierro wrote: > This may be useful: > > http://www.ke-cai.net/2010/05/tracking-change-with-google-diff-matchhttp://neil.fraser.name/software/diff_match_patch/svn/trunk/demos/dem... > > look at the page source. It uses: > > http://neil

[web2py] auth issue in Firefox 3.6.10+ on Mac

2010-10-25 Thread Adi
Hi all, I've got some users facing this peculiar problem in Radbox. Faced in: Mac OS X 10.6.4, Firefox 3.6.10 and newer Even when they're logged into Radbox, there's this small piece of code which returns -1. if auth.user: return auth.user.id else: return -1 -

Re: [web2py] Re: True or False in Mail

2010-10-25 Thread Alexei Vinidiktov
Thanks, Massimo. But why does the line include both True and False? Why isn't it simply mail.settings.tls=True or mail.settings.tls=False depending on the needs? On Tue, Oct 26, 2010 at 12:27 AM, mdipierro wrote: > Do not use it on GAE. It means if you require encryption when > authenticat

[web2py] Re: doesn't send user verification email with colon in password

2010-10-25 Thread mdipierro
perfect. fixed this too. On Oct 25, 12:21 pm, Vinicius Assef wrote: > Problem detailed inhttp://code.google.com/p/web2py/issues/detail?id=118 > > -- > Vinicius Assef.

[web2py] Re: String 'Welcome %s' is not translated when user is logged-in

2010-10-25 Thread mdipierro
perfect. fixed On Oct 25, 12:20 pm, Vinicius Assef wrote: > Problem detailed inhttp://code.google.com/p/web2py/issues/detail?id=117 > > Guys, where is the better place to report and suggest fixes? > > -- > Vinicius Assef.

[web2py] Re: True or False in Mail

2010-10-25 Thread mdipierro
Do not use it on GAE. It means if you require encryption when authenticating to the SMTP server. On Oct 25, 12:13 pm, Alexei Vinidiktov wrote: > Hello, > > When trying to figure out how to make mailing functionality work on GAE I > came across a couple of posts where I found this line: > > mail.s

[web2py] doesn't send user verification email with colon in password

2010-10-25 Thread Vinicius Assef
Problem detailed in http://code.google.com/p/web2py/issues/detail?id=118 -- Vinicius Assef.

[web2py] String 'Welcome %s' is not translated when user is logged-in

2010-10-25 Thread Vinicius Assef
Problem detailed in http://code.google.com/p/web2py/issues/detail?id=117 Guys, where is the better place to report and suggest fixes? -- Vinicius Assef.

[web2py] True or False in Mail

2010-10-25 Thread Alexei Vinidiktov
Hello, When trying to figure out how to make mailing functionality work on GAE I came across a couple of posts where I found this line: mail.settings.tls=True or False I can't understand what it means. I found it here (in a comment by Massimo): http://stackoverflow.com/questions/2656068/sending

Re: [web2py] Re: Error tickets by number of occurrence

2010-10-25 Thread Thadeus Burgess
I think this should be default for the ticket view. -- Thadeus On Mon, Oct 25, 2010 at 8:54 AM, mdipierro wrote: > If I have time, I would like to. > > On Oct 25, 7:03 am, selecta wrote: > > so will you integrate it into the current issue tracker? > > like a tab or button with "sort by numb

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Thadeus Burgess
It should be easy enough to add a service for a listing of plugins. Would come up with a design specification for the API you want? Your even welcome to make a checkout and just add an API to the plugincentral codebase if you get to it before I do. I don't see any reason why this would need to be t

RE: [web2py] Re: confused about services and authorization

2010-10-25 Thread David Waldrop
Massimo, The webfaction server is Linux based and uses Apache as the web server. Additionally, below are the commands I used to test via a python console: -- The original app (from which the test was derived) import xmlrpclib rserver = xmlrpclib.Server("http:/

Re: [web2py] Re: web2py wizard (alpha) is here

2010-10-25 Thread Branko Vukelic
On Mon, Oct 25, 2010 at 5:35 PM, mdipierro wrote: > The layout selector should include simpler cases as you suggest. > > Creating controller on the fly is a more complex issues because it > assumes the wizard understands user's code and it does not. I've had something more along the line of creat

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Branko Vukelic
On Mon, Oct 25, 2010 at 5:33 PM, mdipierro wrote: > No because I did not write anything yet. > > Anyway, my idea to have something that works very much like the > layouts page: it exposes a list plugins via a json service and admin/ > wizard has access to that. All we have to do after that is cli

[web2py] Re: Ajax response is not complete

2010-10-25 Thread topher.baron
Sorry for the late response. Here is the ajax call : $.ajax( { url: makeUrl( { argList: [ 'getTree' ] } ), type: "POST", data: { treeId: p.data.treeId }, success: getTreeOnSuccess } ); The controller function : def getTree(): tree = buildT

[web2py] Re: web2py wizard (alpha) is here

2010-10-25 Thread mdipierro
The layout selector should include simpler cases as you suggest. Creating controller on the fly is a more complex issues because it assumes the wizard understands user's code and it does not. Massimo On Oct 25, 9:33 am, Branko Vukelic wrote: > I've seen the wizard video > > http://vimeo.com/160

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread mdipierro
No because I did not write anything yet. Anyway, my idea to have something that works very much like the layouts page: it exposes a list plugins via a json service and admin/ wizard has access to that. For regular plugins there may be version, dependencies, etc and this adds some complexity. Any

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Branko Vukelic
On Mon, Oct 25, 2010 at 4:43 PM, Bruno Rocha wrote: > Branko, Did you proposed a logo for web2py main site too ? > You did an excelent work with this one, if we have a second round to submit > and vote for logos, you would send your ideas. Well, no I haven't proposed a logo for web2py. I wasn't a

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Bruno Rocha
Branko, Did you proposed a logo for web2py main site too ? You did an excelent work with this one, if we have a second round to submit and vote for logos, you would send your ideas. 2010/10/25 Branko Vukelic > I've missed this part of the convo when I was replying to Thadeus > off-list. Anyway

Re: [web2py] Re: web2py wizard (alpha) is here

2010-10-25 Thread Branko Vukelic
I've seen the wizard video http://vimeo.com/16048970 It's an awesome feature, much like RoR's scaffold, but with an UI. Nice. What I'd really like to see, though, is a handy toolbar in the Edit section that we could use to generate bits and pieces on the fly. Like do just one table, or just modif

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Thadeus Burgess
Massimo, do you have what you are working on posted anywhere? -- Thadeus On Mon, Oct 25, 2010 at 9:17 AM, weheh wrote: > > https://docs.google.com/leaf?id=0BzPqKovYWlw-Mjg1NDBhNWQtOWM1MC00ZmE2LWJiZjktZWZjZTkyZTJhMmYy&hl=en&authkey=COWQ8YEF > > On Oct 25, 10:12 am, mdipierro wrote: > > Nice

Re: [web2py] Unable to open web2py using ip address

2010-10-25 Thread Branko Vukelic
Have you tried serving off 0.0.0.0 instead of 127.0.0.1? 127.0.0.1 is only visible locally. On Mon, Oct 25, 2010 at 3:32 PM, Ramjee Ganti wrote: > Hi, > The problem is > Works: http://127.0.0.1:8000//welcome/default/index > Does not Work on both mobile and Dev > machine: http://ipaddress:port//we

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread weheh
https://docs.google.com/leaf?id=0BzPqKovYWlw-Mjg1NDBhNWQtOWM1MC00ZmE2LWJiZjktZWZjZTkyZTJhMmYy&hl=en&authkey=COWQ8YEF On Oct 25, 10:12 am, mdipierro wrote: > Nice work! > > On Oct 25, 8:49 am, Branko Vukelic wrote: > > > I've missed this part of the convo when I was replying to Thadeus > > off-li

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread mdipierro
Nice work! On Oct 25, 8:49 am, Branko Vukelic wrote: > I've missed this part of the convo when I was replying to Thadeus > off-list. Anyway, since I've already done something, and the current > plugins site doesn't seem to have it's own logo either, I'll attach > the thing I've done, so you can t

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Branko Vukelic
I've missed this part of the convo when I was replying to Thadeus off-list. Anyway, since I've already done something, and the current plugins site doesn't seem to have it's own logo either, I'll attach the thing I've done, so you can take a look. On Mon, Oct 25, 2010 at 1:58 PM, mdipierro wrote

[web2py] Re: better mercurial integration

2010-10-25 Thread mdipierro
This may be useful: http://www.ke-cai.net/2010/05/tracking-change-with-google-diff-match.html http://neil.fraser.name/software/diff_match_patch/svn/trunk/demos/demo_diff.html look at the page source. It uses: http://neil.fraser.name/software/diff_match_patch/svn/trunk/javascript/diff_match_patch

[web2py] Re: Unable to open web2py using ip address

2010-10-25 Thread mdipierro
what do you mean by "does not work"? On Oct 25, 8:32 am, Ramjee Ganti wrote: > Hi, > > The problem is > > Works:http://127.0.0.1:8000//welcome/default/index > Does not Work on both mobile and Dev > machine:http://ipaddress:port//welcome/default/index > > Works on Dev machine:http://machinename:p

[web2py] Re: Error tickets by number of occurrence

2010-10-25 Thread mdipierro
If I have time, I would like to. On Oct 25, 7:03 am, selecta wrote: > so will you integrate it into the current issue tracker? > like a tab or button with "sort by number of occurrence" > > On Oct 25, 1:59 pm, mdipierro wrote: > > > Good idea! > > > On Oct 25, 6:37 am, selecta wrote: > > > > Qu

[web2py] Re: Facebook/Twitter/Google login + normal login

2010-10-25 Thread Zhe Li
Hi Cfh, I tried to deploy your modules into my web2py app but failed. The error message is: Traceback (most recent call last): File "/home/zhe/workspace/gaoshi/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/zhe/workspace/gaoshi/web2py/applicatio

[web2py] Unable to open web2py using ip address

2010-10-25 Thread Ramjee Ganti
Hi, The problem is Works: http://127.0.0.1:8000//welcome/default/index Does not Work on both mobile and Dev machine: http://ipaddress:port //welcome/default/index Works on Dev machine: http://machinename:port//welcome/default/index Does not work on mobile in the same network: http://machinename:

[web2py] Re: Error tickets by number of occurrence

2010-10-25 Thread selecta
so will you integrate it into the current issue tracker? like a tab or button with "sort by number of occurrence" On Oct 25, 1:59 pm, mdipierro wrote: > Good idea! > > On Oct 25, 6:37 am, selecta wrote: > > > > > Quite a while ago I wrote some code for my issue tracker to show error > > tickets

[web2py] Re: Error tickets by number of occurrence

2010-10-25 Thread mdipierro
Good idea! On Oct 25, 6:37 am, selecta wrote: > Quite a while ago I wrote some code for my issue tracker to show error > tickets by their number of occurrence. > The Idea behind this is that you will see the error that appears most > frequently and that needs fixing immediately. Since I am too bu

[web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread mdipierro
This has some overlap with what I am doing... anyway... we can merge later. On Oct 25, 3:54 am, Thadeus Burgess wrote: > No, I do not have a server that can run web2py currently. (due to a conflict > with simplejson. I require the version from pypi, which coincidentally is > incompatible with web

[web2py] Re: Setting the default user id derived from a custom auth table in a record

2010-10-25 Thread mdipierro
There are only two possibilities: - you are not logged in - the code above is executed before auth=Auth() in db.py is executed (remember models are executed alphabetically) On Oct 24, 2:18 pm, Luther Goh Lu Feng wrote: > The snippet below defines a table that stores comments that are > create

[web2py] Re: Hidden form fields not accepted by form.accept()?

2010-10-25 Thread mdipierro
On Oct 25, 1:17 am, Ruiwen Chua wrote: > I see. So form.accept() will not parse any field unless explicitly > defined in SQLFORM? > > (Ok I'm not sure if I should start another thread for this, but a few > issues I found with using SQLFORM.. so perhaps I'm still doing > something wrong.) > > a)

[web2py] Re: LOAD/web2py_component 'ajax' upload ... again

2010-10-25 Thread scausten
Ah, of course I don't need the eval :) However, I did require the document ready, I think because my form is in a jQuery overlay and the command, specifically, is location.reload() (i.e. refresh the whole page). Every other jQuery function I tried worked without the document ready, but for some re

[web2py] Re: LOAD/web2py_component 'ajax' upload ... again

2010-10-25 Thread selecta
ah btw my solution was a bit simpler {{=command}} no need for document ready since all scripts in Ajax loaded HTML will be interpreted right away also no need for eval since the script will be interpreted anyway On Oct 25, 11:23 am, scausten wrote: > I've had some success with a very simple wo

[web2py] Re: LOAD/web2py_component 'ajax' upload ... again

2010-10-25 Thread selecta
yes i did it the same way, somebody with javascript knowledge would be really helpful, just to know if fetching the header from the iframe is possible On Oct 25, 11:23 am, scausten wrote: > I've had some success with a very simple workaround for web2py- > component-command. In the form.accepts in

[web2py] Re: Link-pass data to new view via session not on URL

2010-10-25 Thread cjrh
On Oct 25, 4:26 am, Brian M wrote: > It may not be a > concern for your app, but it is something to consider. You raise some very interesting points. I am probably not going to design anything for these kinds of situations right now, simply due to lack of time, but I'll certainly keep it in mind

[web2py] Re: LOAD/web2py_component 'ajax' upload ... again

2010-10-25 Thread scausten
I've had some success with a very simple workaround for web2py- component-command. In the form.accepts in my SQLFORM, I set a variable 'command', return it, and then in my component's view simply put {{if command:}} $(document).ready(function(){ eval({{=command}}); }); {{pass}}

Re: [web2py] Re: Request for a logo - PluginCentral

2010-10-25 Thread Thadeus Burgess
No, I do not have a server that can run web2py currently. (due to a conflict with simplejson. I require the version from pypi, which coincidentally is incompatible with web2py (and I do not feel like reconfiguring my server to use virtualenv)). The code is at http://code.google.com/p/plugincentral

[web2py] Re: LOAD/web2py_component 'ajax' upload ... again

2010-10-25 Thread scausten
Another bump - has anyone had any further thoughts on how to get web2py-component-command or web2py-component-flash working with this code? On Oct 13, 1:38 pm, selecta wrote: > *bump* > sinceuploadforms do not work in web2py components anyway this code > could be integrated into web2py without th

[web2py] Re: Setting the default user id derived from a custom auth table in a record

2010-10-25 Thread ron_m
I think what is happening is the model is exec'd at the start of the request but if the user is not logged in yet or the session has expired forcing a trip to the login page, the model with get None because auth is not in the session. Once the trip to the login page completes it goes back to the co