[web2py:33056] Re: jQuery and tag

2009-10-17 Thread weheh
Courtesy Mr. Freeze: jQuery(document).ready(function(){ jQuery(this).attr("title", "Testing"); }); The above works in Mozilla but not in IE. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users

[web2py:33057] Re: The first page on App Engine

2009-10-17 Thread Vidul Petrov
I didn't manage to reproduce this issue, everything works fine. Here is my ENV - User-agent: appcfg_py/1.2.3 Linux/2.6.28-15-generic Python/2.5.4.final.0 Please paste the content of index.html. On Oct 17, 12:48 am, BearXu wrote: > I modified the init/default/index as > redirect(URL(a='myapp',c='

[web2py:33058] Re: pycon open for business

2009-10-17 Thread villas
The site seems excellent and is great PR. In my browsing, a few minor observations: - The home page link saying 'Atlanta' took me to Chicago! - A couple of icons on the Home page would look good and could color- coordinate a little better with main PyCon site (although maybe the big contrast is i

[web2py:33059] Re: I can not do "orderby=db.table.id" in GAE

2009-10-17 Thread BearXu
If the Google servers are distributed globally, is that possible that I get different time from different servers in different countries? 2009/10/17 mdipierro > > You can orderby but not by id. GAE does not support that and the id on > GAE are not sequential anyway. You need to timestamp records

[web2py:33060] Re: pycon open for business

2009-10-17 Thread Yarko Tymciurak
Thanks David - On Oct 17, 6:09 am, villas wrote: > The site seems excellent and is great PR. > > In my browsing, a few minor observations: > - The home page link saying 'Atlanta' took me to Chicago! Ooops - missed that; FIXED! > - A couple of icons on the Home page would look good and could c

[web2py:33061] Re: The first page on App Engine

2009-10-17 Thread mdipierro
I think we need to see the entire app to debug this one. On Oct 17, 5:11 am, Vidul Petrov wrote: > I didn't manage to reproduce this issue, everything works fine. > Here is my ENV - User-agent: appcfg_py/1.2.3 Linux/2.6.28-15-generic > Python/2.5.4.final.0 > Please paste the content of index.htm

[web2py:33062] Re: I can not do "orderby=db.table.id" in GAE

2009-10-17 Thread mdipierro
Make sure to timestamp with the GMT and not the local time. On Oct 17, 9:36 am, BearXu wrote: > If the Google servers are distributed globally, is that possible that I get > different time from different servers in different countries? > > 2009/10/17 mdipierro > > > > > You can orderby but not

[web2py:33063] Rails vs Web2py at Athens Digital Week

2009-10-17 Thread Jon Romero
\I gave a 20-30 minutes presentation and a demo at Athens Digital Week (here in Greece) and the audience loved it! Here is the presentation http://www.slideshare.net/jonromero/rails-vs-web2py Enjoy! --~--~-~--~~~---~--~~ You received this message because you are su

[web2py:33064] Re: jQuery and tag

2009-10-17 Thread mr.freeze
It works for me in IE. On Oct 17, 2:05 am, weheh wrote: > Courtesy Mr. Freeze: > >    jQuery(document).ready(function(){ >        jQuery(this).attr("title", "Testing"); >    }); > > The above works in Mozilla but not in IE. --~--~-~--~~~---~--~~ You received this

[web2py:33065] Re: I can not do "orderby=db.table.id" in GAE

2009-10-17 Thread BearXu
Is there any good solution to translate the timestamp in the server to client's timezone and return it? 2009/10/17 mdipierro > > Make sure to timestamp with the GMT and not the local time. > > On Oct 17, 9:36 am, BearXu wrote: > > If the Google servers are distributed globally, is that possible

[web2py:33066] Re: Rails vs Web2py at Athens Digital Week

2009-10-17 Thread mdipierro
I really like your presentation. I am going to use it myself. ;-) One typo in page 12, in the query. ... and ... does not do what you think (the left part of the query would be ignored). You must use ... & This is because the "and" operator cannot be overloaded in Python, but & can. Massim

[web2py:33067] Re: I can not do "orderby=db.table.id" in GAE

2009-10-17 Thread mdipierro
I order to do this, upon login, the client must send the server and hours different between localtime and gmt. The server should then take into account the difference when reporting time. Massimo On Oct 17, 11:05 am, BearXu wrote: > Is there any good solution to translate the timestamp in the s

[web2py:33068] Re: Help please, an automatic update on my vista box happenend last night - now I get permissions issue when launching web2py - any ideas?

2009-10-17 Thread stefaan
I have the same error running web2py from source on win xp. I'll try to install pywin32 and see if solves the issue. If it does, I think pywin32 should be documented as a requirement. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[web2py:33069] Re: web2py + matplotlib, is there a how-to posted

2009-10-17 Thread stefaan
> Massimo, I've reviewed your slide presentation and have the following > comments (page numbers refer to pdf page numbers): > p. 4: bullets are dark gray on darker gray and are illegible (this > occurs in other slides as well) > p. 13: Field('seuqence') should be spelled Field('sequence') > p. 25

[web2py:33070] Re: "Add" button next to "combo box"

2009-10-17 Thread Renato-ES-Brazil
I solved this problem. Now my widget returns the SELECT (combo box) object and the "add" link inside a DIV object. So, the form.accepts reads just one object (the DIV) from the , working properly. Now, the return of my widget is as follows: return DIV(select, " ", add_link) On Oct 16, 7:27 pm,

[web2py:33071] error tickets on gae

2009-10-17 Thread mattynoce
hi everyone. i've been creating an app and it works fine with the web2py launcher on my computer, but when i use the google app engine on my computer or deploy it to gae, registration causes an error (among other things). what i haven't been able to find through searching is how to view tickets t

[web2py:33072] Is it possible attach any file in the web2pyslices.com?

2009-10-17 Thread Renato-ES-Brazil
I would like to put my widget there, but I don't found a place where I can send my files ( module and view) needed to the widget. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this g

[web2py:33073] Re: Is it possible attach any file in the web2pyslices.com?

2009-10-17 Thread mr.freeze
I haven't enabled uploading for security reasons. There are many good services that you can use to host the file and link it from your slice. Drop.io is a good one. On Oct 17, 1:31 pm, Renato-ES-Brazil wrote: > I would like to put my widget there, but I don't found a place where I > can send

[web2py:33074] Re: Rails vs Web2py at Athens Digital Week

2009-10-17 Thread Iceberg
Nice slides! One comment. In slide 9, the web2py part is in fact the code of controller, but I think a more equivalent comparison should be the code of view, that is {{=form}} :-) BTW, slide 5 and slide 23 are duplicated. :-) On Oct18, 12:49am, mdipierro wrote: > I really like your presentati

[web2py:33075] Re: Is it possible attach any file in the web2pyslices.com?

2009-10-17 Thread Renato-ES-Brazil
Ok, Thanks! :-) On Oct 17, 3:55 pm, "mr.freeze" wrote: > I haven't enabled uploading for security reasons.  There are many good > services that you can use to host the file and link it from your > slice. Drop.io is a good one. > > On Oct 17, 1:31 pm, Renato-ES-Brazil wrote: > > > I would like t

[web2py:33076] Re: "Add" button next to "combo box"

2009-10-17 Thread Renato-ES-Brazil
Guys, I added the widget in web2pyslices.com. Following url: http://www.web2pyslices.com/main/slices/take_slice/11 Please let me know the problems and feel free to improve it. On Oct 17, 3:20 pm, Renato-ES-Brazil wrote: > I solved this problem. Now my widget returns the SELECT (combo box) > o

[web2py:33077] New widget on the web2pylices.com: OPTIONS_WITH_ADD_LINK

2009-10-17 Thread Renato-ES-Brazil
Guys, I added a widget in web2pyslices.com. Following url: http://www.web2pyslices.com/main/slices/take_slice/11 This widget put a "add" link next to SELECT object created by IS_IN_DB validator. There was a topic about the creation of the widget in the following url: http://groups.google.com/gro

[web2py:33078] import static CSS files

