[web2py:26390] Re: admin pages keep redirecting to admin login (ie admin/default/index)

2009-07-13 Thread Yarko Tymciurak
no you shouldn't have to do anything but run web2py. When I go to admin, it goes to http://localhost:8000/admin/default/site (my session file gets accessed, but doesn't change) What version of python are you running? On Mon, Jul 13, 2009 at 12:59 AM, Gijsbert

[web2py:26391] Re: using web2py in custom modules

2009-07-13 Thread mdipierro
Yes and no. the mechanism of importing modules (in python and in any other language) allows to get stuff out of the module (functions, variables) but not in the module (request, response, cache, etc). So you have to pass them. You do not want to pass them to every function so here is the

[web2py:26392] Re: admin pages keep redirecting to admin login (ie admin/default/index)

2009-07-13 Thread mdipierro
Which python version are you using? Is this a clean install or do you have lots of modules installed? My guess is that it is either a cookie issue, or permission issue (you can write the session but not read them) or a bug with cPicke. in your version. Can you try the OSX binary too. Massimo

[web2py:26393] Re: task forces

2009-07-13 Thread Benigno
Hi, just to add my opinion to this: - I agree with Joe, in that documentation needs to be the first base. Proof of it, is that even though, it is probably writen all over in different places, I have had to come to the T2, T3 conclusion that Massimo so clearly writes here, by deduction, and not

[web2py:26394] Re: UTf-8 output

2009-07-13 Thread AchipA
Doublecheck that you actually have properly encoded data in the database ('show table X' should tell you the encoding of the table itself). Often 'displaying correctly' is misleading because of the possibility of making the same encoding mistake both ways (=treat mysql as binary storage). The

[web2py:26397] Re: task forces

2009-07-13 Thread Matt van Gerwen
Dear Massimo, First of all. I like to thank Massimo and developers for doing a great job. I'm still looking forward that i will finish my web2py apps. You all are putting an huge amount of energy into web2py. I see several features emerging and growing to maturity. From T2, T3 to CRUD etc.

[web2py:26398] Re: UTf-8 output

2009-07-13 Thread max
How do I stop double encoding or the treating of data as binary storage? What I tried was: changed the encoding of the of the controller and layouts to see if i am double encoding. But got the same display as in my previous port. the output from mysql in my database SHOW COLLATION LIKE

[web2py:26399] Re: UTf-8 output

2009-07-13 Thread AchipA
That's a utf8 to 8859 conversion right there. The mysql table (or data in it) is not utf8. Whatever else you're using is probably making the same error both while writing and reading the data, that's why it comes out OK (or you have an AddDefaultCharset UTF8 if you're using apache). The bottom

[web2py:26400] Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
Here is exception when my script insert unicode data: [part of ticket message]- File /var/www/vhosts/help4me.ru/subdomains/web2py/httpdocs/gluon/ sql.py, line 1480, in insert

[web2py:26401] Re: UTf-8 output

2009-07-13 Thread AchipA
You don't need the change anything in the layouts or the controller, or to be precise, you can, but that's only going to cause more problems down the line. The Right Way (TM) is to do a database dump, fix the encodings, and import back. The collations don't matter in this regard - it's the TABLE

[web2py:26402] Re: UTf-8 output

2009-07-13 Thread max
thank you both, i think your suggestion with the database encoding is correct as ,utf-8 encoding worked correct for a postgres database. I will try to correct the mysql database and post if I get problems. On Jul 13, 12:15 pm, AchipA attila.cs...@gmail.com wrote: You don't need the change

[web2py:26403] Re: code book v2

2009-07-13 Thread gluegl
When will the book be released? I purchased 3 weeks ago the old book online. :-( -G On Jul 12, 3:00 pm, Tim Michelsen timmichel...@gmx-topmail.de wrote: Hello Massimo, as you are announcing a update of the book: Would you please make the code snippets from the book available as zip?

[web2py:26404] Re: eStore appliance

2009-07-13 Thread Benigno
Suiato, I have just sent the code to Massimo, I dont know if the format I sent it will be ok, or if the code will be ok. But if you are in a hurry what you need is actually very simple: form action=https://www.sandbox.paypal.com/cgi-bin/webscr; method=post !-- Select the correct

[web2py:26405] Re: task forces

2009-07-13 Thread JohnMc
Weheh, On Jul 13, 12:19 am, weheh richard_gor...@verizon.net wrote: Indeed, any EMR (electronic medical record) system must be HIPPA compliant. There's no reason web2py why an online web2py I see no reason that web2py cannot be HIPPA compliant. My point was more in relationship to your

[web2py:26406] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
This patch seems to work with PostreSQL too. Here is output of diff command. % diff -u sql.py sql_new.py --- sql.py 2009-07-13 20:20:37.0 +0800 +++ sql_new.py 2009-07-13 20:20:30.0 +0800 @@ -1017,6 +1017,7 @@ self._connection.rollback() def executesql(self,

[web2py:26407] Preventing escaping of HTML coming from the database

2009-07-13 Thread Tamas
Hello, I'm not sure if I'm doing something wrong or is this some 'feature' in web2py. I am storing pieces of HTML in the database, and would like to embed those strings into a page (it is more complicated than this, but the essence is the same). My problem is that whatever I do web2py always

[web2py:26408] report bug, maybe

2009-07-13 Thread 张峥
hi all: in app/models/db.py .. auth.settings.mailer=mail auth.settings.registration_requires_verification = True auth.settings.registration_requires_approval = True ... Look into the table auth user, I found the field password is blank. so, the user's password will be set to blank

[web2py:26409] Re: Preventing escaping of HTML coming from the database

2009-07-13 Thread 张峥
{{=XML(variations[x].content,sanitize=False)}} You can try.. Tamas 写道: Hello, I'm not sure if I'm doing something wrong or is this some 'feature' in web2py. I am storing pieces of HTML in the database, and would like to embed those strings into a page (it is more complicated than

[web2py:26410] Re: code book v2

2009-07-13 Thread carlo
from my first view to the new chapters of v2 book I would add: - some more examples for using widgets - more documentation about html forms: how preserving validation, keepvalues, what you must/should declare in the controller. What I think missing is a practical comparison among the different

[web2py:26411] Re: 3 Suggestions and a Question

2009-07-13 Thread mdipierro
Thanks for the suggestions. I will fix 1, do not know about 2. will seriusly look into 3. We are rewriting the DAL. It will be easier to extend it. I am planning to have a CouchDB adapter. I have never used MongoDB but should be easy to with the new DAL. Massimo On Jul 13, 2:19 am, Bottiger

[web2py:26412] Re: Preventing escaping of HTML coming from the database

2009-07-13 Thread 张峥
sorry, in the XML(), sanitize default value is False Tamas 写道: Hello, I'm not sure if I'm doing something wrong or is this some 'feature' in web2py. I am storing pieces of HTML in the database, and would like to embed those strings into a page (it is more complicated than this, but the

[web2py:26414] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread mdipierro
web2py assumes all DAL IO is already 'utf8', not unicode. The encoding/ decoding has to be done outside DAL. It is just a convention that keeps things simple. On Jul 13, 7:26 am, ont.rif ont@gmail.com wrote: This patch seems to work with PostreSQL too. Here is output of diff command. %

[web2py:26415] Re: report bug, maybe

2009-07-13 Thread mdipierro
It is not a bug. A blank password field is not a blank password because the former is a hash of the actual password. A blank password field means the user cannot login because that is no string that hashes to blank. On Jul 13, 7:55 am, 张峥 zzgigi2...@gmail.com wrote: hi all: in

[web2py:26416] Re: Preventing escaping of HTML coming from the database

2009-07-13 Thread mdipierro
{{=XML (variations[x].content)}} should do what you want. On Jul 13, 7:42 am, Tamas tma...@gmail.com wrote: Hello, I'm not sure if I'm doing something wrong or is this some 'feature' in web2py. I am storing pieces of HTML in the database, and would like to embed those strings into a page

[web2py:26417] Re: report bug, maybe

2009-07-13 Thread 张峥
URL:http://127.0.0.1:8000/auth/appadmin/select/db?query=db.auth_user.id0 auth_user.id http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.id auth_user.first_name http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.first_name auth_user.last_name

[web2py:26418] [OFF-TOPIC] Gmaps - miles to meters

2009-07-13 Thread Tito Garrido
Hi Folks, This is NOT a web2py question, but I could see that some people has been using gmaps on projects... so I have a question regarding it: Using the Gdirection feature of gmap I could translate the directions to a place changing the option 'locale' but I couldn't change it to use the metric

[web2py:26420] Re: admin pages keep redirecting to admin login (ie admin/default/index)

2009-07-13 Thread Gijsbert
Ah! If I run /opt/local/bin/python2.5 ./web2py.py and unset PYTHONPATH the sessions work correctly. Access to the errors and admin pages works! I have the default macosx python (2.5.1) install, but also a slightly newer version (2.5.4) installed through macports. There must be some bad mix

[web2py:/] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
But i can't find way to insert utf-8 data into MysSQL database! For example: tusers = db.define_table( 'users', Field( 'login', 'string', required = True, notnull = True, unique = True ), Field( 'passw', 'string', required = True,

[web2py:26421] Re: task forces

2009-07-13 Thread weheh
JohnMc - Thanks for your thoughtful feedback. I'm not an attorney so I can't tell you the liabilities of using OpenSource software for EMR. But I'm sure this issue can also be handled by the appropriate authorities. However, I think we're getting off topic. Of the various projects that have been

[web2py:26422] Re: code book v2

2009-07-13 Thread Francisco Gama
yes, examples are very valuable, specially if they are useful in real life context. On Jul 13, 2:30 pm, carlo syseng...@gmail.com wrote: from my first view to the new chapters of v2 book I would add: - some more examples for using widgets - more documentation about html forms: how preserving

[web2py:26423] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
In short: MySQLdb execute expect type 'unicode' string but web2py pass type 'str' object to it. May be this is a problem ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this

[web2py:26424] Re: 3 Suggestions and a Question

2009-07-13 Thread Francisco Gama
one question about DAL. As you know, ORMs are very popular and useful particularly in languages like Python with projects like SQL Alchemy, SQL Object and others. Now, I know you don't want to import it to the web2py bundle and I would never ask you to do something you don't want to. My

[web2py:26425] Re: dynamic css

2009-07-13 Thread Jonathan Lundell
I have dynamic css working, and I thought I'd post it here for the record. The CSS itself goes in a view, css/styles.css in this trivial example: === body { font-family: Verdana, sans-serif; } div.beautify td { padding-top: 0; } === It's served up by controller css.py. The only

[web2py:26426] Re: 3 Suggestions and a Question

2009-07-13 Thread Jonathan Lundell
On Jul 13, 2009, at 12:19 AM, Bottiger wrote: 2. Remove the scribd widget from the front page. It lags my browser whenever I go there and proceeds to suck up bandwidth. Amen to that. I run Click to Flash (OS X) to keep it from loading, but at the very least it's an awfully large file for

[web2py:26427] Re: 3 Suggestions and a Question

2009-07-13 Thread mdipierro
No. The DAL is being rewritten but to the users it wil 100% compatible. The difference is only in the implementation to make it even faster and easier to extend on other databases. I am putting no effort into allowing web2py to use other ORMs since this will limit portability of applications and

[web2py:26428] Idea for HTML helpers and the 'with' statement

2009-07-13 Thread mr.freeze
I'm a .net developer by trade. I embed IronPython into a lot of my apps. One nice thing I can do with it is build XML using the 'with' statement. http://langexplr.blogspot.com/2009/02/writing-xml-with-ironpython-xmlwriter.html How hard would this be to implement a similar context protocol for

[web2py:26431] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread mdipierro
perhaps it should be MySQLdb.connect(use_unicode=False) Strange I never had a problem with this? On Jul 13, 10:04 am, ont.rif ont@gmail.com wrote: In short: MySQLdb execute expect type 'unicode' string but web2py pass type 'str' object to it. May be this is a problem ?

[web2py:26432] Reports Engine

2009-07-13 Thread JohnMc
This looks like an interesting report generator. Says its framework independent. http://geraldo.sourceforge.net/ Might be an interesting exercise to map the DAL for use with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:26433] how to publish multi web2py under Ngnix ?{deploy}

2009-07-13 Thread Zoom.Quiet
i want publish some web2py aap. under Ngnix, through fast-cgi - by realy different web2py instance - by some proxy for statix file publish such as: server { listen 8080; location ^~ /my/static/ { alias /data0/matrix/static/; } location /staff { fastcgi_pass

[web2py:26434] Re: task forces

2009-07-13 Thread JohnMc
Same here Wheh. On Jul 13, 9:41 am, weheh richard_gor...@verizon.net wrote: JohnMc - Thanks for your thoughtful feedback. I'm not an attorney so I can't tell you the liabilities of using OpenSource software for EMR. But I'm sure this issue can also be handled by the appropriate authorities.

[web2py:26435] web2py Application configuration

2009-07-13 Thread dbrmr
Hi, I want to make configuration mechanism for web2py applications, just like .ini files with sections, but configuration will be saved in the database, so that can be modified when running on google app engine. The module is something like this: class MyApplicationConfiguration(object):

[web2py:26436] Is this correct?

2009-07-13 Thread mdipierro
http://www.web2py.com/examples/default/dbs --~--~-~--~~~---~--~~ 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

[web2py:26437] Re: Is this correct?

2009-07-13 Thread JohnMc
Massimo, Just checked Django. That column is correct. Maybe add a row for ODBC? Django does reference the capability. JohnMc On Jul 13, 12:24 pm, mdipierro mdipie...@cs.depaul.edu wrote: http://www.web2py.com/examples/default/dbs --~--~-~--~~~---~--~~ You

[web2py:26438] Re: Reports Engine

2009-07-13 Thread Jason Brower
I don't know... but I wonder how much better it would be then just using reportlab itself, 'cause that's dead easy to me. Thanks. Regards, JAson On Mon, 2009-07-13 at 10:05 -0700, JohnMc wrote: This looks like an interesting report generator. Says its framework independent.

[web2py:26439] Re: ho to exchange data between controllers

2009-07-13 Thread Tim Michelsen
mdipierro schrieb: can you explain more? referencing the example given when starting the thread: the following is wrong: def image_mat_form(): number = float(request.args[0]) [...] import matplotlib.pyplot as plt import numpy as np import scipy as sp import

[web2py:26440] Reporting tool in the works for web2py

2009-07-13 Thread Jason Brower
I may be a newb at this web2py but I wanted to tell you I am working at my job to create a reporting tool with reportlab, inkscape, web2py, python etc... should be fun... the only thing I can't do is support foriegn char like chinese in the adobe files unless I do a poor hack. But that's adobe's

[web2py:26442] Re: 3 Suggestions and a Question

2009-07-13 Thread Yarko Tymciurak
On Mon, Jul 13, 2009 at 10:35 AM, Jonathan Lundell jlund...@pobox.comwrote: On Jul 13, 2009, at 12:19 AM, Bottiger wrote: 2. Remove the scribd widget from the front page. It lags my browser whenever I go there and proceeds to suck up bandwidth. Amen to that. I run Click to Flash (OS X)

[web2py:26441] Re: Is this correct?

2009-07-13 Thread mdipierro
Listing ODBC is misleading because it is an a driver protocol, not a SQL dialect. If you click on the Django ODBC link it says with Django it only supports MSSQL which is already listed. On Jul 13, 12:38 pm, JohnMc maruadventu...@gmail.com wrote: Massimo, Just checked Django. That column is

[web2py:26443] Re: Reports Engine

2009-07-13 Thread mdipierro
I think the main difference is charts On Jul 13, 12:55 pm, Jason Brower encomp...@gmail.com wrote: I don't know... but I wonder how much better it would be then just using reportlab itself, 'cause that's dead easy to me. Thanks. Regards, JAson On Mon, 2009-07-13 at 10:05 -0700, JohnMc

[web2py:26445] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
On Mon, Jul 13, 2009 at 11:25 AM, mdipierro mdipie...@cs.depaul.edu wrote: Functionally you can achieve the same, as you know, with FORM( DIV( INPUT(_type='submit') , _class='test'), _action='',_method='post') Syntactically I do not think it is possible to implement

[web2py:26446] Re: 3 Suggestions and a Question

2009-07-13 Thread Bottiger
I have done benchmarks on the single process multithread flup that is currently in web2py. It is slower when you have more than 1 processor. Also do you have a timeline on the new DAL? I may be interested in helping. On Jul 13, 8:39 am, mdipierro mdipie...@cs.depaul.edu wrote: No. The DAL is

[web2py:26447] Re: Is this correct?

2009-07-13 Thread Hans Donner
you can always use a statement like that below the table. And you list also PostgreSQL with Jython+zxJDBC JDBC is also a driver like ODBC. On Mon, Jul 13, 2009 at 8:40 PM, mdipierromdipie...@cs.depaul.edu wrote: Listing ODBC is misleading because it is an a driver protocol, not a SQL dialect.

[web2py:26448] Re: task forces

2009-07-13 Thread Yarko Tymciurak
On Mon, Jul 13, 2009 at 4:46 AM, Matt van Gerwen matt.van.ger...@gmail.comwrote: Dear Massimo, First of all. I like to thank Massimo and developers for doing a great job. I'm still looking forward that i will finish my web2py apps. You all are putting an huge amount of energy into web2py.

[web2py:26449] Re: Reporting tool in the works for web2py

2009-07-13 Thread mdipierro
keep us posted On Jul 13, 1:05 pm, Jason Brower encomp...@gmail.com wrote: I may be a newb at this web2py but I wanted to tell you I am working at my job to create a reporting tool with reportlab, inkscape, web2py, python etc... should be fun... the only thing I can't do is support foriegn

[web2py:26450] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
On Mon, Jul 13, 2009 at 1:52 PM, Yarko Tymciurak yark...@gmail.com wrote: On Mon, Jul 13, 2009 at 11:25 AM, mdipierro mdipie...@cs.depaul.eduwrote: Functionally you can achieve the same, as you know, with FORM( DIV( INPUT(_type='submit') , _class='test'),

[web2py:26451] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread mdipierro
interesting. On Jul 13, 1:52 pm, Yarko Tymciurak yark...@gmail.com wrote: On Mon, Jul 13, 2009 at 11:25 AM, mdipierro mdipie...@cs.depaul.edu wrote: Functionally you can achieve the same, as you know, with FORM( DIV( INPUT(_type='submit') , _class='test'),

[web2py:26452] Good IDE in OS X to learn Python

2009-07-13 Thread Markus
Hello Can you recommend a good IDE in OS X to learn Python? Also please recommend a good online python tutorial, with examples. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To

[web2py:26454] Re: Good IDE in OS X to learn Python

2009-07-13 Thread Yarko Tymciurak
I hope people are not tired of my enthusiasm (and also hope everyone realizes how _genuine_ it is!): I swear there is nothing I have found better for either learning, developing, advanced debugging Python than WingIDE. There is a generous 30 day eval (that is, it is closer to something like 30

[web2py:26455] Re: error with web2py + cherokee + fcgihandler

2009-07-13 Thread Jose
On 9 jul, 19:05, Jose jjac...@gmail.com wrote: Hello I have running in a satisfactory way and for a time a server with web2py +cherokeeon FreeBSD. Today I installed a similar environment in my notebook, but the following mistake takes is produced: WARNING:root:WEB2PY CRON: cron.master

[web2py:26456] Re: Good IDE in OS X to learn Python

2009-07-13 Thread Yarko Tymciurak
BTW - I've been using the WingIDE 3.2 Beta since PyCon (in March) on several operating systems (windows, several different Linices); you could simply start with that: http://wingware.com/wingide/beta On Mon, Jul 13, 2009 at 4:54 PM, Yarko Tymciurak yark...@gmail.com wrote: I hope people are

[web2py:26457] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Joe Barnhart
I see no benefit to using PEP343 just to provide syntactic sugar for this purpose. There is no REASON to use the with statement because we're not doing anything with exception handling here. It's only being used to create an input format that looks prettier to some eyes. Am I missing

[web2py:26458] Re: Good IDE in OS X to learn Python

2009-07-13 Thread Joe Barnhart
I agree it looks cool. But the pricing model has put it out of reach for me. I develop sometimes on my Mac, sometimes on a Windoze PC and deploy on Linux. I have to buy WingIDE three times under their model! (Although I do get some discount for buying all three platforms, it's not enough.) I

[web2py:26459] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread mdipierro
I agree with Joe. It require making object context dependent whoch would make things unnecessarily more complex and slower. On Jul 13, 6:42 pm, Joe Barnhart joe.barnh...@gmail.com wrote: I see no benefit to using PEP343 just to provide syntactic sugar for this purpose.  There is no REASON to

[web2py:26460] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
On Mon, Jul 13, 2009 at 6:42 PM, Joe Barnhart joe.barnh...@gmail.comwrote: I see no benefit to using PEP343 just to provide syntactic sugar for this purpose. There is no REASON to use the with statement because we're not doing anything with exception handling here. It's only being used to

[web2py:26461] Re: Good IDE in OS X to learn Python

2009-07-13 Thread mdipierro
I never needed anything more than emacs. But wingIDE looks cool. You may also want to look into Ulipad. There is a web2py plugin. The author has also contributed to web2py. Massimo On Jul 13, 6:47 pm, Joe Barnhart joe.barnh...@gmail.com wrote: I agree it looks cool.  But the pricing model has

[web2py:26462] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
I think you are both missing important point: classes which support context would be able to be used in with contexts; Nothing would be more complex or slower - you'd only use it to make things cleaner (move code into class _enter_() and _exit_() methods, which would only get called (I presume)

[web2py:26463] Re: Good IDE in OS X to learn Python

2009-07-13 Thread Yarko Tymciurak
On Mon, Jul 13, 2009 at 6:47 PM, Joe Barnhart joe.barnh...@gmail.comwrote: I agree it looks cool. But the pricing model has put it out of reach for me. I develop sometimes on my Mac, sometimes on a Windoze PC and deploy on Linux. I have to buy WingIDE three times under their model!

[web2py:26464] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread mdipierro
I repeat. I do not see how it would be possible to implement the proposed syntax without major changes in the definition of the helpers and that would be slow when compared with the current implementation. Perhaps I am wrong. Whether or not this is a good idea, if I am wrong, I would like to see

[web2py:26465] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
Re: Proposed syntax - I might agree; it is just a request for syntax (I to don't see the motivation, other than - as Joe says - sytactic sugar;) Re: with statement - I think it has uses, and I can see immediately one place I would put it in, and could probably find a few more places where it

[web2py:26466] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread mdipierro
Say I do with a: b() Perhaps I am mistaken but I do not see a way for b to refer to a. Say a contains a counter. I would like b() to increment that counter. How do I do it without explicitly passing a to b? Massimo On Jul 13, 7:24 pm, Yarko Tymciurak yark...@gmail.com wrote: Re: Proposed

[web2py:26467] Re: Good IDE in OS X to learn Python

2009-07-13 Thread Markus
Thanks a lot everyone. I downloaded wing ide 101 Its free and it says for students :) On Jul 13, 8:14 pm, Yarko Tymciurak yark...@gmail.com wrote: On Mon, Jul 13, 2009 at 6:47 PM, Joe Barnhart joe.barnh...@gmail.comwrote: I agree it looks cool.  But the pricing model has put it out of

[web2py:26468] Re: Is this correct?

2009-07-13 Thread mdipierro
Yes but I am already listing MSSQL support. That is via ODBC. Massimo On Jul 13, 2:09 pm, Hans Donner hans.don...@pobox.com wrote: you can always use a statement like that below the table. And you list also PostgreSQL with Jython+zxJDBC JDBC is also a driver like ODBC. On Mon, Jul 13, 2009

[web2py:26469] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
If you want to setup / tear-down, use with; so, if a is an instance of a class, Aclass: with Aclass() as a: b(a) a.member_b() # now Aclass object is freed, and any cleanup or passed on exceptions which were raised and not handled are here. On Mon, Jul 13, 2009 at 7:36 PM, mdipierro

[web2py:26470] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread Yarko Tymciurak
the advantage with this, of course, is that setup, teardown, and standard responses to / recovery from exceptions is encapsulated in one place. On Mon, Jul 13, 2009 at 7:51 PM, Yarko Tymciurak yark...@gmail.com wrote: If you want to setup / tear-down, use with; so, if a is an instance of a

[web2py:26471] Re: Good IDE in OS X to learn Python

2009-07-13 Thread gluegl
The very best are CODA and TextMate G On Jul 13, 4:44 pm, Markus prakash...@gmail.com wrote: Hello Can you recommend a good IDE in OS X to learn Python? Also please recommend a good online python tutorial, with examples. Thanks --~--~-~--~~~---~--~~ You

[web2py:26472] Re: Good IDE in OS X to learn Python

2009-07-13 Thread gluegl
My previous comment was related to Python editors.. I personally use APTANA with PyDev Best, -E --~--~-~--~~~---~--~~ 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:26473] Re: report bug, maybe

2009-07-13 Thread zhang zheng
URL:http://127.0.0.1:8000/auth/appadmin/select/db?query=db.auth_user.id0 auth_user.id auth_user.password 3 25ed1bcb423b0... but URL:http://127.0.0.1:8000/auth/appadmin/update/db/auth_user/3 Id:3 First Name:zz Last Name:

[web2py:26474] Re: Idea for HTML helpers and the 'with' statement

2009-07-13 Thread mr.freeze
I agree that it should not be pursued if it is complicated, slow or the encapsulated error handling provides no benefit. But I am glad that I taught you a new Python keyword :) On Jul 13, 7:15 pm, mdipierro mdipie...@cs.depaul.edu wrote: I repeat. I do not see how it would be possible to

[web2py:26475] Re: Good IDE in OS X to learn Python

2009-07-13 Thread Yarko Tymciurak
Oh! Yes - don't forget Aptana for js completions (I should use that more...) On Mon, Jul 13, 2009 at 9:45 PM, gluegl edpime...@gmail.com wrote: My previous comment was related to Python editors.. I personally use APTANA with PyDev Best, -E

[web2py:26476] Re: report bug, maybe

2009-07-13 Thread mdipierro
I cannot reproduce this. Which web2py version? Do you have a custom user_table? Can you use appadmin and check what is in the password field before and after email verification? Is anybody else having or not having problems with it? Massimo On Jul 13, 10:08 pm, zhang zheng zzgigi2...@gmail.com

[web2py:26477] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread ont.rif
No, use_unicode affect only output of MySQLdb. I found problem: On my hosting with CentOS 5.2 file /usr/lib/python2.4/site-packages/MySQLdb/cursors.py contains this code: - from types import ListType, TupleType from

[web2py:26478] Re: Possible bug in sql.py [python 2.4]

2009-07-13 Thread mdipierro
Thanks for letting us know. Other users may have the problem. Massimo On Jul 13, 10:42 pm, ont.rif ont@gmail.com wrote: No, use_unicode affect only output of MySQLdb. I found problem: On my hosting with CentOS 5.2 file /usr/lib/python2.4/site-packages/MySQLdb/cursors.py contains this

[web2py:26479] Re: Good IDE in OS X to learn Python

2009-07-13 Thread waTR
Eclipse + PyDev FTW! On Jul 13, 8:21 pm, Yarko Tymciurak yark...@gmail.com wrote: Oh! Yes - don't forget Aptana for js completions  (I should use that more...) On Mon, Jul 13, 2009 at 9:45 PM, gluegl edpime...@gmail.com wrote: My previous comment was related to Python editors..

[web2py:26480] Re: report bug, maybe

2009-07-13 Thread zhang zheng
I don't custom the user_table, I use version 1.65.3 now , I don't use email verification when I registered, if I change the First name in appadmin , the passwd was set to blank, the apparent reason is the password field display as blank 2009/7/14 mdipierro mdipie...@cs.depaul.edu I