Exception: type = '', value = 'form already has 'timeout' widget' Stack trace (most recent call first): File "/usr/lib/pymodules/python2.6/quixote/form/form.py", line 233, in add 231 def add(self, widget_class, name, *args, **kwargs): 232 if name in self._names: > 233 raise ValueError, "form already has '%s' widget" % name 234 widget = widget_class(name, *args, **kwargs) 235 self._names[name] = widget locals: widget_class = self = args = () name = 'timeout' kwargs = {'title': 'Expiration', 'value': '', 'render_br': False, 'hint': Unit\xc3\xa9s de temps utilisables: jour,jours,heure,heures,mois,mois,ann\xc3\xa9e,ann\xc3\xa9es,minute,minutes,seconde,secondes.
Attention la dur\xc3\xa9e minimale est 20 minutes'>} File "/usr/lib/pymodules/python2.6/wcs/qommon/form.py", line 222, in add 220 if kwargs and not kwargs.has_key('render_br'): 221 kwargs['render_br'] = False > 222 return QuixoteForm.add(self, widget_class, name, *args, **kwargs) 223 224 def remove(self, name): locals: widget_class = self = args = () name = 'timeout' kwargs = {'hint': Unit\xc3\xa9s de temps utilisables: jour,jours,heure,heures,mois,mois,ann\xc3\xa9e,ann\xc3\xa9es,minute,minutes,seconde,secondes.
Attention la dur\xc3\xa9e minimale est 20 minutes'>, 'render_br': False, 'value': '', 'title': 'Expiration'} File "/usr/lib/pymodules/python2.6/wcs/wf/timeout_jump.py", line 51, in add_parameters_widgets 49 'granularity': seconds2humanduration(self._granularity)} 50 form.add(StringWidget, 'timeout', title=_('Timeout'), > 51 value=seconds2humanduration(self.timeout), hint=_hint) 52 53 def timeout_parse(self, value): locals: parameters = ['timeout'] form = formdef = self = prefix = _hint = Unit\xc3\xa9s de temps utilisables: jour,jours,heure,heures,mois,mois,ann\xc3\xa9e,ann\xc3\xa9es,minute,minutes,seconde,secondes.
Attention la dur\xc3\xa9e minimale est 20 minutes'> File "/usr/lib/pymodules/python2.6/wcs/admin/forms.ptl", line 941, in workflow_options 939 label = getattr(item, str('label'), None) or _(item.description) 940 form.widgets.append(HtmlWidget('

%s

' % label)) > 941 item.add_parameters_widgets(form, parameters, prefix=prefix, formdef=self.formdef) 942 form.add_submit('submit', _('Submit')) 943 form.add_submit('cancel', _('Cancel')) locals: status = pristine_workflow = form = parameters = ['timeout'] pristine_item = self = request = label = 'Changer de statut apr\xc3\xa8s expiration' item = prefix = had_options = True x = 'timeout' _q_output = File "/usr/lib/pymodules/python2.6/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 = 'workflow-options' self = obj = > name = 'workflow_options' path = [] File "/usr/lib/pymodules/python2.6/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 = '4' self = obj = name = None path = ['workflow-options'] File "/usr/lib/pymodules/python2.6/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 = 'forms' self = obj = name = 'forms' path = ['4', 'workflow-options'] File "/usr/lib/pymodules/python2.6/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 = ['forms', '4', 'workflow-options'] self = File "/usr/lib/pymodules/python2.6/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 = 'admin' self = obj = name = 'admin' path = ['forms', '4', 'workflow-options'] File "/usr/lib/pymodules/python2.6/extra-wcs-au-quotidien/modules/root.ptl", line 787, in _q_traverse 785 return redirect('%s%s/%s' % (base_url, f.category.url_name, uri_rest)) 786 > 787 raise e 788 789 locals: path = ['admin', 'forms', '4', 'workflow-options'] self = session = response = File "/usr/lib/pymodules/python2.6/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 = '/admin/forms/4/workflow-options' self = request = components = ['admin', 'forms', '4', 'workflow-options'] File "/usr/lib/pymodules/python2.6/wcs/qommon/publisher.py", line 492, in try_publish 490 for extra_source in self.extra_sources: 491 self.substitutions.feed(extra_source(self, request)) > 492 return Publisher.try_publish(self, request) 493 494 def get_site_language(self): locals: pystatsd = request = script_name = '' extra_source = canonical_hostname = 'koshie.test.au-quotidien.com' self = File "/usr/lib/pymodules/python2.6/wcs/publisher.py", line 140, in try_publish 138 if request.get_header('X_WCS_IFRAME_MODE', '') in ('true', 'yes'): 139 request.response.iframe_mode = True > 140 return QommonPublisher.try_publish(self, request) 141 142 set_publisher_class(WcsPublisher) locals: self = request = File "/usr/lib/pymodules/python2.6/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 = 1363332347.3219571 request = self = File "/usr/lib/pymodules/python2.6/wcs/qommon/publisher.py", line 784, in process 782 def process(self, stdin, env): 783 request = HTTPRequest(stdin, env) > 784 self.response = self.process_request(request) 785 return self.response 786 locals: self = stdin = ', mode 'r' at 0x2bf9f60> request = env = {'HTTP_X_AU_QUOTIDIEN_LOCKED': 'False', 'HTTP_REFERER': 'https://koshie.test.au-quotidien.com/admin/forms/4/', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'GET', 'PATH_INFO': '/admin/forms/4/workflow-options', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'SSL_TLS_SNI': 'koshie.test.au-quotidien.com', 'CONTENT_LENGTH': '0', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux x86_64; Edition Next) Presto/2.12.388 Version/12.14', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': 'wcs-6346ef="79e1dd17fd557126"', 'SERVER_NAME': 'koshie.test.au-quotidien.com', 'REMOTE_ADDR': '109.190.108.22', 'SERVER_PORT': '443', 'SERVER_ADDR': '81.93.255.234', 'DOCUMENT_ROOT': '/usr/share/wcs/web/', 'SERVER_ADMIN': 'webmaster@au-quotidien.com', 'SCRIPT_URI': 'https://koshie.test.au-quotidien.com/admin/forms/4/workflow-options', 'REMOTE_USER': '2', 'HTTP_HOST': 'koshie.test.au-quotidien.com', 'SCRIPT_URL': '/admin/forms/4/workflow-options', 'HTTPS': 'on' , 'HTTP_CACHE_CONTROL': 'no-cache', 'REQUEST_URI': '/admin/forms/4/workflow-options', 'HTTP_ACCEPT': 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1', 'REMOTE_PORT': '41386', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.9,en;q=0.8', 'SCGI': '1', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'} File "/usr/lib/pymodules/python2.6/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 0x2bf9db0> self = conn = env = {'HTTP_X_AU_QUOTIDIEN_LOCKED': 'False', 'HTTP_REFERER': 'https://koshie.test.au-quotidien.com/admin/forms/4/', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'GET', 'PATH_INFO': '/admin/forms/4/workflow-options', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'SSL_TLS_SNI': 'koshie.test.au-quotidien.com', 'CONTENT_LENGTH': '0', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux x86_64; Edition Next) Presto/2.12.388 Version/12.14', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_COOKIE': 'wcs-6346ef="79e1dd17fd557126"', 'SERVER_NAME': 'koshie.test.au-quotidien.com', 'REMOTE_ADDR': '109.190.108.22', 'SERVER_PORT': '443', 'SERVER_ADDR': '81.93.255.234', 'DOCUMENT_ROOT': '/usr/share/wcs/web/', 'SERVER_ADMIN': 'webmaster@au-quotidien.com', 'SCRIPT_URI': 'https://koshie.test.au-quotidien.com/admin/forms/4/workflow-options', 'REMOTE_USER': '2', 'HTTP_HOST': 'koshie.test.au-quotidien.com', 'SCRIPT_URL': '/admin/forms/4/workflow-options', 'HTTPS': 'on' , 'HTTP_CACHE_CONTROL': 'no-cache', 'REQUEST_URI': '/admin/forms/4/workflow-options', 'HTTP_ACCEPT': 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1', 'REMOTE_PORT': '41386', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.9,en;q=0.8', 'SCGI': '1', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'} input = ', mode 'r' at 0x2bf9f60> File "/usr/lib/pymodules/python2.6/wcs/qommon/scgi_server.py", line 39, in handle_connection 37 def handle_connection(self, conn): 38 self.number_of_connection_handled = self.number_of_connection_handled + 1 > 39 quixote.server.scgi_server.QuixoteHandler.handle_connection(self, conn) 40 # input, output and conn are closed, long running jobs could be done 41 # here. locals: self = conn = File "/usr/lib/pymodules/python2.6/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/pymodules/python2.6/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 = 4 parent_fd = 3 conn = None File "/usr/lib/pymodules/python2.6/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/pymodules/python2.6/wcs/qommon/scgi_server.py", line 77, in run 75 76 s = SCGIServer(create_handler, host=host, port=port, > 77 max_children=max_children) 78 s.serve() 79 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/pymodules/python2.6/wcs/ctl/start.py", line 67, in execute 65 66 try: > 67 run_function(publisher.WcsPublisher.create_publisher, **run_kwargs) 68 except socket.error, e: 69 if e[0] == 98: locals: publisher = self = args = [] sub_options = run_function = base_options = run_kwargs = {'port': 3001, 'spawn_cron': True} File "/usr/lib/pymodules/python2.6/wcs/qommon/ctl.py", line 65, in run 63 if sub_options.data_dir: 64 self.config.set("main", "data_dir", sub_options.data_dir) > 65 return self.execute(base_options, sub_options, args) 66 67 def parse_args(self, args): locals: sub_options = args = [] base_options = self = File "/usr/lib/pymodules/python2.6/wcs/qommon/ctl.py", line 140, in run 138 command_class = qommon._commands[command] 139 cmd = command_class() > 140 return cmd.run(args, options) 141 locals: cmd = args = ['--extra', '/usr/lib/pymodules/python2.6/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: wcs-6346ef '79e1dd17fd557126' Environment: CONTENT_LENGTH '0' DOCUMENT_ROOT '/usr/share/wcs/web/' HTTPS 'on' HTTP_ACCEPT 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1' HTTP_ACCEPT_ENCODING 'gzip, deflate' HTTP_ACCEPT_LANGUAGE 'fr-FR,fr;q=0.9,en;q=0.8' HTTP_CACHE_CONTROL 'no-cache' HTTP_CONNECTION 'Keep-Alive' HTTP_COOKIE 'wcs-6346ef="79e1dd17fd557126"' HTTP_HOST 'koshie.test.au-quotidien.com' HTTP_REFERER 'https://koshie.test.au-quotidien.com/admin/forms/4/' HTTP_USER_AGENT 'Opera/9.80 (X11; Linux x86_64; Edition Next) Presto/2.12.388 Version/12.14' HTTP_X_AU_QUOTIDIEN_LOCKED 'False' PATH_INFO '/admin/forms/4/workflow-options' QUERY_STRING '' REMOTE_ADDR '109.190.108.22' REMOTE_PORT '41386' REMOTE_USER '2' REQUEST_METHOD 'GET' REQUEST_URI '/admin/forms/4/workflow-options' SCGI '1' SCRIPT_NAME '' SCRIPT_URI 'https://koshie.test.au-quotidien.com/admin/forms/4/workflow-options' SCRIPT_URL '/admin/forms/4/workflow-options' SERVER_ADDR '81.93.255.234' SERVER_ADMIN 'webmaster@au-quotidien.com' SERVER_NAME 'koshie.test.au-quotidien.com' SERVER_PORT '443' SERVER_PROTOCOL 'HTTP/1.1' SERVER_SOFTWARE 'Apache/2.2.16 (Debian)' SSL_TLS_SNI 'koshie.test.au-quotidien.com'