Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 24th, 2013  |  syntax: None  |  size: 0.69 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Traceback (most recent call last):
  2.   File "/Users/adam/Documents/qform.py", line 6, in <module>
  3.     font = pygame.font.SysFont("Arial",18)
  4.   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/sysfont.py", line 555, in SysFont
  5.     initsysfonts()
  6.   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/sysfont.py", line 522, in initsysfonts
  7.     fonts = initsysfonts_darwin()
  8.   File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/sysfont.py", line 422, in initsysfonts_darwin
  9.     _search_osx_font_paths(fonts)
  10. UnboundLocalError: local variable 'fonts' referenced before assignment