Difference between revisions of "Graphs does not appear"
From Kolmisoft Wiki
Jump to navigationJump to search
(16 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
This one is old problem - prior MOR PRO 0.6 | |||
'' | |||
==Problem== | |||
Instead of graphs we see only word 'Graphs' | |||
==Troubleshooting== | |||
* [[Check GUI log]] just after Graphs fails to show | * [[Check GUI log]] just after Graphs fails to show | ||
===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==== | |||
* [[RMagick installation | Install RMagick]] | |||
* Restart Apache | |||
<br><br> | |||
===Magick::ImageMagickError (unable to read font `/usr/share/fonts/default/TrueType/arial.ttf')=== | |||
That means no font files present to draw Graphs. This usually happens to Centos/Fedora. | |||
Execute: | |||
cp -r -u /usr/src/mor/centos/TrueType /usr/share/fonts/default | |||
===MissingSourceFile (no such file to load -- RMagick)=== | |||
* [[RMagick installation | Install RMagick]] | |||
* Restart Apache | |||
<br><br> | |||
<br> | |||
---- | |||
'''NOTE''': In future versions (0.6 and so on) RMagic based Graphs will be changed to Flash based | '''NOTE''': In future versions (0.6 and so on) RMagic based Graphs will be changed to Flash based graphs. |
Latest revision as of 17:30, 16 May 2008
This one is old problem - prior MOR PRO 0.6
Problem
Instead of graphs we see only word 'Graphs'
Troubleshooting
- Check GUI log just after Graphs fails to show
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
- Install RMagick
- Restart Apache
That means no font files present to draw Graphs. This usually happens to Centos/Fedora.
Execute:
cp -r -u /usr/src/mor/centos/TrueType /usr/share/fonts/default
MissingSourceFile (no such file to load -- RMagick)
- Install RMagick
- Restart Apache
NOTE: In future versions (0.6 and so on) RMagic based Graphs will be changed to Flash based graphs.