DonPAPI icon indicating copy to clipboard operation
DonPAPI copied to clipboard

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

Open 0x25 opened this issue 9 months ago • 0 comments

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 https://github.com/login-securite/DonPAPI/issues/108 install process with python 3.11 correct the issue.

0x25 avatar Apr 09 '25 15:04 0x25