Import_log.py error after some time

Hello,

i have installed piwik on xampp (windos 2012r2) and i want to Import Apache log files (download from other Server) with python script.
Import is beginning, but after some time i get error:

19704 lines parsed, 200 lines recorded, 2 records/sec (avg), 0 records/sec (curr
ent)
2015-04-07 22:50:54,914: [DEBUG] Error when connecting to Piwik: HTTP Error 500:
Internal Server Error
Fatal error: Internal Server Error
You can restart the import of “c:\temp\20150311-access.log” from the point it fa
iled by specifying --skip=4132 on the command line.

When i use the --skip=4132 same error occurs again.

I have tried different log files. Most of them will produce error (8 files from 10).
I can not see any error in SQL or Apache log.

I am using the latest official piwik release.

Regards

I am not sure if this will help, but I had something similar, not exactly the same, my issue was that my apache instance was playing up and had hung, so a restart of the apache server resolved the connectivity issue to the URL.

Lawrence

Hello,

thanks for your reply. Restarting Apache seems not to help.
I have changed following in php.ini:
;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

; Maximum execution time of each script, in seconds
; PHP: Runtime Configuration - Manual
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time=300

max_execution_time was 30. this seems to help.

Regards