[PyCS-devel] Re: Maybe problems with Metakit 2.4.9.3
Status: Alpha
Brought to you by:
myelin
|
From: Yasushi I. <ya...@lo...> - 2004-04-21 03:02:24
|
Hi,
On Tue, 20 Apr 2004 19:29:38 +0200 you wrote:
> A possible reason for the segfaults. Are there any blanks in the getas
> in the PyCS source? I am currently not near my source code.
I checked the PyCS source. There's no blanks in the getas. But PyCS
causes segmentation fault when I add a comment.
Blanks in the getas is a reason for the segfaults, but there must be
some other reason that I still haven't found.
pycs_settings.py:
132 def getCommentTable(self):
133 return self.db.getas(
134 'comments[user:S,paragraph:S,link:S,notes[name:S,email:S,url:S,comment:S,date:S]]'
135 ).ordered( 2 )
modules/system/comments.py:
273 # Make a row in 'comments' for this paragraph
274 commentTable.append( {
275 'user': formatter.u,
276 'paragraph': formatter.p,
277 'link': form.get('link',''),
278 'notes': notes,
279 } )
|