Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Error when creating content without running cnx-publishing #89

Open
dak opened this issue Sep 25, 2014 · 0 comments
Open

Error when creating content without running cnx-publishing #89

dak opened this issue Sep 25, 2014 · 0 comments

Comments

@dak
Copy link
Member

dak commented Sep 25, 2014

ERROR:waitress:Exception when serving /users/contents
Traceback (most recent call last):
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/waitress-0.8.9-py2.7.egg/waitress/channel.py", line 337, in service
task.service()
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/waitress-0.8.9-py2.7.egg/waitress/task.py", line 173, in service
self.execute()
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/waitress-0.8.9-py2.7.egg/waitress/task.py", line 392, in execute
app_iter = self.channel.server.application(env, start_response)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/router.py", line 242, in call
response = self.invoke_subrequest(request, use_tweens=True)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/router.py", line 217, in invoke_subrequest
response = handle_request(request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
response = handler(request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request
response = view_callable(context, request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view
return view(context, request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper
return view(context, request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/config/views.py", line 355, in rendered_view
result = view(context, request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view
response = view(request)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/cnx_authoring-0.1-py2.7.egg/cnxauthoring/views.py", line 40, in wrapper
return function(request, _args, *_kwargs)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/cnx_authoring-0.1-py2.7.egg/cnxauthoring/views.py", line 320, in post_content
content = post_content_single(request, cstruct)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/cnx_authoring-0.1-py2.7.egg/cnxauthoring/views.py", line 274, in post_content_single
utils.create_acl_for(request, content, uids)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/cnx_authoring-0.1-py2.7.egg/cnxauthoring/utils.py", line 252, in create_acl_for
acl_url, data=json.dumps(payload), headers=headers)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/api.py", line 88, in post
return request('post', url, data=data, *_kwargs)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/api.py", line 44, in request
return session.request(method=method, url=url, *_kwargs)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/sessions.py", line 448, in request
resp = self.send(prep, *_send_kwargs)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/sessions.py", line 554, in send
r = adapter.send(request, *_kwargs)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/adapters.py", line 359, in send
timeout=timeout
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
_pool=self, _stacktrace=stacktrace)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/util/retry.py", line 245, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 516, in urlopen
body=body, headers=headers)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 308, in _make_request
conn.request(method, url, *_httplib_request_kw)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 995, in request
self._send_request(method, url, body, headers)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1029, in _send_request
self.endheaders(body)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 991, in endheaders
self._send_output(message_body)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 844, in _send_output
self.send(msg)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 806, in send
self.connect()
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/connection.py", line 146, in connect
conn = self._new_conn()
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/connection.py", line 125, in _new_conn
(self.host, self.port), self.timeout, *_extra_kw)
File "/Users/dak/Sites/cnx-authoring/lib/python2.7/site-packages/requests-2.4.0-py2.7.egg/requests/packages/urllib3/util/connection.py", line 87, in create_connection
raise err
ProtocolError: ('Connection aborted.', error(61, 'Connection refused'))

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

No branches or pull requests

1 participant