Menu

#194 Blank relationships tab -- net.sourceforge.schemaspy.util.Dot$DotFailure ... failed with return code 139

N/A
open
3
2017-06-15
2017-01-21
amir
No

Hello--

Using schemaspy on a postgresql database with 104 tables. Parent/child relationships are identified in the tables view, but my Relationships tab is blank. Not sure why and can't find helfpul documentation addressing the issue. Below is a snippet of a repeating error I get:

Writing/diagramming details...net.sourceforge.schemaspy.util.Dot$DotFailure: ... failed with return code 139

I thought there was a possibility I had too many nodes but limiting the view down to 2 tables still renders a blank Relationships tab.

Not sure what to do and am also not very experienced here. Would appreciate any help getting the relationships tab to visualize my table.

Thanks

Discussion

  • Rafal Kasa

    Rafal Kasa - 2017-01-30

    Hi amir

    I suppose that you didn't install Graphviz. http://www.graphviz.org
    ShemaSpy is using this library for diagrams generation.

    If you would like you can also check new version of SchemaSpy totally refreshed and rebuild.

    Please visit http://schemaspy.org or go to github repository for SchemaSpy
    https://github.com/schemaspy/schemaspy

    Best Regards
    Rafal Kasa

     
  • Vijay Aravamudhan

    @rafal: I have the same issue. Im on a Mac OSX Sierra - and do have graphviz installed via homebrew.
    dot - graphviz version 2.40.1 (20161225.0304)

    I tried with both the version of schemaSpy that is publicly released (v5.0.0) and the release candidate (v6.0.0-rc1) jars - both have the same issue.

    This the line that gets repeated for various tables:

    .org.schemaspy.util.Dot$DotFailure: 'dot -Tpng:gd ./tmp/diagrams/XXX.1degree.dot -o./tmp/diagrams/XXX.1degree.png -Tcmapx' failed with return code 139
    
     
  • Petri Sirkkala

    Petri Sirkkala - 2017-06-09

    I have the exact same error as @Vijay Aravamudhan

    net.sourceforge.schemaspy.util.Dot$DotFailure: 'dot -Tpng:gd xxxx/diagrams/summary/relationships.real.compact.dot -oxxxx/diagrams/summary/relationships.real.compact.png -Tcmapx' failed with return code 139
    
     

Log in to post a comment.