yarden / MISO

MISO: Mixture of Isoforms model for RNA-Seq isoform quantitation
http://genes.mit.edu/burgelab/miso/index.html
132 stars 74 forks source link

TypeError #93

Open lpipes opened 8 years ago

lpipes commented 8 years ago

I am trying to print a sashimi plot but I always get hung up on this issue:

File "/home/lp364/software/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py", line 2078, in _get_font_ttf filename = findfont(prop) File "/home/lp364/software/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1418, in findfont font = fontManager.findfont(prop, **kw) File "/home/lp364/software/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py", line 1297, in findfont if not os.path.isfile(result): File "/home/lp364/lib/python2.7/genericpath.py", line 29, in isfile st = os.stat(path) TypeError: must be encoded string without NULL bytes, not unicode

I tried to print path in Pdb and I get this:

(Pdb) p path u'/\x00p\x00b\x00t\x00e\x00c\x00h\x00\x00m\x00o\x00u\x00n\x00t\x00s\x00/\x00c\x00m\x00l\x00a\x00b\x00\x00s\x00t\x00o\x00r\x00e\x000\x000\x001\x00/\x00l\x00p\x003\x006\x004\x00/\x00b\x00i\x00n\x00/\x00b\x00c\x00b\x00b\x00/\x00n\x00e\x00x\x00t\x00g\x00e\x00n\x00/\x00b\x00c\x00b\x00i\x00o\x00/\x00a\x00n\x00a\x00c\x00o\x00n\x00d\x00a\x00'