Bug #13724
Mis à jour par Frédéric Péters il y a plus de 7 ans
Il est noté sous le champ "Nombre de jours [...]" mais des personnes se trouvent malgré tout à essayer d'y écrire "30 jours".
Ce qui produit derrière cette erreur :
<pre>
Exception:
type = '<type 'exceptions.ValueError'>', value = 'invalid literal for int() with base 10: '30 jours''
Stack trace (most recent call first):
File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 1100, in must_trigger
1098 return False
1099
> 1100 anchor_date = anchor_date + datetime.timedelta(days=int(self.timeout))
1101
1102 return bool(datetime.datetime.now() > anchor_date)
locals:
anchor_date = datetime.datetime(2016, 10, 24, 15, 7, 35)
formdata = <Votre-Demande-Aupres-Du-Service-Proximite id:2>
self = <wcs.workflows.WorkflowGlobalActionTimeoutTrigger object at 0x2e2fb50>
</pre>
Ce qui produit derrière cette erreur :
<pre>
Exception:
type = '<type 'exceptions.ValueError'>', value = 'invalid literal for int() with base 10: '30 jours''
Stack trace (most recent call first):
File "/usr/lib/python2.7/dist-packages/wcs/workflows.py", line 1100, in must_trigger
1098 return False
1099
> 1100 anchor_date = anchor_date + datetime.timedelta(days=int(self.timeout))
1101
1102 return bool(datetime.datetime.now() > anchor_date)
locals:
anchor_date = datetime.datetime(2016, 10, 24, 15, 7, 35)
formdata = <Votre-Demande-Aupres-Du-Service-Proximite id:2>
self = <wcs.workflows.WorkflowGlobalActionTimeoutTrigger object at 0x2e2fb50>
</pre>