[web2py:21737] Re: broken shell with -M ?

2009-05-13 Thread AchipA
I understand that since the models are human-generated, whoever writes the models should watch out for this. However, if not bugs, these are arguably unexpected behavior (as they might pop up where you don't expect - like cron). The way I see it the main problem is the RestrictedError feature. Sur

[web2py:21738] Re: broken shell with -M ?

2009-05-13 Thread AchipA
Also, this is probably worth an alterego note or wiki entry as it's a bit of a gotcha, I'm just not sure how to classify it... On May 13, 2:40 am, mdipierro wrote: > We need to decide when to stop. This and the one before are not bugs. > > request.env stores environment variables passed to the a

[web2py:21739] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Richard
I moved from Django to web2py mid last year and am very happy with the decision. I found with Django I was often referring to the reference guide but with web2py the syntax was much more intuitive that I can code a lot longer without interruption. Also the support on this forum is fantastic. Once

[web2py:21740] Re: requires_login(next='')

2009-05-13 Thread annet . vermeer
Massimo, This works: auth.settings.login_next=URL(r=request, c='crudtool', f='index') in db.py and when I login I am redirected to http://127.0.0.1:8000/mock/crudtool/index But this doesn't work: auth.settings.logout_next=URL(r=request, c='authtool', f='login') in db.py, when I logout I get a

[web2py:21741] Lighttpd streaming limitations?

2009-05-13 Thread Richard
hello, I am running web2py with Lighttpd/Sqlite on Windows. I have found that streaming small files (few MBs) is no problem, but a ~50MB file makes the server seize up so that I have to reset. Would you expect that kind of performance from Lighttpd, or do you expect the problem is elsewhere? (Gen

[web2py:21742] Re: requires_login(next='')

2009-05-13 Thread annet . vermeer
Massimo, This works: auth.settings.login_next=URL(r=request, c='crudtool', f='index') in db.py, when I login I am redirected to http://127.0.0.1:8000/mock/crudtool/index But this doesn't work: auth.settings.logout_next=URL(r=request, c='authtool', f='login') in db.py, in the controller autht

[web2py:21743] Re: Lighttpd streaming limitations?

2009-05-13 Thread Richard
sorry I was wrong - I'm using the default cherrypy wsgiserver and not Lighttpd. What kind of streaming limitations would you expect from the cherrypy wsgiserver? Richard On May 13, 6:18 pm, Richard wrote: > hello, > > I am running web2py with Lighttpd/Sqlite on Windows. I have found that > str

[web2py:21744] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread giohappy
Thanks everyone for the answers. This is a proof of the web2py community responsivity. At least you have convinced me to try it, and I will employ it in my present project (webgis field). So probably you'll see me very active with questions! Massimo: I know you're italian too, but I thought it's p

[web2py:21745] Re: PIL on GAE

2009-05-13 Thread Timmie
Maybe you can use GD? http://newcenturycomputers.net/projects/gdmodule.html --~--~-~--~~~---~--~~ 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 T

[web2py:21746] Re: jQuery sortlist in web2py

2009-05-13 Thread Timmie
> I needs to be rewritten on top of gluon/tools and become more modular. > > Why is it not on LP? > what does LP maan? Launchpad > > Will you merge it with the wiki app? > > I am currently looking into an CMS/Wiki. > > So currently there is: > > * web2py wiki > > * KPAX > > * T3 > > Yes. Hopeful

[web2py:21747] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Timmie
Hi, > present project (webgis field). So probably you'll see me very active good that you wrote about your area. Below you can see some posts/threads and links regarding the current web2py GIS/mapping capabilities. -> Fran & I have successfuly operated openlayers but still have problems fetching

[web2py:21748] Clustrmaps on web2py.com not working.

2009-05-13 Thread aspersieman
Hi all I noticed the clustrmaps (visitor locations) applet on the main (www.web2py.com) isn't working, ie it's not displaying the visitor locations. If you click on it it redirects to the clustrmaps site http://www3.clustrmaps.com/counter/maps.php?url=http://www.web2py.com and the page says "

[web2py:21749] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread desfrenes
Both Django and Web2Py are in a niche, I mean if your main concern was really long-term support and diffusion you would probably use one of the main php frameworks anyway. As for the choice between Django and Web2py, like others I first tried Django but I found that it's main killer-feature (the

[web2py:21750] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread giohappy
Wow, great Timmie, you speak my language :) I absolutely agree with you about the two schools, and I'm for the first one, tha'ts why I'm not considering very much such efforts like geodjango, even if I completely respect it's philosophy. I work with OL/mapfish/jquery for the client side, and with

[web2py:21751] Re: crud problems log events

2009-05-13 Thread Rui Gomes
Perfect now work like a charm!!! Thanks On Wed, May 13, 2009 at 3:24 AM, mdipierro wrote: > > Please try again the latest code in trunk. > > On May 11, 8:27 am, NewBeen wrote: > > i try to use the last version 1.62rc2 > > > > and a still with the same problem, now show right what is doing but

[web2py:21752] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread giohappy
> PS: Could we set an interest group for web2py+gis? Is there already > something? It could be misconfusing. I've seen the project on launchpad. What I meant was if we could setup a ML dedicated to that... Unfortunatly, AFAIK, google groups doesn't support subgroups... Just an opinion, I'm the la

[web2py:21753] [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Hi all, I was talking to Alvaro yesterday, and we had a problem to get the latest trunk without having to fetch all the hg repository, so i did this little python script (which depends on BeautifulSoup). To use it, install beautifulsoup and then run: python get_latest_web2py.py And it will fe

[web2py:21754] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Timmie
> python get_latest_web2py.py [...] > @Massimo: Can we add this to the scripts folder in web2py ? Very cool idea. I would suggest that this would be integrated into the admin: If the sentence on the right would read: "web2py is out of date" there should be two Buttons "upgrade web2py to the curr

[web2py:21755] Re: Lighttpd streaming limitations?

2009-05-13 Thread mdipierro
the cherrypy server has no limitations and I tested it. lighttpd should have none either but I cannot swear by the fcgi driver that ships with web2py. What's the code these tests? Massimo On May 13, 3:23 am, Richard wrote: > sorry I was wrong - I'm using the default cherrypy wsgiserver and not

[web2py:21756] Re: Clustrmaps on web2py.com not working.

2009-05-13 Thread mdipierro
I know the problem. will fix it soon. On May 13, 5:03 am, aspersieman wrote: > Hi all > > I noticed the clustrmaps (visitor locations) applet on the main > (www.web2py.com) isn't working, ie it's not displaying the visitor > locations. If you click on it it redirects to the clustrmaps > sitehtt

[web2py:21757] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 09:47:11, Timmie escreveu: > > python get_latest_web2py.py > > [...] > > > @Massimo: Can we add this to the scripts folder in web2py ? > > Very cool idea. > > I would suggest that this would be integrated into the admin: > > If the sentence on the right would read:

[web2py:21758] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread mdipierro
We can and should integrate this in admin but the challange is updating binaries and updating without third party tools. This requires a service that can serve on demand: welcome.w2p, admin.w2p, examples.w2p, gluon.tar (for binary distribution), site- packages.zip (for the osx distribution) and l

[web2py:21759] Re: Webfaction + web2py question

2009-05-13 Thread John
I had also used that one as reference, as it had some stuff towards the end about a change for: LoadModule authz_host_module modules/mod_authz_host.so It seems to me that both of these solutions lack the proper mod_rewrite rules to make this work as I have described. Or is it possible I just di

[web2py:21760] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Markus Gritsch
On Wed, May 13, 2009 at 3:01 PM, mdipierro wrote: > > We can and should integrate this in admin but the challange is > updating binaries and updating without third party tools. > > This requires a service that can serve on demand: welcome.w2p, > admin.w2p, examples.w2p, gluon.tar (for binary dist

[web2py:21761] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Yarko Tymciurak
I like this summary, outline... thanks. On Wed, May 13, 2009 at 7:20 AM, desfrenes wrote: > > Both Django and Web2Py are in a niche, I mean if your main concern was > really long-term support and diffusion you would probably use one of > the main php frameworks anyway. > > As for the choice betwe

[web2py:21763] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread JohnMc
"From what I see here in France, most web development courses are still php/java oriented. That's many people to convert but conversion is easy ^_^ " That's interesting. Considering Guido started the Python precursor language in Europe, I would have expected a big following there. As it is, MIT,

[web2py:21764] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 11:17:32, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 7:43 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Hi all, > > > > I was talking to Alvaro yesterday, and we had a problem to get the latest > > trunk without having to fetch all th

[web2py:21765] private functions in a view

2009-05-13 Thread carlo
I put some private functions in a controller: def __myfunc(): a=request.vars.a b=request.vars.b myvalue=a+b return myvalue What is the correct syntax to get "myvalue" in a view of a different controller? carlo --~--~-~--~~~---~--~~ You received this message be

[web2py:21766] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Yarko Tymciurak
On Wed, May 13, 2009 at 9:20 AM, JohnMc wrote: > > "From what I see here in France, most web development courses are > still > php/java oriented. That's many people to convert but conversion is > easy ^_^ " > A friend of mine in Colorado, Stew, who teaches CS wrote a paper on "why not to teach c

[web2py:21767] Re: RFC auto fields

2009-05-13 Thread mdipierro
pending... On May 12, 10:19 pm, Douglas Soares de Andrade wrote: > Em Terça-feira 14 Abril 2009, às 23:26:40, mdipierro escreveu: > > > I have been thinking about this. Even if I do not like your proposal > > Yarko, I think you have a better point than you think. In fact > > form_factory would n

[web2py:21768] Re: broken shell with -M ?

2009-05-13 Thread mdipierro
OK In trunk now, more explicit error from shell. No more restrctederrors. Massimo On May 13, 2:47 am, AchipA wrote: > Also, this is probably worth an alterego note or wiki entry as it's a > bit of a gotcha, I'm just not sure how to classify it... > > On May 13, 2:40 am, mdipierro wrote: > > >

[web2py:21769] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Yarko Tymciurak
On Wed, May 13, 2009 at 9:24 AM, Douglas Soares de Andrade < dsandr...@gmail.com> wrote: > > > Hi Yarko, > > > can't you just directly get the zip or tar/gzip from your bitbucket page > > (upper right corner)? > > http://bitbucket.org/douglas/web2py/get/5e1df34e2052.gz > > No, because it is random

[web2py:21770] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 11:41:57, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 9:24 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Hi Yarko, > > > > > can't you just directly get the zip or tar/gzip from your bitbucket > > > page (upper right corner)? > > > htt

[web2py:21771] Re: requires_login(next='')

2009-05-13 Thread mdipierro
auth.settings.login_url=URL(r=request, c='crudtool', f='index') after logout it goes to login_url, same with failed requires_login. Massimo On May 13, 3:22 am, annet.verm...@gmail.com wrote: > Massimo, > > This works: > > auth.settings.login_next=URL(r=request, c='crudtool', f='index') in > db.

[web2py:21772] Re: Webfaction + web2py question

2009-05-13 Thread mdipierro
For the future... people should sign their alterego entries so we can chase them and ask questions directly. Massimo On May 13, 8:08 am, John wrote: > I had also used that one as reference, as it had some stuff towards > the end about a change for: > > LoadModule authz_host_module modules/mod_a

[web2py:21773] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread mdipierro
I agree for exe and dll but they never need to be updated. What about library.zip? I have not tried but I think we should try. can you try? Massimo On May 13, 8:11 am, Markus Gritsch wrote: > On Wed, May 13, 2009 at 3:01 PM, mdipierro wrote: > > > We can and should integrate this in admin but

[web2py:21774] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread desfrenes
> > I can forward a link to Stew's paper if anyone's interested. I am ! --~--~-~--~~~---~--~~ 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 u

[web2py:21775] Re: private functions in a view

2009-05-13 Thread mdipierro
Not sure I understand. By definition functions defined in controllers are not visible to views unless: - the function is passed to the view "return dict(myfunc=__myfunc)" - the function is defined in a model file - the function is defined in the view itself {{...}} or a view that is {{include '..

[web2py:21776] Re: Webfaction + web2py question

2009-05-13 Thread Yarko Tymciurak
would be good to have a date, and a "format" for alter ego too - by that, I mean "applies to web2py version xxx" --- stuff like that... On Wed, May 13, 2009 at 9:54 AM, mdipierro wrote: > > For the future... people should sign their alterego entries so we can > chase them and ask questions

[web2py:21777] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Yarko Tymciurak
On Wed, May 13, 2009 at 9:51 AM, Douglas Soares de Andrade < dsandr...@gmail.com> wrote: > > Em Quarta-feira 13 Maio 2009, às 11:41:57, Yarko Tymciurak escreveu: > > On Wed, May 13, 2009 at 9:24 AM, Douglas Soares de Andrade < > > > > dsandr...@gmail.com> wrote: > > > Hi Yarko, > > > > > > > can't

[web2py:21778] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Yarko Tymciurak
On Wed, May 13, 2009 at 9:56 AM, desfrenes wrote: > > > > > I can forward a link to Stew's paper if anyone's interested. > > I am ! http://www.biographixmedia.com/stew/pubs/CCSC2005.pdf --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[web2py:21779] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 12:11:24, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 9:51 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Em Quarta-feira 13 Maio 2009, às 11:41:57, Yarko Tymciurak escreveu: > > > On Wed, May 13, 2009 at 9:24 AM, Douglas Soares de Andr

[web2py:21780] Re: broken shell with -M ?

2009-05-13 Thread AchipA
OK, sent corresponding cron patch. On May 13, 4:40 pm, mdipierro wrote: > OK In trunk now, more explicit error from shell. No more > restrctederrors. > > Massimo > > On May 13, 2:47 am, AchipA wrote: > > > Also, this is probably worth an alterego note or wiki entry as it's a > > bit of a gotcha

[web2py:21781] Re: Webfaction + web2py question

2009-05-13 Thread mdipierro
yes. On May 13, 10:06 am, Yarko Tymciurak wrote: > would be good to have a date, and a "format" for alter ego too - by > that, I mean "applies to web2py version xxx" --- stuff like that... > > On Wed, May 13, 2009 at 9:54 AM, mdipierro wrote: > > > For the future... people should sign thei

[web2py:21782] Re: Webfaction + web2py question

2009-05-13 Thread mdipierro
but... when you write you assume it applies to the current versions and following. who's job is to check when it becomes deprecated if not the author? Massimo On May 13, 10:30 am, mdipierro wrote: > yes. > > On May 13, 10:06 am, Yarko Tymciurak wrote: > > > would be good to have a date, a

[web2py:21783] Re: private functions in a view

2009-05-13 Thread carlo
thank you Massimo for your "lesson", I realized I had no reason to call the function in the view and now I call it in the controller. By the way if I had the function in a model file how should I call it? mymodel.myfunction() ? Or by an import as for modules? carlo On 13 Mag, 17:01, mdipierro

[web2py:21784] Re: private functions in a view

2009-05-13 Thread mdipierro
anything defined in models is visible everywhere, including views. You just call {{=myfunction()}} On May 13, 10:39 am, carlo wrote: > thank you Massimo for your "lesson", I realized I had no reason to > call the function in the view and now I call it in the controller. > > By the way if I

[web2py:21785] Re: broken shell with -M ?

2009-05-13 Thread mdipierro
In trunk On May 13, 10:27 am, AchipA wrote: > OK, sent corresponding cron patch. > > On May 13, 4:40 pm, mdipierro wrote: > > > OK In trunk now, more explicit error from shell. No more > > restrctederrors. > > > Massimo > > > On May 13, 2:47 am, AchipA wrote: > > > > Also, this is probably wor

[web2py:21786] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread mdipierro
Should we wait we move to hg? google or bitbucket? I am uneasy with packagin a download script from a repository that if not the official one. Massimo On May 13, 7:43 am, Douglas Soares de Andrade wrote: > Hi all, > > I was talking to Alvaro yesterday, and we had a problem to get the latest > t

[web2py:21787] Re: jQuery sortlist in web2py

2009-05-13 Thread mdipierro
I do not know about "appointing" but people have expressed an interest in various aspects of web2py and have contributed to specific issues so I try to keep track of that: http://www.web2py.com/examples/default/who Please send me corrections if your name is missing or you feel it has been mis-ca

[web2py:21788] wiki link on web2py.com gone

2009-05-13 Thread Wes James
Massimo, I thought there was a wiki link on web2py.com yesterday. Today it is not there. Did you take it off there instead of removing https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main which is different than https://mdp.cti.depaul.edu/wiki ? -wes --~--~-~--~~~--

[web2py:21789] Re: wiki link on web2py.com gone

2009-05-13 Thread mdipierro
wow, you are fast. I was in the middle of fixing the clustermaps and was restoring an old view. Now the link is back. Massimo On May 13, 11:00 am, Wes James wrote: > Massimo, > > I thought there was a wiki link on web2py.com yesterday.  Today it is not > there.  Did you take it off there instea

[web2py:21790] Re: wiki link on web2py.com gone

2009-05-13 Thread Wes James
On Wed, May 13, 2009 at 10:06 AM, mdipierro wrote: > > wow, you are fast. I was in the middle of fixing the clustermaps and > was restoring an old view. Now the link is back. > > heh... yep, its there. thx, -wes --~--~-~--~~~---~--~~ You received this message be

[web2py:21791] Auth forwarding

2009-05-13 Thread Scott Hunter
I'm trying out the Auth tool (very sweet!), and wondering if it can handle the following: I've decorated a controller/function to require a login, and auth dutifully redirects me to a login page, and properly processes the login. But when I've logged in, I'd like it to go to the page I originall

[web2py:21792] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 12:47:19, mdipierro escreveu: > Should we wait we move to hg? google or bitbucket? I am uneasy with > packagin a download script from a repository that if not the official > one. Sure, this is my concern too. I dont know if google will provide an easy way to let

[web2py:21793] Re: Auth forwarding

2009-05-13 Thread mdipierro
What you want is the default behavior of the web2py in trunk. Are you using 1.61.4? Massimo On May 13, 11:17 am, Scott Hunter wrote: > I'm trying out the Auth tool (very sweet!), and wondering if it can > handle the following: > > I've decorated a controller/function to require a login, and aut

[web2py:21794] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread mdipierro
OK let's wait the first week on June. Massimo On May 13, 11:18 am, Douglas Soares de Andrade wrote: > Em Quarta-feira 13 Maio 2009, às 12:47:19, mdipierro escreveu: > > > Should we wait we move to hg? google or bitbucket? I am uneasy with > > packagin a download script from a repository that if

[web2py:21795] Re: Webfaction + web2py question

2009-05-13 Thread Yarko Tymciurak
On Wed, May 13, 2009 at 10:31 AM, mdipierro wrote: > > but... when you write you assume it applies to the current versions > and following. who's job is to check when it becomes deprecated if not > the author? I think this might not be a good assumption. It might apply better to people who cla

[web2py:21796] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Yannick
Once you go Web2Py you never Look back :)... I'm coming from JAVA/ J2EE, I tried Zope found it too complex and then Django I was a little desperate, right at the time when i wanted to move back to JAVA I discovered Web2py this was a great turning point... So far so good and love the journey...Welc

[web2py:21797] reusing table structure (extending)

2009-05-13 Thread Jurgis Pralgauskis
Hello, I want to achieve sth similar to http://sqlobject.org/Inheritance.html but probably simpler: my pattern in few apps is: I have some table, with info which can change freequently I want to have full history of it + some metadata: so I want 2 tables: 1) standart 2) history = standardt+[use

[web2py:21798] how to make CRUD select show foreign values?

2009-05-13 Thread Jurgis Pralgauskis
hello, now in table (select) view and record (reed) view only values from current table are shown but in record (update) view the foreign table values are in dropdown box I'd like to see theese foreign values in table (select) and record (reed) views... (automatically using crud) would it be

[web2py:21799] Re: Auth forwarding

2009-05-13 Thread Scott Hunter
Version 1.61.4 (2009-04-21 10:02:50) I had to add auth.settings.login_url=URL(r=request,c='default',f='user',args= ['login']) in the model to get it to go to the right controller (before, I only had one controller :) ) But still, after logging in, I get sent to app/default/index, not the URL I

[web2py:21800] Re: reusing table structure (extending)

2009-05-13 Thread mdipierro
That works but it is much easier than that since web2py supports it: db.define_table('standardt', standard fields ... ) db.define_table('history', db.standardt, SQLField ('metadata','string')) Notice can a field can be another table (i.e. all fields of the other table). You can extend more

[web2py:21801] Re: how to make CRUD select show foreign values?

2009-05-13 Thread mdipierro
not at all: Given db.define_table('person',SQLField('name')) db.define_table('dog',SQLfield('name'),SQLField('owner',db.person)) 1) Without joins db.dog.owner.represent=lambda id: db.person[id].name then {{=db(db.dog.id>0).select(orderby=db.dog.name)}} or {{=crud.read (db.dog,1)}} 2) Use a jo

[web2py:21802] cron on windows and osx

2009-05-13 Thread mdipierro
Have you had problems with cron on the windows and osx binary distributions? I think Achipa has found the problem. Please try the following: http://www.web2py.com/examples/static/1.62rc2/web2py_win.zip http://www.web2py.com/examples/static/1.62rc2/web2py_osx.zip Let us know if the problem is sol

[web2py:21803] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Yarko Tymciurak
:-) I tried Zope (actually Plone) in 2001; it was really interesting; dotnetnuke 5 (?) years ago (that one is really interesting from several standpoints); I tried RoR 2 years ago; interesting, lots of setup, but Hobo project looked promising... I too came (by accident) to web2py, and glad I did.

[web2py:21804] outstanding issues?

2009-05-13 Thread mdipierro
Please remind me of any outstanding issue that I may have forgotten. I would like to release 1.62 soon. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, sen

[web2py:21805] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Kacper Krupa
http://bitbucket.org/douglas/web2py/get/tip.zip - it's the newset rev zipped. On May 13, 7:01 pm, mdipierro wrote: > OK let's wait the first week on June. > > Massimo > > On May 13, 11:18 am, Douglas Soares de Andrade > wrote: > > > Em Quarta-feira 13 Maio 2009, às 12:47:19, mdipierro escreveu:

[web2py:21806] Re: cron on windows and osx

2009-05-13 Thread David Marko
I just applied latest trunk version and cron works fine again. Tested on Windows XP with web2py source distribution. thanks!! David On 13 kvě, 20:51, mdipierro wrote: > Have you had problems with cron on the windows and osx binary > distributions? > I think Achipa has found the problem. Please

[web2py:21807] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread mdipierro
As far as I am concerned this is what I found interesting: 1) http://www.boduch.ca/2009/03/cherrypy-web-site-process-bus.html 2) http://www.rubyinside.com/nanite-self-assembling-cluster-of-ruby-daemons-1245.html 3) http://www.seaside.st/ (if only I could understand smalltalk) I think 1) could b

