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

Issue importing logs in 2.0-b2 using #4249

Closed
jloh opened this issue Oct 28, 2013 · 2 comments
Closed

Issue importing logs in 2.0-b2 using #4249

jloh opened this issue Oct 28, 2013 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@jloh
Copy link

jloh commented Oct 28, 2013

I get the following error when importing logs:


Traceback (most recent call last):
  File "/path/to/piwik/misc/log-analytics/import_logs.py", line 1663, in <module>
    main()
  File "/path/to/piwik/misc/log-analytics/import_logs.py", line 1627, in main
    parser.parse(filename)
  File "/path/to/piwik/misc/log-analytics/import_logs.py", line 1536, in parse
    hit.length = int(format.get('length'))
ValueError: invalid literal for int() with base 10: '-'
PHP Notice:  Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /path/to/piwik/core/Log.php on line 439
PHP Notice:  Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /path/to/piwik/core/Log.php on line 439
PHP Notice:  Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /path/to/piwik/core/Log.php on line 439
PHP Notice:  Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /path/to/piwik/core/Log.php on line 439

and went on for quite several lines. I don't think any logs ended up importing at all.

I'm going to run up a new dev system and see where the log fails to import

@mattab
Copy link
Member

mattab commented Oct 28, 2013

thanks for the report. Please send the actual log line or lines that cause the script to fail.

then we can reproduce & fix.

@mattab
Copy link
Member

mattab commented Jan 10, 2014

This was fixed in 2.0 stable

@jloh jloh added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 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. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants