Opened 6 years ago

Last modified 6 years ago

#2727 feedback defect

Cannot launch on Windows

Reported by: schneidg@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Platform Version:
Keywords: Cc: Conrad Huang
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Bonjour,

Je me présente Schneider Guillaume, technicien informatique à l'Institut de Génétique et Biologie Moléculaire et Cellulaire (IGBMC),
Je vous contacte car j'ai un problème avec votre logiciel,
suite au téléchargement de votre logiciel ChimeraX UCSF pour windows 10, j'ai essayé de l'utiliser et le logiciel ne se lance pas du tout (même pas une petite image ou écran de chargement), par contre j'ai exécuté le logiciel console dans le CMD windows et j'ai eu ce code la :


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 297, in ehook
    self.session.ui.thread_safe(self.report_exception, exc_info=exc_info)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\ui\gui.py", line 340, in thread_safe
    func(*args, **kw)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 442, in report_exception
    self.info(tb_msg, is_html=True)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 388, in info
    last_resort=sys.__stdout__)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 510, in _log
    print(output, end="", file=last_resort)
ValueError: underlying buffer has been detached

Original exception was:
Traceback (most recent call last):
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 463, in init_available_from_cache
    abc.load_from_cache()
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\toolshed\available.py", line 59, in load_from_cache
    with open(os.path.join(self.cache_dir, _CACHE_FILE)) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\bejis\\AppData\\Local\\UCSF\\ChimeraX\\Cache\\0.92\\toolshed\\available.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 348, in __init__
    self.init_available_from_cache(logger)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 465, in init_available_from_cache
    logger.info("available bundle cache has not been initialized yet")
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 388, in info
    last_resort=sys.__stdout__)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 510, in _log
    print(output, end="", file=last_resort)
ValueError: underlying buffer has been detached

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\ChimeraX\bin\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files\ChimeraX\bin\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\ChimeraX_main.py", line 891, in <module>
    exit_code = init(sys.argv)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\ChimeraX_main.py", line 586, in init
    check_available=opts.get_available_bundles)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 1719, in init
    _toolshed = Toolshed(*args, **kw)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 350, in __init__
    logger.report_exception("Error preloading available bundles")
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 442, in report_exception
    self.info(tb_msg, is_html=True)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 388, in info
    last_resort=sys.__stdout__)
  File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\logger.py", line 510, in _log
    print(output, end="", file=last_resort)
ValueError: underlying buffer has been detached
Exception ignored in: <_io.TextIOWrapper mode='w' encoding='utf-8'>
ValueError: underlying buffer has been detached


Cordialement,
Guillaume

Change History (3)

comment:1 by Eric Pettersen, 6 years ago

Cc: Conrad Huang added
Component: UnassignedPlatform
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: new bugCannot launch on Windows

Reported by Guillaume Schneider

According to Google, the problem description translates to:

"I introduce myself Schneider Guillaume, IT technician at the Institute of Genetics and Molecular and Cellular Biology (IGBMC),
I'm contacting you because I have a problem with your software,
following the download of your ChimeraX UCSF software for windows 10, I tried to use it and the software does not launch at all (not even a small image or loading screen), however I ran the console software in the windows CMD and I got this code:"

comment:2 by Greg Couch, 6 years ago

Status: assignedfeedback

Salut Guillaume,

Which version of ChimeraX did you try? In the current daily build, there is a ChimeraX-console.exe executable that is designed to run within a terminal (Command Prompt) window. Please send me the output from running it.

-- Greg

in reply to:  3 ; comment:3 by schneidg@…, 6 years ago

Hello,

I use the daily version and the code I transmitted in the 1st email is the error code that the console sends me

Guillaume

-----Message d'origine-----
De : ChimeraX [mailto:ChimeraX-bugs-admin@cgl.ucsf.edu] 
Envoyé : vendredi 10 janvier 2020 01:27
Cc : conrad@cgl.ucsf.edu; gregc@cgl.ucsf.edu; Guillaume SCHNEIDER <schneidg@igbmc.fr>
Objet : Re: [ChimeraX] #2727: Cannot launch on Windows

#2727: Cannot launch on Windows
---------------------------------+------------------------
          Reporter:  schneidg@…  |      Owner:  Greg Couch
              Type:  defect      |     Status:  feedback
          Priority:  normal      |  Milestone:
         Component:  Platform    |    Version:
        Resolution:              |   Keywords:
        Blocked By:              |   Blocking:
Notify when closed:              |   Platform:  all
           Project:  ChimeraX    |
---------------------------------+------------------------
Changes (by Greg Couch):

 * status:  assigned => feedback


Comment:

 Salut Guillaume,

 Which version of ChimeraX did you try?  In the current daily build, there  is a ChimeraX-console.exe executable that is designed to run within a  terminal (Command Prompt) window.  Please send me the output from running  it.

     -- Greg

--
Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/2727#comment:2>
ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker
Note: See TracTickets for help on using tickets.