Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

Database Stats Command - 'DB' object has no attribute 'stats' #6

Open
uBadRequest opened this issue Jul 27, 2021 · 0 comments
Open

Comments

@uBadRequest
Copy link

uBadRequest commented Jul 27, 2021

Hey,
Cool project! I've decided to finally find something to manage all the leaks I report on and figured i'd give this a shot.

Any idea why the database stats command wouldn't be working?

credshed on  mongo-sharded-v2 [!?] via 🐍 v3.9.2 took 15s
❯ ./credshed-cli.py -db
[!!!] Traceback (most recent call last):
  File "/home/nitro/.local/share/credshed/./credshed-cli.py", line 351, in main
    credshed.db_stats()
  File "/home/nitro/.local/share/credshed/./credshed-cli.py", line 113, in db_stats
    print(super().db_stats())
  File "/home/nitro/.local/share/credshed/lib/credshed.py", line 58, in db_stats
    return self.db.stats(accounts=True, sources=True, db=True)
AttributeError: 'DB' object has no attribute 'stats'

Shards will sporadically crash on me, not too sure if you have ventured into using docker on windows with WSL2 as the backend, but wonder if that could have anything to do with it.

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

No branches or pull requests

1 participant