Skip to content

Failure running 'Run and display' #2

@vschiavoni

Description

@vschiavoni

This is the error shown by the drop-down menu:

/Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:267:in `popen': no implicit conversion of nil into String (TypeError)
    from /Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:267:in `block in convertEPSOutputFilesToPDF'
    from /Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:266:in `each'
    from /Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:266:in `convertEPSOutputFilesToPDF'
    from /Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:316:in `displayEPS'
    from /Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:241:in `displayOutput'
    from /Users/veleno/Library/Application Support/Avian/Bundles/gnuplot.tmbundle/Support/GnuplotMate.rb:123:in `run_and_display'
    from Run and display:4:in `<main>'

This is the gnuplot script I'm trying to compile:

set term postscript monochrome eps enhanced 22
set output "workload_ops.eps"

set size 1, 0.9

set title "Characterization of real-world applications"

#set xlabel "Type of operation" offset 0,1.6
unset xlabel
set ylabel "sys calls"  offset 1

set bmargin 3

set key right # width -3
#set grid noxtics ytics
set style data histogram
set style histogram cluster gap 1
set style fill solid 1.00 border 0
set boxwidth 0.9

set yrange[0:900000]
set ytics (0,"100k" 100000,"200k" 200000,"300k" 300000,"400k" 400000,"500k" 500000,"600k" 600000,"700k" 700000,"800k" 800000,)

set xtics rotate by -35 font "courier"

set style line 1 lc rgb 'gray30' lt 1 lw 3
set style line 2 lc rgb 'gray60' lt 1 lw 3
set style line 3 lc rgb 'gray90' lt 1 lw 3
set style line 4 lc rgb 'black' lt 2 lw 1

plot "data/ops.data" u 2 ls 1 title "bc 1.0.6",\
     "data/ops.data" u 3:xtic(1) ls 2 title "httpd 2.4.12"

!pstopdf workload_ops.eps
!rm workload_ops.eps

I'm using:

  • TextMate version 2.0-beta.8
  • gnuplot Version 5.0 patchlevel 1 last modified 2015-06-07
  • mac osx 10.11 El capitan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions