[orm-devel] Re: ORM 0.6 !
Diedrich Vorberg
diedrich@tux4web.de
Thu, 21 Nov 2002 13:51:38 +0100
Hi Mike,
thanks for pointing this out, it seems I didn't do enough testing
that night. I uploaded a new version of orm that should fix this
problem:
><pre>Traceback (most recent call last):
> File "session.py", line 229, in ?
> result.is_email_valid = True
> File "C:\Python22\lib\site-packages\orm\dbclass.py", line 188, in
>__setattr__
> self._data[name].set(value)
> File "C:\Python22\lib\site-packages\orm\columns.py", line 173, in set
> self._dbObj.ds().update(self._dbObj, self._columnName, fmt)
> File "C:\Python22\lib\site-packages\orm\datasource.py", line 405, in update
> changes.append((column, value))
>UnboundLocalError: local variable 'changes' referenced before assignment
></pre>
>Exit code: 1 , 0001h
You indicated this message would appear several hundred times. Is
this because you do that many updates or because some kind of loop
situation within orm?
Diedrich
(The weather here was wet and unfriendly-like last night. It's dry
now, but no fun, really :-)
--
_..._ Diedrich Vorberg
.' '.
/ _ _ \ http://www.tux4web.de
| (o)_(o) | info@tux4web.de
\( ) / .---.
//'._.'\ \ / \ Internet Dienstleistungen
// . \ \ \.@-@./ und 'Consulting'.
|| . \ \ /`\_/`\
|\ : / | // _ \\ Linux Rules!
\ `) ' (` /_ | \ )|_
_)``".____,.'"` (_ /`\_`> <_/ \
) )'--'( ( \__/'---'\__/
'---` `---`