[chimerax-users] ChimeraX troubleshooting

Tom Goddard goddard at sonic.net
Wed Jun 17 14:19:54 PDT 2020


Hi Joseph,

  Ok, it is complaining about a ChimeraX preference file

	C:\Users\Joseph\AppData\Local\UCSF\ChimeraX\ui-1
 
that saves your last ChimeraX window size (which is used when you start ChimeraX the next time), and saves any tools you added to the Favorites menu.  It is supposed to be a text file but yours somehow contains all binary 0.  Could you send us that ui-1 file, then delete it, and hopefully ChimeraX will start if there are no other problems.

  I will open a bug report and we will look at how this happened and probably put in some code so that if a preference file is unreadable ChimeraX will still start and just warn you about the corrupted file.  You will get an email about that bug report and it would help if you could reply to that email with the ui-1 file as an attachment to help us debug the problem.

	Tom


> On Jun 17, 2020, at 2:03 PM, Joseph Chamieh <joseph.chamieh at umontpellier.fr> wrote:
> 
> Dear Tom
> Thank you for your answer, this is the result of what you asked for:
>  
> C:\>"C:\Program Files\ChimeraX 1.0\bin\ChimeraX-console.exe" --debug
> C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
>   import imp, sys, os
> Traceback (most recent call last):
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\runpy.py", line 193, in _run_module_as_main
>     "__main__", mod_spec)
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\runpy.py", line 85, in _run_code
>     exec(code, run_globals)
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\ChimeraX_main.py", line 895, in <module>
>     exit_code = init(sys.argv)
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\ChimeraX_main.py", line 502, in init
>     sess.ui = ui_class(sess)
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\ui\gui.py", line 110, in __init__
>     self.settings = UI_Settings(session, "ui")
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\core\settings.py", line 165, in __init__
>     ConfigFile.__init__(self, session, tool_name, version=version)
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\core\configfile.py", line 289, in __init__
>     self._config.read(self._filename, encoding='utf-8')
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\configparser.py", line 696, in read
>     self._read(fp, filename)
>   File "C:\Program Files\ChimeraX 1.0\bin\lib\configparser.py", line 1079, in _read
>     raise MissingSectionHeaderError(fpname, lineno, line)
> configparser.MissingSectionHeaderError: File contains no section headers.
> file: 'C:\\Users\\Joseph\\AppData\\Local\\UCSF\\ChimeraX\\ui-1', line: 1
> '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
>  
> I remain at your disposal for any further information
> Best regards
> Joseph
>  
>  
> _____________________________________________________________________
> Joseph Chamieh, PhD, HDR
> Institut des Biomolécules Max Mousseron, UMR CNRS 5247, 
> Université de Montpellier, 
> Place Eugène Bataillon, case courrier 1706,
> F-34095 Montpellier Cedex 5, France
> Phone: +33 4 67 14 39 20
> Fax: +33 4 67 63 10 46
> http://www.dsbc.univ-montp2.fr/recherche_en.html <http://www.dsbc.univ-montp2.fr/recherche_en.html>
> http://orcid.org/0000-0003-4209-1337 <http://orcid.org/0000-0003-4209-1337>
> ______________________________________________________________________
>  
> De : Tom Goddard [mailto:goddard at sonic.net] 
> Envoyé : Wednesday, June 17, 2020 7:01 PM
> À : Joseph Chamieh <joseph.chamieh at umontpellier.fr>
> Cc : chimerax-users at cgl.ucsf.edu
> Objet : Re: [chimerax-users] ChimeraX troubleshooting
>  
> Hi Joseph,
>  
>   To see why ChimeraX is failing to start on Windows, run it from a Windows Command Prompt as follows (two dashes in --debug)
>  
>             "C:\Program Files\ChimeraX 1.0\bin\ChimeraX-console.exe" --debug
>  
> and send us the error message this gives.
>  
>             Tom
>  
> 
> 
>> On Jun 17, 2020, at 1:51 AM, Joseph Chamieh <joseph.chamieh at umontpellier.fr <mailto:joseph.chamieh at umontpellier.fr>> wrote:
>>  
>> Dear ChimeraX developers,
>> First I would like to thank you for your wonderful job. I was looking for a software able to modelize my peptide in 3D and do all the calculations on it and I found ChimeraX yesterday, I downloaded and installed the software and directly found it as the best answer for my “problems”, however it worked in the morning and after a restarting of my laptop on midday, I was not able to start the software, so I uninstalled/reinstalled, I restarted again but since then I could not find the solution, I use an HP laptop Win 10 64 bit, I attached the dxdiag summary.
>> I would appreciate it if you could help me find the solution.
>> Best regards
>> Joseph
>>  
>> _____________________________________________________________________
>> Joseph Chamieh, PhD, HDR
>> Institut des Biomolécules Max Mousseron, UMR CNRS 5247, 
>> Université de Montpellier, 
>> Place Eugène Bataillon, case courrier 1706,
>> F-34095 Montpellier Cedex 5, France
>> Phone: +33 4 67 14 39 20
>> Fax: +33 4 67 63 10 46
>> http://www.dsbc.univ-montp2.fr/recherche_en.html <http://www.dsbc.univ-montp2.fr/recherche_en.html>
>> http://orcid.org/0000-0003-4209-1337 <http://orcid.org/0000-0003-4209-1337>
>> ______________________________________________________________________
>>  
>> <DxDiag.txt>_______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200617/4472b428/attachment-0001.html>


More information about the ChimeraX-users mailing list