Modify

Opened 7 years ago

Closed 7 years ago

#1974 closed defect (fixed)

TclError: no display name and no $DISPLAY environment variable

Reported by: khundeen Owned by: anonymous
Priority: high Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by khundeen)

File "/u/bhuricha/lib/python2.5/site-packages/Trac-0.11dev_r5933-py2.5.egg/trac/web/main.py", line 381, in dispatch_request
File "/u/bhuricha/lib/python2.5/site-packages/Trac-0.11dev_r5933-py2.5.egg/trac/web/main.py", line 191, in dispatch
File "/u/bhuricha/source/trac-hacks/tracmetrixplugin/0.11/tracmetrixplugin/web_ui.py", line 119, in process_request
File "/u/bhuricha/source/trac-hacks/tracmetrixplugin/0.11/tracmetrixplugin/web_ui.py", line 193, in _render_view
File "/u/bhuricha/source/trac-hacks/tracmetrixplugin/0.11/tracmetrixplugin/model.py", line 452, in get_daily_backlog_chart
File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 876, in figure
File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", line 88, in new_figure_manager
File "lib-tk/Tkinter.py", line 1639, in init

Local variables:
Name Value
baseName 'trac.cgi'
className 'Tk'
ext '.cgi'
interactive 0
os <module 'os' from '/usr/lib/python2.5/os.pyc'>
screenName None
self None
sync 0
sys <module 'sys' (built-in)>
use None
useTk 1

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by khundeen

  • Trac Release changed from 0.10 to 0.11

comment:2 Changed 7 years ago by anonymous

  • Owner changed from khundeen to anonymous
  • Status changed from new to assigned

comment:3 Changed 7 years ago by khundeen

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from assigned to closed

pylab automatically use interactive backend.

matplotlib.use('Agg') has to be called befor importing pylab.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.