Quantcast
Viewing all articles
Browse latest Browse all 4243

piwik 2.04b7 error in import_logs.py (1 reply)

Hello,

I upgraded yesterday to piwik 2.04b7 and since I got an error running import_logs.py .
I run exactly the same script every night and since yesterday ( date of my last umdate) I got that error :

/usr/bin/python /var/www/html/piwik/misc/log-analytics/import_logs.py --url=https://w3stat.unil.ch/piwik/ --idsite=562 --config=/var/www/html/piwik/config/config.ini.php --recorders=2 --log-hostname=www2.unil.ch --hostname=www2.unil.ch --enable-static --enable-bots --enable-http-errors --enable-http-redirects --enable-reverse-dns --strip-query-string /var/tmp/stats/prod/access_full 2>&1
Traceback (most recent call last):
File "/var/www/html/piwik/misc/log-analytics/import_logs.py", line 1707, in <module>
config = Configuration()
File "/var/www/html/piwik/misc/log-analytics/import_logs.py", line 567, in __init__
self._parse_args(self._create_parser())
File "/var/www/html/piwik/misc/log-analytics/import_logs.py", line 557, in _parse_args
self.options.piwik_token_auth = self._get_token_auth()
File "/var/www/html/piwik/misc/log-analytics/import_logs.py", line 604, in _get_token_auth
filename = subprocess.check_output(process, shell=True);
AttributeError: 'module' object has no attribute 'check_output'

Any idea ?

Is there a safe way to downgrade piwik and go back to the latest stable version: 2.03

Thanks for your reply..

Viewing all articles
Browse latest Browse all 4243

Trending Articles