sagemath/sagecell — comment on commit d7999232e8628ab340a31d0312c0175d3fdfb5c9
File:  line 0
By kramer314:

This code seems to result in an error every time I start up a device:

```
Traceback (most recent call last):
File "device_process.py", line 62, in
sage.all.plot(lambda x: x, (0,1)).save(StringIO.StringIO())
File "/home/akramer/sage/sage-5.0.beta3/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper
return func(*args, **kwds)
File "/home/akramer/sage/sage-5.0.beta3/local/lib/python2.7/site-packages/sage/plot/plot.py", line 2488, in save
ext = os.path.splitext(filename)[1].lower()
File "/home/akramer/sage/sage-5.0.beta3/local/lib/python/posixpath.py", line 96, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/home/akramer/sage/sage-5.0.beta3/local/lib/python/genericpath.py", line 91, in _splitext
sepIndex = p.rfind(sep)
AttributeError: StringIO instance has no attribute 'rfind'
```