Modify

Opened 3 years ago

Closed 3 years ago

#9180 closed defect (invalid)

ImportError: cannot import name find_element

Reported by: anonymous Owned by: 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 (0)

Change History (7)

comment:1 Changed 3 years ago by rjollos

  • Description modified (diff)
  • Owner changed from pkropf to rjollos

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

comment:2 Changed 3 years ago by rjollos

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

comment:3 Changed 3 years ago by rjollos

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

comment:4 Changed 3 years ago by rjollos

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

comment:5 Changed 3 years ago by rjollos

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

comment:6 Changed 3 years ago by rjollos

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

comment:7 Changed 3 years ago by rjollos

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

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

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.