[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 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 track!
>
> Man, ever since I caught the flu I just have not been in my game.
>
> Again, thanks.
>
> -Thadeus
>
> On Sun, Oct 18, 2009 at 12:52 AM, mr.freeze  wrote:
>
> > 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 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 starting with KgR
> > > -Thadeus
>
> > > On Sun, Oct 18, 2009 at 12:33 AM, mr.freeze 
> > wrote:
> > > > so, 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 troub
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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',
>SQLField('status')
>)
> db.define_table(
>'severity',
>SQLField('severity')
>)
> db.define_table(
>'events',
>SQLField('host'),
>SQLField('message'),
>SQLField('datetime_submitted','datetime',default=request.now,
> writable=False),
>SQLField('status',db.status),
>SQLField('severity',db.severity)
>)
>
> As shown, I use reference in the events table. I have a dropdown-menu
> that you can select events of a special status and not see all events.
> The IDs of those events are stored in id.
> My query I perform to get events back that have a special status is
> the following:
>
> events=db(db.events.id==id).select() #
>
> The events are printed in the view with a simple {{=events}}
> statement. I return exaclty what I have in the db-table, which are
> also the IDs of the fields in the referenced tables and not the "text"
> of the status and severity.
>
> Is there a way I can build a query that gives back the entry stored
> in .db.status.status and db.status.severity instead of their reference-
> id or would you normally match the id given back in events with the
> referenced entry while printing it somewhere in the view?
>
> I am asking because this would mean for the second option, that I have
> to do 2 more queries to the db and I would need some kind of loop to
> replace the id with the referenced entry and I am really wondering if
> this is the most performanced optimize approach.
>
> Thanks in advance
> Sebastian Brandt
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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'),
>     SQLField('message'),
>     SQLField('datetime_submitted','datetime',default=request.now,
> writable=False),
>     SQLField('status',db.status),
>     SQLField('severity',db.severity)
>     )
>
> As shown, I use reference in the events table. I have a dropdown-menu
> that you can select events of a special status and not see all events.
> The IDs of those events are stored in id.
> My query I perform to get events back that have a special status is
> the following:
>
> events=db(db.events.id==id).select() #
>
> The events are printed in the view with a simple {{=events}}
> statement. I return exaclty what I have in the db-table, which are
> also the IDs of the fields in the referenced tables and not the "text"
> of the status and severity.
>
> Is there a way I can build a query that gives back the entry stored
> in .db.status.status and db.status.severity instead of their reference-
> id or would you normally match the id given back in events with the
> referenced entry while printing it somewhere in the view?
>
> I am asking because this would mean for the second option, that I have
> to do 2 more queries to the db and I would need some kind of loop to
> replace the id with the referenced entry and I am really wondering if
> this is the most performanced optimize approach.
>
> Thanks in advance
> Sebastian Brandt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 track!

Man, ever since I caught the flu I just have not been in my game.

Again, thanks.

-Thadeus




On Sun, Oct 18, 2009 at 12:52 AM, mr.freeze  wrote:

>
> 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 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 starting with KgR
> > -Thadeus
> >
> > On Sun, Oct 18, 2009 at 12:33 AM, mr.freeze 
> wrote:
> > > so, 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 troub
> >
> >
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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'),
SQLField('message'),
SQLField('datetime_submitted','datetime',default=request.now,
writable=False),
SQLField('status',db.status),
SQLField('severity',db.severity)
)

As shown, I use reference in the events table. I have a dropdown-menu
that you can select events of a special status and not see all events.
The IDs of those events are stored in id.
My query I perform to get events back that have a special status is
the following:

events=db(db.events.id==id).select() #

The events are printed in the view with a simple {{=events}}
statement. I return exaclty what I have in the db-table, which are
also the IDs of the fields in the referenced tables and not the "text"
of the status and severity.

Is there a way I can build a query that gives back the entry stored
in .db.status.status and db.status.severity instead of their reference-
id or would you normally match the id given back in events with the
referenced entry while printing it somewhere in the view?

I am asking because this would mean for the second option, that I have
to do 2 more queries to the db and I would need some kind of loop to
replace the id with the referenced entry and I am really wondering if
this is the most performanced optimize approach.

Thanks in advance
Sebastian Brandt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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 starting with KgR
> -Thadeus
>
> On Sun, Oct 18, 2009 at 12:33 AM, mr.freeze  wrote:
> > so, 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 troub
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 starting with KgR
-Thadeus




On Sun, Oct 18, 2009 at 12:33 AM, mr.freeze  wrote:

> so, 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 troub
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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, 12:23 am, "mr.freeze"  wrote:
> 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) 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:
>
> > > 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:
>
> > > > > 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 just me?
>
> > > > > -Thadeus
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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) 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:
>
> > 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:
>
> > > > 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 just me?
>
> > > > -Thadeus
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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:

>
> 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:
> >
> > > 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 just me?
> >
> > > -Thadeus
> >
> >
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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:
>
> > 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 just me?
>
> > -Thadeus
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 used password reset, got the new password,
> and still getting incorrect password?
>
> Is it just me?
>
> -Thadeus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 just me?

-Thadeus

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 the "source" of this presentation be available for download?

Thanks,
-- 
 Álvaro Justen
 Peta5 - Telecomunicações e Software Livre
 21 3021-6001 / 9898-0141
 http://www.peta5.com.br/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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".
> But, when I trying to import CSS files using relative path, for
> example, @import  "./dojoroot/dojo/resources/dojo.css"
> it doesn't. I tried other paths without sucess.
> Does anybody know the reason?

You might want to try: @import url("path goes here"), though I'm not  
sure that it makes any real difference.

Also (and this shouldn't be the problem), I'd leave out the ./ and go  
with, eg, "dojoroot/digit/...".

If you supply an absolute path, does your css import work?

> Here is the head part of my example:
>
>
>
>RTE System
>
>@import "./dojoroot/digit/themes/tundra/tundra.css"
>@import  "./dojoroot/dojo/resources/dojo.css"
>
> djConfig="parseOnLoad: true">
>
>dojo.require("dijit.layout.ContentPane");
>dojo.require("dijit.layout.BorderContainer");
>dojo.require("dojo.parser");
>
>
>
> Thanks,
> Celso Axelrud




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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','dojoroot/digit/themes/
tundra/tundra.css')}}"
@import  "{{=URL(request.application,'static','dojoroot/dojo/resources/
dojo.css')}}"

On Oct 17, 1:46 pm, 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".
> But, when I trying to import CSS files using relative path, for
> example, @import  "./dojoroot/dojo/resources/dojo.css"
> it doesn't. I tried other paths without sucess.
> Does anybody know the reason?
> Here is the head part of my example:
>
>     
>         
>         RTE System
>         
>             @import "./dojoroot/digit/themes/tundra/tundra.css"
>             @import  "./dojoroot/dojo/resources/dojo.css"
>         
>          djConfig="parseOnLoad: true">
>         
>             dojo.require("dijit.layout.ContentPane");
>             dojo.require("dijit.layout.BorderContainer");
>             dojo.require("dojo.parser");
>         
>     
>
> Thanks,
> Celso Axelrud
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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] 

If we change it to 5 everything seems to be OK, but we still need to
check this thing since we only took a quick look.

Regards,
John.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 against
some of the recommended solutions. I would like to choose good way for
my production site. First of all - is it true, that I should select
mod_wsgi rather than mod_proxy if I wish to let Apache to serve my web?

And which of guides available is up-to date, free of security issues,
and thus recommended?

My setup is a bit more complicated, because I would like to have
* two domains served by different web2py apps
* together with separated error app, which is defined in routes.py to
serve exceptions in one of the domains.
Like this:

www.onedomain.com/error/(.*) -> localhost:8000/error/$1

www.onedomain.com/(.*) -> localhost:8000/onedomainapp/$1
(e.g. www.onedomain.com/controller/function ->
  localhost:8000/onedomainapp/controller/function )

www.otherdomain.com/(.*) -> localhost:8000/otherapp/$1

Please, could you help?

Thank you!

David
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkraPi0ACgkQ3oCkkciamVGJQACbBc9pKjSMnusalTImwWRDLd8t
3joAn2/vHgYOyeRzrzq5RYdhSPkngOyr
=0llU
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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, that is {{=form}}  :-)
>
> BTW, slide 5 and slide 23 are duplicated. :-)
>
> On Oct18, 12:49am, mdipierro  wrote:
>
> > 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.
>
> > Massimo
>
> > On Oct 17, 10:56 am, 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 
> > > presentationhttp://www.slideshare.net/jonromero/rails-vs-web2py
> > > Enjoy!
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 creation of the widget in the following
> url:http://groups.google.com/group/web2py/t/2fa61993653837c5?hl=en
>
> Please let me know the problems and feel free to improve it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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, for
example, @import  "./dojoroot/dojo/resources/dojo.css"
it doesn't. I tried other paths without sucess.
Does anybody know the reason?
Here is the head part of my example:



