Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3663 closed defect (duplicate)

Fail to render without graphviz option

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

Description

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

Here is the patch:

  • graphvizplugin/0.11/graphviz/graphviz.py

     
    421421 
    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 6 years ago by cboos

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

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

comment:2 Changed 6 years ago by cboos

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

See comment:ticket:3605:3 ...

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.