Comments (3)
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.
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.
Released in version 2.3.0
from mongotail.
Related Issues (20)
- `Mongotail EXCEPTION - Unknown command operation` when list collection indexes HOT 2
- Doesn't show sort properties HOT 3
- mongotail just closes HOT 12
- CPU runaway using `-f` option HOT 10
- ImportError: cannot import name string_type HOT 2
- list query log don't show HOT 2
- `mongotail [db] --follow` exits after 1 second HOT 7
- No support of bytes/binary data coming from MongDB HOT 7
- Mongotail EXCEPTION - Unknown registry HOT 8
- Error: 'utf8' codec can't decode byte 0x80 (binary field) HOT 3
- Supposed to work with Mongo 4.0.1? HOT 1
- Mongotail EXCEPTION - Unknown registry HOT 10
- Cannot get queries to log; only DROP and INSERT show in the log HOT 7
- Replace deprecated API methods from PyMongo
- Crash for queries containing `MaxKey` / `MinKey` HOT 13
- Error parsing command line: Invalid database "portal," HOT 3
- Connection to mongodb atlas not possible HOT 10
- mongotail 3.0.0 not compatible with res-address 2.0.0 HOT 2
- Command values cased as findAndModify or mapReduce cause errors HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongotail.