-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Scan fails after initial git clone due to lack of cache/ directory #34
Comments
Of course, following that, after scanning for a bit, i get this error, which I assume is related, please advise: Unhandled exception (KeyError) encountered during scan. Please report this as a bug: ['Traceback (most recent call last):\n', ' File "/home/rydell/src/git/spiderfoot/sfscan.py", line 152, in startScan\n module.start()\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_dns.py", line 254, in start\n self.processHost(addr)\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_dns.py", line 168, in processHost\n self.notifyListeners(evt)\n', ' File "/home/rydell/src/git/spiderfoot/sflib.py", line 805, in notifyListeners\n listener.handleEvent(sfEvent)\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_dns.py", line 136, in handleEvent\n self.processHost(host, parentEvent)\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_dns.py", line 168, in processHost\n self.notifyListeners(evt)\n', ' File "/home/rydell/src/git/spiderfoot/sflib.py", line 805, in notifyListeners\n listener.handleEvent(sfEvent)\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_malcheck.py", line 344, in handleEvent\n url = self.lookupItem(cid, typeId, eventData)\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_malcheck.py", line 296, in lookupItem\n return self.resourceList(cid, target)\n', ' File "/home/rydell/src/git/spiderfoot/modules/sfp_malcheck.py", line 264, in resourceList\n data['content'] = sf.cacheGet("sfmal_" + cid, self.opts['cacheperiod'])\n', "KeyError: 'cacheperiod'\n"] |
Try now.. doing some dev on this right now, so a couple of bugs made it through to github. |
seems ok now, thanks! |
Unhandled exception (IOError) encountered during scan. Please report this as a bug: ['Traceback (most recent call last):\n', ' File "/home/rydell/src/git/spiderfoot/sfscan.py", line 92, in startScan\n self.sf.cachePut("internet_tlds", self.config['_internettlds'])\n', ' File "/home/rydell/src/git/spiderfoot/sflib.py", line 164, in cachePut\n fp = file(cacheFile, "w")\n', "IOError: [Errno 2] No such file or directory: u'/home/rydell/src/git/spiderfoot/cache/95c5dab788d19e124540cb1e96e6277f0871c648f4b3f2526fa1f765'\n"]
after manually creating the cache directory inside the spiderfoot directory from git, everything seems to work fine. Just thought I should report it.
The text was updated successfully, but these errors were encountered: