Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

I think I've seen this ORM somewhere before...

Ticket #88 (defect)

Opened 6 years ago

Last modified 6 years ago

NameError in StorageManagerSQLite._join

Status: closed (fixed)

Reported by: mike@vee.net Assigned to: fumanchu
Priority: minor Milestone: 1.5
Component: Storage Keywords:
Cc: Estimate (total hours):

Here's an example:

  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/arenas.py", line 583, in unit
    return self.xrecall(cls, expr, inherit, **kwargs).next()
  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/arenas.py", line 390, in xrecall
    for unitrow in self._xmulti(classes, expr, **kwargs):
  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/arenas.py", line 551, in _xmulti
    for unitset in firststore.multirecall(classes, expr):
  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/storage/db.py", line 485, in multirecall
    sql, imp, supplied_cols = self.multiselect(classes, expr)
  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/storage/db.py", line 452, in multiselect
    joins = self.join(classes)
  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/storage/storesqlite.py", line 864, in join
    joins, on_clauses = self._join(unitjoin)
  File "/home/mjg/data/projects/quuxo.com/hostnouveau/dejavu/storage/storesqlite.py", line 848, in _join
    raise AssociationError("No association found between %s and %s."
NameError: global name 'AssociationError' is not defined

Attachments

dejavu-name-error-fix.patch (0.7 kB) - added by mike@vee,.net on 02/08/07 00:54:48.
patch to fix th eproblem

Change History

02/08/07 00:54:48: Modified by mike@vee,.net

  • attachment dejavu-name-error-fix.patch added.

patch to fix th eproblem

02/08/07 07:51:05: Modified by fumanchu

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [409]. I also made a new "1.5" branch so you can keep up with 1.5 fixes without risking on trunk.