[Chimera-users] IOError for non-existing ViewDock_Accelerator.py when executing Chimera
Elaine Meng
meng at cgl.ucsf.edu
Thu Jul 7 12:35:35 PDT 2022
Hi Qiancheng Xia,
I don't know what that file is specifically, but my guess is that this pathname is defined in the Keyboard Shortcuts tool as the file to find definitions of keyboard shortcuts.
Anyway, if my guess is correct, you would need to start Keyboard Shortcuts (in menu under Tools... General Controls). Near the bottom there is a button to "Load shortcuts file" and below that an entry field with the pathname of the shortcuts file.
The standard file is [where-you-installed-Chimera]/Chimera.app/Contents/Resources/share/Accelerators/standard_accelerators.py
For example, in my case that field contains:
/Users/meng/Desktop/Chimera.app/Contents/Resources/share/Accelerators/standard_accelerators.py
Maybe yours gives ViewDock_Accelerator.py instead? I don't know what that file is (as far as I know, it's not from us), but maybe it is something you used to have but it got deleted. If so, you could delete the contents of the field and then quit/restart to see if you still get the message.
Another way to change that same setting is by editing your preferences file directly, but that may be difficult to do without messing up your preferences, or deleting your preferences file, but that will lose all of your other preferences. You can see where your preferences file is by starting Chimera and looking in the Preferences (menu: Favorites... Preferences), category: Preferences.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Jul 7, 2022, at 12:37 AM, 夏前程 via Chimera-users <chimera-users at cgl.ucsf.edu> wrote:
>
> Hi,
> Recently I've received an error message from CLI each time I executed chimera as before. Although it does not affect the normal use of chimera, I am still curious what's the issue and how to get rid of it? The error message is as below:
>
> Error executing accelerators file $HOME/Downloads/Chimera/ViewDock_Accelerator.py:
> IOError: [Errno 2] No such file or directory: '$HOME/Downloads/Chimera/ViewDock_Accelerator.py'
>
> File "$HOME/opt/UCSF-Chimera64-1.15rc/share/Accelerators/__init__.py", line 103, in load_accelerators
> execfile(path, dict)
>
> See reply log for Python traceback.
> With Regards,
>
> Qiancheng Xia,
>
> 2022/07/07
More information about the Chimera-users
mailing list