Modify

Opened 5 years ago

Closed 4 years ago

#5953 closed defect (fixed)

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

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

Description

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/liblapack.so.3: 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/console.py", line 172, in env_open
    self.__env = Environment(self.envname)
  File "/usr/lib64/python2.5/site-packages/trac/env.py", line 201, in __init__
    load_components(self, plugins_dir and (plugins_dir,))
  File "/usr/lib64/python2.5/site-packages/trac/loader.py", line 112, in load_components
    loadfunc(env, search_path, auto_enable=plugins_dir)
  File "/usr/lib64/python2.5/site-packages/trac/loader.py", line 68, in _load_eggs
    entry.load(require=True)
  File "/usr/lib64/python2.5/site-packages/pkg_resources.py", line 1913, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.linux-x86_64/egg/tracmetrixplugin/mdashboard.py", line 25, in <module>
  File "/usr/lib64/python2.5/site-packages/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib64/python2.5/site-packages/matplotlib/__init__.py", line 129, in <module>
    from rcsetup import defaultParams, validate_backend, validate_toolbar
  File "/usr/lib64/python2.5/site-packages/matplotlib/rcsetup.py", line 19, in <module>
    from matplotlib.colors import is_color_like
  File "/usr/lib64/python2.5/site-packages/matplotlib/colors.py", line 52, in <module>
    import numpy as np
  File "/usr/lib64/python2.5/site-packages/numpy/__init__.py", line 130, in <module>
    import add_newdocs
  File "/usr/lib64/python2.5/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from lib import add_newdoc
  File "/usr/lib64/python2.5/site-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
  File "/usr/lib64/python2.5/site-packages/numpy/lib/polynomial.py", 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 4 years ago by rjollos

  • Owner changed from khundeen to rjollos
  • Summary changed from ImportError: /usr/lib64/liblapack.so.3: undefined symbol: etime_ to 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 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

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.