EFForg / badger-sett

Automated training for Privacy Badger. Badger Sett automates browsers to visit websites to produce fresh Privacy Badger tracker data.
https://www.eff.org/badger-pretraining
MIT License
119 stars 13 forks source link

scan in docker failed - missing log file #32

Closed iammyr closed 4 years ago

iammyr commented 5 years ago

When running ./runscan.sh I get the following error:

Running scan in Docker...
Ctrl-C to break.
Traceback (most recent call last):
  File "./crawler.py", line 620, in <module>
    crawler = Crawler(**vars(ap.parse_args()))
  File "./crawler.py", line 186, in __init__
    fh = logging.FileHandler(os.path.join(out_path, 'log.txt'))
  File "/usr/lib/python3.5/logging/__init__.py", line 1008, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.5/logging/__init__.py", line 1037, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/home/<local user>/out/log.txt'
mv: cannot stat '/home/<local user>/<local path to repo>/docker-out/log.txt': No such file or directory
Scan failed. See log.txt for details.
ghostwords commented 4 years ago

Is this fixed by #48?

bcyphers commented 4 years ago

This should have been fixed in #48, closing.