Opened 7 years ago

Closed 7 years ago

#6595 closed defect (invalid)

OperationalError: database is locked

Reported by: max79 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Как воспроизвести

При выполнении операции POST по /ticket/6564, Trac выдает внутреннюю ошибку.

(просьба предоставить дополнительные подробности здесь)

Параметры запроса:

{'__FORM_TOKEN': u'be5b5ad9ec9eab73b6e4d8d9',
 'action': u'leave',
 'comment': u'Replying to [comment:1 atze]:\r\n> Maybe a duplicate of #6558 ?\r\nyeah seems as duplicate, please sorry for my inattention. But issue still not fixed. thank you for pointing!',
 'confirm_email': u'',
 'email_confirm': u'',
 'field_blockedby': u'',
 'field_blocking': u'',
 'field_checkbox_analyzed': u'1',
 'field_checkbox_reproduced': u'1',
 'field_component': u'avformat',
 'field_keywords': u'cue',
 'field_priority': u'normal',
 'field_summary': u'Built in CUE marks now lost in MP3',
 'field_type': u'defect',
 'field_version': u'unspecified',
 'id': u'6564',
 'replyto': u'1',
 'start_time': u'1502989801245669',
 'submit': u'\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f',
 'view_time': u'1502989801245669'}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; raidcall; Media Center PC 6.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko

Системная информация

Системная информация недоступна

Включенные плагины

Информация о плагинах недоступна

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 179, in process_request
    return self._process_ticket_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 610, in _process_ticket_request
    valid = self._validate_ticket(req, ticket, not valid) and valid
  File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 1278, in _validate_ticket
    for field, message in manipulator.validate_ticket(req, ticket):
  File "/usr/local/lib/python2.7/dist-packages/TracSpamFilter-1.0.8-py2.7.egg/tracspamfilter/adapters.py", line 63, in validate_ticket
    FilterSystem(self.env).test(req, author, changes)
  File "/usr/local/lib/python2.7/dist-packages/TracSpamFilter-1.0.8-py2.7.egg/tracspamfilter/filtersystem.py", line 226, in test
    self._record_action('test', 'error', '', strategy, time.time()-tim)
  File "/usr/local/lib/python2.7/dist-packages/TracSpamFilter-1.0.8-py2.7.egg/tracspamfilter/filtersystem.py", line 485, in _record_action
    stats.insert_or_update(name, action, data, status, delay, 1 if strategy.is_external() else 0)
  File "/usr/local/lib/python2.7/dist-packages/TracSpamFilter-1.0.8-py2.7.egg/tracspamfilter/model.py", line 394, in insert_or_update
    delay, delay, external, int(time())))
  File "/usr/lib/python2.7/dist-packages/trac/db/api.py", line 155, in __exit__
    self.db.commit()
OperationalError: database is locked

Change History (1)

comment:1 by Hendrik, 7 years ago

Resolution: invalid
Status: newclosed

We don't speak russian here, and Trac is for reporting issues with FFmpeg, not anything else.

Note: See TracTickets for help on using tickets.