Subject | Re: Jsonify |
---|---|
Author | Philippe Makowski |
Post date | 2012-05-09T12:52:57Z |
philippe makowski [2012-05-08 15:05] :
> Philippe Makowski [2012-05-07 11:47] :committed in svn
>> nxciro [2012-05-04 14:35] :
>>> Following code works fine with kinterbasdb but
>>> fails with fdb :
>>>
>>> File "jsonify-firebird.py", line 22, in <module>
>>> cols = [x[0] for x in cur.description]
>>> TypeError: 'NoneType' object is not iterable
>>>
>> will check
>
> seems that in fbcore.py in PreparedStatement __get_description, line
> 1338, instead of
>
> if self.__executed and (self.out_sqlda.sqld > 0):
>
> we need to put :
>
> if self.__prepared and (self.out_sqlda.sqld > 0):
>