I am trying to do a simple listing of a hasged view and get the following error:
SystemError: NULL result without error in PyObject_Call
The code itself is very very simple
import metakit db=metakit.storage("db/linelists"+"09_11_2003"+".mk",1) vw=db.getas("linelists[mid:S,field:S]") m=db.getas('map[_H:I,_R:I]') vwh=vw.hash(m,16)
This doesn't look right - 16 keys? There are only two properties. Should probably be:
vwh=vw.hash(m,16)
rows=[] for r in vwh: rows.append((r.mid,r.field))
db=None print rows
What could cause such and error? this code actually resides in a much more complex class but that is the gist of it. Could something else be causing this to occur?
If this is the problem, then it's a bug in that MK does not catch the bad args.
-jcw
_____________________________________________ Metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
