Hi!

I am fiddeling around with blocked/ordered views in metakit with python. I do the following interactively:

[murphy:~] gb% python
Python 2.2.2 (#2, Jan 10 2003, 18:01:54)
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import metakit
>>> metakit.version
'2.4.9.2'
>>> db = metakit.storage('db.mk', 1)
>>> words = db.getas('_B[liste[key:S,value:S]]').blocked().ordered(1)
>>> words.append(key='gb', value='Georg')
Bus error

What is wrong with this? I thought this should create a blocked view with ordering by key. But it segfaults. Any pointers? I found a similar report from Januar by somebody else, but no reply to that problem. So maybe it's already known or I am doing something wrong, but I can't see what exactly.

The problem with the blocked view stuff is, it is a bit terse in the documentation. A short example how to actually use it would help.

bye, Georg (who otherwise really likes metakit - it's just that I will need to manage very large tables in future projects and would like to use ordered blocked views for that, as it seems to be the way to go for big tables)

_______________________________________________
metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to