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/index.cgi in main_html(form=FieldStorage(None, None, [MiniFieldStorage('table', 'Torrents'), MiniFieldStorage('value', '18')])) |
122 else:
|
123 Display = DataDisplay(app, key, conn)
|
124 print Display.display_str()
|
125
|
126 print "</FONT></BODY></HTML>"
|
Display = <DataDisplayer.HumanGenomicDisplay instance at 0xb7e3a8cc>, Display.display_str = <bound method HumanGenomicDisplay.display_str of...ayer.HumanGenomicDisplay instance at 0xb7e3a8cc>> |
/home/www/html/tables.gersteinlab.org/DataDisplayer.py in overlapping_annotations(self=<DataDisplayer.HumanGenomicDisplay instance at 0xb7e3a8cc>) |
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='31620847 0 372.000000 372.000000' />, image.save = <bound method SVG.save of <svg (1 sub) style='st...k' viewBox='31620847 0 372.000000 372.000000' />>, global conf = <module 'conf' from '/home/www/html/tables.gersteinlab.org/conf.pyc'>, conf.MEDIA_LOCATION = '/var/www/html/ted.gersteinlab.org/tables/media/', file_name = '1524447815.58.svg' |
/usr/local/lib/python2.6/site-packages/svgfig.py in save(self=<svg (1 sub) style='stroke-linejoin:round; strok...nk' viewBox='31620847 0 372.000000 372.000000' />, fileName='/var/www/html/ted.gersteinlab.org/tables/media/1524447815.58.svg', encoding='utf-8', compresslevel=None) |
431
|
432 else:
|
433 f = codecs.open(fileName, "w", encoding=encoding)
|
434 f.write(self.standalone_xml())
|
435 f.close()
|
f undefined, global codecs = <module 'codecs' from '/usr/local/lib/python2.6/codecs.pyc'>, codecs.open = <function open at 0xb7f5d374>, fileName = '/var/www/html/ted.gersteinlab.org/tables/media/1524447815.58.svg', encoding = 'utf-8' |
/usr/local/lib/python2.6/codecs.py in open(filename='/var/www/html/ted.gersteinlab.org/tables/media/1524447815.58.svg', mode='wb', encoding='utf-8', errors='strict', buffering=1) |
863 # Force opening of the file in binary mode
|
864 mode = mode + 'b'
|
865 file = __builtin__.open(filename, mode, buffering)
|
866 if encoding is None:
|
867 return file
|
builtin file = <type 'file'>, global __builtin__ = <module '__builtin__' (built-in)>, __builtin__.open = <built-in function open>, filename = '/var/www/html/ted.gersteinlab.org/tables/media/1524447815.58.svg', mode = 'wb', buffering = 1 |