OpenUpSA/wazimap-ng

Logs files are not found on the web instance - may want to move them to S3

Closed this issue · 1 comments

FileNotFoundError: [Errno 2] File /app/media/logs/Collection/error/TVET_test_39_errors_log.csv does not exist: '/app...

https://sentry.io/organizations/openupsa/issues/2004035936/?referrer=trello_plugin

KeyError: 'get_errors'
  File "django/db/models/options.py", line 565, in get_field
    return self.fields_map[field_name]

FieldDoesNotExist: CoordinateFile has no field named 'get_errors'
  File "django/contrib/admin/utils.py", line 262, in lookup_field
    f = _get_non_gfk_field(opts, name)
  File "django/contrib/admin/utils.py", line 293, in _get_non_gfk_field
    field = opts.get_field(name)
  File "django/db/models/options.py", line 567, in get_field
    raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name))

FileNotFoundError: [Errno 2] File /app/media/logs/Collection/error/TVET_test_39_errors_log.csv does not exist: '/app/media/logs/Collection/error/TVET_test_39_errors_log.csv'
(54 additional frame(s) were not displayed)
...
  File "pandas/io/parsers.py", line 880, in __init__
    self._make_engine(self.engine)
  File "pandas/io/parsers.py", line 1114, in _make_engine
    self._engine = CParserWrapper(self.f, **self.options)
  File "pandas/io/parsers.py", line 1891, in __init__
    self._reader = parsers.TextReader(src, **kwds)
  File "pandas/_libs/parsers.pyx", line 374, in pandas._libs.parsers.TextReader.__cinit__
  File "pandas/_libs/parsers.pyx", line 673, in pandas._libs.parsers.TextReader._setup_parser_source

Rel 0.11

https://trello.com/c/CKq92B40/555-logs-files-are-not-found-on-the-web-instance-may-want-to-move-them-to-s3

I think this is a duplicate of #172. I'm closing this one