RTE System

@import "./dojoroot/digit/themes/tundra/tundra.css"
@import  "./dojoroot/dojo/resources/dojo.css"



dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.layout.BorderContainer");
dojo.require("dojo.parser");



Thanks,
Celso Axelrud

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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/group/web2py/t/2fa61993653837c5?hl=en

Please let me know the problems and feel free to improve it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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)
> 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, Renato-ES-Brazil  wrote:
>
> > mr.freeze,
>
> > Yes, the link is inside the form. Each "add" link is next to your own
> > "select" (combo box) object. The "add" link is created by a widget set
> > in my model, hence it is rendered by SQLFORM inside the form.
>
> > On 16 out, 16:24, "mr.freeze"  wrote:
>
> > > Is the link inside the form? If so, try moving it outside and see if
> > > it still fails.
>
> > > On Oct 16, 1:53 pm, Renato-ES-Brazil  wrote:
>
> > > > Any tips? What could I do to "form.accepts" to get just the first
> > > > object (SELECT) and not a tuple (SELECT and A)?
>
> > > > Do I have to remove the A object ("add" link) from the  where is
> > > > the SELECT? :-/
>
> > > > Thanks.
>
> > > > Does it happens because "form.accepts" trying get some attributes,
> > > > like "errors", from the "add" links?
>
> > > > On Oct 15, 9:32 pm, Renato-ES-Brazil  wrote:
>
> > > > > Hi guys!
>
> > > > > Another problem found:
> > > > > - The "form.accepts" fails when I trying submit the form with the
> > > > > links "add".
>
> > > > > Some lines shown in the log:
> > > > >     if form.accepts(request.vars, session):
> > > > >   File "/home/renato/Desenvolvimento/web2py/gluon/sqlhtml.py", line
> > > > > 777, in accepts
> > > > >     self.trows[fieldname][1][0].errors = self.errors
> > > > > AttributeError: 'tuple' object has no attribute 'errors'
>
> > > > > When web2py get the self.trows[fieldname][1], actually, now, it's
> > > > > taking two objects (the select and the "add" link):
> > > > > (, ' ',
> > > > > )
>
> > > > > Any tip?
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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 group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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.
>
> Massimo
>
> On Oct 17, 10:56 am, 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 presentationhttp://www.slideshare.net/jonromero/rails-vs-web2py
> > Enjoy!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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 group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 through gae. when i get an error, i click to see the ticket
and it just takes me to a page that claims "invalid request."

this seems so simple but i can't find it anywhere. can you help?
thanks!

matt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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, Renato-ES-Brazil  wrote:
> mr.freeze,
>
> Yes, the link is inside the form. Each "add" link is next to your own
> "select" (combo box) object. The "add" link is created by a widget set
> in my model, hence it is rendered by SQLFORM inside the form.
>
> On 16 out, 16:24, "mr.freeze"  wrote:
>
> > Is the link inside the form? If so, try moving it outside and see if
> > it still fails.
>
> > On Oct 16, 1:53 pm, Renato-ES-Brazil  wrote:
>
> > > Any tips? What could I do to "form.accepts" to get just the first
> > > object (SELECT) and not a tuple (SELECT and A)?
>
> > > Do I have to remove the A object ("add" link) from the  where is
> > > the SELECT? :-/
>
> > > Thanks.
>
> > > Does it happens because "form.accepts" trying get some attributes,
> > > like "errors", from the "add" links?
>
> > > On Oct 15, 9:32 pm, Renato-ES-Brazil  wrote:
>
> > > > Hi guys!
>
> > > > Another problem found:
> > > > - The "form.accepts" fails when I trying submit the form with the
> > > > links "add".
>
> > > > Some lines shown in the log:
> > > >     if form.accepts(request.vars, session):
> > > >   File "/home/renato/Desenvolvimento/web2py/gluon/sqlhtml.py", line
> > > > 777, in accepts
> > > >     self.trows[fieldname][1][0].errors = self.errors
> > > > AttributeError: 'tuple' object has no attribute 'errors'
>
> > > > When web2py get the self.trows[fieldname][1], actually, now, it's
> > > > taking two objects (the select and the "add" link):
> > > > (, ' ',
> > > > )
>
> > > > Any tip?
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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: apposite should be spelled opposite
>

