Comments (1)
I am getting the same error when using the import_logs script with latest master.
Logs import summary
-------------------
133 requests imported successfully
0 requests were downloads
48 requests ignored:
0 HTTP errors
0 HTTP redirects
6 invalid log lines
0 requests did not match any known site
0 requests did not match any --hostname
42 requests done by bots, search engines...
0 requests to static resources (css, js, images, ico, ttf...)
0 requests to file downloads did not match any --download-extensions
Website import summary
----------------------
133 requests imported to 1 sites
1 sites already existed
0 sites were created:
0 distinct hostnames did not match any existing site:
Performance summary
-------------------
Total time: 0 seconds
Requests imported per second: 722.0 requests per second
Processing your log data
------------------------
In order for your logs to be processed by Piwik, you may need to run the following command:
./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='http://apache.piwik'
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 763, in run
File "./import_logs.py", line 1458, in _run_bulk
File "/usr/lib/python2.7/Queue.py", line 168, in get
File "/usr/lib/python2.7/threading.py", line 332, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
It seems depends on the log file. Eg it fails when using
./import_logs.py --url=http://apache.piwik ../../plugins/VisitorGenerator/data/access.log --idsite=1 --replay-tracking
or
./import_logs.py --url=http://apache.piwik ../../plugins/VisitorGenerator/data/access.log --idsite=1
but not with
./import_logs.py --url=http://apache.piwik ../../plugins/VisitorGenerator/data/campaign.log --idsite=1
from matomo-log-analytics.
Related Issues (20)
- log-format-regex does not work even if regex is working fine in python console HOT 1
- Matomo Log Analytics : config.ini.php could not be read. HOT 9
- Problem importing logs to cPanel install HOT 1
- Don't get any records on Apache HOT 1
- Automate --skip= in the command
- Tracking TLS protocols in IIS logs HOT 2
- import failes with wrong error : file HOT 2
- password with && crashed script HOT 3
- if hostname has no http in it importer together with docker-matomo fails to file ip- adresses clients correctly HOT 8
- Fatal error: the configuration file/config/config.ini.php could not be read. HOT 2
- Incorrect SharePoint Online location HOT 3
- Have anyone try to log import from SHOUTcastv2 or Wowza Media server
- import_logs.py: Silent failure if log file cannot be accessed
- Country guessing from browser language not working properly. HOT 1
- no bot tracked in logs HOT 6
- Subdomain listed as "Page url not defined" in Visits Log HOT 4
- import_logs.py does not work with secure auth token in Matomo 5 HOT 3
- Broken documentation url in script header HOT 3
- Rsyslog confirmMessages support
- Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matomo-log-analytics.