Difference between revisions of "Graphs does not appear"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 8: Line 8:
** We can see:
** We can see:


LoadError (Expected /home/mor/lib/gruff.rb to define Gruff):
==LoadError (Expected /home/mor/lib/gruff.rb to define Gruff)==


==Check if RMagick is installed==
===Check if RMagick is installed===


Execute command  
Execute command  
Line 29: Line 29:


That means RMagick is not installed.
That means RMagick is not installed.
===Install RMagick===


* [[RMagic installation | Install RMagick]]
* [[RMagic installation | Install RMagick]]
* Restart Apache  
* Restart Apache  
==Magick::ImageMagickError (unable to read font `/usr/share/fonts/default/TrueType/arial.ttf')==


<br>
<br>

Revision as of 14:23, 7 December 2007

Problem

Instead of graphs we see only word 'Graphs'

Troubleshooting

LoadError (Expected /home/mor/lib/gruff.rb to define Gruff)

Check if RMagick is installed

Execute command

irb

Enter:

require 'RMagick'

If you get:

[root@localhost]# irb
irb(main):001:0> require 'RMagick'
LoadError: no such file to load -- RMagick
       from (irb):1:in `require'
       from (irb):1

That means RMagick is not installed.

Install RMagick


Magick::ImageMagickError (unable to read font `/usr/share/fonts/default/TrueType/arial.ttf')



NOTE: In future versions (0.6 and so on) RMagic based Graphs will be changed to Flash based graphs.