Syntax errors



I setup PWIKI on my desktop and tried to import server log files via import_logs. Getting syntax errors.

  • Also ran via Python IDLE - check module & confirmed same line.

Would appreciate if u can provide correct import_logs.

File “C:\inetpub\wwwroot\analytics\piwik\misc\log-analytics\”, line 777
except Piwik.Error, e:
SyntaxError: invalid syntax

(Matthieu Aubry) #2

Hi there

the script works with Python 2.6 and 2.7 only - please use these python versions