Also the URLs in the docstrings on slide 29 seem to be wrong:  it
mentions defaut instead of default


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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 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 and order
> > > > by timestamp.
>
> > > > On Oct 16, 6:46 pm, BearXu  wrote:
> > > > > Actually I want to desc orderbut the orderby=~db.table.id is also
> > wrong
>
> > > > > 2009/10/17 BearXu 
>
> > > > > > if I write this into my select command using dev_server, it is
> > wrong.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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.

Massimo






On Oct 17, 10:56 am, 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 presentationhttp://www.slideshare.net/jonromero/rails-vs-web2py
> Enjoy!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 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 and order
> > > by timestamp.
> >
> > > On Oct 16, 6:46 pm, BearXu  wrote:
> > > > Actually I want to desc orderbut the orderby=~db.table.id is also
> wrong
> >
> > > > 2009/10/17 BearXu 
> >
> > > > > if I write this into my select command using dev_server, it is
> wrong.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 by id. GAE does not support that and the id on
> > GAE are not sequential anyway. You need to timestamp records and order
> > by timestamp.
>
> > On Oct 16, 6:46 pm, BearXu  wrote:
> > > Actually I want to desc orderbut the orderby=~db.table.id is also wrong
>
> > > 2009/10/17 BearXu 
>
> > > > if I write this into my select command using dev_server, it is wrong.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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.html.
>
> On Oct 17, 12:48 am, BearXu  wrote:
>
> > I modified the init/default/index as
> > redirect(URL(a='myapp',c='default',f='index'))
> > it is ok in the web2py server when i visithttp://localhost:8080/, it will
> > automatically redirect to the myapp/default/index
>
> > But when I use dev_server 1.2.7 to test it in Windows, Python 2.5
> > visithttp://localhost:8080/
> > the error is:
> > Internal errorTicket issued: unrecoverable
>
> > 2009/10/16 mdipierro 
>
> > > what does it mean fail? what is the error? what is the app? what
> > > version of python? what id the version of appserver? what is the os?
>
> > > On Oct 16, 3:17 pm, BearXu  wrote:
> > > > it also fail on dev_server
>
> > > > 2009/10/16 BearXu 
>
> > > > > Suppose I have an app named 'myapp' and I delete the 'welcome' app and
> > > buid
> > > > > a new app named 'init' putting redirect in its index func.It pass the
> > > test
> > > > > local but fail on GAE.
> > > > > Can anybody help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 color-
> coordinate a little better with main PyCon site (although maybe the
> big contrast is intentional).

I agree (and agreed last year)  I may look at this this afternoon.

> - There is a good plug for the developers on the 'About' link, but to
> mention the developers' names again on the Home page seems a bit
> pushy?

Perhaps;  taken off (it seems ok that way).

>
> Rgds,  David

Thanks,
Yarko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 and order
> by timestamp.
>
> On Oct 16, 6:46 pm, BearXu  wrote:
> > Actually I want to desc orderbut the orderby=~db.table.id is also wrong
> >
> > 2009/10/17 BearXu 
> >
> > > if I write this into my select command using dev_server, it is wrong.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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 intentional).
- There is a good plug for the developers on the 'About' link, but to
mention the developers' names again on the Home page seems a bit
pushy?

Rgds,  David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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='default',f='index'))
> it is ok in the web2py server when i visithttp://localhost:8080/, it will
> automatically redirect to the myapp/default/index
>
> But when I use dev_server 1.2.7 to test it in Windows, Python 2.5
> visithttp://localhost:8080/
> the error is:
> Internal errorTicket issued: unrecoverable
>
> 2009/10/16 mdipierro 
>
>
>
>
>
> > what does it mean fail? what is the error? what is the app? what
> > version of python? what id the version of appserver? what is the os?
>
> > On Oct 16, 3:17 pm, BearXu  wrote:
> > > it also fail on dev_server
>
> > > 2009/10/16 BearXu 
>
> > > > Suppose I have an app named 'myapp' and I delete the 'welcome' app and
> > buid
> > > > a new app named 'init' putting redirect in its index func.It pass the
> > test
> > > > local but fail on GAE.
> > > > Can anybody help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---



[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" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~--~~~~--~~--~--~---