RDoc: .png files are empty

Hi, I’m trying out RDoc for the first time. When I run ‘rdoc -d’ in the
rdoc directory, everything seems ok, except that the .png files in
doc/dot are empty, so of course no lovely diagrams in the browser. My
dot installation seems to be ok (one of the Tk samples that comes with
dot, tcldot/demo/doted, runs fine). What else should I check?

What version of graphviz?
I had problems with an older version segfaulting while processing the dot
files (although it did work with various other things), graphviz 1.8.9
seems to be working OK.

···
  • Joel VanderWerf (vjoel@PATH.Berkeley.EDU) wrote:

Hi, I’m trying out RDoc for the first time. When I run ‘rdoc -d’ in the
rdoc directory, everything seems ok, except that the .png files in
doc/dot are empty, so of course no lovely diagrams in the browser. My
dot installation seems to be ok (one of the Tk samples that comes with
dot, tcldot/demo/doted, runs fine). What else should I check?


Richard Lowe (richlowe) richlowe@richlowe.net

versions above 1.8.2 seem do not work.
I experiences some problems with v1.8.4 last time I tried.
But the v1.8.2 works well

Pierre Brengard

Richard Lowe wrote:

···
  • Joel VanderWerf (vjoel@PATH.Berkeley.EDU) wrote:

Hi, I’m trying out RDoc for the first time. When I run ‘rdoc -d’ in the
rdoc directory, everything seems ok, except that the .png files in
doc/dot are empty, so of course no lovely diagrams in the browser. My
dot installation seems to be ok (one of the Tk samples that comes with
dot, tcldot/demo/doted, runs fine). What else should I check?

What version of graphviz?
I had problems with an older version segfaulting while processing the dot
files (although it did work with various other things), graphviz 1.8.9
seems to be working OK.

Richard Lowe wrote:

Hi, I’m trying out RDoc for the first time. When I run ‘rdoc -d’ in the
rdoc directory, everything seems ok, except that the .png files in
doc/dot are empty, so of course no lovely diagrams in the browser. My
dot installation seems to be ok (one of the Tk samples that comes with
dot, tcldot/demo/doted, runs fine). What else should I check?

What version of graphviz?
I had problems with an older version segfaulting while processing the dot
files (although it did work with various other things), graphviz 1.8.9
seems to be working OK.

$ rpm -qa | grep graphviz
graphviz-1.8.5-0

(I tried building from source first, but had undefined references to
functions in libiconv.)

I didn’t get any error messages from rdoc. The output ends with:

Generating HTML…
Diagrams: …

Would it help to look at the -D output?

···
  • Joel VanderWerf (vjoel@PATH.Berkeley.EDU) wrote:

Pierre Brengard pbrengard@bct-technology.com writes:

versions above 1.8.2 seem do not work.
I experiences some problems with v1.8.4 last time I tried.
But the v1.8.2 works well

If someone could pin down the features that RDoc is using that are
causing problems, I’d be happy to fix it.

Thanks

Dave