Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback error on netbox 2.10.1 #27

Open
tonkatsuki opened this issue Jan 12, 2021 · 1 comment
Open

Traceback error on netbox 2.10.1 #27

tonkatsuki opened this issue Jan 12, 2021 · 1 comment

Comments

@tonkatsuki
Copy link

Getting this on a brand new install of both netbox and netbox-scanner. Is 2.10.1 supported?

root@HOST netbox-scanner]# python3 netbox-scanner.py nmap
Traceback (most recent call last):
File "netbox-scanner.py", line 62, in
format='%(asctime)s\tnetbox-scanner\t%(levelname)s\t%(message)s'
File "/usr/local/lib/python3.7/logging/init.py", line 1898, in basicConfig
h = FileHandler(filename, mode)
File "/usr/local/lib/python3.7/logging/init.py", line 1087, in init
StreamHandler.init(self, self._open())
File "/usr/local/lib/python3.7/logging/init.py", line 1116, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/netbox-scanner/logs/netbox-scanner-2021-01-12T16:16:23.599360.log'

[root@HOST netbox-scanner]#

@FlorianHeigl
Copy link

sounds like it should create a logs subdirectory but didn't.
can you try to manually add it?

(fyi, just guessing, i fail to even install it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants