I have found a few more problems. Below content of a patch which can
fix them.
Patched code sucessfully runs on CentOS 5.4 (web2py 1.74.4).
I drop out fixes for sql.py
diff -ru --exclude '*.pyc' --exclude sql.py ./2.5/main.py ./2.4/
main.py
--- ./2.5/main.py 2009-12-16 12:42:47.0
That probably will not work since it is not what was designed for.
I am not sure why it did not work thou.
If the username is the email, did you escape it?
On Dec 30, 1:16 am, David Marko dma...@tiscali.cz wrote:
I simply tried to call the method with URLcontaining the username/
password. e.g.
Please try the version in trunk.
Massimo
On Dec 30, 1:20 am, KMax mkostri...@gmail.com wrote:
This code start to work
===
from gluon.sql import SQLCustomType
db = DAL('postgres://web2py:gfhj...@db.sibnet.su/test1',
pool_size=10)
inet = SQLCustomType ( type='string',native='inet')
Can you please email me the patch? Why change the the import email?
Massimo
On Dec 30, 4:39 am, ont.rif ont@gmail.com wrote:
I have found a few more problems. Below content of a patch which can
fix them.
Patched code sucessfully runs on CentOS 5.4 (web2py 1.74.4).
I drop out fixes for
I have a field with the following requirements:
Field('origin_account_id', db.account),
db.oppty_main.origin_account_id.requires=IS_IN_DB(db, 'account.id', '%(name)s')
In the controller:
form=SQLFORM(db.oppty_main, record=oppty_main, deletable=True,
I failed to reproduce this problem. Can anybody reproduce it?
On Dec 28, 5:33 pm, Tito Garrido titogarr...@gmail.com wrote:
Via a webform... using SQLFORM
On Sat, Dec 26, 2009 at 12:39 PM, mdipierro mdipie...@cs.depaul.edu wrote:
inserting via web forms or via db.table.insert(...)?
On
On Wed, Dec 30, 2009 at 2:57 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:54 PM, mdipierro mdipie...@cs.depaul.edu wrote:
before the form=... try
db.oppty_main.origin_account_id.writable=False
you may also want to add:
Please try 1.74.4 before I look into this more.
On Dec 30, 9:03 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:57 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:54 PM, mdipierro mdipie...@cs.depaul.edu wrote:
before the form=... try
On Wed, Dec 30, 2009 at 3:17 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Please try 1.74.4 before I look into this more.
I get the same problem with 1.74.4.
I've just reproduced this with a new application using appdamin I also
get the select tag.
I would say this is a bug.
The reproduction
Are you talking about forms you made or forms in appadmin? forms in
appadmin ignore writable and readable by design. Your own forms should
not ignore them.
On Dec 30, 9:35 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Wed, Dec 30, 2009 at 3:17 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Sir,
Cron isnt working when I put that validator, error given is same as
mentioned earlier . Cron is working properly without any validator.
Here is my function. Kindly let me know if any problem is there.
@auth.requires(not request.env.remote_addr or auth.has_permission
('least'))
def
How to initialize a NULL query
My query should be ANDed with various tables depending on arguments I
receive.
Like:
if arg1 == xyz:
query = (db.abc.id 0)
if arg2 == xyz:
query = (db.def.id 0) query
In my second if condition, if first if condition is not executed,
My bad. Try this:
@auth.requires(not request.wsgi or auth.has_permission('least'))
On Dec 30, 12:13 pm, vvk varunk.ap...@gmail.com wrote:
Sir,
Cron isnt working when I put that validator, error given is same as
mentioned earlier . Cron is working properly without any validator.
Here is my
worked flawlessly .. :) thank you
On Dec 30, 11:20 pm, vvk varunk.ap...@gmail.com wrote:
How to initialize a NULL query
My query should be ANDed with various tables depending on arguments I
receive.
Like:
if arg1 == xyz:
query = (db.abc.id 0)
if arg2 == xyz:
worked flawlessly :) .. thank you
On Dec 30, 11:21 pm, mdipierro mdipie...@cs.depaul.edu wrote:
My bad. Try this:
@auth.requires(not request.wsgi or auth.has_permission('least'))
On Dec 30, 12:13 pm, vvk varunk.ap...@gmail.com wrote:
Sir,
Cron isnt working when I put that validator,
queries=[]
if arg1 == xyz: queries.append(db.abc.id 0)
if arg2 == xyz: queries.append(db.def.id 0)
query = reduce(lambda a,b:(ab),queries)
On Dec 30, 12:20 pm, vvk varunk.ap...@gmail.com wrote:
How to initialize a NULL query
My query should be ANDed with various tables depending on arguments
1) GAE rules. Here is a quick fix.
posts = db((db.posts.category == cat.id)).select(db.posts.ALL).sort
(lambda r['created'],reverse=True)
2) Try one of these variations
if request.args[0] is u'Programação'
if request.args[0] is unicode('Programação')
if request.args[0] is
I would highly recommend having this on your homepage. It's important
for developers to see futureplans and what is new between releases.
BR,
Jason
On Wed, 2009-12-30 at 09:59 -0800, mdipierro wrote:
Alvaro said this over and over. We need a roadmap.
For me the most important things are:
http://pfaide.com/
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit this
Really cool but windows only. :-(
On Dec 30, 3:06 pm, mikech mp.ch...@gmail.com wrote:
http://pfaide.com/
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this
What's new?
- bug fixes
- auth.user_id (shortcut for auth.user.id that defaults to None if not
logged it)
- support for all native types on Google App Engine (for example
StringListProperty)
- restored python 2.4 support,thanks ont.rif
- cache.ram usage statictics, thanks Thadus
- no more auth
I played with it, and it looks like nothing will replace eric4 for me.
I have been using eric back in the 3 days for PyQt apps.
A lot of people poo poo eric because of not getting breakpoints to
work.
One can force a breakpoint every time by importing sys on the file and
inserting sys.breakpoint()
Sorry I have not replied sooner.
the cron job is for apache
When you use wsgi apache runs the web2py.
Andy
On Dec 25, 8:19 am, annet annet.verm...@gmail.com wrote:
Andy,
I think your guess is right, to be sure I asked support the same
question. Here is their answer:
There is a Control
huh, not like the one i have in my mind. good then because i'm going
to write it. :)
On 30 Aralık, 23:06, mikech mp.ch...@gmail.com wrote:
http://pfaide.com/
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
So I guess that is the problem, traying to access url through standard
way but with email username because it would remain:
http://u...@mail.com:passw...@domain:port/uri , and I think this won't
be valid...
alex f
El 30/12/2009 18:06, Massimo Di Pierro escribió:
It depends. Unless you have
Massimo, with your permission, I would add Breadcumb plugin to your
list. I think Alexander is working on this and he has a working slice
already.
Alex F
El 30/12/2009 18:59, mdipierro escribió:
Alvaro said this over and over. We need a roadmap.
For me the most important things are:
1)
please do. I did not add it because I thought it was done. It is an
important one.
On Dec 30, 5:29 pm, Alex Fanjul alex.fan...@gmail.com wrote:
Massimo, with your permission, I would add Breadcumb plugin to your
list. I think Alexander is working on this and he has a working slice
already.
No but
http://user%40mail.com:passw...@domain:port/url
may work %40 is the @ escaped. You also have to escape the password.
On Dec 30, 2009, at 5:26 PM, Alex Fanjul wrote:
http://u...@mail.com:passw...@domain:port/url
--
You received this message because you are subscribed to the Google
I am not sure if there is one already or not but perhaps we should add
a roadmap page to the wiki. Could you do it?
On Dec 30, 2009, at 5:29 PM, Alex Fanjul wrote:
Massimo, with your permission, I would add Breadcumb plugin to your
list. I think Alexander is working on this and he has a
That is a good idea. I will do so.
Thank you Yarko. We should use the google.code wiki more.
I also wish you and everybody else a Happy New Year.
Massimo
On Dec 30, 2009, at 6:47 PM, Yarko Tymciurak wrote:
Hi Massimo:
Might I suggest you put ROADMAP items on code.google.com/p/web2py
Here it is. I added a few more desirable plugins. It would be nice if
people where to take responsibility for some of them so we know who to
call for help. ;-)
On Dec 30, 8:34 pm, Massimo Di Pierro mdipie...@cs.depaul.edu wrote:
That is a good idea. I will do so.
Thank you Yarko. We should use
Thanks Massimo! That was exactly the problem. I had basic GAE working
with Python 2.6, so made the rash assumption that the rest of it would
run safely. I swapped in Python 2.5 and it GAE+web2py runs *much*
better. It serves out pages as expected, etc. It does come up with a
couple of warnings:
Sir,
thanks for the post, seems that I've to re-write all my search
functions.
varun
On Dec 31, 12:54 am, mdipierro mdipie...@cs.depaul.edu wrote:
queries=[]
if arg1 == xyz: queries.append(db.abc.id 0)
if arg2 == xyz: queries.append(db.def.id 0)
query = reduce(lambda
I have never seen the first one.
The other two have to do with the fact that the filesystem is
readonly.
We should remove all those unnecessary warning on GAE they just create
confusion.
Massimo
On Dec 30, 9:21 pm, reyelts reye...@gmail.com wrote:
Thanks Massimo! That was exactly the problem. I
another option is
qset=db()
if arg1 == xyz: qset=qset(db.abc.id 0)
if arg2 == xyz: qset=qset(db.def.id 0)
qset.select()
On Dec 30, 9:35 pm, vvk varunk.ap...@gmail.com wrote:
Sir,
thanks for the post, seems that I've to re-write all my search
functions.
varun
On Dec 31, 12:54 am,
I wish you all the best for this new year 2010... A year full of
Health, Wealth, Peace, Joy, Success in all you project... And a lot
more :)
Here is a small e-card I created for fun and host on my web2py small
website...
http://www.onemewebservices.com/onemewish
( This e-card may not be working
Grin
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at
On Thu, Dec 31, 2009 at 12:27, Massimo Di Pierro
mdipie...@cs.depaul.edu wrote:
http://london.craigslist.co.uk/stp/1531016430.html
LOL
--
http://zoomquiet.org 人生苦短? Pythonic!
一个人如果力求完善自己,就会看到:为此也必须同时完善他人. 一个人如果不关心别人的完善,自己便不可能完善!
--
You received this message because you are subscribed to the
Hey... thats a good idea .
-Thadeus
2009/12/30 Zoom.Quiet zoom.qu...@gmail.com:
On Thu, Dec 31, 2009 at 12:27, Massimo Di Pierro
mdipie...@cs.depaul.edu wrote:
http://london.craigslist.co.uk/stp/1531016430.html
LOL
--
http://zoomquiet.org 人生苦短? Pythonic!
What I'm trying to do:
Sort by a row (say last_name). Then view the next 100 rows.
What I expect:
For the next 100 to continue with the sorted query
What happens:
The query resets
How to fix it:
I'm sure there is a better way, but the orderby get_vars is being lost
in the middle... so
http://web2py.com/cards/default/index
you need:
- your latitude
- your longitude
- a photo of you or of your town
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from
Can the new DAL have a list of protected keywords for the database and
throw and exception if you try to define a column with the keyword?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Here's a link to the wiki for future convenience:
http://code.google.com/p/web2py/w/list
Jake
On Dec 30, 9:42 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Here it is. I added a few more desirable plugins. It would be nice if
people where to take responsibility for some of them so we know who
Good luck with that
On Dec 30, 11:27 pm, Massimo Di Pierro mdipie...@cs.depaul.edu
wrote:
http://london.craigslist.co.uk/stp/1531016430.html
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
44 matches
Mail list logo