[web2py:21808] Re: selection of local file

2009-05-13 Thread Hans
bumping this one since I still could not fix that. Has anyone managed to solve this yet? On May 9, 1:09 am, mdipierro wrote: > My bad. This was correct: >  shutil.copyfileobj(request.vars.filename.file,open(path,'w')) > > I am surprised you still get a corrupted file. let me run some tests. > >

[web2py:21809] Re: selection of local file

2009-05-13 Thread mdipierro
The problem is not so much to solve it but to reproduce it. what version of web2py are you running? which os? which python version? Massimo On May 13, 2:32 pm, Hans wrote: > bumping this one since I still could not fix that. Has anyone managed > to solve this yet? > > On May 9, 1:09 am, mdipie

[web2py:21810] Re: selection of local file

2009-05-13 Thread Hans
web2py 1.61.4 WinXP Pro SP3 Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] If there is anything I can do to mail it down on my side then let me know! Thanks, Hans On May 13, 9:40 pm, mdipierro wrote: > The problem is not so much to solve it but to reproduce it. >

[web2py:21811] Re: selection of local file

2009-05-13 Thread mdipierro
Can you email me a minimalist app and a sample file to upload to try reproduce the problem? On May 13, 2:57 pm, Hans wrote: > web2py 1.61.4 > WinXP Pro SP3 > Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit > (Intel)] > > If there is anything I can do to mail it down on my si

[web2py:21812] Re: Auth forwarding

2009-05-13 Thread Fran
On May 13, 7:45 pm, Scott Hunter wrote: > Version 1.61.4 (2009-04-21 10:02:50) Fixed on 2009-05-03 05:43:55 http://bazaar.launchpad.net/~mdipierro/web2py/devel/revision/723 F --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[web2py:21813] Re: Auth forwarding

2009-05-13 Thread mdipierro
Thanks Fran. This was your patch! On May 13, 3:22 pm, Fran wrote: > On May 13, 7:45 pm, Scott Hunter wrote: > > > Version 1.61.4 (2009-04-21 10:02:50) > > Fixed on 2009-05-03 > 05:43:55http://bazaar.launchpad.net/~mdipierro/web2py/devel/revision/723 > > F --~--~-~--~~~-

[web2py:21814] Re: selection of local file

2009-05-13 Thread Kacper Krupa
You should try with smaller files and create diff (to check what is added). It seams to be something between uploading <-> saving. On May 13, 9:57 pm, Hans wrote: > web2py 1.61.4 > WinXP Pro SP3 > Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit > (Intel)] > > If there is anyt

[web2py:21815] Re: selection of local file

2009-05-13 Thread mdipierro
from what I understood something was being removed, not added. Am I wrong? On May 13, 3:24 pm, Kacper Krupa wrote: > You should try with smaller files and create diff (to check what is > added). It seams to be something between uploading <-> saving. > > On May 13, 9:57 pm, Hans > wrote: > > >

[web2py:21821] Re: outstanding issues?

2009-05-13 Thread Yarko Tymciurak
Tim! You are _so_ productive - thanks! I see you've got a python make up :-) Thanks! BTW we plan to do some docsting work tonight... Regards, Yarko On Wed, May 13, 2009 at 4:19 PM, Tim Michelsen wrote: > > mdipierro schrieb: > > Please remind me of any outstanding issue that I may have forg

[web2py:21817] Re: outstanding issues?

2009-05-13 Thread Tim Michelsen
mdipierro schrieb: > Please remind me of any outstanding issue that I may have forgotten. > I would like to release 1.62 soon. You may want to include: http://bazaar.launchpad.net/~timmie/web2py/web2py-appdocu/annotate/head%3A/doc/source/docs_overview.rst and replace the *.bat and *.sh by http://

[web2py:21819] Re: Table shortcuts

2009-05-13 Thread Álvaro Justen [Turicas]
On Mon, May 11, 2009 at 12:33 PM, mdipierro wrote: > > More than this I would prefer to have > > db.define_table('mytable', >>     SQLField(...), >>     ... >>     actual_filename='myapp_mytable', >>     field_prefix=None', >> ) > > The problems are: > - This requires many small changes to sql.py

[web2py:21818] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Tim Michelsen
>> PS: Could we set an interest group for web2py+gis? Is there already >> something? Yes, on Launchpad we could create a mailing list/group. But I fear that presently, we have a small audience for this topic and little specific development. So its better to keep the dicussion on the main list. R

[web2py:21816] Re: web2py diffusion and long-term support vs django - a professional choice...

2009-05-13 Thread Tim Michelsen
Yannick schrieb: > Once you go Web2Py you never Look back :)... I'm coming from JAVA/ > J2EE, I tried Zope found it too complex and then Django I was a little > desperate, right at the time when i wanted to move back to JAVA I > discovered Web2py this was a great turning point... So far so good an

[web2py:21820] Re: todo & help

2009-05-13 Thread Álvaro Justen [Turicas]
On Fri, May 8, 2009 at 1:16 AM, Álvaro Justen [Turicas] wrote: > On Fri, May 8, 2009 at 12:31 AM, Yarko Tymciurak wrote: >> Alvaro - >> >> Just to be clear - I am not arguing with you; I am just thinking out loud. > > It's ok. :-) > > On Fri, May 8, 2009 at 12:19 AM, Yarko Tymciurak wrote: >> .

[web2py:21822] Re: wiki link on web2py.com gone

2009-05-13 Thread Eddie Eyles
I appreciate there are a lot of non-native English speakers at work here. The possessive case for the plural noun " users " is " users' ", not " users's ", so the wiki link should read " Users' wiki ", and the similar links " Users' group ", etc. Current usage would also allow " User wiki ", etc

[web2py:21823] Re: Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Douglas Soares de Andrade
Em Quarta-feira 13 Maio 2009, às 15:55:07, Kacper Krupa escreveu: > http://bitbucket.org/douglas/web2py/get/tip.zip - it's the newset rev > zipped. Great Just forgot about the "tip" revision. Thanks a lot ! > On May 13, 7:01 pm, mdipierro wrote: > > OK let's wait the first week on J

[web2py:21824] table notes already exists

2009-05-13 Thread JohnMc
Ok. The 'table already exists' error is my fault. I cleared all the existing table entries and attempted to change a field name. Next thing I know I am at this table error. So my question is how do I clear this up? Is -- * Remove the table definition in the DAL. * Delete all references to *notes

[web2py:21825] Re: Table shortcuts

2009-05-13 Thread mdipierro
No that is not an option since that mechanism is already used for complex joins. Massimo On May 13, 4:32 pm, Álvaro Justen [Turicas] wrote: > On Mon, May 11, 2009 at 12:33 PM, mdipierro wrote: > > > More than this I would prefer to have > > > db.define_table('mytable', > >>     SQLField(...),

[web2py:21826] Re: todo & help

2009-05-13 Thread mdipierro
I have not decided about this one. Comparing twitter vs RSS is comparing apples and oranges. Twitter is a service provider. RSS is a technology for delivering news. If we use RSS what do we use as service provider? I do not want to run it myself. I am already running more than 20 apps on my small

[web2py:21827] Re: outstanding issues?

2009-05-13 Thread mdipierro
somebody emails me a patch please! On May 13, 4:56 pm, Yarko Tymciurak wrote: > Tim! > > You are _so_ productive - thanks!  I see you've got a python make up :-) > > Thanks!   BTW we plan to do some docsting work tonight... > > Regards, > Yarko > > On Wed, May 13, 2009 at 4:19 PM, Tim Michelsen

[web2py:21828] Re: wiki link on web2py.com gone

2009-05-13 Thread mdipierro
The only reason for rss is to protect user's passwords in transit. I can allows http as well as https access anyway. Feel free to fix the typos yourself. You do no permission to get an account. Massimo On May 13, 5:39 pm, Eddie Eyles wrote: > I appreciate there are a lot of non-native Englis

[web2py:21829] Re: table notes already exists

2009-05-13 Thread mdipierro
The solution depends on what you want to do and that is not obvious. Is this is a sqlite database? If not what is the database? Is there data in the database that you need to recover or you do not care? Are other apps accessing the database? Massimo On May 13, 7:15 pm, JohnMc wrote: > Ok. The

[web2py:21830] Re: todo & help

2009-05-13 Thread Álvaro Justen [Turicas]
On Wed, May 13, 2009 at 9:22 PM, mdipierro wrote: > I have not decided about this one. Comparing twitter vs RSS is > comparing apples and oranges. Twitter is a service provider. RSS is a > technology for delivering news. If we use RSS what do we use as > service provider? I do not want to run it

[web2py:21831] Re: table notes already exists

2009-05-13 Thread JohnMc
A) It is an sqlite db. B) No data need be saved. C) No other applications accessing the db. On May 13, 7:26 pm, mdipierro wrote: > The solution depends on what you want to do and that is not obvious. > > Is this is a sqlite database? If not what is the database? > Is there data in the database t

[web2py:21832] Re: table notes already exists

2009-05-13 Thread Álvaro Justen [Turicas]
On Wed, May 13, 2009 at 9:34 PM, JohnMc wrote: > A) It is an sqlite db. > B) No data need be saved. > C) No other applications accessing the db. So, I think just removing web2py/applications/yourapp/databases/your_database.db you will get the result you want. -- Álvaro Justen Peta5 - Telecom

[web2py:21833] Re: table notes already exists

2009-05-13 Thread JohnMc
Alvaro, Massimo, Guys thanks for replying. Followed Alvaro recommendation and it worked. Thanks guys. Massimo, Good luck you your China trip. On May 13, 7:39 pm, Álvaro Justen [Turicas] wrote: > On Wed, May 13, 2009 at 9:34 PM, JohnMc wrote: > > A) It is an sqlite db. > > B) No data need b

[web2py:21834] Re: [Script] Get the latest web2py trunk in zip format (no need to get the full repository anymore)

2009-05-13 Thread Álvaro Justen [Turicas]
On Wed, May 13, 2009 at 9:43 AM, Douglas Soares de Andrade wrote: > Hi all, > > I was talking to Alvaro yesterday, and we had a problem to get the latest > trunk without having to fetch all the hg repository, so i did this little > python script (which depends on BeautifulSoup). My slow connecti

[web2py:21835] Re: Difficulty storing a simple (non-SQL) object in the session

2009-05-13 Thread lesh
Just to follow up on this topic... In order to remedy this problem storing objects in the session, I ended up writing an InlinePickler module: #Copyright (c) 2009 by Mark D. Lesh (www.marklesh.com) #All rights reserved. # #InlinePickler is Licensed under GPL version 2.0 #

[web2py:21836] Re: Difficulty storing a simple (non-SQL) object in the session

2009-05-13 Thread mdipierro
You could also more simply do def youraction(): import cPickle myobj = session.myobj and cPickle.loads(session.myobj) use myobj session.myobj=cPickle.dumps(myobj) On May 13, 8:36 pm, lesh wrote: > Just to follow up on this topic... > > In order to remedy this prob

[web2py:21837] new Auth in trunk

2009-05-13 Thread mdipierro
Please test this throughly!!! I have been working a lot on the Auth in trunk in order to clean up some confusing configuration options. These are the most important ones: mail=Mail() # mailer mail.settings.server='smtp.gmail.com:587'# your SMTP server mail.se

  1   2   >