Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#3663 closed defect (duplicate)

Fail to render without graphviz option

Reported by: anonymous Owned by: Peter Kropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


If option string is empty, graphviz regard it as a input filename.

Here is the patch:

  • graphvizplugin/0.11/graphviz/

    422422    def launch(self, cmd, input):
    423423        """Launch a process (cmd), and returns exitcode, stdout + stderr"""
    424         p = subprocess.Popen(cmd,
     424        p = subprocess.Popen([a for a in cmd if len(a) > 0],
    425425                             stdin=subprocess.PIPE,
    426426                             stdout=subprocess.PIPE,
    427427                             stderr=subprocess.PIPE)

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Christian Boos

Resolution: duplicate
Status: newclosed

Right, same problem, similar fix suggested in ticket:3605#comment:3

comment:2 Changed 14 years ago by Christian Boos

Ah, of course, here this is still 0.10.something ;-)

See comment:ticket:3605:3 ...

Modify Ticket

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