Skip to content

python 3.13 debug mode 'DonPAPIAdapter' object has no attribute 'merge_extra#118

Description

@0x25

Hello

fresh install on last kali (2025.1a) show this message

donpapi -vv collect -u user -d dom.ltd -p $pass -t host
[11:15:19] DEBUG    Added file handler: <RotatingFileHandler /home/kali/.donpapi/debug.log (NOTSET)>        logger.py:138
[馃拃] [+] DonPAPI Version 2.1.0
[馃拃] [+] Output directory at /home/kali/.donpapi
[馃拃] [+] Loaded 1 targets
Traceback (most recent call last):
  File "/home/kali/.local/bin/donpapi", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/kali/.local/share/pipx/venvs/donpapi/lib/python3.13/site-packages/donpapi/entry.py", line 359, in main
    donpapi_logger.debug(f"Targets :{targets}")
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/logging/__init__.py", line 1900, in debug
    self.log(DEBUG, msg, *args, **kwargs)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/logging/__init__.py", line 1943, in log
    msg, kwargs = self.process(msg, kwargs)
                  ~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3.13/logging/__init__.py", line 1887, in process
    if self.merge_extra and "extra" in kwargs:
       ^^^^^^^^^^^^^^^^
AttributeError: 'DonPAPIAdapter' object has no attribute 'merge_extra'

using #108 install process with python 3.11 correct the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions