pyoneall config site_name

edited August 2015 in Questions
Hi people

I'm trying to use the pyoneall module to connect, but isn't clear for me what kind of value I must put in the key ite_name.

I've try with the site url, and with the that i've definedn when I've create the site, but I ot back the follow stacktrace error when I invoke connections = oa.connections()

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/globex/server/lib/python2.7/site-packages/pyoneall/", line 119, in connections connections = self._paginated('connections', 'connections', page_number, last_page, fetch_all, rtype=Connections) File "/home/globex/server/lib/python2.7/site-packages/pyoneall/", line 60, in _paginated response = OADict(**self._exec(action, {'page' : page_number})).response File "/home/globex/server/lib/python2.7/site-packages/pyoneall/", line 42, in _exec return loads(urlopen(req).read()) File "/usr/lib/python2.7/", line 127, in urlopen return, data, timeout) File "/usr/lib/python2.7/", line 404, in open response = self._open(req, data) File "/usr/lib/python2.7/", line 422, in _open '_open', req) File "/usr/lib/python2.7/", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/", line 1222, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.7/", line 1184, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno -2] Name or service not known>

The urlopen error implies that the siste:_name isn't correct, but I coudn't understand what value he waiting for.

Thank's a lot


Best Answer

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    Answer ✓
    Hi Carlos,

    you first need to create a New Site in your OneAll account:
    Then you go to the Dashboard of that site.

    The SITENAME corresponds to the Subdomain.




Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.