Skip to content

cannot Run  #5

@mohamedndiaye

Description

@mohamedndiaye

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions