omniture_py icon indicating copy to clipboard operation
omniture_py copied to clipboard

cannot Run

Open mohamedndiaye opened this issue 8 years ago • 0 comments

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

mohamedndiaye avatar Oct 07 '16 09:10 mohamedndiaye