{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/7616","labels_url":"https://api.github.com/repos/piwik/piwik/issues/7616/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/7616/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/7616/events","html_url":"https://github.com/piwik/piwik/issues/7616","id":65716689,"number":7616,"title":"import_logs.py doesn't work","user":{"login":"lmgichin","id":11708194,"avatar_url":"https://avatars.githubusercontent.com/u/11708194?v=3","gravatar_id":"","url":"https://api.github.com/users/lmgichin","html_url":"https://github.com/lmgichin","followers_url":"https://api.github.com/users/lmgichin/followers","following_url":"https://api.github.com/users/lmgichin/following{/other_user}","gists_url":"https://api.github.com/users/lmgichin/gists{/gist_id}","starred_url":"https://api.github.com/users/lmgichin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmgichin/subscriptions","organizations_url":"https://api.github.com/users/lmgichin/orgs","repos_url":"https://api.github.com/users/lmgichin/repos","events_url":"https://api.github.com/users/lmgichin/events{/privacy}","received_events_url":"https://api.github.com/users/lmgichin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T15:51:50Z","updated_at":"2015-04-01T21:31:29Z","closed_at":null,"body":"While trying to import logs : \r\n\r\n./import_logs.py --idsite=2 --url=http://www.xxx.org  /var/log/httpd/xxxxxx_log\r\nTraceback (most recent call last):\r\n  File \"./import_logs.py\", line 2099, in <module>\r\n    resolver = config.get_resolver()\r\n  File \"./import_logs.py\", line 880, in get_resolver\r\n    return StaticResolver(self.options.site_id)\r\n  File \"./import_logs.py\", line 1221, in __init__\r\n    'SitesManager.getSiteFromId', idSite=self.site_id\r\n  File \"./import_logs.py\", line 1204, in call_api\r\n    return cls._call_wrapper(cls._call_api, None, None, method, **kwargs)\r\n  File \"./import_logs.py\", line 1193, in _call_wrapper\r\n    raise Piwik.Error(message)\r\n__main__.Error: Internal Server Error\r\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/88636828","html_url":"https://github.com/piwik/piwik/issues/7616#issuecomment-88636828","issue_url":"https://api.github.com/repos/piwik/piwik/issues/7616","id":88636828,"user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T21:31:29Z","updated_at":"2015-04-01T21:31:29Z","body":"Hi @lmgichin thanks for the report.\r\n\r\nHere the problem is that the `--url` should point to your Piwik server. If you already have pointed it to your Piwik server, then there may be a problem accessing Piwik from the console. Check your server error log files on Piwik server."}}