Hi!

A PyDS user reported the following problem with Metakit 2.4.9.3. Any ideas on what might go wrong?

bye, Georg

Von: Yasushi Iwata <[EMAIL PROTECTED]>
Datum: Di, 20. Apr 2004 05:08:51 Europe/Berlin
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: [PyCS-devel] Re: [Pyds-users] Maybe problems with Metakit 2.4.9.3


Hi,

I found this code causes segmentation fault with Metakit 2.4.9.3. But
no problem with 2.4.9.2.

--
import metakit

db = metakit.storage('foo.dat', 1)

comments = db.getas(
'comments[user:S, paragraph:S, link:S, notes[name:S, email:S, url:S, comment:S, date:S]]').ordered( 2 )


user = '0000001'
paragraph = 'P1'
link = 'http://foobar.com/weblog/2004/04/20.html#P1'

print 'Now, appending...'
comments.append({
    'user': user,
    'paragraph': paragraph,
    'link': link,
    'notes': metakit.view()
    })
print 'Appended.'
db.commit()
print 'committed.'


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

Reply via email to