Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

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

Ticket #71 (defect)

Opened 7 years ago

Last modified 6 years ago

"unsubscriptable object" error in Graph.shortest_path

Status: closed (fixed)

Reported by: fumanchu Assigned to: fumanchu
Priority: major Milestone: 1.5
Component: Misc Keywords:
Cc: Estimate (total hours): 1
  File "C:\Python24\Lib\site-packages\dejavu\engines.py", line 344, in take_snapshot
    snap = RuleProcessor(self.sandbox).process(allrules, args)
  File "C:\Python24\Lib\site-packages\dejavu\engines.py", line 414, in process
    func(final, rule.Operand)
  File "C:\Python24\Lib\site-packages\dejavu\engines.py", line 558, in visit_TRANSFORM
    nodes = self.arena.associations.shortest_path(start, end)
  File "C:\Python24\lib\site-packages\dejavu\containers.py", line 141, in shortest_path
    return self._cached_paths[key][:]
TypeError: unsubscriptable object

self._cached_paths[key] is probably None.

Change History

12/25/06 15:54:39: Modified by fumanchu

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

Fixed in [363].