Good luck with that
On Dec 30, 11:27 pm, Massimo Di Pierro
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 web...@googlegroups.com.
To unsubscribe
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 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 to
> call for help. ;-
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 web...@goog
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
I take that back, this does not solve it, since web2py ends up
reversing the query, so the next 100 rows is actually the next 100
from the end.
-Thadeus
On Wed, Dec 30, 2009 at 11:58 PM, Thadeus Burgess wrote:
> What I'm trying to do:
>
> Sort by a row (say last_name). Then view the next 100
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
{
Hey... thats a good idea >.<
-Thadeus
2009/12/30 Zoom.Quiet :
> On Thu, Dec 31, 2009 at 12:27, Massimo Di Pierro
> wrote:
>> http://london.craigslist.co.uk/stp/1531016430.html
>>
>
> LOL
>
> --
> http://zoomquiet.org 人生苦短? Pythonic!
> 一个人如果力求完善自己,就会看到:为此也必须同时完善他人. 一个人如果不关心别人的完善,自己便不可能完善!
>
>
On Thu, Dec 31, 2009 at 12:27, Massimo Di Pierro
wrote:
> http://london.craigslist.co.uk/stp/1531016430.html
>
LOL
--
http://zoomquiet.org 人生苦短? Pythonic!
一个人如果力求完善自己,就会看到:为此也必须同时完善他人. 一个人如果不关心别人的完善,自己便不可能完善!
--
You received this message because you are subscribed to the Google Groups
"web2p
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
http://
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 p
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 web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
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 wrote:
> Sir,
> thanks for the post, seems that I've to re-write all my search
> functions.
>
>
> varun
>
> On Dec 31, 12:54 am, mdipierro
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 wrote:
> Thanks Massimo! That was exactly the problem. I had basic GAE wo
Sir,
thanks for the post, seems that I've to re-write all my search
functions.
varun
On Dec 31, 12:54 am, mdipierro wrote:
> queries=[]
> if arg1 == "xyz": queries.append(db.abc.id > 0)
> if arg2 == "xyz": queries.append(db.def.id > 0)
> query = reduce(lambda a,b:(a&b),queries)
>
> On Dec
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:
WA
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 wrote:
> That is a good idea. I will do so.
>
> Thank you Yarko. We should use the google.code wiki
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
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 w
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 Gr
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 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.
> Alex F
>
> El 30/1
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:
>
>
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 cu
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 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...@googlegrou
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 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 Panel installer for 'm
I see it does diagrams of modules. Would you make a few of those
diagrams and send them to me?
Massimo
On Dec 30, 4:16 pm, Andy Pardue wrote:
> 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
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()
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 man
Really cool but windows only. :-(
On Dec 30, 3:06 pm, mikech 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 group, send email t
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 gro
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:
>
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 unicode('Programação').
queries=[]
if arg1 == "xyz": queries.append(db.abc.id > 0)
if arg2 == "xyz": queries.append(db.def.id > 0)
query = reduce(lambda a,b:(a&b),queries)
On Dec 30, 12:20 pm, vvk wrote:
> How to initialize a NULL query
>
> My query should be ANDed with various tables depending on arguments I
> receive.
Friends,
I have two Problems in my blog App (running in GAE).
1) In the code that generate the RSS by category:
- It's run but only if I don't put the orderby declaration in
db.select() method but
I need to sort my posts by ~created(DESC created) date to
generate my RSS feeds.
worked flawlessly :) .. thank you
On Dec 30, 11:21 pm, mdipierro wrote:
> My bad. Try this:
>
> @auth.requires(not request.wsgi or auth.has_permission('least'))
>
> On Dec 30, 12:13 pm, vvk wrote:
>
> > Sir,
> > Cron isnt working when I put that validator, error given is same as
> > mentioned ea
worked flawlessly .. :) thank you
On Dec 30, 11:20 pm, vvk 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":
> query = (
My bad. Try this:
@auth.requires(not request.wsgi or auth.has_permission('least'))
On Dec 30, 12:13 pm, vvk 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 le
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 ex
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 takebacku
http://github.com/mikemaccana/python-docx
--
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
Alvaro said this over and over. We need a roadmap.
For me the most important things are:
1) getting the new DAL done (and include support for more NoDB and
Sybase)
2) Create a set of standard and customizable plugins for:
a) comments (*)
b) tagging (*)
c) voting/rating
d) wiki/versioning
This:
query = (-1)
is not a valid query. The fact it works with sqlite is a miracle.
On Dec 30, 11:43 am, vvk wrote:
> query = (-1)
> query = (db.somedb.id > 0) & query
>
> This querying worked with SQLITE. But it's giving following error with
> postgres:
>
> ProgrammingError: argument of AND m
query = (-1)
query = (db.somedb.id > 0) & query
This querying worked with SQLITE. But it's giving following error with
postgres:
ProgrammingError: argument of AND must be type boolean, not type
integer
LINE 1: ...rchase WHERE (purchase.timeofpurchase<='2009-12-29' AND
-1);
i) I think there is pr
In trunk, thank you
On Dec 30, 4:39 am, "ont.rif" 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 sql.py
>
> diff -ru --exclude '*.pyc' --exclude sql.py ./2.5/main.py .
It depends. Unless you have custom auth_user table with a username
field, your username is the email and that is what you should use in
basic auth.
On Dec 30, 2009, at 10:12 AM, Alex Fanjul wrote:
> Massimo I think the username is not an email, is just the standard way
> of accessing url with
Using trunk, please try the -Q option. No more splash screen.
On Dec 29, 12:23 pm, Delaney wrote:
> My testing show that having a "taskbar=True" in the options.py results
> in thesplashscreen and the taskbar icon
> However using 'web2py_no_console.exe -t -L options.py ' results in not
> having th
Hi all,
I'm using http://www.crummy.com/software/ScrapeNFeed/ to scrape a
webpage and produce a RSS feed. ScrapeNFeed uses a pickle file to
store information/history about this feed. The code below works fine
on the 1st run when the pickle file does not exist, but after it gets
created I get the f
On a second thought. My fix in trunk is not the proper way so I am
revering it. The problem is that your custom type needs to have an
encoder and perhaps a decoder. Try this:
cidr = SQLCustomType ( type='string', native='cidr', encoder=lambda x:
repr(str(x)) )
On Dec 30, 8:33 am, mdipierro wrote
Massimo I think the username is not an email, is just the standard way
of accessing url with basic auth, isn't it?
http:// username : password @ domain : port / uri
alex
El 30/12/2009 15:25, mdipierro escribió:
> That probably will not work since it is not what was designed for.
> I am not sure
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 wrote:
> On Wed, Dec 30, 2009 at 3:17 PM, mdipierro wrote:
> > Please try 1.74.4 before I look into this mo
On Wed, Dec 30, 2009 at 3:17 PM, mdipierro 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 code is:
db.define_table(
Please try 1.74.4 before I look into this more.
On Dec 30, 9:03 am, Miguel Lopes wrote:
> On Wed, Dec 30, 2009 at 2:57 PM, Miguel Lopes wrote:
> > On Wed, Dec 30, 2009 at 2:54 PM, mdipierro wrote:
> >> before the form=... try
>
> >> db.oppty_main.origin_account_id.writable=False
>
> >> you may
On Wed, Dec 30, 2009 at 2:57 PM, Miguel Lopes wrote:
> On Wed, Dec 30, 2009 at 2:54 PM, mdipierro wrote:
>> before the form=... try
>>
>> db.oppty_main.origin_account_id.writable=False
>>
>> you may also want to add:
>>
>> db.oppty_main.origin_account_id.readable=False
>>
>
> Txs for the tip Mass
I failed to reproduce this problem. Can anybody reproduce it?
On Dec 28, 5:33 pm, Tito Garrido wrote:
> Via a webform... using SQLFORM
>
>
>
> On Sat, Dec 26, 2009 at 12:39 PM, mdipierro wrote:
> > inserting via web forms or via db.table.insert(...)?
>
> > On Dec 26, 7:54 am, Tito Garrido wrote
On Wed, Dec 30, 2009 at 2:54 PM, mdipierro wrote:
> before the form=... try
>
> db.oppty_main.origin_account_id.writable=False
>
> you may also want to add:
>
> db.oppty_main.origin_account_id.readable=False
>
Txs for the tip Massimo!
I tried, using readable and writable attributes in the Field
before the form=... try
db.oppty_main.origin_account_id.writable=False
you may also want to add:
db.oppty_main.origin_account_id.readable=False
On Dec 30, 8:39 am, Miguel Lopes wrote:
> I have a field with the following requirements:
>
> Field('origin_account_id', db.account),
> db.oppty_main.
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,
fields=['name','origin_account
Can you please email me the patch? Why change the the import email?
Massimo
On Dec 30, 4:39 am, "ont.rif" 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 sql.py
>
> di
Please try the version in trunk.
Massimo
On Dec 30, 1:20 am, KMax 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')
>
> db.define_
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 wrote:
> I simply tried to call the method with URLcontaining the username/
> password. e.g. tttp://username:
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 +0
60 matches
Mail list logo