2009-10-17 Thread Celso
Hi, I have a html file in the myapp/static directory that I am opening using web2py. I can sucessfully import the javascript content from a subdirectory of myapp/static using relative path, for example, src="./dojoroot/dojo/ dojo.js". But, when I trying to import CSS files using relative path, fo

[web2py:33079] Re: New widget on the web2pylices.com: OPTIONS_WITH_ADD_LINK

2009-10-17 Thread mr.freeze
Looks great! On Oct 17, 2:26 pm, Renato-ES-Brazil wrote: > Guys, > > I added a widget in web2pyslices.com. Following > url:http://www.web2pyslices.com/main/slices/take_slice/11 > > This widget put a "add" link next to SELECT object created by IS_IN_DB > validator. > There was a topic about the

[web2py:33080] Re: Rails vs Web2py at Athens Digital Week

2009-10-17 Thread Renato-ES-Brazil
Cool Jon!!! :) One more comment: In slide 11 you could use Field instead of SQLField. :-) On Oct 17, 4:10 pm, Iceberg wrote: > Nice slides! > > One comment. In slide 9, the web2py part is in fact the code of > controller, but I think a more equivalent comparison should be the > code of view, th

[web2py:33081] web2py behind apache

2009-10-17 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I know there are several articles and posts related to the subject, including relevant section in manual cut. http://mdp.cti.depaul.edu/examples/static/web2py_manual_cut.pdf But I encountered Graham Dumpleton's blog with severe arguments aga

[web2py:33082] CRON issue???

2009-10-17 Thread John Divon
Hi All, We had a strange problem in cron, the day of month parameter does not seems to function as we expect. Checking the source (1.65.0) , cron.py , line 185 we have: for (str, id) in zip(params[:4], ['min', 'hr', 'dom', 'mon', 'dow']): Shouldn't it be params[:5] instead of params[:4] ??

[web2py:33083] Re: import static CSS files

2009-10-17 Thread mdipierro
I do not know but I strongly advise against building explicit paths but they will break if you use routes.py let web2py build urls: instead of @import "./dojoroot/digit/themes/tundra/tundra.css" @import "./dojoroot/dojo/resources/dojo.css" do @import "{{=URL(request.application,'static','dojor

[web2py:33084] Re: import static CSS files

2009-10-17 Thread Jonathan Lundell
On Oct 17, 2009, at 11:46 AM, Celso wrote: > > Hi, > I have a html file in the myapp/static directory that I am opening > using web2py. > > I can sucessfully import the javascript content from a subdirectory of > myapp/static using relative path, for example, src="./dojoroot/dojo/ > dojo.js". > B

[web2py:33085] Re: Rails vs Web2py at Athens Digital Week

2009-10-17 Thread Álvaro Justen [Turicas]
On Sat, Oct 17, 2009 at 12:56, Jon Romero wrote: > > \I gave a 20-30 minutes presentation and a demo at Athens Digital Week > (here in Greece) and the audience loved it! > > Here is the presentation > http://www.slideshare.net/jonromero/rails-vs-web2py > Enjoy! Good work, congratulations! Will t

[web2py:33086] web2pyslices account

2009-10-17 Thread Thadeus Burgess
Has anyone been able to successfully create an account at web2pyslices within the past couple of days? I just tried signing up, got the email, verified. However when I try to login it says invalid password. I used password reset, got the new password, and still getting incorrect password? Is it j

[web2py:33087] Re: web2pyslices account

2009-10-17 Thread mr.freeze
Do you have javascript enabled? On Oct 17, 11:20 pm, Thadeus Burgess wrote: > Has anyone been able to successfully create an account at web2pyslices > within the past couple of days? > > I just tried signing up, got the email, verified. However when I try to > login it says invalid password. I u

[web2py:33088] Re: web2pyslices account

2009-10-17 Thread mr.freeze
To explain, the client side auth requires it. I will put a message about it on the site. Sorry for the inconvenience and let me know if you still have trouble logging in. On Oct 17, 11:31 pm, "mr.freeze" wrote: > Do you have javascript enabled? > > On Oct 17, 11:20 pm, Thadeus Burgess wrote: >

