﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
499	Error at startup on Linux	Tom Goddard	Greg Couch	"ChimeraX gives the following error on startup on Ubuntu 16.04 LTS.

$ ./chimerax/bin/ChimeraX 
INFO: Traceback (most recent call last):
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/PIL/Image.py"", line 2285, in open
    fp.seek(0)
AttributeError: 'str' object has no attribute 'seek'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/runpy.py"", line 170, in _run_module_as_main
    ""__main__"", mod_spec)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/runpy.py"", line 85, in _run_code
    exec(code, run_globals)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/ChimeraX_main.py"", line 639, in <module>
    exit_code = init(sys.argv)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/ChimeraX_main.py"", line 433, in init
    _xdg.install_if_needed(sess, localized_app_name)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/chimerax/core/_xdg.py"", line 411, in install_if_needed
    install(session, localized_app_name, reinstall=reinstall, info=info)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/chimerax/core/_xdg.py"", line 386, in install
    install_icons(info, app_data_dir)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/chimerax/core/_xdg.py"", line 303, in install_icons
    im = Image.open(icon)
  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/PIL/Image.py"", line 2287, in open
    fp = io.BytesIO(fp.read())
AttributeError: 'str' object has no attribute 'read'

ERROR: AttributeError: 'str' object has no attribute 'read'

  File ""/home/goddard/ucsf/chimerax/lib/python3.5/site-packages/PIL/Image.py"", line 2287, in open
    fp = io.BytesIO(fp.read())
See log for Python traceback.
"	defect	closed	major		Platform		fixed						all	ChimeraX
