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
Traceback (most recent call last):
File "/data/domains/piwik.avn.cz/http/misc/log-analytics/import_logs.py", line 1575, in <module>
main()
File "/data/domains/piwik.avn.cz/http/misc/log-analytics/import_logs.py", line 1539, in main
parser.parse(filename)
File "/data/domains/piwik.avn.cz/http/misc/log-analytics/import_logs.py", line 1390, in parse
format = self.detect_format(file)
File "/data/domains/piwik.avn.cz/http/misc/log-analytics/import_logs.py", line 1349, in detect_format
logging.debug('Format %s is the best match', format.name)
AttributeError: 'NoneType' object has no attribute 'name'
Looks that piwik expects more in the url field (here just "-") during parsing than apache is able to offer in such lines :-)
While a quick fix is to move any offending lines beyond a "good" line, this is not easily automated (like on Bug#4230).
Keywords: ImportLog
The text was updated successfully, but these errors were encountered:
Hi,
the import_logs.py returns error when the apache log first line looks like:
The returned error is:
Looks that piwik expects more in the url field (here just "-") during parsing than apache is able to offer in such lines :-)
While a quick fix is to move any offending lines beyond a "good" line, this is not easily automated (like on Bug#4230).
Keywords: ImportLog
The text was updated successfully, but these errors were encountered: