Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemError: Negative size passed to PyString_FromStringAndSize #38

Open
kartrocket opened this issue Mar 20, 2016 · 0 comments
Open

SystemError: Negative size passed to PyString_FromStringAndSize #38

kartrocket opened this issue Mar 20, 2016 · 0 comments

Comments

@kartrocket
Copy link

Bot the commands:

  1. dex -f /XXX/XXX/mongodb/var/log/mongodb/mongod.log mongodb://root:XXXXXXXXXXXXXX@XXX.XXX.XXX.XXX:27017/databaseName

  2. dex -f /mnt/pb1d1p1/mongodb/var/log/mongodb/mongod.log

yield:

Traceback (most recent call last):
File "/usr/local/bin/dex", line 233, in
main(sys.argv[1:])
File "/usr/local/bin/dex", line 218, in main
return md.analyze_logfile(options.logfile_path)
File "/usr/local/lib/python2.7/dist-packages/dex/dex.py", line 212, in analyze_logfile
self.analyze_logfile_object(file)
File "/usr/local/lib/python2.7/dist-packages/dex/dex.py", line 230, in analyze_logfile_object
for line in file_object:
SystemError: Negative size passed to PyString_FromStringAndSize

How do I fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant