Opened 10 years ago

Closed 10 years ago

#2558 closed defect (fixed)

RuntimeError: Could not open file /var/trac/project/cache/tracmetrixplugin/dailybacklog.png

Reported by: ruben@… Owned by: Bhuricha Deen Sethanandha
Priority: normal Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


How to Reproduce

While doing a GET operation on /pdashboard, Trac issued an internal error.

Just click on dashboard tab. I was on debian etch and upgraded to lenny in order to have the good library versions.

Request parameters:

{'imagename': None}

System Information

Trac 0.11b1
Python 2.4.4 (#1, Jan 3 2008, 13:33:54)
[GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)]
setuptools 0.6c7
SQLite 2.8.17
pysqlite 1.0.1
Genshi 0.4.4
Subversion 1.4.4 (r25188)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/", line 398, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/", line 195, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracMetrixPlugin-0.1.5-py2.4.egg/tracmetrixplugin/", line 122, in process_request
    return self._render_view(req, db)
  File "/usr/lib/python2.4/site-packages/TracMetrixPlugin-0.1.5-py2.4.egg/tracmetrixplugin/", line 196, in _render_view
    daily_backlog_chart_path = tkt_group_metrics.get_daily_backlog_chart(backlog_history)
  File "/usr/lib/python2.4/site-packages/TracMetrixPlugin-0.1.5-py2.4.egg/tracmetrixplugin/", line 488, in get_daily_backlog_chart
  File "/usr/lib/python2.4/site-packages/matplotlib/", line 759, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/matplotlib/backends/", line 478, in print_figure
RuntimeError: Could not open file /var/trac/project/cache/tracmetrixplugin/dailybacklog.png

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by anonymous

To fix it : chmod 777 /var/trac/project/cache/tracmetrixplugin/

comment:2 Changed 10 years ago by anonymous

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Bhuricha Deen Sethanandha.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.