Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.7
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      any

      Description

      Attempting to set an integer value with the python client will produce:

      TypeError: object of type 'int' has no len()

      We should be getting the object length from the string (unicode?) representation of the object passed into set().

      1. integer.py
        0.2 kB
        Oli Kingshott
      2. added-deliberately-failing-test-for-PYCBC-15.patch
        1 kB
        BigBlueHat
      # Subject Project Status CR V
      For Gerrit Dashboard: &For+PYCBC-15=message:PYCBC-15

        Activity

        Hide
        BigBlueHat Benjamin Young added a comment -

        Failing test submitted to Gerrit: http://review.couchbase.org/#change,14631

        Show
        BigBlueHat Benjamin Young added a comment - Failing test submitted to Gerrit: http://review.couchbase.org/#change,14631
        Hide
        BigBlueHat Benjamin Young added a comment -

        Someone with a deeper understanding of the Memcached protocol should handle this one. Thanks.

        Show
        BigBlueHat Benjamin Young added a comment - Someone with a deeper understanding of the Memcached protocol should handle this one. Thanks.
        Hide
        BigBlueHat Benjamin Young added a comment -

        Formalized simpletest.py addition as a patch for this case.

        Show
        BigBlueHat Benjamin Young added a comment - Formalized simpletest.py addition as a patch for this case.
        Show
        BigBlueHat Benjamin Young added a comment - Failing test case also added here: https://github.com/BigBlueHat/couchbase-python-client/commit/668c8a85d74005a3780573ab4685b5c4df49381e
        Show
        BigBlueHat Benjamin Young added a comment - http://review.couchbase.org/#change,18357

          People

          • Assignee:
            BigBlueHat Benjamin Young
            Reporter:
            oliland Oli Kingshott
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes