-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I keep getting this on loadDB(), or if I pass autoreload same error appears on scanFile()
Running on ubuntu 22.04 Python3.10
import clamav
scanner = clamav.Scanner(dbpath="/var/lib/clamav",autoreload=True)
scanner.scanFile("steam.desktop")
Traceback:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/nmt/Desktop/clamav.py", line 425, in scanFile
self.checkAndLoadDB()
File "/home/nmt/Desktop/clamav.py", line 412, in checkAndLoadDB
return self.loadDB()
File "/home/nmt/Desktop/clamav.py", line 397, in loadDB
self.cl_statinidir(self.dbpath, self.dbstats_p)
File "/home/nmt/Desktop/clamav.py", line 322, in wrapper
ret = func(*args)
ctypes.ArgumentError: argument 1: TypeError: wrong type
Metadata
Metadata
Assignees
Labels
No labels