Exception Type: MemoryError
/opt/graphite/webapp/graphite/render/glyph.py in getExtents, line 221
specifically on the line:
F = self.ctx.font_extents()
turns out the problem was that I didn't have fonts installed. New box, right? Yah.
So, did apt-get install:
apt-get install cairo apt-get install pycairo apt-get install bitmap-fonts
The last one took a while. But, now it's up and going!
BTW, the total list of apt-get I ran to get Graphite running on Centos-6.1 with python 2.6 was as follows:
apt-get install subversion apt-get install httpd apt-get install Django apt-get install mod_wsgi apt-get install memcached apt-get install python-devel apt-get install python-tools python-setuptools python-memcached python-pycurl easy_install django-tagging easy_install -U distribute apt-get install libmysqlclient-dev apt-get install mysql-libs easy_install python-mysqldb apt-get install MySQL-python apt-get install cairo apt-get install pycairo apt-get install bitmap-fonts
Enjoy!
Oh, and if you are not satisfied with the quality of this posting, Complaints should be addressed to:
Complaints Dept. British Airways Ingrams Drive Redditch, B79 5UT UNITED KINGDOM
No comments:
Post a Comment