Opened 9 years ago

Closed 8 years ago

#5953 closed defect (fixed)

Failed to open environment. 'module' object has no attribute 'core'

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: TracMetrixPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


The plugin is not usable. On SuSE 10.2 the plugin was installed and enabled. The command

trac-admin /var/trac/.. upgrade

gives the following error:

14:59:19 Trac[loader] DEBUG: Loading tracmetrixplugin.api from /usr/local/lib64/python2.5/site-packages/TracMetrixPlugin-0.1.7-py2.5.egg
14:59:19 Trac[loader] DEBUG: Loading tracmetrixplugin.web_ui from /usr/local/lib64/python2.5/site-packages/TracMetrixPlugin-0.1.7-py2.5.egg
14:59:20 Trac[loader] ERROR: Skipping "tracmetrixplugin.web_ui = tracmetrixplugin.web_ui": (can't import "ImportError: /usr/lib64/ undefined symbol: etime_")
14:59:20 Trac[loader] DEBUG: Loading tracmetrixplugin.mdashboard from /usr/local/lib64/python2.5/site-packages/TracMetrixPlugin-0.1.7-py2.5.egg
Failed to open environment. 'module' object has no attribute 'core'
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/trac/admin/", line 172, in env_open
    self.__env = Environment(self.envname)
  File "/usr/lib64/python2.5/site-packages/trac/", line 201, in __init__
    load_components(self, plugins_dir and (plugins_dir,))
  File "/usr/lib64/python2.5/site-packages/trac/", line 112, in load_components
    loadfunc(env, search_path, auto_enable=plugins_dir)
  File "/usr/lib64/python2.5/site-packages/trac/", line 68, in _load_eggs
  File "/usr/lib64/python2.5/site-packages/", line 1913, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-x86_64/egg/tracmetrixplugin/", line 25, in <module>
  File "/usr/lib64/python2.5/site-packages/", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib64/python2.5/site-packages/matplotlib/", line 129, in <module>
    from rcsetup import defaultParams, validate_backend, validate_toolbar
  File "/usr/lib64/python2.5/site-packages/matplotlib/", line 19, in <module>
    from matplotlib.colors import is_color_like
  File "/usr/lib64/python2.5/site-packages/matplotlib/", line 52, in <module>
    import numpy as np
  File "/usr/lib64/python2.5/site-packages/numpy/", line 130, in <module>
    import add_newdocs
  File "/usr/lib64/python2.5/site-packages/numpy/", line 9, in <module>
    from lib import add_newdoc
  File "/usr/lib64/python2.5/site-packages/numpy/lib/", line 13, in <module>
    from polynomial import *
  File "/usr/lib64/python2.5/site-packages/numpy/lib/", line 11, in <module>
    import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Ryan J Ollos

Owner: changed from Bhuricha Deen Sethanandha to Ryan J Ollos
Summary: ImportError: /usr/lib64/ undefined symbol: etime_Failed to open environment. 'module' object has no attribute 'core'

I believe this should be resolved as of [8617]. If you reinstall from the head of the trunk and let me know if you continue to have problems.

comment:2 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
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.