A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/oracle/python-oracledb/issues/119 below:

object of type 'bool' has no len()] · Issue #119 · oracle/python-oracledb · GitHub

Hi, when calling function:

some_out_var = cur.var(str)
result = cur.callfunc('some_test_func',
                                  bool,
                                  ['param1', False, some_out_var])

there is error:

Traceback (most recent call last):
File "/home/r432107/myenv38/lib64/python3.8/site-packages/oracledb/cursor.py", line 261, in callfunc
self._call(name, parameters, keyword_parameters, var)
File "/home/r432107/myenv38/lib64/python3.8/site-packages/oracledb/cursor.py", line 116, in _call
self.execute(statement, bind_values)
File "/home/r432107/myenv38/lib64/python3.8/site-packages/oracledb/cursor.py", line 378, in execute
impl.execute(self)
File "src/oracledb/impl/thin/cursor.pyx", line 133, in oracledb.thin_impl.ThinCursorImpl.execute
File "src/oracledb/impl/thin/protocol.pyx", line 383, in oracledb.thin_impl.Protocol._process_single_message
File "src/oracledb/impl/thin/protocol.pyx", line 384, in oracledb.thin_impl.Protocol._process_single_message
File "src/oracledb/impl/thin/protocol.pyx", line 344, in oracledb.thin_impl.Protocol._process_message
File "src/oracledb/impl/thin/protocol.pyx", line 323, in oracledb.thin_impl.Protocol._process_message
File "src/oracledb/impl/thin/messages.pyx", line 282, in oracledb.thin_impl.Message.process
File "src/oracledb/impl/thin/messages.pyx", line 818, in oracledb.thin_impl.MessageWithData._process_message
File "src/oracledb/impl/thin/messages.pyx", line 898, in oracledb.thin_impl.MessageWithData._process_row_data
File "src/oracledb/impl/thin/messages.pyx", line 622, in oracledb.thin_impl.MessageWithData._process_column_data
TypeError: object of type 'bool' has no len()

using oracledb 1.2.1


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4