Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Reporting an issue in Python client - bucket.view(options) needs to encode the options.

1 reply [Last post]
  • Login or register to post comments
Mon, 02/04/2013 - 18:02
wave
Offline
Joined: 01/30/2013
Groups: None

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.

Top
  • Login or register to post comments
Sat, 02/09/2013 - 19:22
mikew
Offline
Joined: 03/14/2011
Groups:

Thanks for reporting this. I have filed an issue which is linked below. Also feel free to file issues at http://www.couchbase.com/issues if you find any other problems.

http://www.couchbase.com/issues/browse/PYCBC-83

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker