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

Python client fails to encode view parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0 Beta
    • 0.8.0
    • library
    • Security Level: Public
    • None

    Description

      http://www.couchbase.com/forums/thread/reporting-issue-python-client-bucket-viewoptions-needs-encode-options

      During querying a view, if the option is not encoded, it generates an error.
      Example:
      bucket.view("_design/beer/_view/by_name", limit=10, key="##")
      The "##" characters generates:
      "invalid UTF-8 JSON: {{error,insufficient_data},"[\"NONE"}"
      The Couchbase Python client code should encode all the params in the client.py: view() method.

      Please follow up with the user who posted the issue on the forums once this issue is resolved.

      Attachments

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

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            mikew Mike Wiederhold [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