Skip to content

MacOS issues #2

@ruzzle

Description

@ruzzle

Ran ntdissector -ntds ntds.dit -system system -f users

Getting an error on MacOS each time when dumping output

Traceback (most recent call last):
  File "/path/to/ntdissector/bin/ntdissector", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/path/to/ntdissector/lib/python3.11/site-packages/ntdissector/__main__.py", line 89, in main
    ntdis.dumpObjectsT(options.filter, options.limit)
  File "/path/to/ntdissector/lib/python3.11/site-packages/ntdissector/ntds/ntds.py", line 751, in dumpObjectsT
    qsize = workersQ.qsize()
            ^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/queues.py", line 126, in qsize
    return self._maxsize - self._sem._semlock._get_value()
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NotImplementedError

Seems it has something to do with this: https://stackoverflow.com/questions/65609529/python-multiprocessing-queue-notimplementederror-macos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions