[web2py:21736] Re: Webfaction + web2py question

2009-05-12 Thread Yarko Tymciurak
I think the alterego post is old; try instead the webfaction blog: http://forum.webfaction.com/viewtopic.php?pid=8473 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this grou

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

2009-05-12 Thread mdipierro
You cannot store your own classes in the session. This is because the session is retrieved automatically for you before your controller is called and outside the scope where the function is defined. This is a general problem with Python. Try this: import picke class A: pass pickle.dump(A(),open(

[web2py:21734] Webfaction + web2py question

2009-05-12 Thread John Pontious
I have been attempting to get web2py up and running on webfaction. And, based on the nice writeups I have found, I think I am pretty close. For reference, I followed: http://mdp.cti.depaul.edu/AlterEgo/default/show/202 With my current configuration, I am able to access my web2py app: http://myh

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

2009-05-12 Thread mdipierro
I agree. Consider this: practically every school/college/university in the country has switched to Python in their intro sequence programming courses within the last 3 years. These people are hitting the job market now. This means in the long term it should be easy for any company to find Python p

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

2009-05-12 Thread lesh
I am having difficulty storing a simple (non-SQL) object in the session. I wondered if anyone could give me a clue as to why. The following works: def update_profile(): if (session.sections!=None): session.sections=None return dict(sections='spam') else: session.se

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

2009-05-12 Thread mdipierro
Please try this 1) to authenticate with gmail auth=Auth(globals(),db) from gluon.contrib.login_methods.email_auth import email_auth auth.settings.login_methods.append(email_auth()) 2) to authenticate using basic authentication of a third party server auth=Auth(globals(),db) from gluon.cont

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

2009-05-12 Thread JohnMc
I would offer one other suggestion. - If standards committee are part of any assessment process; consider pitching Python as the language being used for the development. This would be especially true if Python is on the 'approved' stds list in the company. JohnMc On May 12, 5:19 pm, mdipierro

[web2py:21729] Re: HTML helpers, TAG, cpickle, colgroup

2009-05-12 Thread mdipierro
On May 12, 10:16 pm, Russell wrote: > Hi, > > I've recently experienced two issues with the html helpers when trying > to implement . > > First, the TAG helper doesn't seem to pickle (but all the others do). > Have I missed something here? > > >>> import cPickle > >>> htm1 = cPickle.dumps(DIV())

[web2py:21728] Re: how to add custom field to SQLFORM

2009-05-12 Thread mdipierro
I think you need to create a widget. I cannot say because it really depends on details. On May 11, 12:02 pm, Jurgis Pralgauskis wrote: > Hello, > I want to use customised dropdown field  in my app, > but dont want to to duplicate the code.. > > my dropdown has the tree structure  in it > like >

[web2py:21727] Re: crud problems log events

2009-05-12 Thread mdipierro
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 > still showing none in the record > something like > > Record None create > Record None update > > i gonn

[web2py:21726] Re: RFC auto fields

2009-05-12 Thread Douglas Soares de Andrade
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 not work with my proposal syntax but it would work > with yours and that is a

[web2py:21725] HTML helpers, TAG, cpickle, colgroup

