UV-CDAT builds and installs fine. But when I try to run any python script, it throws a bunch of errors like:
failed Tt std Error font number not existing 1
failed Tt boldfont_tt15 Error font number not existing 1
failed Tt scatylab Error font number not existing 1
failed Tt font1 Error font number not existing 1
failed Tt font3 Error font number not existing 1
failed Tt qa Error font number not existing 1
failed Tt bigger Error font number not existing 1
failed Tt mwbotcenter Error font number not existing 1
failed Tt std Error font number not existing 1
failed Tt boldfont_tt15 Error font number not existing 1
failed Tt scatylab Error font number not existing 1
failed Tt font1 Error font number not existing 1
failed Tt font3 Error font number not existing 1
failed Tt qa Error font number not existing 1
failed Tt bigger Error font number not existing 1
failed Tt mwbotcenter Error font number not existing 1
Traceback (most recent call last):
File "./541_patterns_support.py", line 80, in <module>
x.plot(v, isof, tpl, continents=cont_type)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/Canvas.py", line 2525, in plot
a = self.__plot(arglist, keyargs)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/Canvas.py", line 3839, in __plot
returned_kargs = self.backend.plot(*arglist, **keyargs)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/VTKPlots.py", line 462, in plot
vtk_backend_grid, vtk_backend_geo))
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 157, in plot
self._plotInternal()
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/vcsvtk/isofillpipeline.py", line 360, in _plotInternal
self._gm, t, z))
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/VTKPlots.py", line 611, in renderTemplate
displays = tmpl.plot(self.canvas, data, gm, bg=self.bg)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/template.py", line 1461, in plot
sub.textorientation)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/Canvas.py", line 2216, in createtextcombined
x, y, height, angle, path, halign, valign, projection)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/manageElements.py", line 1597, in createtextcombined
tc = textcombined.Tc(Tt_name, Tt_source, To_name, To_source)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/textcombined.py", line 310, in __init__
self.Tt = texttable.Tt(Tt_name, Tt_name_src)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/texttable.py", line 382, in __init__
self.font = src.font
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/texttable.py", line 220, in _setfont
self._font = VCS_validation_functions.checkFont(self, 'font', value)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/VCS_validation_functions.py", line 207, in checkFont
vcs.getfontname(value)
File "/Users/sankheshjhaveri/Projects/uvcdat/bld/install/lib/python2.7/site-packages/vcs/utils.py", line 120, in getfontname
raise Exception("Error font number not existing %i" % number)
Exception: Error font number not existing 1
I've been testing UV-CDAT on Mac OSX Yosemite (10.10.4)
UV-CDAT builds and installs fine. But when I try to run any python script, it throws a bunch of errors like:
In short, the issue is in install.py.in
The target_prefix in the above link points to
<build>/install/Library/Frameworks/Python.framework/Versions/2.7on my Mac instead of<build>/installon my Linux box.For those interested, the fonts are installed to
<build>/install/binby CMake/install.py.in and then to$HOME/.uvcdatby install_vcs.py. But, the fonts are never installed under<build>/install/binon the Mac.