Created
March 26, 2015 22:16
-
-
Save rich-hart/7aad42a949feb42e8b56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/cnx-buildout/var/log | |
legacy cite | |
2015-03-26 13:15:12,647 DEBUG [cnxpublishing][Dummy-1] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/permissions (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca79090>): Allowed (no permission registered) | |
authoring: | |
127.0.0.1 - - [26/Mar/2015:13:15:12 -0500] "PUT /contents/72e2a219-72b0-4167-a10d-fe09fea913c5%40draft.json HTTP/1.0" 200 1925 "http://dev.cnx.org/contents/72e2a219-72b0-4167-a10d-fe09fea913c5@draft:2/Test_Book_3-26" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36" | |
2015-03-26 13:15:22,489 INFO [requests.packages.urllib3.connectionpool][Dummy-3] Starting new HTTP connection (1): localhost | |
2015-03-26 13:15:25,492 DEBUG [requests.packages.urllib3.connectionpool][Dummy-3] "POST /publications HTTP/1.1" 200 324 | |
127.0.0.1 - - [26/Mar/2015:13:15:22 -0500] "POST /publish HTTP/1.0" 200 165 "http://dev.cnx.org/contents/72e2a219-72b0-4167-a10d-fe09fea913c5@draft:2/Test_Book_3-26" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36" | |
127.0.0.1 - - [26/Mar/2015:13:15:25 -0500] "GET /users/profile HTTP/1.0" 200 - "http://dev.cnx.org/contents/72e2a219-72b0-4167-a10d-fe09fea913c5@1.1:2/Test_Book_3-26" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36" | |
2015-03-26 13:15:25,832 INFO [requests.packages.urllib3.connectionpool][Dummy-4] Starting new HTTP connection (1): localhost | |
2015-03-26 13:15:25,844 DEBUG [requests.packages.urllib3.connectionpool][Dummy-4] "GET /publications/43 HTTP/1.1" 200 4103 | |
2015-03-26 13:15:25,975 INFO [requests.packages.urllib3.connectionpool][Dummy-4] Starting new HTTP connection (1): localhost | |
2015-03-26 13:15:25,986 DEBUG [requests.packages.urllib3.connectionpool][Dummy-4] "GET /publications/515 HTTP/1.1" 500 110 | |
publishing: | |
2015-03-26 13:15:12,227 DEBUG [cnxpublishing][Dummy-4] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/roles (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca88d10>): Allowed (no permission registered) | |
2015-03-26 13:15:12,242 DEBUG [cnxpublishing][Dummy-2] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/roles (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca88590>): ACLAllowed permission 'publish.assign-acceptance' via ACE ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')) in ACL (('Allow', 'system.Everyone', 'view'), ('Allow', 'system.Authenticated', 'publish'), ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')), ('Allow', 'g:publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl')), ('Allow', 'g:reviewers', ('preview',)), ('Allow', 'g:moderators', ('preview', 'moderate')), ('Allow', 'g:administrators', ('preview', 'moderate')), ('Deny', 'system.Everyone', <pyramid.security.AllPermissionsList object at 0x7fb044745290>)) on context <cnxpublishing.RootFactory object at 0x7fb03ca88590> for principals ['g:trusted-publishers', 'system.Authenticated', 'system.Everyone'] | |
2015-03-26 13:15:12,584 DEBUG [cnxpublishing][Dummy-1] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/licensors (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca884d0>): Allowed (no permission registered) | |
2015-03-26 13:15:12,601 DEBUG [cnxpublishing][Dummy-3] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/licensors (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca796d0>): ACLAllowed permission 'publish.assign-acceptance' via ACE ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')) in ACL (('Allow', 'system.Everyone', 'view'), ('Allow', 'system.Authenticated', 'publish'), ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')), ('Allow', 'g:publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl')), ('Allow', 'g:reviewers', ('preview',)), ('Allow', 'g:moderators', ('preview', 'moderate')), ('Allow', 'g:administrators', ('preview', 'moderate')), ('Deny', 'system.Everyone', <pyramid.security.AllPermissionsList object at 0x7fb044745290>)) on context <cnxpublishing.RootFactory object at 0x7fb03ca796d0> for principals ['g:trusted-publishers', 'system.Authenticated', 'system.Everyone'] | |
2015-03-26 13:15:12,616 DEBUG [cnxpublishing][Dummy-4] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/permissions (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca791d0>): Allowed (no permission registered) | |
2015-03-26 13:15:12,633 DEBUG [cnxpublishing][Dummy-2] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/permissions (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca79550>): ACLAllowed permission 'publish.assign-acl' via ACE ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')) in ACL (('Allow', 'system.Everyone', 'view'), ('Allow', 'system.Authenticated', 'publish'), ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')), ('Allow', 'g:publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl')), ('Allow', 'g:reviewers', ('preview',)), ('Allow', 'g:moderators', ('preview', 'moderate')), ('Allow', 'g:administrators', ('preview', 'moderate')), ('Deny', 'system.Everyone', <pyramid.security.AllPermissionsList object at 0x7fb044745290>)) on context <cnxpublishing.RootFactory object at 0x7fb03ca79550> for principals ['g:trusted-publishers', 'system.Authenticated', 'system.Everyone'] | |
2015-03-26 13:15:12,647 DEBUG [cnxpublishing][Dummy-1] debug_authorization of url http://localhost:6543/contents/72e2a219-72b0-4167-a10d-fe09fea913c5/permissions (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca79090>): Allowed (no permission registered) | |
2015-03-26 13:15:22,492 DEBUG [cnxpublishing][Dummy-3] debug_authorization of url http://localhost:6543/publications (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03ca79390>): ACLAllowed permission 'publish' via ACE ('Allow', 'system.Authenticated', 'publish') in ACL (('Allow', 'system.Everyone', 'view'), ('Allow', 'system.Authenticated', 'publish'), ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')), ('Allow', 'g:publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl')), ('Allow', 'g:reviewers', ('preview',)), ('Allow', 'g:moderators', ('preview', 'moderate')), ('Allow', 'g:administrators', ('preview', 'moderate')), ('Deny', 'system.Everyone', <pyramid.security.AllPermissionsList object at 0x7fb044745290>)) on context <cnxpublishing.RootFactory object at 0x7fb | |
03ca79390> for principals ['g:trusted-publishers', 'system.Authenticated', 'system.Everyone'] | |
2015-03-26 13:15:25,834 DEBUG [cnxpublishing][Dummy-4] debug_authorization of url http://localhost:6543/publications/43 (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03eb12990>): ACLAllowed permission 'view' via ACE ('Allow', 'system.Everyone', 'view') in ACL (('Allow', 'system.Everyone', 'view'), ('Allow', 'system.Authenticated', 'publish'), ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')), ('Allow', 'g:publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl')), ('Allow', 'g:reviewers', ('preview',)), ('Allow', 'g:moderators', ('preview', 'moderate')), ('Allow', 'g:administrators', ('preview', 'moderate')), ('Deny', 'system.Everyone', <pyramid.security.AllPermissionsList object at 0x7fb044745290>)) on context <cnxpublishing.RootFactory object at 0x7fb03eb12990> for principals ['system.Everyone'] | |
2015-03-26 13:15:25,977 DEBUG [cnxpublishing][Dummy-2] debug_authorization of url http://localhost:6543/publications/515 (view name u'' against context <cnxpublishing.RootFactory object at 0x7fb03eb12f10>): ACLAllowed permission 'view' via ACE ('Allow', 'system.Everyone', 'view') in ACL (('Allow', 'system.Everyone', 'view'), ('Allow', 'system.Authenticated', 'publish'), ('Allow', 'g:trusted-publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl', 'publish.create-identifier', 'publish.remove-identifier')), ('Allow', 'g:publishers', ('publish.assign-acceptance', 'publish.remove-acceptance', 'publish.assign-acl', 'publish.remove-acl')), ('Allow', 'g:reviewers', ('preview',)), ('Allow', 'g:moderators', ('preview', 'moderate')), ('Allow', 'g:administrators', ('preview', 'moderate')), ('Deny', 'system.Everyone', <pyramid.security.AllPermissionsList object at 0x7fb044745290>)) on context <cnxpublishing.RootFactory object at 0x7fb03eb12f10> for principals ['system.Everyone'] | |
2015-03-26 13:15:25,985 ERROR [waitress][Dummy-2] Exception when serving /publications/515 | |
Traceback (most recent call last): | |
File "/opt/dev/local/lib/python2.7/site-packages/waitress-0.8.9-py2.7.egg/waitress/channel.py", line 337, in service | |
task.service() | |
File "/opt/dev/local/lib/python2.7/site-packages/waitress-0.8.9-py2.7.egg/waitress/task.py", line 173, in service | |
self.execute() | |
File "/opt/dev/local/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 "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/router.py", line 242, in __call__ | |
response = self.invoke_subrequest(request, use_tweens=True) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/router.py", line 217, in invoke_subrequest | |
response = handle_request(request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/tweens.py", line 21, in excview_tween | |
response = handler(request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/router.py", line 163, in handle_request | |
response = view_callable(context, request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/views.py", line 329, in attr_view | |
return view(context, request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/views.py", line 305, in predicate_wrapper | |
return view(context, request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/views.py", line 287, in _authdebug_view | |
return view(context, request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/views.py", line 245, in _secured_view | |
return view(context, request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/views.py", line 355, in rendered_view | |
result = view(context, request) | |
File "/opt/dev/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/views.py", line 501, in _requestonly_view | |
response = view(request) | |
File "/opt/dev/cnx-publishing/cnxpublishing/views.py", line 84, in get_publication | |
state, messages = check_publication_state(publication_id) | |
File "/opt/dev/cnx-publishing/cnxpublishing/db.py", line 896, in check_publication_state | |
publication_state, publication_messages = cursor.fetchone() | |
TypeError: 'NoneType' object is not iterable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment