Ticket #9180 (closed defect: invalid)

Opened 2 years ago

Last modified 1 year ago

ImportError: cannot import name find_element

Reported by: anonymous Assigned to: rjollos
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (Last modified by rjollos)

Result of installing graphviz 0.13 in Trac 0.12.2

2011-09-14 16:27:47,452 Trac[loader] ERROR: Skipping "graphviz = graphviz": 
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/trac/loader.py", line 68, in _load_eggs
    entry.load(require=True)
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 1992, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib64/python2.7/site-packages/graphviz-0.13.0.6-py2.7.egg/graphviz/__init__.py", line 17, in <module>
    from graphviz import *
  File "/usr/lib64/python2.7/site-packages/graphviz-0.13.0.6-py2.7.egg/graphviz/graphviz.py", line 33, in <module>
    from trac.util.html import escape, find_element
ImportError: cannot import name find_element

Attachments

Change History

04/10/12 01:10:51 changed by rjollos

  • owner changed from pkropf to rjollos.
  • description changed.

You need to install from the 0.11 branch rather than the 0.13 branch.

04/10/12 01:13:16 changed by rjollos

(In [11464]) Refs #9180: Renamed the 0.11 branch to trunk.

04/10/12 01:13:49 changed by rjollos

(In [11465]) Refs #9180: Make a tags directory.

04/10/12 01:15:23 changed by rjollos

(In [11466]) Refs #9180: Moved the 0.9, 0.10 and 0.11-0.7.5 directories to tags.

04/10/12 01:16:28 changed by rjollos

(In [11467]) Refs #9180: Created a branches directory.

04/10/12 01:20:23 changed by rjollos

(In [11468]) Refs #9180: Moved the 0.13 directory to branches.

04/10/12 01:22:20 changed by rjollos

  • status changed from new to closed.
  • resolution set to invalid.

The wiki page has also been updated to be more specific about which version should be used. Hopefully that helps.


Add/Change #9180 (ImportError: cannot import name find_element)




Change Properties
Action