Note that there are some explanatory texts on larger screens.

plurals
  1. POThe Enthought Canopy package "chaco 4.3.0-3" seems to be completely broken on OSX 10.9; looks like a font loading issue
    text
    copied!<p>I am running Enthought Canopy 64-bit Version 1.1.1.1452 on OSX 10.9. I am trying to get the Enthought Canopy package "chaco 4.3.0-3" up and running for 2D interactive plotting. However, even the simplest chaco demos raise an error. From the stack trace, it looks as though It looks like the problem is related to loading fonts.</p> <p>I am following the quick-start instructions here:</p> <p><a href="http://docs.enthought.com/chaco/quickstart.html" rel="nofollow">http://docs.enthought.com/chaco/quickstart.html</a></p> <p>However, when I try to run the simple_line.py demo, I get the following error: </p> <pre><code>Last login: Mon Dec 2 15:20:35 on ttys000 dnab434def:demo mike$ pwd /Users/mike/Library/Enthought/Canopy_64bit/User/Examples/chaco-4.2.0/demo dnab434def:demo mike$ python Enthought Canopy Python 2.7.3 | 64-bit | (default, Aug 8 2013, 05:37:06) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; exit() dnab434def:demo mike$ python simple_line.py Traceback (most recent call last): File "simple_line.py", line 24, in &lt;module&gt; from enable.api import Component, ComponentEditor File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/api.py", line 8, in &lt;module&gt; from base import IDroppedOnHandler, TOP, VCENTER, BOTTOM, LEFT, HCENTER, RIGHT, \ File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/enable/base.py", line 31, in &lt;module&gt; from kiva.constants import DEFAULT, DECORATIVE, ROMAN, SCRIPT, SWISS,\ File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/__init__.py", line 19, in &lt;module&gt; from fonttools import Font File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/__init__.py", line 1, in &lt;module&gt; from font import Font, str_to_font File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/font.py", line 9, in &lt;module&gt; from font_manager import FontProperties, fontManager File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/font_manager.py", line 1400, in &lt;module&gt; _rebuild() File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/font_manager.py", line 1350, in _rebuild fontManager = FontManager() File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/font_manager.py", line 1053, in __init__ self.ttffiles = findSystemFonts(paths) + findSystemFonts() File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/font_manager.py", line 422, in findSystemFonts for f in OSXInstalledFonts(fontext=fontext): File "/Users/mike/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/kiva/fonttools/font_manager.py", line 346, in OSXInstalledFonts files.extend(glob.glob(os.path.join(path, '*.'+ext))) File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/glob.py", line 16, in glob return list(iglob(pathname)) File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/glob.py", line 41, in iglob for dirname in dirs: File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/glob.py", line 42, in iglob for name in glob_in_dir(dirname, basename): File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/glob.py", line 61, in glob1 return fnmatch.filter(names, pattern) File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/fnmatch.py", line 54, in filter _cache[pat] = re.compile(res) File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/re.py", line 190, in compile return _compile(pattern, flags) File "/Applications/Canopy.app/appdata/canopy-1.1.0.1371.macosx-x86_64/Canopy.app/Contents/lib/python2.7/re.py", line 242, in _compile raise error, v # invalid expression sre_constants.error: bad character range </code></pre> <p>How can I work around this?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload