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

cannot Run #5

Open
mohamedndiaye opened this issue Oct 7, 2016 · 0 comments
Open

cannot Run #5

mohamedndiaye opened this issue Oct 7, 2016 · 0 comments

Comments

@mohamedndiaye
Copy link

Hi
I am currently using Omniture and learning Python.
I've installed Python (2.7.3 and 2.7.12) to try omniture_py. But when I run your instructions, I get the following message

INSTRUNCTION :
json_object = ompy.run_omtr_immediate_request('Company.GetReportSuites', '')

ERROR

json_object = ompy.run_omtr_immediate_request('Company.GetReportSuites', '')
Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\omniture_py.py", line 29, in run_omtr_immediate_request
return json.loads(urllib2.urlopen(request).read())
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 400, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 418, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python27\lib\urllib2.py", line 1177, in do_open raise URLError(err)
urllib2.URLError: <urlopen error [Errno 11004] getaddrinfo failed>

Could you please tell me what went wrong ?

Tx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant