getsploit icon indicating copy to clipboard operation
getsploit copied to clipboard

AttributeError: 'sploitVulners' object has no attribute '_Vulners__opener'

Open ghost opened this issue 3 years ago • 3 comments

Hi,

When I tried to update getsploit database, I got this error:

/usr/local/lib/venvs/getsploit/lib/python3.9/site-packages/vulners/vulners.py:439: DeprecationWarning: Vulners is deprecated and will be removed in future release. Use VulnersApi instead.
  warnings.warn(
Traceback (most recent call last):
  File "/usr/local/bin/getsploit", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/venvs/getsploit/lib/python3.9/site-packages/getsploit/getsploit.py", line 195, in main
    vulners_lib._Vulners__opener.headers.update({'User-Agent': 'Vulners Getsploit %s' % __version__})
AttributeError: 'sploitVulners' object has no attribute '_Vulners__opener'

Any idea ?

ghost avatar Dec 30 '21 21:12 ghost

Having the same issue...

mkmnstr123 avatar May 04 '22 03:05 mkmnstr123

Facing the same issue very similar to issue #21. Same traceback errors when I try to enter my API key

nair0lf32 avatar May 30 '22 21:05 nair0lf32