Uploaded image for project: 'CUBRID APIs'
  1. CUBRID APIs
  2. APIS-426

[Python] The unicode keyword isn't supported in cursor() when using Python-3.x

    Details

      Description

      Run test case: test_CUBRIDdb.py

      Traceback (most recent call last):
      File "test_CUBRIDdb.py", line 231, in test_execute
      self._paraminsert(cur)
      File "test_CUBRIDdb.py", line 245, in _paraminsert
      ("Cooper's",)
      File "/home/hudson/apps/Python-3.0.1/lib/python3.0/site-packages/CUBRIDdb/cursors.py", line 63, in execute
      self._bind_params(args)
      File "/home/hudson/apps/Python-3.0.1/lib/python3.0/site-packages/CUBRIDdb/cursors.py", line 44, in _bind_params
      elif isinstance(args[i], unicode):
      NameError: global name 'unicode' is not defined

        Activity

        Hide
        jinhu 李金虎 added a comment -

        Fixed in RB-8.4.3. Revision: 1308
        Fixed in RB-8.4.1. Revision: 1309
        Fixed in RB-8.4.4. Revision: 1310
        Fixed in trunk. Revision: 1311

        Resolved.

        Show
        jinhu 李金虎 added a comment - Fixed in RB-8.4.3. Revision: 1308 Fixed in RB-8.4.1. Revision: 1309 Fixed in RB-8.4.4. Revision: 1310 Fixed in trunk. Revision: 1311 Resolved.
        Hide
        cn14130 欧明宝[Bom Owen] added a comment -

        Test Build: 9.1.0.0204
        Test OS: Windows and Linux
        python driver: 9.1.0.0001
        Test Result: pass
        RB-8.4.1, RB-8.4.3 will be validated by daily qa test

        Show
        cn14130 欧明宝[Bom Owen] added a comment - Test Build: 9.1.0.0204 Test OS: Windows and Linux python driver: 9.1.0.0001 Test Result: pass RB-8.4.1, RB-8.4.3 will be validated by daily qa test

          People

          • Assignee:
            jinhu 李金虎
            Reporter:
            jinhu 李金虎
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: