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


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 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

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from pkropf. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.