Giter VIP home page Giter VIP logo

Comments (3)

mrsarm avatar mrsarm commented on September 22, 2024

Hi,

Thanks for reporting the error. Actually, I didn't know about this type, now I see in the documentation a reference about it: https://docs.mongodb.com/manual/reference/bson-types/#timestamps

I'm working in my spare time in a new release of MongoDB with a few changes, so I'll add support for this object type too.

Meanwhile you can execute mongotail with the -v option, it's not ideal, but it allows to print the logs without the formatting that it's causing the error, should work, let me know if not.

from mongotail.

mrsarm avatar mrsarm commented on September 22, 2024

Hey @maitscha ,

I made the patch to add support to the Timestamp type, but I didn't released a new version yet because I going to add one more change these days. Could you try the master version?

First remove the installed version with:

$ sudo pip uninstall mongotail

But then I recommend you to install it with Python 3 instead of Python 2 (you need pip3):

$ sudo pip3 install https://github.com/mrsarm/mongotail/archive/master.zip

If you don't have Python3 nor pip3, just change the pip3 command by pip (Python 2). I have to add the Python 3 recommendation in the README file, the serialization for some types works best in Python 3.

from mongotail.

mrsarm avatar mrsarm commented on September 22, 2024

Released in version 2.3.0

from mongotail.

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.