You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to start by saying how interesting and effective this tool is.
I am trying to use the File Collector but unable to to do so. I am using manager and added the file collector bot, but even though I have entered correct path, I am getting the following error:
2023-03-06 10:17:19,415 - File-Collector - INFO - FileCollectorBot initialized with id File-Collector and intelmq 3.1.0 and python 3.8.10 (default, Nov 14 2022, 12:59:47) as process 118089.
2023-03-06 10:17:19,415 - File-Collector - INFO - Bot is starting.
2023-03-06 10:17:19,486 - File-Collector - ERROR - Bot initialization failed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/intelmq/lib/bot.py", line 214, in __init__
self.init()
File "/usr/lib/python3/dist-packages/intelmq/bots/collectors/file/collector_file.py", line 46, in init
raise exceptions.InvalidArgument('path', got=self.path,
intelmq.lib.exceptions.InvalidArgument: Argument 'path' is invalid. Should be of type: directory. Got '/tmp/test1/'.
2023-03-06 10:17:19,487 - File-Collector - INFO - Bot stopped.
However the path is a directory
$ file /tmp/test1/
/tmp/test1/: directory
Am I missing something ??
Thanks.
The text was updated successfully, but these errors were encountered:
Did you start the Bot with the Manager? Is the result different, when you run intelmqct start .. on the command line? (If your webserver has a confined env (PrivateTmp) its subprocess may not access other dirs)
Hello everybody,
I would like to start by saying how interesting and effective this tool is.
I am trying to use the File Collector but unable to to do so. I am using manager and added the file collector bot, but even though I have entered correct path, I am getting the following error:
However the path is a directory
Am I missing something ??
Thanks.
The text was updated successfully, but these errors were encountered: