Skip to content

Instantly share code, notes, and snippets.

@axelson
Created July 4, 2010 22:15
Show Gist options
  • Save axelson/463805 to your computer and use it in GitHub Desktop.
Save axelson/463805 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "ankiqt/ui/main.pyc", line 1739, in onShowGraph
File "anki/graphs.pyc", line 45, in <module>
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/figure.py", line 18, in <module>
from axes import Axes, SubplotBase, subplot_class_factory
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/axes.py", line 12, in <module>
import matplotlib.axis as maxis
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/axis.py", line 10, in <module>
import matplotlib.font_manager as font_manager
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py", line 1301, in <module>
_rebuild()
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py", line 1292, in _rebuild
fontManager = FontManager()
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py", line 984, in __init__
self.ttffiles = findSystemFonts(paths) + findSystemFonts()
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py", line 341, in findSystemFonts
for f in get_fontconfig_fonts(fontext):
File "/Applications/Anki.app/Contents/Resources/lib/python2.6/matplotlib/font_manager.py", line 298, in get_fontconfig_fonts
pipe = subprocess.Popen(['fc-list', '', 'file'], stdout=subprocess.PIPE)
NameError : global name 'subprocess' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment