Giter Club home page Giter Club logo

Comments (2)

LandGrey avatar LandGrey commented on May 30, 2024

Hello! When I run the uniqifer tool with the --repeat function using Python3, like this:

python3 pydictor.py -tool uniqifer ~/rockyou_clean.txt --repeat "<=3" ">=3" "==0" -o ~/uniq.txt

Then an error occurs:

[-] Exception as following:
Traceback (most recent call last):
File "/home/mial/bin/pydictor/lib/fun/decorator.py", line 22, in magic
item = filterforfun(item)
File "/home/mial/bin/pydictor/lib/fun/filter.py", line 243, in filterforfun
item = repeat_filter(item, letter_repeat=pyoptions.letter_repeat, digital_repeat=pyoptions.digital_repeat,
File "/home/mial/bin/pydictor/lib/fun/filter.py", line 151, in repeat_filter
key = r.keys()[0]
TypeError: 'dict_keys' object is not subscriptable
None

But if I run the same command with Python2, then everything works fine:

python2 pydictor.py -tool uniqifer ~/rockyou_clean.txt --repeat "<=3" ">=3" "==0" -o ~/uniq.txt

The bug has been fixed at this commit on pydictor 2.1.5.3 version.

from pydictor.

Mi-Al avatar Mi-Al commented on May 30, 2024

Thank you!

from pydictor.

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.