Modify

Opened 7 years ago

Last modified 7 years ago

#13255 new defect

RuntimeError: could not open display

Reported by: debiasi@… Owned by:
Priority: normal Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

I had a working Trac installation and I did a new instalation on a new OS migrating the file. All is working but trac metrix plugin. On log file is displaying the error below.

2017-08-03 18:07:29,798 Trac[loader] DEBUG: Loading tracmetrixplugin.api from /var/lib/trac/mytrac/plugins/TracMetrixPlugin-0.1.8dev-py2.7.egg
2017-08-03 18:07:29,798 Trac[loader] DEBUG: Loading tracmetrixplugin.mdashboard from /var/lib/trac/mytrac/plugins/TracMetrixPlugin-0.1.8dev-py2.7.egg
2017-08-03 18:07:30,010 Trac[loader] ERROR: Skipping "tracmetrixplugin.mdashboard = tracmetrixplugin.mdashboard": 
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/loader.py", line 70, in _load_eggs
    entry.load(require=True)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-x86_64/egg/tracmetrixplugin/mdashboard.py", line 22, in <module>
  File "/usr/lib64/python2.7/site-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib64/python2.7/site-packages/matplotlib/pylab.py", line 265, in <module>
    from matplotlib.pyplot import *
  File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 97, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
    globals(),locals(),[backend_name])
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in <module>
    from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py", line 13, in <module>
    import gtk; gdk = gtk.gdk
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
    _init()
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
    _gtk.init_check()
RuntimeError: could not open display
2017-08-03 18:07:30,011 Trac[loader] DEBUG: Loading tracmetrixplugin.model from /var/lib/trac/mytrac/plugins/TracMetrixPlugin-0.1.8dev-py2.7.egg
2017-08-03 18:07:30,013 Trac[loader] ERROR: Skipping "tracmetrixplugin.model = tracmetrixplugin.model": 
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/loader.py", line 70, in _load_eggs
    entry.load(require=True)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-x86_64/egg/tracmetrixplugin/model.py", line 21, in <module>
  File "/usr/lib64/python2.7/site-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib64/python2.7/site-packages/matplotlib/pylab.py", line 265, in <module>
    from matplotlib.pyplot import *
  File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 97, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
    globals(),locals(),[backend_name])
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in <module>
    from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py", line 13, in <module>
    import gtk; gdk = gtk.gdk
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
    _init()
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
    _gtk.init_check()
RuntimeError: could not open display
2017-08-03 18:07:30,013 Trac[loader] DEBUG: Loading tracmetrixplugin.web_ui from /var/lib/trac/mytrac/plugins/TracMetrixPlugin-0.1.8dev-py2.7.egg
2017-08-03 18:07:30,016 Trac[loader] ERROR: Skipping "tracmetrixplugin.web_ui = tracmetrixplugin.web_ui": 
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/loader.py", line 70, in _load_eggs
    entry.load(require=True)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-x86_64/egg/tracmetrixplugin/web_ui.py", line 36, in <module>
  File "build/bdist.linux-x86_64/egg/tracmetrixplugin/model.py", line 21, in <module>
  File "/usr/lib64/python2.7/site-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib64/python2.7/site-packages/matplotlib/pylab.py", line 265, in <module>
    from matplotlib.pyplot import *
  File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 97, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
    globals(),locals(),[backend_name])
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in <module>
    from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
  File "/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py", line 13, in <module>
    import gtk; gdk = gtk.gdk
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
    _init()
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
    _gtk.init_check()
RuntimeError: could not open display

Attachments (2)

trac_info01.png (118.8 KB) - added by anonymous 7 years ago.
Trac_info02.png (474.8 KB) - added by anonymous 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by anonymous

Attachment: trac_info01.png added

Changed 7 years ago by anonymous

Attachment: Trac_info02.png added

comment:1 Changed 7 years ago by debiasi@…

I am using CentOS 7.3 - Linux version 3.10.0-514.26.2.el7.x86_64 (builder@…) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) )

comment:2 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 7 years ago by Ryan J Ollos

comment:4 Changed 7 years ago by debiasi@…

I am using trac 1.0.15

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.