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

import_logs.py throws an exception on unknown domain #3094

Closed
anonymous-matomo-user opened this issue Apr 5, 2012 · 1 comment
Closed

import_logs.py throws an exception on unknown domain #3094

anonymous-matomo-user opened this issue Apr 5, 2012 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

Version: Piwik 1.7.2-rc6
Workaround: add --idsite-fallback

An exception may be thrown when apache log with common_complete format is imported into Piwik and some of virtual server names
are not configured in Piwik:

Traceback (most recent call last):
File "/var/home/piwik/import_logs.py", line 1177, in <module>
main()
File "/var/home/piwik/import_logs.py", line 1153, in main
Recorder.invalidate_reports()
File "/var/home/piwik/import_logs.py", line 912, in invalidate_reports
idSites=','.join(stats.piwik_sites),
TypeError: sequence item 0: expected string, NoneType found

Keywords: import logs exception

@mattab
Copy link
Member

mattab commented Apr 6, 2012

please post your bug as a comment in: #703

@anonymous-matomo-user anonymous-matomo-user added this to the 1.12.x - Piwik 1.12.x milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants