[web2py:23477] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 06:51:42 mdipierro wrote: > Turns out the current DAL spends lots of time in building the SQL > representation of a table (CREATE TABLE) even if the table does not > need to be created. I will fix this and it will speed it up a lot > without need for lazy evaluations. Hmm. T

[web2py:23478] Re: parentheses in url gives Invalid Request

2009-06-07 Thread Brian
Oh geez, I just had a typo in my regexp. I guess it does work how I was suggesting. Thanks for considering that use case! Cheers, Brian On Jun 6, 9:53 pm, mdipierro wrote: > yes. If you give us an example of the URL we can show you the proper > routes.py file. > > Massimo > > On Jun 6, 7:57 

[web2py:23479] Re: web2py perfomance

2009-06-07 Thread vihang
Hans, that won't work if you are refering to the same db which is being created (circular reference issue)... On Jun 6, 11:23 pm, Hans Donner wrote: > yep, > add requires=IS_NOT_IN_DB(db,db.some_table.field1) > in the SQField() statement as an argument > > On Sat, Jun 6, 2009 at 9:17 PM, vih

[web2py:23480] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 11:13:49 Alexey Nezhdanov wrote: > 1) When initialising, SQLField uses dir() call to find any clashes > with reserved names. I was a bit incorrect here. It checks for already defined fields too. Anyways - I optimised it by commenting it out :-P In practice I'd recommend simil

[web2py:23481] Re: web2py perfomance

2009-06-07 Thread Iceberg
On Jun7, 3:13pm, Alexey Nezhdanov wrote: > On Sunday 07 June 2009 06:51:42 mdipierro wrote:> Turns out the current DAL > spends lots of time in building the SQL > > representation of a table (CREATE TABLE) even if the table does not > > need to be created. I will fix this and it will speed it up

[web2py:23483] Re: Informal Poll re use of admin interface

2009-06-07 Thread mdipierro
ulipad has a web2py plugin On Jun 7, 1:46 am, Rui Gomes wrote: > No one use eric IDE? I start to use because of pyQT after that i get > addictive to it, really helpful > PS: gonna be nice if some day show a plug-in to eric ide, like the one he > have for django 8-) > > On Sat, Jun 6, 2009 at 10:

[web2py:23482] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 14:36:24 Iceberg wrote: > > Hmm. Tried this: > >         if args['migrate']: > >           sql_locker.acquire() > >           try: > >             query = t._create(migrate=args['migrate']) > >           except BaseException, e: > >             sql_locker.release() > >      

[web2py:23484] Re: web2py perfomance

2009-06-07 Thread mdipierro
Alexey, you did an excellent job at identifying the problem. I will look at your solutions and probably incorporate them. Massimo On Jun 7, 5:51 am, Alexey Nezhdanov wrote: > On Sunday 07 June 2009 14:36:24 Iceberg wrote:> > Hmm. Tried this: > > >         if args['migrate']: > > >           sql

[web2py:23485] Re: Delete error on crud

2009-06-07 Thread mdipierro
Annet, sorry but I still do not have enough information to debug this. The table bedrijf for examples if missing. Moreover you are not telling me the steps to reduce the problem. It would be great if could write write a smaller app that exhibits the problem or send me you complete app by email.

[web2py:23486] Re: web2py perfomance

2009-06-07 Thread Iceberg
On Jun7, 6:35pm, Alexey Nezhdanov wrote: > > > 2) is_integer is a fast call, but with 1.1k (!) calls ... > > Replaced it with my own version: > integer_pat=re.compile('[0-9]+$') > is_integer=lambda x: integer_pat.match(x) > it's about 2.3 times faster. C version would be even better. > If so, pe

[web2py:23487] Re: web2py perfomance

2009-06-07 Thread mdipierro
Most of your patches are in but: - is_integer: I am following Iceberg's suggestion - skip_table_create: as proposed would have borken something so had to move some code out of _create and in SQLTable.__init__. It i better this way anyway - no_dir_check: instead of removing it, I made it faster

[web2py:23488] Re: web2py perfomance

2009-06-07 Thread mdipierro
BTW... why you did not like the newer versions 1.63.5? On Jun 7, 5:35 am, Alexey Nezhdanov wrote: > On Sunday 07 June 2009 11:13:49 Alexey Nezhdanov wrote:> 1) When > initialising, SQLField uses dir() call to find any clashes > > with reserved names. > > I was a bit incorrect here. It checks fo

[web2py:23489] Re: web2py perfomance

