Code Monkey home page Code Monkey logo

Comments (3)

fiorix avatar fiorix commented on June 25, 2024

I haven't used any of the latest versions so can't comment.

On Jul 26, 2014, at 8:28 AM, Tru Pheenix [email protected] wrote:

When I try to connect to GridFS on 2.6.3, I get an error while creating index on the "fs" collection.

The error is something like this:

pymongo.errors.OperationFailure: not authorized to create index on dbname.fs.chunks

Then I looked up the init.py file for the GridFS object and I found the offending line:
self.__chunks.create_index(filter.sort(ASCENDING("files_id") + ASCENDING("n")),
unique=True)
However it's not clear to me why this happens because finally it's an insert operation that takes place when we create_index. So does this mean that the authentication protocol I pushed earlier is now failing for 2.6.3? This driver works perfectly on 2.4.10

Any responses would be appreciated for those who might have observed similar behavior.


Reply to this email directly or view it on GitHub.

from txmongo.

trupheenix avatar trupheenix commented on June 25, 2024

Seems to be working now. :-| No clue why it wasn't working earlier. I think the upgrade caused an unwanted issue. When I tried running on a fresh installation it worked.

from txmongo.

fiorix avatar fiorix commented on June 25, 2024

Thanks for updating

On Jul 26, 2014, at 1:25 PM, Tru Pheenix [email protected] wrote:

Seems to be working now. :-| No clue why it wasn't working earlier. I think the upgrade caused an unwanted issue. When I tried running on a fresh installation it worked.


Reply to this email directly or view it on GitHub.

from txmongo.

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.