Updating to 1.90.2 fixed all the mysql problems I listed and all my
apps are working again.

Thanks alot - Tom



On Dec 18, 7:13 pm, tomt <tom_tren...@yahoo.com> wrote:
> I upgraded to Version 1.90.1 and all of my applications that use mysql
> stopped working. The traceback shows:
>
> Traceback (most recent call last):
>   File "/home/xa21/workspace/webpy4/gluon/restricted.py", line 188, in
> restricted
>     exec ccode in environment
>   File "/home/xa21/workspace/webpy4/applications/myimages/models/
> db.py", line 15, in <module>
>     db = DAL('mysql://myimages:myima...@localhost/myimages')       #
> if not, use SQLite or other DB
>   File "/home/xa21/workspace/webpy4/gluon/dal.py", line 3237, in
> __init__
>     raise RuntimeError, "Failure to connect, tried 5 times:\n%s" %
> error
> RuntimeError: Failure to connect, tried 5 times:
> No module named ssl
>
> - startup shows:
> Version 1.90.1 (2010-12-18 19:40:48)
> Database drivers available: pysqlite2, pymysql
> - earlier version showed:
> Version 1.89.5 (2010-11-21 22:12:54)
> Database drivers available: pysqlite2, MySQL
>
> Do I need to install a new module to correct this problem or can I
> correct this with a modification to my database connection string?
>
> - Tom
>
> On Dec 18, 1:38 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > This is a major - major release mostly because it includes the new
> > DAL.
>
> > It is supposed to be 100% backward compatible but cleaner, and more
> > readable. We have fixed every known issue.  If 1.90.1 breaks you DAL
> > queries, please report it asap so that it can be addressed sooner.
>
> > It also includes a lot of new features as described below.
>
> > Changelog 1.90.1:
>
> > - new DAL (complete rewrite of the web2py DAL is more modular)
> > - rewrite has fail safe reload, thanks Jonathan
> > - better CAS with v2 support, thanks Olivier ROCH VILATO
> > - better markmin2latex
> > - session.connect(separate=True) to handle many session files, 
> > thanksVersion 1.89.5 supports pysqlite2, MySQL
> > huaiyu wang
> > - changed bahvior of impersonate (more secure, can generate form or
> > used as API)
> > - new rocket, thanks Tim
> > - new pyfpdf
> > - no more old style classes (we did some cleanup in the past sbut we
> > had missed a few).
> > - experimental couchdb support in new dal (only insert, select, update
> > by id)
> > - mysql support out of the box via pymysql
> > - SQLITABLE(...,headers='labels') thanks Bruno
> > - optional: digitally signed URLs, thanks Brian Meredyk
> > - minor bug fixes
>
>

Reply via email to