2009-06-07 Thread mdipierro
The way to fix it is to use SQLField(...,"reference [table]") instead of SQLField(...,db[table]) This syntax is already supported and it must be required for lazy tables. It is still a problem to make lazy evals work with IS_IN_DB and IS_NOT_IN_DB anyway, we made so many improvements that perhap

[web2py:23490] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 15:49:31 Iceberg wrote: > On Jun7, 6:35pm, Alexey Nezhdanov wrote: > > > 2) is_integer is a fast call, but with 1.1k (!) calls ... > > > > Replaced it with my own version: > > integer_pat=re.compile('[0-9]+$') > > is_integer=lambda x: integer_pat.match(x) > > it's about 2.3

[web2py:23491] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 16:10:10 mdipierro wrote: > BTW... why you did not like the newer versions 1.63.5? I'm all for simplistic designs. I didn't like these things: 1) session.flash as semi-transparent window over content. 2) popup menus. I prefer clicking on them 3) I wasn't able to find site ad

[web2py:23492] Re: web2py perfomance

2009-06-07 Thread mdipierro
I see. But that is just the scaffoling app. Keep the old welcome.w2p if you like or make your own scaffolding app (replace welcome.w2p with any packed app). There are many bug fixes in the library and new features that you would otherwise miss. Massimo On Jun 7, 7:33 am, Alexey Nezhdanov wrote:

[web2py:23493] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 16:09:40 mdipierro wrote: > Can you run your test again please and then we'll work on this more? I don't have bzr installed (and not really want to) and didn't find how to download tree tip out of launchpad. So I just downloaded single sql.py and put it into gluon/. That sho

[web2py:23494] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
You are right. Somehow I thought that if I upgrade - I'll get new design to my (already existing app). :) Will upgrade later today. On Sunday 07 June 2009 16:55:25 mdipierro wrote: > I see. But that is just the scaffoling app. Keep the old welcome.w2p > if you like or make your own scaffolding a

[web2py:23495] custom scaffolding app

2009-06-07 Thread mdipierro
You can easily make your own scaffolding app: 1) make an app 2) pack it 3) rename it welcome.w2p and overwrite the existing web2py/welcome.w2p Mind that the file will be overwritten when you upgrade web2py. --~--~-~--~~~---~--~~ You received this message because y

[web2py:23496] Re: Index Error on GAE

