Coder Social home page Coder Social logo

Comments (2)

nicolaisi avatar nicolaisi commented on June 16, 2024
In [19]: db = couchquery.createdb('http://localhost:5984/forms2')
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)

----> 1 db = couchquery.createdb('http://localhost:5984/forms2')

    335         db = Database(arg)
    336     response = db.http.put('')
--> 337     assert response.status == 201
    338     return json.loads(response.body)
    339 

AssertionError: 

When I send the correct credential, then I can successfully create the database.

In [20]: db = couchquery.createdb('http://admin:foobar@localhost:5984/forms2')

It does not seem like the credential went missing.

from couchquery.

nicolaisi avatar nicolaisi commented on June 16, 2024

I don't see any issue here. If the Database is restricted to only verified user, you could not create database without your credential. Maybe helpful to give more information to reproduce this issue.

from couchquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.