Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#570 closed defect (worksforme)

AttributeError: 'NoneType' object has no attribute 'repository'

Reported by: Weldight Owned by:
Priority: major Milestone:
Component: helenos-web Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

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

При выполнении операции GET по /changeset/current:/mainline, Trac выдает внутреннюю ошибку.

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

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

{'format': u'zip',
 'new': u'current:',
 'new_path': u'/mainline',
 'old_path': u'/'}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36

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

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

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

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

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 349, in process_request
    self._render_zip(req, filename, repos, data)
  File "/usr/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 768, in _render_zip
    old_path=data['old_path'], old_rev=data['old_rev']):
  File "/usr/lib/python2.7/site-packages/tracbzr/backend.py", line 744, in get_changes
    old_tree = old_branch.repository.revision_tree(old_revid)
AttributeError: 'NoneType' object has no attribute 'repository'

Change History (3)

comment:1 Changed 4 years ago by Jakub Jermář

Component: helenos/unspecifiedhelenos-web
Milestone: 0.5.1

Rabotaet dlya menya.

comment:2 Changed 4 years ago by Jakub Jermář

Resolution: worksforme
Status: newclosed

comment:3 Changed 4 years ago by Martin Decky

Note: Strange errors can be observed from time to time as Trac hits its memory limit. There is a small memory leak in Trac that accumulates over a period of multiple days and Trac is unable to handle the out-of-memory situation gracefully. A proper measure to mitigate the effects of leaky FastCGI binaries should be deployed on the server in the near future.

Note: See TracTickets for help on using tickets.