Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-3

decr() function fails gracelessly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None
    • Security Level: Public
    • None
    • OSX 10.6, Python 2.6
    • Impediment

    Description

      While learning more about the functions in the vbucketawareclient I tried .decr() with minimal parameters. I lost control of my Python session as it didn't really fail gracefully. I wasn't really trying to make it work, but think this is broken and really hard to test further because of this tie-up.

      Test script:

      from couchbase.couchbaseclient import VBucketAwareCouchbaseClient as client
      server = "http://localhost:8091/pools/default"
      v = client(server,"default","")

      1. returns 11210
        v.set("TESTKEY",0,0,"TESTVALUE")
      2. returns (4020540899, 602, '')
        v.decr("TESTKEY",1)
        #[2011-08-11 16:51:52,415] - [couchbaseclient] [4320661504] - ERROR - 'amount'
        #[2011-08-11 16:51:52,627] - [couchbaseclient] [4320661504] - ERROR - 'amount'
        #[2011-08-11 16:51:52,827] - [couchbaseclient] [4320661504] - ERROR - 'amount'
        #.. never ends

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            keith Keith Batten (Inactive)
            spatialguru Tyler Mitchell [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty