anticorruzione / openwhistleblowing

Software per il riuso
Other
19 stars 13 forks source link

errore 500 esportazione segnalazione #33

Open RDLRA opened 4 years ago

RDLRA commented 4 years ago

log container docker

2020-09-20 22:45:48+0200 [-] "[!] Uncaught exception <type 'exceptions.ValueError'> invalid literal for int() with base 10: '' <traceback object at0x7f9069885680>" 2020-09-20 22:45:48+0200 [-] [ ] invalid literal for int() with base 10: '' 2020-09-20 22:45:48+0200 [-] '[!] Unhandled exception raised:' 2020-09-20 22:45:48+0200 [-] '[!] ValueError Inappropriate argument value (of correct type).\\n\\nTraceback (most recent call last):\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks\\nresult = result.throwExceptionIntoGenerator(g)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator\\n return g.throw(self.type, self.value, self.tb)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/handlers/export.py", line 76, in post\\n tip_export = yield get_tip_export(self.current_user.user_id, rtip_id, self.request.language)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/twisted/python/threadpool.py", line 250, in inContext\\n result = inContext.theWork()\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>\\n inContext.theWork = lambda: context.call(ctx, func, *args, kw)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/twisted/python/context.py",line 122, in callWithContext\\n return self.currentContext().callWithContext(ctx, func, *args, *kw)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext\\n return func(args,kw)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/orm.py", line 125, in _wrap\\n result = function(self.store, *args, **kwargs)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/handlers/export.py", line 47, in get_tip_export\\n export_template = Templating().format_template(export_dict[\'notification\'][\'export_template\'], export_dict).encode(\'utf-8\')\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 419, in format_template\\n variable_content = getattr(keyword_converter, kw[1:-1])()\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 295, in QuestionnaireAnswers\\n return dump_questionnaire_answers(self.data[\'tip\'][\'questionnaire\'], self.data[\'tip\'][\'answers\'])\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 154, in dump_questionnaire_answers\\n output = dump_fields(output, step[\'children\'], answers, 1) +\'\\\\n\'\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 133, in dump_fields\\n output =dump_field_entry(output, field, entries[0], indent_n + 1)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 107, in dump_field_entry\\n output = dump_fields(output, field[\'children\'], entry, indent_n)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 133, in dump_fields\\n output = dump_field_entry(output, field, entries[0], indent_n + 1)\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/templating.py", line 102, in dump_field_entry\\n output += indent(indent_n) + ISO8601_to_pretty_str(entry.get(\'value\', \'\')) + \'\\\\n\'\\n\\n File "/usr/local/owb/backend/lib/python2.7/site-packages/globaleaks/utils/utility.py", line 372, in ISO8601_to_pretty_str\\n date = datetime(year=int(isodate[0:4]),\\n\\nValueError: invalid literal for int() with base 10: \'\'\\n' 2020-09-20 22:45:48+0200 [-] [http] 500 POST /rtip/a0a19b65-9892-4417-b151-65acffd40e43/export (10.200.200.186) 4009.12ms