2009-06-07 Thread Tito Garrido
Thank you folks, I'll try appcfg.py update_indexes myapp/ to test... localy it works perfectly. I'll keep you in touch about it! Thanks Again Tito On Sat, Jun 6, 2009 at 6:53 PM, Robin B wrote: > > The easiest way to fix this is to exercise your app on the development > server, (use the quer

[web2py:23497] Re: web2py perfomance

2009-06-07 Thread mdipierro
I implemented a backward compatible speedup of the default validators. I also realized that those many calls to is_integer could be avoided. I think I fixed it. Please check out the latest trunk. Massimo On Jun 7, 8:00 am, Alexey Nezhdanov wrote: > You are right. Somehow I thought that if I up

[web2py:23498] Re: slides again

2009-06-07 Thread carlo
any place to download without registering to scribd ? carlo On 6 Giu, 17:20, mdipierro wrote: > I posted a new version of the slides with typos fixed, and a couples > slides added. > > http://www.scribd.com/doc/16085263/web2py-slides-version-163 > > BTW 3000 viewers so far (the first 900 are no

[web2py:23499] test_is_url

2009-06-07 Thread mdipierro
In the latest trunk there is a test that does not pass in test_is_url I am not sure I understand what that test does. can you help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To po

[web2py:23500] web2py.com down?

2009-06-07 Thread mr.freeze
Anyone else having trouble hitting it? Trying to get my web2py fix for the day. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.co

[web2py:23501] Re: web2py.com down?

2009-06-07 Thread mdipierro
works for me. it is slower than usual but I cannot say if it is a network problem or not. On Jun 7, 10:32 am, "mr.freeze" wrote: > Anyone else having trouble hitting it? Trying to get my web2py fix for > the day. --~--~-~--~~~---~--~~ You received this message bec

[web2py:23502] Re: web2py.com down?

2009-06-07 Thread Tito Garrido
I couldn't access jpolite... On Sun, Jun 7, 2009 at 12:44 PM, mdipierro wrote: > > works for me. it is slower than usual but I cannot say if it is a > network problem or not. > > On Jun 7, 10:32 am, "mr.freeze" wrote: > > Anyone else having trouble hitting it? Trying to get my web2py fix for >

[web2py:23503] Re: Index Error on GAE

2009-06-07 Thread Tito Garrido
Using update_indexes didn't work... I had to remove all "orderby"s from "selects". Is it a bug? Thanks! Tito On Sun, Jun 7, 2009 at 11:18 AM, Tito Garrido wrote: > Thank you folks, > > I'll try appcfg.py update_indexes myapp/ to test... localy it works > perfectly. > > I'll keep you in touch

[web2py:23504] Re: Informal Poll re use of admin interface

2009-06-07 Thread Yarko Tymciurak
at the risk of repeating myself: I use admin + WingIDE... On Sun, Jun 7, 2009 at 5:58 AM, mdipierro wrote: > > ulipad has a web2py plugin > > On Jun 7, 1:46 am, Rui Gomes wrote: > > No one use eric IDE? I start to use because of pyQT after that i get > > addictive to it, really helpful > > P

[web2py:23505] Re: Informal Poll re use of admin interface

2009-06-07 Thread mdipierro
I almost forgot. whehe, you can use http://www.web2py.com/survey/survey/index for polling. Massimo On Jun 7, 11:54 am, Yarko Tymciurak wrote: > at the risk of repeating myself:  I use admin +  WingIDE... > > On Sun, Jun 7, 2009 at 5:58 AM, mdipierro wrote: > > > ulipad has a web2py plugin >

[web2py:23506] Re: web2py.com down?

2009-06-07 Thread mdipierro
works for me. It must be a network problem but outside depaul. On Jun 7, 11:13 am, Tito Garrido wrote: > I couldn't access jpolite... > > On Sun, Jun 7, 2009 at 12:44 PM, mdipierro wrote: > > > works for me. it is slower than usual but I cannot say if it is a > > network problem or not. > > > O

[web2py:23507] Re: Index Error on GAE

2009-06-07 Thread mdipierro
What type of field are you ordering by? This should work. Can Robin confirm? Massimo On Jun 7, 11:23 am, Tito Garrido wrote: > Using update_indexes didn't work... I had to remove all "orderby"s from > "selects". > > Is it a bug? > > Thanks! > > Tito > > > > On Sun, Jun 7, 2009 at 11:18 AM, Tit

[web2py:23508] Text

2009-06-07 Thread pk
Hi together, I have a Textfield and save the content in a table with ('text'). When i will show the content on a website, how can i show the ? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Fram

[web2py:23509] Re: Informal Poll re use of admin interface

2009-06-07 Thread mr.freeze
I use Eclipse/Pydev but find the admin interface handy for quick, one- off changes. On Jun 6, 4:12 pm, weheh wrote: > Actually, is there a formal polling place for posting web2py > questions? My question is how many of you out there use the shell and > emacs or vim to develop your web2py apps vs

[web2py:23510] Re: Delete error on crud

2009-06-07 Thread annet
Massimo, I sent you a minimal mock app to illustrate the problem. I hope it works an helps you locate the problem and fix it. Kind regards, Annet. P.S. I am afraid your profile suffers from the same issue I draw your attention to in this post: http://groups.google.com/group/web2py/browse_t

[web2py:23511] Re: Delete error on crud

2009-06-07 Thread annet
Massimo, I sent you a minimal mock app to illustrate the problem. I hope it works an helps you locate the problem and fix it. Kind regards, Annet. P.S. I am afraid your profile suffers from the same issue I drew your attention to in this post: http://groups.google.com/group/web2py/browse_thr

[web2py:23512] Re: Text

2009-06-07 Thread mdipierro
It will show the by default if the are in the stored data. text is always escaped. On Jun 7, 12:13 pm, pk wrote: > Hi together, > > I have a Textfield and save the content in a table with ('text'). When > i will show the content on a website, how can i show the ? > > thanks --~--~-~--~

[web2py:23513] Re: Delete error on crud

2009-06-07 Thread mdipierro
This could be a problem with google groups. It could also be a more general patter of google not indexing web2py entries properly. the google page count for "web2py" seems to have been capped at around 50-60k about one year ago. I noticed for example the same entries being forgotten and rediscover

[web2py:23514] Re: Delete error on crud

2009-06-07 Thread mdipierro
Strange. The post you refer to is no longer there. I DID NOT DELETE IT. On Jun 7, 12:28 pm, annet wrote: > Massimo, > > I sent you a minimal mock app to illustrate the problem. I hope it > works an helps you locate the problem and fix it. > > Kind regards, > > Annet. > > P.S. > > I am afraid you

[web2py:23515] Re: Text

2009-06-07 Thread pk
oh sorry, i think i pressed my self wrong. when i enter text in textbox and i need a newline or two and per submit i save it in the table i don`t get the newlines when i will show the text in another site On 7 Jun., 19:34, mdipierro wrote: > It will show the by default if the are in the stored

[web2py:23516] Re: Index Error on GAE

2009-06-07 Thread Robin B
I agree this should work. Tito, would you confirm that after you do an 'update_indexes' then login to appspot.com, that 'missing' index is listed and all the indexes say 'serving'? The easiest way to test this is to add the orderby's back in to your app, manually exercise the development app whi

[web2py:23517] Re: Text

2009-06-07 Thread mdipierro
This really dependse on what is the text. One way to handle it is replace {{=text}} with {{=DIV(*[P(p) for p in text.split('\n'')])}} On Jun 7, 1:48 pm, pk wrote: > oh sorry, > i think i pressed my self wrong. when i enter text in textbox and i > need a newline or two and per submit i save

[web2py:23518] Re: Delete error on crud

2009-06-07 Thread DenesL
The link was cut short, the post is still there: http://groups.google.com/group/web2py/browse_thread/thread/996e39476b39c527# On Jun 7, 12:50 pm, mdipierro wrote: > Strange. The post you refer to is no longer there. I DID NOT DELETE > IT. > > On Jun 7, 12:28 pm, annet wrote: > > > Massimo, > >

[web2py:23519] Re: test_is_url

2009-06-07 Thread HansD
fails in 'testErrorHandlingError' on '/init/default/error? code=405&ticket=None' response is 'None' instead 'complete utter failure' couldn't work out yet what is causing this re dal: on teardown, the storage file cannot be removed. 'in use by another process', after the test is finished I can ma

[web2py:23520] Re: web2py perfomance

2009-06-07 Thread Alexey Nezhdanov
On Sunday 07 June 2009 18:41:30 mdipierro wrote: > I implemented a backward compatible speedup of the default validators. > I also realized that those many calls to is_integer could be avoided. > I think I fixed it. 0.0429/0.0844 Somehow consistency is not kept across reboots :( ... about a hour l

[web2py:23521] Re: web2py.com down?

2009-06-07 Thread mr.freeze
Strange...a route trace dies at mfc-cst-bs-v841.netequip.depaul.edu [140.192.9.177] for me. On Jun 7, 12:11 pm, mdipierro wrote: > works for me. It must be a network problem but outside depaul. > > On Jun 7, 11:13 am, Tito Garrido wrote: > > > I couldn't access jpolite... > > > On Sun, Jun 7, 2

[web2py:23522] Form processing

2009-06-07 Thread JohnMc
Controller: newform=SQLFORM(docs.docs,uploadfield=True, \ fields=['supplier','supplierID']) if newform.accepts(request.vars,session): response.flash = "Data accepted" return dict(form=newform) I acquire the supplierID as a dropdown using this in the model -- docs.docs.supplierID.requ

[web2py:23523] Re: web2py.com down?

2009-06-07 Thread mdipierro
can you access www.cdm.depaul.edu ? On Jun 7, 2:47 pm, "mr.freeze" wrote: > Strange...a route trace dies at mfc-cst-bs-v841.netequip.depaul.edu > [140.192.9.177] for me. > > On Jun 7, 12:11 pm, mdipierro wrote: > > > works for me. It must be a network problem but outside depaul. > > > On Jun 7,

[web2py:23524] Re: web2py.com down?

2009-06-07 Thread mr.freeze
Yes. On Jun 7, 3:13 pm, mdipierro wrote: > can you accesswww.cdm.depaul.edu? > > On Jun 7, 2:47 pm, "mr.freeze" wrote: > > > Strange...a route trace dies at mfc-cst-bs-v841.netequip.depaul.edu > > [140.192.9.177] for me. > > > On Jun 7, 12:11 pm, mdipierro wrote: > > > > works for me. It must

[web2py:23525] Re: web2py.com down?

2009-06-07 Thread mdipierro
Now I cannot access web2py.com either. I cannot look into this until tomorrow morning. Massimo On Jun 7, 3:15 pm, "mr.freeze" wrote: > Yes. > > On Jun 7, 3:13 pm, mdipierro wrote: > > > can you accesswww.cdm.depaul.edu? > > > On Jun 7, 2:47 pm, "mr.freeze" wrote: > > > > Strange...a route tra

[web2py:23526] Re: web2py.com down?

2009-06-07 Thread Hans Donner
for me it works fine... On Sun, Jun 7, 2009 at 10:27 PM, mdipierro wrote: > > Now I cannot access web2py.com either. I cannot look into this until > tomorrow morning. > > Massimo > > On Jun 7, 3:15 pm, "mr.freeze" wrote: >> Yes. >> >> On Jun 7, 3:13 pm, mdipierro wrote: >> >> > can you accessww

[web2py:23527] Re: slides again

2009-06-07 Thread Yarko Tymciurak
...yeah - I did not particularly care for this either... On Sun, Jun 7, 2009 at 9:54 AM, carlo wrote: > > any place to download without registering to scribd ? > > carlo > > On 6 Giu, 17:20, mdipierro wrote: > > I posted a new version of the slides with typos fixed, and a couples > > slides add

[web2py:23528] Re: Informal Poll re use of admin interface

2009-06-07 Thread Tim Michelsen
> I use Eclipse/Pydev but find the admin interface handy for quick, one- > off changes. +1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@go

[web2py:23530] live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Tim Michelsen
I think that web2py could need more of this. why don't you set up a demo installation where prospecive users could create a test installation? GAE seems to be perfect for this. then, you can show the guys in doubt (@reddit) how to evaluate your program. --~--~-~--~~~-

[web2py:23531] Re: Form processing

2009-06-07 Thread mdipierro
are you trying to prepopulate the options in the form before it is submitted or populate fields after the form is submitted before the record is inserted? Massimo On Jun 7, 2:59 pm, JohnMc wrote: > Controller: > > newform=SQLFORM(docs.docs,uploadfield=True, \ > fields=['supplier','supplierID'])

[web2py:23532] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread mdipierro
have you seen? https://www.web2py.com/demo_admin (the site unreachable now) I am open to something better of course. Massimo On Jun 7, 4:02 pm, Tim Michelsen wrote: > I think that web2py could need more of this. > > why don't you set up a demo installation where prospecive users could > crea

[web2py:23529] Re: Informal Poll re use of admin interface

2009-06-07 Thread Hans Donner
>> I use Eclipse/Pydev but find the admin interface handy for quick, one- >> off changes. > +1 +1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web

[web2py:23533] Re: slides again

2009-06-07 Thread mdipierro
I did not realize one had to login. I will post it somewehere else too, together with source (ppt and keynote) asap. Massimo On Jun 7, 3:45 pm, Yarko Tymciurak wrote: > ...yeah - I did not particularly care for this either... > > On Sun, Jun 7, 2009 at 9:54 AM, carlo wrote: > > > any place to

[web2py:23534] Re: slides again

2009-06-07 Thread JorgeR
Hello massimo good work Here are some other typos: acording to this version: http://www.scribd.com/doc/16085263/web2py-slides-version-163 : page 89 rows = db(db.dog.id.BELONDS( db()._select(db.dog.id) ).select() (should be 'belongs') page "(including closed SOUCE) (should be 'source')

[web2py:23535] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Timmie
> have you seen? No. not so far. The was not link on the main web2py page. AFAIK. It could be used to develop apps together. by using mercurial with automatic commit to a remote repository... --~--~-~--~~~---~--~~ You received this message because you are subscrib

[web2py:23536] Problem with pull-down list display

2009-06-07 Thread weheh
I defined a couple of db tables as follows: db.define_table('x', db.Field('name','string',requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB (db,'x.name')]) ) db.define_table('xinst', db.Field('x_id',db.x,requires=IS_IN_DB(db,'x.id','%(name)s')), db.Field('other','string') ) I have some forms I'm disp

[web2py:23537] How to control width of field displayed by SQLFORM?

2009-06-07 Thread weheh
Is there a way to control the width of a string field (or any other type of field, for that matter) displayed in the html form generated by SQLFORM? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewor

[web2py:23538] Re: slides again

2009-06-07 Thread mr.freeze
Thanks for this, it clarified several things for me. This isn't a typo but on slide 77 the shortcut is longer than the normal way :) On Jun 6, 10:20 am, mdipierro wrote: > I posted a new version of the slides with typos fixed, and a couples > slides added. > > http://www.scribd.com/doc/16085263

[web2py:23539] Re: Form processing

2009-06-07 Thread JohnMc
Populate the field after the form has been submitted. On Jun 7, 4:05 pm, mdipierro wrote: > are you trying to prepopulate the options in the form before it is > submitted or populate fields after the form is submitted before the > record is inserted? > > Massimo > > On Jun 7, 2:59 pm, JohnMc wr

[web2py:23540] Re: Form processing

2009-06-07 Thread JohnMc
I probably ought to be more succinct. After the form submit but before the form.accepts. A related question as well. I note that after the form.accepts that, at least in a test I ran, form.vars.id contains the record number of the last db-io completed. Is that standard web2py behavior? On Jun 7,

[web2py:23541] Re: How to control width of field displayed by SQLFORM?

2009-06-07 Thread DenesL
You can use CSS to change the width. The default for your app is static/base.css, look at line 105. You can also use JS/jQuery to alter the styling. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framewo

[web2py:23542] Re: Problem with pull-down list display

2009-06-07 Thread DenesL
Your example works fine for me in Firefox 3. Maybe you have some characters in x.name that are confusing your browser. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this gr

[web2py:23543] Re: Form processing

2009-06-07 Thread mdipierro
you can just do form.vars.whatever= before accepts. On Jun 7, 5:27 pm, JohnMc wrote: > Populate the field after the form has been submitted. > > On Jun 7, 4:05 pm, mdipierro wrote: > > > are you trying to prepopulate the options in the form before it is > > submitted or populate fields afte

[web2py:23544] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Yarko Tymciurak
this seems like an old version (the admin interface at least is old)... also, it doesn't seem like a "real" app - rather a faux front. For example, the sql.log is dated 2008.03.30; so I try to extend the model by an extra email, to see if sql.log changes; it does not. The edit isn't there when I

[web2py:23545] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread mdipierro
it is very old. At east 6 months. On Jun 7, 6:14 pm, Yarko Tymciurak wrote: > this seems like an old version (the admin interface at least is old)... > also, it doesn't seem like a "real" app - rather a faux front. > > For example, the sql.log is dated 2008.03.30;  so I try to extend the model >

[web2py:23546] Re: Delete error on crud

2009-06-07 Thread mdipierro
This is now fixed in trunk. It was a bug. sqlform was not returning in form.vars.id the id of the deleted record and crud could not log the event. Please check it. Massimo On Jun 7, 12:28 pm, annet wrote: > Massimo, > > I sent you a minimal mock app to illustrate the problem. I hope it > works

[web2py:23547] web2py+pyjamas

2009-06-07 Thread Nicolás de la Torre
Hello... i was checking the example of web2py+pyjamas on alterego and trying that code i get the following error: Traceback (most recent call last): File "/home/dixie/Proyectos/web2py/gluon/restricted.py", line 107, in restricted exec ccode in environment File "/home/dixie/Proyectos/web2

[web2py:23548] Re: web2py+pyjamas

2009-06-07 Thread mdipierro
will look tonight. that page was recently edited. Massimo On Jun 7, 6:44 pm, Nicolás de la Torre wrote: > Hello... i was checking the example of web2py+pyjamas on alterego and > trying that code i get the following error: > > Traceback (most recent call last): >   File "/home/dixie/Proyectos/we

[web2py:23549] Re: Delete error on crud

2009-06-07 Thread Yarko Tymciurak
but also it's not a functioning admin; it doesn't do anything (it lets you see the editing interfaces, and go thru the motions, but not realize the effect... I think Tim was suggesting something more functional). Not sure how big a priority this is at this point, all things considered... On Su

[web2py:23550] Re: Delete error on crud

2009-06-07 Thread Yarko Tymciurak
(sorry; this accidentally went in the wrong thread) On Sun, Jun 7, 2009 at 8:44 PM, Yarko Tymciurak wrote: > but also it's not a functioning admin; it doesn't do anything (it lets you > see the editing interfaces, and go thru the motions, but not realize the > effect... I think Tim was suggest

[web2py:23551] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Yarko Tymciurak
but also it's not a functioning admin; it doesn't do anything (it lets you see the editing interfaces, and go thru the motions, but not realize the effect... I think Tim was suggesting something more functional). Not sure how big a priority this is at this point, all things considered... - Show

[web2py:23552] Re: web2py+pyjamas

2009-06-07 Thread mdipierro
I just checked it and it works for me. I posted the app here: http://groups.google.com/group/web2py/web/web2py.app.todo.w2p since www.web2py.com is unreachable today. :-( Massimo On Jun 7, 6:44 pm, Nicolás de la Torre wrote: > Hello... i was checking the example of web2py+pyjamas on alterego

[web2py:23553] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread mdipierro
Do you expect me to run admin that allows everybody to upload and run files on my system? ;-) On Jun 7, 8:46 pm, Yarko Tymciurak wrote: > but also it's not a functioning admin;  it doesn't do anything (it lets you > see the editing interfaces, and go thru the motions, but not realize the > effec

[web2py:23554] Re: web2py+pyjamas

2009-06-07 Thread Yarko Tymciurak
be sure to right-click / case on that *w2p link; BTW - I am having no problems getting to web2py.com today (just checked to make sure it wasn't cace effect) On Sun, Jun 7, 2009 at 8:50 PM, mdipierro wrote: > > I just checked it and it works for me. > > I posted the app here: > http://groups.goo

[web2py:23555] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Yarko Tymciurak
perhpas a vm image could be made to work... reinitialized every 4, or 12 or whatever hours?; in it, a new web2py instance per user could be possible... or per session (with long persistent sessions)... there are things to think about, but... Others do stuff like this, so it can be done... like

[web2py:23556] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Yarko Tymciurak
and I would constrain - so nothing upload / nothing download... like I said, needs some thinking... On Sun, Jun 7, 2009 at 9:04 PM, Yarko Tymciurak wrote: > perhpas a vm image could be made to work... reinitialized every 4, or 12 > or whatever hours?; in it, a new web2py instance per user co

[web2py:23557] Error loading upload field?

2009-06-07 Thread Tito Garrido
I've just update to trunk and when I try to load a for with an "upload" field I'm receiving: Traceback (most recent call last): File "D:\Projetos\GAE\web2py\gluon\restricted.py", line 107, in restricted exec ccode in environment File "D:/Projetos/GAE/web2py/applications/store/controllers

[web2py:23558] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread mdipierro
not an option. I still do not want people to post illegal stuff on my machine. They they every day to put port in my wikis and it is not a bot. It is targeted. Massimo On Jun 7, 9:04 pm, Yarko Tymciurak wrote: > perhpas a vm image could be made to work...  reinitialized every 4, or 12 or > what

[web2py:23559] Re: Error loading upload field?

2009-06-07 Thread mdipierro
There was a bug introduced in latest commit. I think I fixed. Please download trunk again and let me know. Massimo On Jun 7, 9:14 pm, Tito Garrido wrote: > I've just update to trunk and when I try to load a for with an "upload" > field I'm receiving: > > Traceback (most recent call last): >   F

[web2py:23560] need help with my multiplicity...

2009-06-07 Thread Jason Brower
No, multiplicity is not a mental condition, but I am having trouble learning how to make a statement that brings to tables together. I have three tables I am working with. "Tags","Users", and "User_tags" I want to see the users that have the same tags as the user that is logged in with auth, and w

[web2py:23561] Re: web2py.com down?

2009-06-07 Thread Jesse Bever
I can't access it it either I thought it was just me On Sun, Jun 7, 2009 at 1:30 PM, Hans Donner wrote: > > for me it works fine... > > On Sun, Jun 7, 2009 at 10:27 PM, mdipierro wrote: > > > > Now I cannot access web2py.com either. I cannot look into this until > > tomorrow morning. > > > > Mas

[web2py:23562] Re: need help with my multiplicity...

2009-06-07 Thread mdipierro
You asked already and I answered in a different threadL http://groups.google.com/group/web2py/browse_thread/thread/77852375de00d625# Massimo On Jun 7, 9:45 pm, Jason Brower wrote: > No, multiplicity is not a mental condition, but I am having trouble > learning how to make a statement that bring

[web2py:23563] do not miss this!

2009-06-07 Thread mdipierro
http://www.gruppo4.com/~tobia/cross-slide.shtml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group

[web2py:23564] Re: new auth functions in trunk (basic, email/gmail, ldap)

2009-06-07 Thread Richard
hi, I tried testing the gmail authentication but I still get the standard login form. Do I need to add something in the controller/view? Have you seen the login form for stackoverflow.com? It lets you choose between many providers, including gmail. Is something like that possible through ldap_au

[web2py:23565] Re: need help with my multiplicity...

2009-06-07 Thread Jason Brower
Oh, oops, I missed it in all the emails. Forgive me, Jason On Sun, 2009-06-07 at 20:04 -0700, mdipierro wrote: > You asked already and I answered in a different threadL > http://groups.google.com/group/web2py/browse_thread/thread/77852375de00d625# > > Massimo > > On Jun 7, 9:45 pm, Jason Brow

[web2py:23566] Re: Error loading upload field?

2009-06-07 Thread Tito Garrido
Hi, It's not working yet... On Sun, Jun 7, 2009 at 11:28 PM, mdipierro wrote: > > There was a bug introduced in latest commit. I think I fixed. Please > download trunk again and let me know. > > Massimo > > On Jun 7, 9:14 pm, Tito Garrido wrote: > > I've just update to trunk and when I try to

[web2py:23567] Re: new auth functions in trunk (basic, email/gmail, ldap)

2009-06-07 Thread mdipierro
Hi Richard, the gmail authentication is not based on open-id (yet). it presents you with a standard login form. It tried to log you in via the normal auth_user table. It it fails, it tried to verify your password using the gmail smtp service. If that works a the auth_user table is created/ update

[web2py:23568] Re: Error loading upload field?

2009-06-07 Thread mdipierro
Try again. It is working for me. Perhaps the commit was incomplete when you tried. svn revision 1007 or launchpad 889 massimo On Jun 7, 10:26 pm, Tito Garrido wrote: > Hi, > > It's not working yet... > > > > On Sun, Jun 7, 2009 at 11:28 PM, mdipierro wrote: > > > There was a bug introduced in

[web2py:23569] Re: need help with my multiplicity...

2009-06-07 Thread mdipierro
no problem at all. On Jun 7, 10:26 pm, Jason Brower wrote: > Oh, oops, I missed it in all the emails. > Forgive me, > Jason > > On Sun, 2009-06-07 at 20:04 -0700, mdipierro wrote: > > You asked already and I answered in a different threadL > >http://groups.google.com/group/web2py/browse_thread/t

[web2py:23570] Re: Error loading upload field?

2009-06-07 Thread Tito Garrido
It works now! Thanks! Tito On Mon, Jun 8, 2009 at 12:45 AM, mdipierro wrote: > > Try again. It is working for me. Perhaps the commit was incomplete > when you tried. > svn revision 1007 or launchpad 889 > > massimo > > On Jun 7, 10:26 pm, Tito Garrido wrote: > > Hi, > > > > It's not working ye

[web2py:23571] Re: Error loading upload field?

2009-06-07 Thread Tito Garrido
Error, trying to use the upload form: Traceback (most recent call last): File "D:\Projetos\GAE\web2py\gluon\restricted.py", line 107, in restricted exec ccode in environment File "D:/Projetos/GAE/web2py/applications/store/controllers/manage.py"

[web2py:23572] Re: web2py+pyjamas

2009-06-07 Thread Nicolás de la Torre
Yes it works, thanks Massimo. There are some differences with my compiled pyjamas page. Maybe i`m building it the wrong way. 2009/6/7 mdipierro : > > I just checked it and it works for me. > > I posted the app here: > http://groups.google.com/group/web2py/web/web2py.app.todo.w2p > > since www.web

[web2py:23573] Re: live demos [Re: [web2py:23505] Re: Informal Poll re use of admin interface]

2009-06-07 Thread Yarko Tymciurak
I would not let any upload or download just a precanned environ where you can edit, and when you're session is done, so is your ... web2py-in-VM environment... I think it can be done I also don't know that it's worth doing it's too easy to just download and try On Sun, Jun 7, 200

[web2py:23574] Re: web2py.com down?

2009-06-07 Thread Yarko Tymciurak
interesting nslookup shows this: http://140.192.37.194/ - and that returns too... Is this some DNS thing? You should be able to get to the address (if it is)... I can - but i have been able to get to it by name all afternoon / evening... On Sun, Jun 7, 2009 at 9:56 PM, Jesse Bever wrote:

[web2py:23575] Re: need help with my multiplicity...

2009-06-07 Thread JorgeR
I just dont use emails for google groups. I visit them daily and post via web like it was a regular forum. It looks less cluttered to me. ;) On Jun 7, 10:26 pm, Jason Brower wrote: > Oh, oops, I missed it in all the emails. > Forgive me, > Jason > > On Sun, 2009-06-07 at 20:04 -0700, mdipierr

[web2py:23576] Re: do not miss this!

2009-06-07 Thread Yarko Tymciurak
Nice... Chrome alpha on Linux / Ubuntu shows this off nicely (I can see what they mean about "taxing" firefox on linux when compared side by side). Can't wait for a chrome release accross platforms... On Sun, Jun 7, 2009 at 10:19 PM, mdipierro wrote: > > http://www.gruppo4.com/~tobia/cross-sl

  1   2   >