Exception: type = '', value = 'no element found: line 1, column 0' Stack trace (most recent call first): File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror 1504 err.code = value.code 1505 err.position = value.lineno, value.offset > 1506 raise err 1507 1508 def _fixtext(self, text): locals: self = value = ExpatError('no element found: line 1, column 0',) err = ParseError(ExpatError('no element found: line 1, column 0',),) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close 1652 self._parser.Parse("", 1) # end of data 1653 except self._error, v: > 1654 self._raiseerror(v) 1655 tree = self.target.close() 1656 del self.target, self._parser # get rid of circular references locals: self = v = ExpatError('no element found: line 1, column 0',) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML 1299 parser = XMLParser(target=TreeBuilder()) 1300 parser.feed(text) > 1301 return parser.close() 1302 1303 ## locals: text = '' parser = File "/usr/lib/python2.7/dist-packages/wcs/admin/workflows.py", line 94, in graphviz_post_treatment 92 part on as class selector on the top level svg:g element. 93 ''' > 94 tree = ET.fromstring(content) 95 style = ET.SubElement(tree, svg('style')) 96 style.attrib['type'] = 'text/css' locals: colours = {'lightgray': '0099FF', 'lightblue': 'FFFF00', 'lavenderblush': 'FF9900', 'lightcyan': '9966FF', 'lightgoldenrodyellow': '00FFFF', 'lightgrey': '999999', 'lemonchiffon': 'FF0000', 'lightgreen': '9999FF', 'lightpink': '990099', 'lawngreen': '00FF00', 'lightcoral': '990066'} content = '' File "/usr/lib/python2.7/dist-packages/wcs/admin/workflows.py", line 182, in graphviz 180 except OSError: 181 return '' > 182 out = graphviz_post_treatment(out, revert_colours) 183 if include: 184 # It seems webkit refuse to accept SVG when using its proper namespace, locals: status = url_prefix = '' i = '29' err = None item = process = svg = True graphviz_colours = ['aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'fuchsia', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'gray', 'grey', 'green', 'greenyellow', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender'] workflow = label = 'Le courrier r\xc3\xa9ponse\\na \xc3\xa9t\xc3\xa9 envoy\xc3\xa9e par\\nvoie postale par\\nDirecteur\\ngestionnaire, DSI' colours = {'990066': 'lightcoral', '0099FF': 'lightgray', '990099': 'lightpink', 'FF9900': 'lavenderblush', '9966FF': 'lightcyan', 'FFFF00': 'lightblue', '00FFFF': 'lightgoldenrodyellow', '999999': 'lightgrey', 'FF0000': 'lemonchiffon', '00FF00': 'lawngreen', '9999FF': 'lightgreen'} url = 'status/29/items/1/' done = {'5': True} select = None next_status_ids = ['5'] x = next_id = '5' include = True revert_colours = {'lightgray': '0099FF', 'lightblue': 'FFFF00', 'lavenderblush': 'FF9900', 'lightcyan': '9966FF', 'lightgoldenrodyellow': '00FFFF', 'lightgrey': '999999', 'lemonchiffon': 'FF0000', 'lightgreen': '9999FF', 'lightpink': '990099', 'lawngreen': '00FF00', 'lightcoral': '990066'} out = '' File "/usr/lib/python2.7/dist-packages/wcs/admin/workflows.py", line 1493, in _q_index 1491 if self.workflow.possible_status: 1492 r += htmltext('
') > 1493 r += htmltext(graphviz(self.workflow, include=True)) 1494 r += htmltext('') % _('Full Screen') 1495 r += htmltext('
') # bo-block locals: status = style = 'style="border-left-color: #FF9900"' level = self = label = 'DGA responsable' r = klass = ['biglistitem'] key = '_superviseur' action = warning_class = '' File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 67, in _q_traverse 65 raise TraversalError 66 elif hasattr(obj, '__call__'): > 67 return obj() 68 else: 69 return obj locals: component = '' self = obj = > name = '_q_index' path = [] File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 63, in _q_traverse 61 if path: 62 if hasattr(obj, '_q_traverse'): > 63 return obj._q_traverse(path) 64 else: 65 raise TraversalError locals: component = '24' self = obj = name = None path = [''] File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 63, in _q_traverse 61 if path: 62 if hasattr(obj, '_q_traverse'): > 63 return obj._q_traverse(path) 64 else: 65 raise TraversalError locals: component = 'workflows' self = obj = name = None path = ['24', ''] File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 91, in _q_traverse 89 def _q_traverse(self, path): 90 self._q_access() > 91 return super(AccessControlled, self)._q_traverse(path) 92 93 locals: path = ['workflows', '24', ''] self = File "/usr/lib/python2.7/dist-packages/wcs/backoffice/root.py", line 81, in _q_traverse 79 pass 80 get_response().add_javascript(['jquery.js', 'qommon.js', 'gadjo.sidepage.js']) > 81 return super(RootDirectory, self)._q_traverse(path) 82 83 @classmethod locals: path = ['workflows', '24', ''] self = File "/usr/lib/pymodules/python2.7/quixote/directory.py", line 63, in _q_traverse 61 if path: 62 if hasattr(obj, '_q_traverse'): > 63 return obj._q_traverse(path) 64 else: 65 raise TraversalError locals: component = 'backoffice' self = obj = name = 'backoffice' path = ['workflows', '24', ''] File "/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/modules/root.py", line 849, in _q_traverse 847 return redirect('%s%s/%s' % (base_url, f.category.url_name, uri_rest)) 848 > 849 raise e 850 851 locals: path = ['backoffice', 'workflows', '24', ''] self = response = File "/usr/lib/pymodules/python2.7/quixote/publish.py", line 253, in try_publish 251 permanent=True) 252 components = path[1:].split('/') > 253 output = self.root_directory._q_traverse(components) 254 # The callable ran OK, commit any changes to the session 255 self.finish_successful_request() locals: path = '/backoffice/workflows/24/' self = request = components = ['backoffice', 'workflows', '24', ''] File "/usr/lib/python2.7/dist-packages/wcs/qommon/publisher.py", line 623, in try_publish 621 for extra_source in self.extra_sources: 622 self.substitutions.feed(extra_source(self, request)) > 623 return Publisher.try_publish(self, request) 624 625 def get_site_language(self): locals: extra_source = pystatsd = request = script_name = '' prefix = 'm' override_template_keys = {'m': 'mobile'} canonical_hostname = 'demarches-alfortville.dev.entrouvert.org' self = File "/usr/lib/python2.7/dist-packages/wcs/publisher.py", line 227, in try_publish 225 if request.get_header('X_WCS_IFRAME_MODE', '') in ('true', 'yes'): 226 request.response.iframe_mode = True > 227 return QommonPublisher.try_publish(self, request) 228 229 def get_object_visitors(self, object_key): locals: self = request = File "/usr/lib/pymodules/python2.7/quixote/publish.py", line 281, in process_request 279 except: 280 # Some other exception, generate error messages to the logs, etc. > 281 output = self.finish_failed_request() 282 output = self.filter_output(request, output) 283 self.logger.log_request(request, start_time) locals: start_time = 1466607878.535424 request = self = File "/usr/lib/python2.7/dist-packages/wcs/qommon/publisher.py", line 932, in process 930 def process(self, stdin, env): 931 request = HTTPRequest(stdin, env) > 932 self.response = self.process_request(request) 933 return self.response 934 locals: self = stdin = ', mode 'r' at 0x7f748ee8ca50> request = env = {'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-alfortville.dev.entrouvert.org%2F; publik_portal_agent_title=Portail%20agent; publik_portal_agent_url=https%3A%2F%2Fagents.fontenay-sous-bois.fr%2F; publik_portal_agent_title=Portail%20agent; wcs-7eafd8="84297a4e9fdb3b4c"; A2_OPENED_SESSION=1', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'GET', 'PATH_INFO': '/backoffice/workflows/24/', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'CONTENT_LENGTH': '0', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0', 'HTTP_CONNECTION': 'keep-alive', 'SERVER_NAME': 'demarches-alfortville.dev.entrouvert.org', 'REMOTE_ADDR': '85.68.110.169', 'REMOTE_USER': '559', 'SERVER_PORT': '443', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'CONTENT_TYPE': '', 'DOCUMENT_URI': '/backoffice/workflows/24/', 'HTTP_DNT': '1', 'HTTP_HOST': 'demarches-alfortville.dev.entrouvert.org', 'HTTPS': 'yes', 'REQUEST_URI': '/backoffice/workflows/24/', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'REMOTE_PORT': '45502', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3', 'SCGI': '1', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'} File "/usr/lib/pymodules/python2.7/quixote/server/scgi_server.py", line 27, in handle_connection 25 env['PATH_INFO'] = path[len(prefix):] + env.get('PATH_INFO', '') 26 > 27 response = self.publisher.process(input, env) 28 try: 29 response.write(output) locals: output = ', mode 'w' at 0x7f748b5df390> self = conn = env = {'HTTP_COOKIE': 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-alfortville.dev.entrouvert.org%2F; publik_portal_agent_title=Portail%20agent; publik_portal_agent_url=https%3A%2F%2Fagents.fontenay-sous-bois.fr%2F; publik_portal_agent_title=Portail%20agent; wcs-7eafd8="84297a4e9fdb3b4c"; A2_OPENED_SESSION=1', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'GET', 'PATH_INFO': '/backoffice/workflows/24/', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'CONTENT_LENGTH': '0', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0', 'HTTP_CONNECTION': 'keep-alive', 'SERVER_NAME': 'demarches-alfortville.dev.entrouvert.org', 'REMOTE_ADDR': '85.68.110.169', 'REMOTE_USER': '559', 'SERVER_PORT': '443', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'CONTENT_TYPE': '', 'DOCUMENT_URI': '/backoffice/workflows/24/', 'HTTP_DNT': '1', 'HTTP_HOST': 'demarches-alfortville.dev.entrouvert.org', 'HTTPS': 'yes', 'REQUEST_URI': '/backoffice/workflows/24/', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'REMOTE_PORT': '45502', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3', 'SCGI': '1', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'} input = ', mode 'r' at 0x7f748ee8ca50> File "/usr/lib/python2.7/dist-packages/wcs/qommon/scgi_server.py", line 35, in handle_connection 33 def handle_connection(self, conn): 34 self.number_of_connection_handled = self.number_of_connection_handled + 1 > 35 quixote.server.scgi_server.QuixoteHandler.handle_connection(self, conn) 36 # input, output and conn are closed, long running jobs could be done 37 # here. locals: self = conn = File "/usr/lib/python2.7/dist-packages/scgi/scgi_server.py", line 71, in serve 69 conn.setblocking(1) 70 os.close(fd) > 71 self.handle_connection(conn) 72 73 locals: self = fd = 5 conn = File "/usr/lib/python2.7/dist-packages/scgi/scgi_server.py", line 194, in spawn_child 192 # the connection in the child 193 os.close(child_fd) > 194 self.handler_class(parent_fd).serve() 195 sys.exit(0) 196 else: locals: self = pid = 0 flags = 2 child_fd = 5 parent_fd = 4 conn = None File "/usr/lib/python2.7/dist-packages/scgi/scgi_server.py", line 172, in __init__ 170 self.max_children = max_children 171 self.children = {} # { pid : fd } > 172 self.spawn_child() 173 self.restart = 0 174 locals: max_children = 5 host = 'localhost' handler_class = port = 3001 self = File "/usr/lib/python2.7/dist-packages/wcs/qommon/scgi_server.py", line 73, in run 71 72 s = SCGIServer(create_handler, host=host, port=port, > 73 max_children=max_children) 74 s.serve() 75 locals: create_handler = handler_connection_limit = -1 max_children = 5 create_publisher = > script_name = None host = 'localhost' spawn_cron = True port = 3001 File "/usr/lib/python2.7/dist-packages/wcs/ctl/start.py", line 138, in execute 136 137 try: > 138 run_function(publisher.WcsPublisher.create_publisher, **run_kwargs) 139 except socket.error, e: 140 self.del_pid() locals: publisher = base_app_dir = '/var/lib/wcs-au-quotidien' args = [] tenant_path = '/var/lib/wcs-au-quotidien/.cache' self = hostname = '.cache' pub = sub_options = run_function = base_options = run_kwargs = {'port': 3001, 'spawn_cron': True} File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 69, in run 67 for i, extra in enumerate(sub_options.extra): 68 self.config.set("extra", "cmd_line_extra_%d" % i, extra) > 69 return self.execute(base_options, sub_options, args) 70 71 def parse_args(self, args): locals: extra = '/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/' i = 0 self = args = [] sub_options = base_options = File "/usr/lib/python2.7/dist-packages/wcs/qommon/ctl.py", line 159, in run 157 command_class = self.get_commands()[command] 158 cmd = command_class() > 159 return cmd.run(args, options) 160 locals: cmd = args = ['--extra', '/usr/lib/pymodules/python2.7/extra-wcs-au-quotidien/'] self = command_class = command = 'start' cmd_prefix = 'wcs.ctl' options = File "/usr/sbin/wcsctl", line 8, in 6 7 ctl = wcs.qommon.ctl.Ctl(cmd_prefixes=['wcs.ctl']) > 8 ctl.run(sys.argv[1:]) 9 locals: wcs = __builtins__ = __file__ = '/usr/sbin/wcsctl' __package__ = None sys = ctl = __name__ = '__main__' __doc__ = None Form: Cookies: A2_OPENED_SESSION '1' publik_portal_agent_title 'Portail%20agent' publik_portal_agent_url 'https%3A%2F%2Fagents.fontenay-sous-bois.fr%2F' wcs-7eafd8 '84297a4e9fdb3b4c' Environment: CONTENT_LENGTH '0' CONTENT_TYPE '' DOCUMENT_ROOT '/usr/share/nginx/html' DOCUMENT_URI '/backoffice/workflows/24/' HTTPS 'yes' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_ENCODING 'gzip, deflate' HTTP_ACCEPT_LANGUAGE 'fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3' HTTP_CONNECTION 'keep-alive' HTTP_COOKIE 'publik_portal_agent_url=https%3A%2F%2Fportail-agent-alfortville.dev.entrouvert.org%2F; publik_portal_agent_title=Portail%20agent; publik_portal_agent_url=https%3A%2F%2Fagents.fontenay-sous-bois.fr%2F; publik_portal_agent_title=Portail%20agent; wcs-7eafd8="84297a4e9fdb3b4c"; A2_OPENED_SESSION=1' HTTP_DNT '1' HTTP_HOST 'demarches-alfortville.dev.entrouvert.org' HTTP_USER_AGENT 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0' PATH_INFO '/backoffice/workflows/24/' QUERY_STRING '' REMOTE_ADDR '85.68.110.169' REMOTE_PORT '45502' REMOTE_USER '559' REQUEST_METHOD 'GET' REQUEST_URI '/backoffice/workflows/24/' SCGI '1' SCRIPT_NAME '' SERVER_NAME 'demarches-alfortville.dev.entrouvert.org' SERVER_PORT '443' SERVER_PROTOCOL 'HTTP/1.1'