2009-05-12 Thread Russell
Hi, I've recently experienced two issues with the html helpers when trying to implement . First, the TAG helper doesn't seem to pickle (but all the others do). Have I missed something here? >>> import cPickle >>> htm1 = cPickle.dumps(DIV()) >>> htm2 = cPickle.dumps(TAG.colgroup()) Traceback (mo

[web2py:21723] Re: traveling to China

2009-05-12 Thread hongde.liu
first you'd better scheduled a Hotel,such as 7days(http://www.7daysinn.cn/) and also rujia(http://www.homeinns.com) and since that the subway of beijing is crowded,so when you travel,you'd better take taxi final I think the website is suitable for you http://www.beijingtraveltips.com/ http://wiki

[web2py:21724] Re: traveling to China

2009-05-12 Thread hongde.liu
Welcome to BeiJing China,and since that I am not in BeiJing ,but NanJing,so I'd like to take you some advice before you come to BeiJing first you'd better scheduled a Hotel,such as 7days(http://www.7daysinn.cn/) and also rujia(http://www.homeinns.com) and since that the subway of beijing is crowded

[web2py:21722] Re: PIL on GAE

2009-05-12 Thread mdipierro
I think you want a resize validator that resizes a file as it is uploaded. this should do it but I let you do the debugging. ;-) class RESIZE: def __init__(self,nx=32,ny=32,error_message='not an image'): (self.nx,self.ny,self.error_message)=(nx,ny,error_message) def __call__(sel

[web2py:21721] Re: PIL on GAE

2009-05-12 Thread Tito Garrido
Cool... I'm wondering how can I use that resize function on web2py... On Tue, May 12, 2009 at 10:45 PM, mdipierro wrote: > > and this > > class Image (webapp.RequestHandler): > def get(self): >greeting = db.get(self.request.get("img_id")) >if greeting.avatar: > self.response.header

[web2py:21720] Re: PIL on GAE

2009-05-12 Thread mdipierro
and this class Image (webapp.RequestHandler): def get(self): greeting = db.get(self.request.get("img_id")) if greeting.avatar: self.response.headers['Content-Type'] = "image/png" self.response.out.write(greeting.avatar) else: self.error(404) of course is all done

[web2py:21719] Re: PIL on GAE

2009-05-12 Thread mdipierro
This avatar = db.BlobProperty() is done transparently by web2py db.define_table('user',SQLField('avatar','upload')) This from google.appengine.api import images is useful and I did not know about it. Massimo On May 12, 8:31 pm, Tito Garrido wrote: > Seems that it has a kind of Ima

[web2py:21718] Re: PIL on GAE

2009-05-12 Thread Tito Garrido
Seems that it has a kind of Image support: http://code.google.com/intl/pt-BR/appengine/docs/python/images/usingimages.html On Tue, May 12, 2009 at 10:28 PM, mdipierro wrote: > > This is about installing PIL locally and that is easy. > Does it mean that it is already available on GAE? > I do not

[web2py:21717] Re: Dzone posting

2009-05-12 Thread mdipierro
It is an excellent forum. I need to link from the web2py page. asap. Massimo On May 12, 6:19 pm, mikech wrote: > Great, its a very impressive project.  I plan to study your code to > learn Python and web2py.  Also, FYI it's one of the highest ranked > entries that I've added to Dzone. > > Mike

[web2py:21716] Re: PIL on GAE

2009-05-12 Thread mdipierro
This is about installing PIL locally and that is easy. Does it mean that it is already available on GAE? I do not know. On May 12, 8:17 pm, Tito Garrido wrote: > I could find this regarding PIL + > GAE:http://code.google.com/appengine/docs/python/images/installingPIL.html > > But I don't know h

[web2py:21715] Re: howto apply a drupal theme to web2py

2009-05-12 Thread mdipierro
I think we can draft a minimal set of specs and build a repository of converted themes. On May 12, 7:47 pm, Douglas Soares de Andrade wrote: > Em Terça-feira 12 Maio 2009, às 02:31:59, mdipierro escreveu: > > > > > 1) download and unzip your favorite drupal theme > > 2) cut and paste the content

[web2py:21714] Re: PIL on GAE

2009-05-12 Thread Tito Garrido
I could find this regarding PIL + GAE: http://code.google.com/appengine/docs/python/images/installingPIL.html But I don't know how could I resize the picture during the upload... On Tue, May 12, 2009 at 9:42 PM, mdipierro wrote: > > PIL includes binary modules. If GAE does not provide it alread

[web2py:21713] Re: howto apply a drupal theme to web2py

2009-05-12 Thread Douglas Soares de Andrade
Em Terça-feira 12 Maio 2009, às 02:31:59, mdipierro escreveu: > 1) download and unzip your favorite drupal theme > 2) cut and paste the content of page.php into > > http://www.web2py.com/php > > 3) retrieve the generated web2py code and save it as layout.html (this > is not 100% fool proof but

[web2py:21712] Re: PIL on GAE

2009-05-12 Thread mdipierro
PIL includes binary modules. If GAE does not provide it already (and I do not know if they do) there is no way to install it on GAE. On May 12, 7:12 pm, Tito Garrido wrote: > Is there a way to use PIL on web2py+GAE? I mean, could we reduce a picture > while we're uploading it to GAE? > > Thanks

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

2009-05-12 Thread mdipierro
We need to decide when to stop. This and the one before are not bugs. request.env stores environment variables passed to the app by the web server. when running a script with -M -S the models are executed but (by definition) there is no web server so these variables do not exist. When a model ne

[web2py:21710] PIL on GAE

2009-05-12 Thread Tito Garrido
Is there a way to use PIL on web2py+GAE? I mean, could we reduce a picture while we're uploading it to GAE? Thanks in advance, Tito -- Linux User #387870 . _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:___ --~--~-~--~~~---~--~~ You receiv

[web2py:21709] Re: jQuery sortlist in web2py

2009-05-12 Thread Yarko Tymciurak
On Tue, May 12, 2009 at 6:08 PM, mdipierro wrote: > > > Why is it not on LP? > > what does LP maan? I think Tim means Launchpad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To

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

2009-05-12 Thread AchipA
Close, but not quite. Examples is OK, admin still chokes. Traceback (most recent call last): File "/usr/src/web2py_bzr_cron/gluon/restricted.py", line 107, in restricted exec ccode in environment File "applications/admin/models/access.py", line 34, in port = int(request.env.server_po

[web2py:21707] Re: Dzone posting

2009-05-12 Thread mikech
Great, its a very impressive project. I plan to study your code to learn Python and web2py. Also, FYI it's one of the highest ranked entries that I've added to Dzone. Mike On May 12, 1:26 pm, Speedbird wrote: > Thanks for the entry Mike, > > Just FYI I am just about to release the last of the

[web2py:21706] Re: jQuery sortlist in web2py

2009-05-12 Thread mdipierro
> What roadmap do you have for the KPAX application? I needs to be rewritten on top of gluon/tools and become more modular. > Why is it not on LP? what does LP maan? > > Will you merge it with the wiki app? > > I am currently looking into an CMS/Wiki. > So currently there is: > * web2py wiki >

[web2py:21705] Re: wiki and rest

2009-05-12 Thread Yarko Tymciurak
reST is easier to manage in other wikis; we need a wiki owner to see what pycon-tech, others who use this a lot have done in setup of the docutil renderers, and we hope that it will be sphinx compatible too. Tim has pointed to someone starting a live sphinx project, which could be _instead_ of a w

[web2py:21704] Re: wiki page name recomendation

2009-05-12 Thread Yarko Tymciurak
In general, when we move to mercurial, each app should have it's own place repo. We'll have to figure out some acceptance test for new web2py releases, etc. On Tue, May 12, 2009 at 5:48 PM, Tim Michelsen wrote: > > > Would you consider making the wiki page names be created based on the > > title

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

2009-05-12 Thread Yarko Tymciurak
On Tue, May 12, 2009 at 3:28 PM, JohnMc wrote: .. > > What's you trend analysis? Would you suggest adopting > > web2py for a long-term investment? I ask, possibily, for an "unbiased" > > answer, as I'm going to adopt it as a backend for a public > > infrastructure backend... don't put me in

[web2py:21702] Re: jQuery sortlist in web2py

2009-05-12 Thread Tim Michelsen
> yes. the KPAX appliance does that we you sort questions in a survey. Very nice. Then I knwo where to digg... What roadmap do you have for the KPAX application? Why is it not on LP? Will you merge it with the wiki app? I am currently looking into an CMS/Wiki. So currently there is: * web2py wi

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

2009-05-12 Thread Yarko Tymciurak
On Tue, May 12, 2009 at 5:19 PM, mdipierro wrote: > > If you have made up your mind about using web2py and you have to go > through committees to have it approved you should consider: > > - print a copy of > http://mdp.cti.depaul.edu/examples/static/web2py_vs_others.pdf > (outdated but better tha

[web2py:21700] Re: wiki and rest

2009-05-12 Thread Tim Michelsen
Hey wes, we seem to think into the same direction... > ok, I see on the wiki Documentation How-To why reST is being used. I > guess it wouldn't be so bad if one is starting out their document > thinking in this format. I tried to find a WYSIWYG-editor for rest and only found: http://zwiki.org/Fr

[web2py:21699] Re: wiki page name recomendation

2009-05-12 Thread Tim Michelsen
> Would you consider making the wiki page names be created based on the > title of the page? > > i.e., the title "How-To create forms" -> > "http://.../how-to-create-forms"; instead of the long encoded name. I would also like to see this. --~--~-~--~~~---~--~~

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

2009-05-12 Thread Yarko Tymciurak
On Tue, May 12, 2009 at 4:30 AM, giohappy wrote: > > Dear web2py group, > I'm going to adobt a python web application framework for my next > works, and until yesterday I was oriented to Django, as it seems to > give me the best tradoff between simplicity, rapidity, power, etc > A friend of mine

[web2py:21697] Re: wiki and rest

2009-05-12 Thread compte...@gmail.com
ok, I see on the wiki Documentation How-To why reST is being used. I guess it wouldn't be so bad if one is starting out their document thinking in this format. -wes On May 12, 4:24 pm, Wes James wrote: > What was the reason form using rest on the wiki?  (I looked on the list > archive, but don

[web2py:21696] wiki and rest

2009-05-12 Thread Wes James
What was the reason form using rest on the wiki? (I looked on the list archive, but don't see it right off). It seems like a lot of work to format it so that it works properly. But that is coming from trying to copy/paste the "how to get help" info and then try to learn and then format it so it

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

2009-05-12 Thread mdipierro
If you have made up your mind about using web2py and you have to go through committees to have it approved you should consider: - print a copy of http://mdp.cti.depaul.edu/examples/static/web2py_vs_others.pdf (outdated but better than nothing) - make list of open issues and bug reports for web2py

[web2py:21694] Re: wiki password reset error

2009-05-12 Thread Wes James
I think your new wiki replaced this or maybe this is a demo from some other link. Aw... now I see how I got to it. I looked up "web2py wiki" on google and it was the second hit. I should just go to web2py.com then click on wiki link. -wes On Tue, May 12, 2009 at 4:13 PM, mdipierro wrote: > >

[web2py:21693] Re: wiki password reset error

2009-05-12 Thread mdipierro
let me check is there are links and then I will take it down. I assume nobody is using it any more. correct? Massimo On May 12, 4:30 pm, "compte...@gmail.com" wrote: > Sorry,  I went to the wrong wiki (do you need to take the old one > down?) > > old one:https://mdp.cti.depaul.edu/web2py_wiki/d

[web2py:21692] Re: wiki page name recomendation

2009-05-12 Thread mdipierro
I do not have much time to maintain that app. I am looking for somebody to take over maintenance. It is less than 100 lines of code. Massimo On May 12, 4:55 pm, Wes James wrote: > Massimo, > > Would you consider making the wiki page names be created based on the title > of the page? > > i.e., t

[web2py:21691] Re: jQuery sortlist in web2py

2009-05-12 Thread mdipierro
yes. the KPAX appliance does that we you sort questions in a survey. Massimo On May 12, 5:08 pm, Tim Michelsen wrote: > Hello, > dis somebody already try out to sort a data base generated list > (SQLTABLE) with jQuery via drag&drop? > > I would like to have an interface like:http://www.swartzfa

[web2py:21690] jQuery sortlist in web2py

2009-05-12 Thread Tim Michelsen
Hello, dis somebody already try out to sort a data base generated list (SQLTABLE) with jQuery via drag&drop? I would like to have an interface like: http://www.swartzfager.org/ctcm/ where I can sort& edit & delete the TODO items and the changes would get updated in the database. Other example

[web2py:21689] wiki page name recomendation

2009-05-12 Thread Wes James
Massimo, Would you consider making the wiki page names be created based on the title of the page? i.e., the title "How-To create forms" -> "http://.../how-to-create-forms"; instead of the long encoded name. thx, -wes --~--~-~--~~~---~--~~ You received this messa

[web2py:21688] Re: wiki password reset error

2009-05-12 Thread compte...@gmail.com
Sorry, I went to the wrong wiki (do you need to take the old one down?) old one: https://mdp.cti.depaul.edu/web2py_wiki/default/wiki/main -wes On May 12, 9:00 am, Wes James wrote: > Massimo, > > I was trying to do a password reset on the wiki, but it says "Unable to Send > Email" > --~--~

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

2009-05-12 Thread JohnMc
I will give you a perspective from someone who comes from a web/php - cakephp perspective -- On May 12, 4:30 am, giohappy wrote: > Dear web2py group, > I'm going to adobt a python web application framework for my next > works, and until yesterday I was oriented to Django, as it seems to > give m

[web2py:21686] Re: Dzone posting

2009-05-12 Thread Speedbird
Thanks for the entry Mike, Just FYI I am just about to release the last of the "RC" versions, this time pyForum will have English, Spanish and German translations to show how to seamlessly include internationalization in any web2py project, I am running the last testings and will post the update

[web2py:21685] Dzone posting

2009-05-12 Thread mikech
Hi: I'm making sure that web2py blog entries get listed on Dzone. If you have a membership you can vote these links up, or add your own. Here's my latest: http://www.dzone.com/links/pyforum_a_message_board_system_coded_in_the_web2p.html --~--~-~--~~~---~--~~ You r

[web2py:21684] traveling to China

2009-05-12 Thread mdipierro
I am going to China for a conference July 26-31 but I am planning to leave as much as a week early and travel around (July 20-25). I do not like to travel alone but my wife and child cannot accompany me for logistic reasons. My ideal vacation would consist of traveling around by train as much as

[web2py:21683] Re: When starting the server is starts the wrong browser.

2009-05-12 Thread Yarko Tymciurak
if you are on windows, and start default web2py (no options) it will start whatever windows thinks is the browser. if you start from the command line with anything, no browser should be started, e.g. (from sources); $ python we2py.py -a 'hello' or (from binary, windows): C:> web2py.exe -a '

[web2py:21682] Re: web2py Version 1.61.4 SQLFORM id_label

2009-05-12 Thread carlo
For your second edition I sent you the wrong page by email. carlo On 12 Mag, 18:43, mdipierro wrote: > very odd... I do not think that ever existing else it would have been > a breaking of backward compatibility. > Must be a typo. > > Massimo > > On May 12, 11:31 am, carlo wrote: > > > Thank y

[web2py:21681] Re: dataTables

2009-05-12 Thread annet . vermeer
John, Your welcome. Annet. --~--~-~--~~~---~--~~ 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, send email to w

[web2py:21680] Re: web2py job posting on odesk

2009-05-12 Thread dlypka
please ping me at dly...@gmail.com with your email address - I have some info you may be interested in about a similar existing such open source system. On May 8, 8:59 pm, Horst wrote: > http://www.odesk.com/jobs/?g=&q=web2py&qs=1 > > Over time I will post a number of modular projects requiring

[web2py:21679] Re: No gui server admin

2009-05-12 Thread mdipierro
OK. Now there is a warning in the trunk version. ;-) On May 12, 11:37 am, Jason Brower wrote: > It may be nice to be a little more verbose about that.  Even something > like, "TK" not found, if you would like the GUI you can install blabla > bla. > Regards, > Jason > > On Tue, 2009-05-12 at 09:2

[web2py:21678] When starting the server is starts the wrong browser.

2009-05-12 Thread Jason Brower
Is there a way to start a different browser then what ever it picks? Even deeper, can I simple not have the webbrowser turn on? -- Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.

[web2py:21677] Re: web2py Version 1.61.4 SQLFORM id_label

2009-05-12 Thread mdipierro
very odd... I do not think that ever existing else it would have been a breaking of backward compatibility. Must be a typo. Massimo On May 12, 11:31 am, carlo wrote: > Thank you, but in my book (pdf version) at page 167 I have id_label > among SQLFORM parameters, maybe a known misprint ? > > ca

[web2py:21676] Re: No gui server admin

2009-05-12 Thread Jason Brower
It may be nice to be a little more verbose about that. Even something like, "TK" not found, if you would like the GUI you can install blabla bla. Regards, Jason On Tue, 2009-05-12 at 09:28 -0700, mdipierro wrote: > almost > > If you specify a password in the command line > > ./web2py -a [pass

[web2py:21675] Re: web2py Version 1.61.4 SQLFORM id_label

2009-05-12 Thread carlo
Thank you, but in my book (pdf version) at page 167 I have id_label among SQLFORM parameters, maybe a known misprint ? carlo On 12 Mag, 18:25, mdipierro wrote: > there is no id_label. > > You can do > >         form=SQLFORM(db2[table],records[0],fields=flds,\ >                       submit_butt

[web2py:21674] Re: No gui server admin

2009-05-12 Thread mdipierro
almost If you specify a password in the command line ./web2py -a [password] ([password] can be the previous password) NO GUI If you do not specify a password ./web2py.py then you should get the GUI. In this latter case if web2py cannot find Tk or Tk is broken, then no gui and it prompts for

[web2py:21673] Re: web2py Version 1.61.4 SQLFORM id_label

2009-05-12 Thread mdipierro
there is no id_label. You can do form=SQLFORM(db2[table],records[0],fields=flds,\ submit_button='Salva',labels={'id':'N.'}) or db2[table].id.label='N.' form=SQLFORM(db2[table],records[0],fields=flds,\ submit_button='Salva')

[web2py:21672] Re: No gui server admin

2009-05-12 Thread Wes James
If you do ./web2py -M you should get the gui, if you do ./web2py -M -a -p 8080 then you should get just a console. On Tue, May 12, 2009 at 9:44 AM, Jason Brower wrote: > > It seems I don't have the gui server admin screen anymore, just the > console based. How do I get it back? I am using ubu

[web2py:21671] No gui server admin

2009-05-12 Thread Jason Brower
It seems I don't have the gui server admin screen anymore, just the console based. How do I get it back? I am using ubuntu 9.04. --- Jason Brower --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framew

[web2py:21670] web2py Version 1.61.4 SQLFORM id_label

2009-05-12 Thread carlo
Is the id_label parameter working? I have: table=request.vars.table if len(request.args)>1: flds=[v for v in request.args[1:]] records=db2(db2[table].id==request.args[0]).select() form=SQLFORM(db2[table],records[0],fields=flds,\ submit_button='Salva

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

2009-05-12 Thread mdipierro
I am obviously partial in this but here are my two cents: - web2py is here to stay. I have committed enough time on this already to let it die anytime too, so have many of the other contributors and there is many of them. - as far as usability is concerned, you should try it yourself and here we

[web2py:21668] Re: Is there a standart way to find out what language are you using?

2009-05-12 Thread mdipierro
In trunk we now have: T.requested_languages (a parsed list of languaged accepted by the client) T.current_languages (a list of languages that should not be translated, set by the developer) T.accepted_language (the language chosen by web2py based on availability) T.language_file (the file associa

[web2py:21667] wiki password reset error

2009-05-12 Thread Wes James
Massimo, I was trying to do a password reset on the wiki, but it says "Unable to Send Email" -wes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to we

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

2009-05-12 Thread mdipierro
fixed in trunk. Please try it and let me know if it is ok. On May 12, 6:47 am, AchipA wrote: > There seems to be the problem when trying to invoke shells with models > (checked with latest from launchpad). For example, admin and examples > both fail miserably, welcome works. The actual error see

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

2009-05-12 Thread Zoom.Quiet
On Tue, May 12, 2009 at 17:30, giohappy wrote: > > Dear web2py group, > I'm going to adobt a python web application framework for my next > works, and until yesterday I was oriented to Django, as it seems to > give me the best tradoff between simplicity, rapidity, power, etc > A friend of mine ha

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

2009-05-12 Thread Wes James
On Tue, May 12, 2009 at 3:30 AM, giohappy wrote: > > Dear web2py group, > I'm going to adobt a python web application framework for my next > works, and until yesterday I was oriented to Django, as it seems to Last October I was looking for a framework to move to as I have been just using my ow

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

2009-05-12 Thread giohappy
Dear web2py group, I'm going to adobt a python web application framework for my next works, and until yesterday I was oriented to Django, as it seems to give me the best tradoff between simplicity, rapidity, power, etc A friend of mine ha suggested me to have a look at web2py, and I admit I've bee

[web2py:21662] Re: Is there a standart way to find out what language are you using?

2009-05-12 Thread guruyaya
OK, that should solve it. Think I'd rather having the first language on the current_languages list be returned, but hay - you cannot get everything. On May 12, 11:12 am, Álvaro Justen [Turicas] wrote: > On Tue, May 12, 2009 at 5:07 AM, guruyaya wrote: > > > I think there will be a problem, in c

[web2py:21661] broken shell with -M ?

2009-05-12 Thread AchipA
There seems to be the problem when trying to invoke shells with models (checked with latest from launchpad). For example, admin and examples both fail miserably, welcome works. The actual error seems to be referencing things like request.env in some of the models. This behaviour also happens to br

[web2py:21660] Re: Is there a standart way to find out what language are you using?

2009-05-12 Thread Álvaro Justen [Turicas]
On Tue, May 12, 2009 at 5:07 AM, guruyaya wrote: > > I think there will be a problem, in case I have a none standart > setting in my browser. If I don't have English defined in my browser, > only Italian, for example, it will throw an error, even if I wrote > T.current_languages=['en','en-en'], t

[web2py:21659] Re: Is there a standart way to find out what language are you using?

2009-05-12 Thread guruyaya
I think there will be a problem, in case I have a none standart setting in my browser. If I don't have English defined in my browser, only Italian, for example, it will throw an error, even if I wrote T.current_languages=['en','en-en'], trying to read the accepted language. On May 11, 11:59 pm, m