A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /var/www/html/tables.gersteinlab.org/DataDisplayer.py in overlapping_annotations(self=<DataDisplayer.HumanGenomicDisplay instance at 0xb7ed498c>) |
424 image = svg.make_svg()
|
425 file_name = str(time.time()) + ".svg"
|
426 image.save(conf.MEDIA_LOCATION + file_name)
|
427 display += "<TD>"
|
428 display += "<img src=\"%s%s\"></TD>" % (conf.MEDIA_URL, file_name)
|
| image = <svg (1 sub) style='stroke-linejoin:round; strok...nk' viewBox='361094 0 8232.000000 8232.000000' />, image.save = <bound method SVG.save of <svg (1 sub) style='st...k' viewBox='361094 0 8232.000000 8232.000000' />>, global conf = <module 'conf' from '/var/www/html/tables.gersteinlab.org/conf.pyc'>, conf.MEDIA_LOCATION = '/var/www/html/ted.gersteinlab.org/tables/media/', file_name = '1337302938.1.svg' |
| /usr/local/lib/python2.6/site-packages/svgfig.py in save(self=<svg (1 sub) style='stroke-linejoin:round; strok...nk' viewBox='361094 0 8232.000000 8232.000000' />, fileName='/var/www/html/ted.gersteinlab.org/tables/media/1337302938.1.svg', encoding='utf-8', compresslevel=None) |
432 else:
|
433 f = codecs.open(fileName, "w", encoding=encoding)
|
434 f.write(self.standalone_xml())
|
435 f.close()
|
436
|
| f = <open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, f.write = <bound method StreamReaderWriter.write of <open ...edia/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>>, self = <svg (1 sub) style='stroke-linejoin:round; strok...nk' viewBox='361094 0 8232.000000 8232.000000' />, self.standalone_xml = <bound method SVG.standalone_xml of <svg (1 sub)...k' viewBox='361094 0 8232.000000 8232.000000' />> |
| /usr/local/lib/python2.6/codecs.py in write(self=<open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, data=u'<?xml version="1.0" standalone="no"?>\n<!DOCTYPE ...lue" x="368993" height="410.6" />\n\n</g>\n\n</svg>\n\n') |
684 def write(self, data):
|
685
|
686 return self.writer.write(data)
|
687
|
688 def writelines(self, list):
|
| self = <open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, self.writer = <open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, self.writer.write = <bound method StreamWriter.write of <open file '...edia/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>>, data = u'<?xml version="1.0" standalone="no"?>\n<!DOCTYPE ...lue" x="368993" height="410.6" />\n\n</g>\n\n</svg>\n\n' |
| /usr/local/lib/python2.6/codecs.py in write(self=<open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, object=u'<?xml version="1.0" standalone="no"?>\n<!DOCTYPE ...lue" x="368993" height="410.6" />\n\n</g>\n\n</svg>\n\n') |
350 """
|
351 data, consumed = self.encode(object, self.errors)
|
352 self.stream.write(data)
|
353
|
354 def writelines(self, list):
|
| self = <open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, self.stream = <open file '/var/www/html/ted.gersteinlab.org/ta...media/1337302938.1.svg', mode 'wb' at 0xb7eba5c0>, self.stream.write = <built-in method write of file object at 0xb7eba5c0>, data = '<?xml version="1.0" standalone="no"?>\n<!DOCTYPE ...lue" x="368993" height="410.6" />\n\n</g>\n\n</svg>\n\n' |