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 give a IOError: [Errno 29] Illegal seek when receiving log from pipe #5254

Closed
mattab opened this issue May 28, 2014 · 1 comment
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented May 28, 2014

This was an issue reported in forums:
http://forum.piwik.org/read.php?2,111193
http://forum.piwik.org/read.php?2,97108

and a nice pull request to fix it was proposed in https://github.com/piwik/piwik/pull/294/files

To reproduce the issue, type:

$ head test-log.log | ./misc/log-analytics/import_logs.py --add-sites-new-hosts --url='http://localhost/piwik-master/' -

@mattab
Copy link
Member Author

mattab commented May 28, 2014

In 7513fef: Merge pull request #294 from etmatrix/master

import_logs give a IOError: 29 Illegal seek when receive log from pipe because we can't seek stdin in pipe mode

Fixes #5254

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.
Projects
None yet
Development

No branches or pull requests

1 participant