Oleg Broytmann | 1 Dec 14:47 2008
X-Face
Picon

SQLObject 0.9.8

Hello!

I'm pleased to announce version 0.9.8, a minor bug fix release of SQLObject.

What is SQLObject
=================

SQLObject is an object-relational mapper.  Your database tables are described
as classes, and rows are instances of those classes.  SQLObject is meant to be
easy to use and quick to get started with.

SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite,
Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB).

Where is SQLObject
==================

Site:
http://sqlobject.org

Development:
http://sqlobject.org/devel/

Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss

Archives:
http://news.gmane.org/gmane.comp.python.sqlobject

Download:
(Continue reading)

Oleg Broytmann | 1 Dec 14:49 2008
X-Face
Picon

SQLObject 0.10.3

Hello!

I'm pleased to announce version 0.10.3, a minor bugfix release of 0.10 branch
of SQLObject.

What is SQLObject
=================

SQLObject is an object-relational mapper.  Your database tables are described
as classes, and rows are instances of those classes.  SQLObject is meant to be
easy to use and quick to get started with.

SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite,
Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB).

Where is SQLObject
==================

Site:
http://sqlobject.org

Development:
http://sqlobject.org/devel/

Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss

Archives:
http://news.gmane.org/gmane.comp.python.sqlobject

(Continue reading)

Dan Pascu | 1 Dec 15:55 2008

Re: SQLObject 0.10.3

On Monday 01 December 2008, Oleg Broytmann wrote:
> Hello!
>
> I'm pleased to announce version 0.10.3, a minor bugfix release of 0.10
> branch of SQLObject.

It would be nice to announce the intention of making a new release on the 
mailing list a few days before actually doing it. I had a pending bugfix 
on my TODO list and if I knew you were about to make a new release I 
would have found some time to commit it.

--

-- 
Dan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Dan Pascu | 1 Dec 16:00 2008

Re: SQLObject 0.10.3

On Monday 01 December 2008, Oleg Broytmann wrote:
> Hello!
>
> I'm pleased to announce version 0.10.3, a minor bugfix release of 0.10
> branch of SQLObject.
> News since 0.10.2
> -----------------
>
> * Changed interpretation of strings in the DB URI for boolean
> parameters: '0', 'no', 'off' and 'false' are now interpreted as False.
>
> * Fixed a bug with incorrect handling of calls like
>   connectionForURI(dburi, cache=False) when dburi already contains some
>   parameters in the URI.
>
> * Convert decimal.to_eng_string() to str to work around a bug in Python
> 2.5.2; see
> http://mail.python.org/pipermail/python-dev/2008-March/078189.html
>
> * Added test_default_style.py.
>
> * Fixed a minor bug in SQLiteConnection that fails to parse Enum
> columns.
>

There was also an important bug fix related to incorrect handling of 
unicode values with StringCol in mysql, but apparently it didn't make it 
to the news file. Maybe generating the news/changelog from the svn 
changelog could ease this process and make it more resilient.

(Continue reading)

Oleg Broytmann | 1 Dec 16:19 2008
X-Face
Picon

Re: SQLObject 0.10.3

On Mon, Dec 01, 2008 at 04:55:53PM +0200, Dan Pascu wrote:
> It would be nice to announce the intention of making a new release on the 
> mailing list a few days before actually doing it. I had a pending bugfix 
> on my TODO list and if I knew you were about to make a new release I 
> would have found some time to commit it.

   No problem, I can release 0.10.4 with just one bugfix.

> There was also an important bug fix related to incorrect handling of 
> unicode values with StringCol in mysql, but apparently it didn't make it 
> to the news file. Maybe generating the news/changelog from the svn 
> changelog could ease this process and make it more resilient.

   Did you update and commit docs/News.txt with the bugfix? News.html is
generated from News.txt.

Oleg.
--

-- 
     Oleg Broytmann            http://phd.pp.ru/            phd <at> phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Dan Pascu | 2 Dec 12:55 2008

Re: SQLObject 0.10.3

On Monday 01 December 2008, Oleg Broytmann wrote:
> On Mon, Dec 01, 2008 at 04:55:53PM +0200, Dan Pascu wrote:
> > It would be nice to announce the intention of making a new release on
> > the mailing list a few days before actually doing it. I had a pending
> > bugfix on my TODO list and if I knew you were about to make a new
> > release I would have found some time to commit it.
>
>    No problem, I can release 0.10.4 with just one bugfix.

Are you saying that you may release 0.10.4 now with only 1 bugfix, or that 
when it will be released a few months later it will be done even if it 
has 1 bugfix?

>
> > There was also an important bug fix related to incorrect handling of
> > unicode values with StringCol in mysql, but apparently it didn't make
> > it to the news file. Maybe generating the news/changelog from the svn
> > changelog could ease this process and make it more resilient.
>
>    Did you update and commit docs/News.txt with the bugfix? News.html
> is generated from News.txt.

No I didn't. But that's my point. I already did input that information 
when I did the svn commit. Why add it twice when the news/changelog can 
be generated from the commitlog.

--

-- 
Dan

-------------------------------------------------------------------------
(Continue reading)

Oleg Broytmann | 2 Dec 13:08 2008
X-Face
Picon

Re: SQLObject 0.10.3

On Tue, Dec 02, 2008 at 01:55:45PM +0200, Dan Pascu wrote:
> On Monday 01 December 2008, Oleg Broytmann wrote:
> > On Mon, Dec 01, 2008 at 04:55:53PM +0200, Dan Pascu wrote:
> > > It would be nice to announce the intention of making a new release on
> > > the mailing list a few days before actually doing it. I had a pending
> > > bugfix on my TODO list and if I knew you were about to make a new
> > > release I would have found some time to commit it.
> >
> >    No problem, I can release 0.10.4 with just one bugfix.
> 
> Are you saying that you may release 0.10.4 now with only 1 bugfix, or that 
> when it will be released a few months later it will be done even if it 
> has 1 bugfix?

   I can do any of this.

> > > There was also an important bug fix related to incorrect handling of
> > > unicode values with StringCol in mysql, but apparently it didn't make
> > > it to the news file. Maybe generating the news/changelog from the svn
> > > changelog could ease this process and make it more resilient.
> >
> >    Did you update and commit docs/News.txt with the bugfix? News.html
> > is generated from News.txt.
> 
> No I didn't. But that's my point. I already did input that information 
> when I did the svn commit. Why add it twice when the news/changelog can 
> be generated from the commitlog.

   Because News.{txt,html} is a human-readable text, it should contain
shortened description of major changes, possibly in a different order. It
(Continue reading)

Dan Pascu | 2 Dec 13:34 2008

Re: SQLObject 0.10.3

On Tuesday 02 December 2008, Markus Gritsch wrote:
> On Tue, Dec 2, 2008 at 12:55 PM, Dan Pascu <dan <at> ag-projects.com> wrote:
> >>    Did you update and commit docs/News.txt with the bugfix?
> >> News.html is generated from News.txt.
> >
> > No I didn't. But that's my point. I already did input that
> > information when I did the svn commit. Why add it twice when the
> > news/changelog can be generated from the commitlog.
>
> Because not every commit message justifies itself as a suitable
> "what's new" section, IMO.

That's fairly easy to automate. You can either:

1. Generate a file from all commit logs and then manually filter out 
what's irrelevant (do this only once before a release).
2. Include a special tag in the commit log to indicate that its relevant 
for a news entry and only include these (again only once before release).

Both can help avoid missing entries, but I think 1st is less error prone.

--

-- 
Dan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)

Oleg Broytmann | 2 Dec 13:57 2008
X-Face
Picon

Re: SQLObject 0.10.3

On Tue, Dec 02, 2008 at 02:34:50PM +0200, Dan Pascu wrote:
> On Tuesday 02 December 2008, Markus Gritsch wrote:
> > On Tue, Dec 2, 2008 at 12:55 PM, Dan Pascu <dan <at> ag-projects.com> wrote:
> > > I already did input that
> > > information when I did the svn commit. Why add it twice when the
> > > news/changelog can be generated from the commitlog.
> >
> > Because not every commit message justifies itself as a suitable
> > "what's new" section, IMO.
> 
> That's fairly easy to automate. You can either:
> 
> 1. Generate a file from all commit logs and then manually filter out 
> what's irrelevant (do this only once before a release).

   IMHO there are problems with this approach:

-- it's too easy to forget to regenerate changelog;
-- too much eye-ball filtering, certainly error-prone;
-- commit messages and News.txt entries could be different - they are
   oriented to different audiences: commit messages are for SQLObject
   developers, News.txt entries are for SQLObject users.

Oleg.
--

-- 
     Oleg Broytmann            http://phd.pp.ru/            phd <at> phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
(Continue reading)

inhahe | 4 Dec 00:47 2008
Picon

weird error/bug?

hello, can someone tell me why i'm getting this error/how to avoid it?

here's my code:

----tablestest.py---
from sqlobject import *
class Houses(SQLObject):
  pass
class Bathrooms(SQLObject):
  house = ForeignKey("Houses")
  index1 = DatabaseIndex(house)

----the file i invoke---
from sqlobject import *
from connectstr import connectstr
connection = connectionForURI(connectstr)
sqlhub.processConnection = connection
import tablestest
for name in dir(tablestest):
  obj = getattr(tablestest, name)
  if hasattr(obj, "createTable"):
    print obj
    obj.createTable()

---the error---
<class 'tablestest.Bathrooms'>
Traceback (most recent call last):
  File "E:\MERCUR~1\maketablestest.py", line 15, in <module>
    obj.createTable()
  File "d:\Python25\lib\site-packages\sqlobject-0.11dev_r3611-py2.5.egg\sqlobject\main.py",
(Continue reading)


Gmane