Modify

Opened 6 years ago

Closed 5 years ago

#9180 closed defect (invalid)

ImportError: cannot import name find_element

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

Description (last modified by Ryan J Ollos)

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 5 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Peter Kropf to Ryan J Ollos

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

comment:2 Changed 5 years ago by Ryan J Ollos

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

comment:3 Changed 5 years ago by Ryan J Ollos

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

comment:4 Changed 5 years ago by Ryan J Ollos

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

comment:5 Changed 5 years ago by Ryan J Ollos

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

comment:6 Changed 5 years ago by Ryan J Ollos

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

comment:7 Changed 5 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.