Meteserve

David Detlefsen <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <BE017F2B.51DB%[email protected]>
Not sure if this is the right place but I'm having trouble using Brian
Kelly's Metaserv (his mit email bounces).

I've got Metakit and I can do the the "Getting Started" stuff at
http://www.equi4.com/metakit/python.html with my metakit installation using
local calls.  I've create the 'big shoe people' db as listed there.

However, using Metaserve, I'm having trouble making a call to sort the db

For example:

This call works:  for r in vw: print r.first, r.last, r.shoesize

But this doesn't:  r in vw.sort(vw.last): print r.first, r.last, r.shoesize

Giving me the following client error:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/Users/detlefsend/Desktop/metaserve/client.py", line 132, in sort
    def sort(self, props): return self.domethod("sort", [props])
  File "/Users/detlefsend/Desktop/metaserve/client.py", line 19, in domethod
    return self._unwrap()
  File "/Users/detlefsend/Desktop/metaserve/client.py", line 59, in _unwrap
    raise data
TypeError: iteration over non-sequence

I've looked at test.py for Metaserve for clues but didn't see anything that
would help me.

Any help/suggestions you could provide would be greatly appreciated.

Thanks
Dave Detlefsen


_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.