[web2py:33089] Re: web2pyslices account

2009-10-17 Thread Thadeus Burgess
Javascript (is/has been/usually always is) on I did disable javascript just to try, still no go. I am using Arch Linux -> Mozilla Firefox 3.5.3 Using firebug, it is encrypting the password correctly, and sending it to the server. -Thadeus On Sat, Oct 17, 2009 at 11:37 PM, mr.freeze wrote:

[web2py:33090] Re: web2pyslices account

2009-10-17 Thread mr.freeze
Wasn't sure if you had NoScript or another add-in that blocks it. I was able to log in as you using your temporary password. Do you see a hidden input named 'token' on the page? Does it have a uuid value? On Oct 18, 12:10 am, Thadeus Burgess wrote: > Javascript (is/has been/usually always is)

[web2py:33091] Re: web2pyslices account

2009-10-17 Thread Thadeus Burgess
Yes -Thadeus On Sun, Oct 18, 2009 at 12:23 AM, mr.freeze wrote: > Do you see a > hidden input named 'token' on the page? Does it have a uuid value? > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-

[web2py:33092] Re: web2pyslices account

2009-10-17 Thread mr.freeze
Also, when you try to login, do you see the password field fill up with mask characters? (it's stuffing the encrypted password back into the field). Again, sorry about the troubles. Hope I haven't gone overboard on the security but I'm not comfortable sending passwords in plain text. On Oct 18,

[web2py:33093] Re: web2pyslices account

2009-10-17 Thread Thadeus Burgess
>>>I'm not confortable sending passwords in plain text Oh I understand, I"m the same way :) Yes it stuffs the encrypted password back.. I just attempted to log in using Epiphany and Midori, still no go. Perhaps somehow I have an incorrect password, though I am using the one from the reset email

[web2py:33094] Re: web2pyslices account

2009-10-17 Thread mr.freeze
That's the correct password and I verified that it works for me again. Does your username have any uppercase characters? Just curious. On Oct 18, 12:36 am, Thadeus Burgess wrote: > >>>I'm not confortable sending passwords in plain text > > Oh I understand, I"m the same way :) > > Yes it stuffs t

[web2py:33095] SQL Queries + matching/replacing reference IDs

2009-10-17 Thread Sebastian Brandt
Hi everyone, I am having a hard time understanding SQL Queries in web2py. I have a database layout like that: db.define_table( 'status', SQLField('status') ) db.define_table( 'severity', SQLField('severity') ) db.define_table( 'events', SQLField('host'), SQLFi

[web2py:33096] Re: web2pyslices account

2009-10-17 Thread Thadeus Burgess
Ok... that makes sense. I knew I was doing something wrong! Ended up, since I am used to web2py defaults using e-mail for login, thats what I was using! I did not realize "Username" instead of "Email". My bad. Sorry for bothering you! Thanks for taking your time to help me get my own mind on trac

[web2py:33097] Re: SQL Queries + matching/replacing reference IDs

2009-10-17 Thread mdipierro
You can do rows=db(db.events.id==id)(db.events.status==db.status.id) (db.events.severity==db.severity.id).select() for row in rows: print row.events.message, row.status.status, row.severity.severity On Oct 18, 12:12 am, Sebastian Brandt wrote: > Hi everyone, > I am having a hard time under

[web2py:33098] Re: SQL Queries + matching/replacing reference IDs

2009-10-17 Thread Thadeus Burgess
db.events.status.requires = IS_IN_DB(db, 'status.id', 'status.status') -Thadeus On Sun, Oct 18, 2009 at 12:12 AM, Sebastian Brandt wrote: > > Hi everyone, > I am having a hard time understanding SQL Queries in web2py. > > I have a database layout like that: > > db.define_table( >'status',

[web2py:33099] Re: web2pyslices account

2009-10-17 Thread mr.freeze
No worries, you actually helped discover a bug! If you login with a username that has uppercase characters, it will fail. This shouldn't affect you but I still need to fix it. Thanks and get well. On Oct 18, 1:00 am, Thadeus Burgess wrote: > Ok... that makes sense. I knew I was doing something