﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3477	file names with spaces	tony.schaefer@…	Eric Pettersen	"{{{
The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 1.1.dev202007022309 (2020-07-02 23:09:11 UTC)
Description
the open command gives a 'no such database' error when I give it an absolute path on another hard drive and the filename has spaces

It works fine if I click the file on the 'Recent' view or with the File -> Open method. If I copy+paste the command on the log I get the error. If I click the command on the log (executable command links) it does work. 

Log:
Startup Errors  
---  
error | Bundle 'ChimeraX-Registration' custom initialization failed  
warning | Traceback (most recent call last):  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\core\toolshed\info.py"", line 342, in initialize  
api._api_caller.initialize(api, session, self)  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py"", line 1599, in initialize  
return cls._get_func(api, ""initialize"")(session, bi)  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\registration\\__init__.py"", line 41, in initialize  
nag(session)  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\registration\nag.py"", line 32, in nag  
if not check_registration(logger=session.logger):  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\registration\nag.py"", line 54, in check_registration  
return _check_expiration(param, logger)  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\registration\nag.py"", line 136, in _check_expiration  
expires = _expiration_time(param)  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\site-
packages\chimerax\registration\nag.py"", line 157, in _expiration_time  
locale.setlocale(locale.LC_TIME, ""en_US.UTF-8"")  
File ""D:\ChimeraX 1.1.dev202007022309\bin\lib\locale.py"", line 608, in
setlocale  
return _setlocale(category, locale)  
locale.Error: unsupported locale setting  
  

> cd ""C:\Users\Tony Schaefer/Desktop""

Current working directory is: C:\Users\Tony Schaefer\Desktop  
UCSF ChimeraX version: 1.1.dev202007022309 (2020-07-02)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open ""D:\SEQCROW_SCRATCH\phenol Wed Jul 1 19.15.55 2020\phenol.out"" format
> out coordsets true

Opened D:\SEQCROW_SCRATCH\phenol Wed Jul 1 19.15.55 2020\phenol.out as a ORCA
output file movie  
No such database 'D'  

> help open

> pwd

Current working directory is: C:\Users\Tony Schaefer\Desktop  

> open ""D:/SEQCROW_SCRATCH/phenol Wed Jul 1 19.15.55 2020/phenol.out""

Opened D:/SEQCROW_SCRATCH/phenol Wed Jul 1 19.15.55 2020/phenol.out as a ORCA
output file  

> open
> https://raw.githubusercontent.com/QChASM/AaronTools.py/master/Substituents/26-F-Ph.xyz
> dataFormat xyz

Summary of feedback from opening
//raw.githubusercontent.com/QChASM/AaronTools.py/master/Substituents/26-F-Ph.xyz
fetched from https  
---  
notes | Fetching compressed 26-F-Ph.xyz from
https://raw.githubusercontent.com/QChASM/AaronTools.py/master/Substituents/26-F-Ph.xyz  
Downloaded 26-F-Ph.xyz to C:\Users\Tony Schaefer\Downloads\26-F-Ph.xyz  
  
Opened C:\Users\Tony Schaefer\Downloads\26-F-Ph.xyz as a XYZ file  

> open ""C:/Users/Tony Schaefer/Desktop/asdf.xyz""

Opened C:/Users/Tony Schaefer/Desktop/asdf.xyz as a XYZ file  

> open ""C:/Users/Tony Schaefer/Desktop/asdf.xyz""

Opened C:/Users/Tony Schaefer/Desktop/asdf.xyz as a XYZ file  

> open ""C:/Users/Tony Schaefer/Desktop/phenol test.xyz""

Opened C:/Users/Tony Schaefer/Desktop/phenol test.xyz as a XYZ file  

> open D:SEQCROW_SCRATCH/asdf.xyz

Opened D:SEQCROW_SCRATCH/asdf.xyz as a XYZ file  
No such database 'D'  

> open ""C:/Users/Tony Schaefer/Desktop/phenol test.xyz""

Opened C:/Users/Tony Schaefer/Desktop/phenol test.xyz as a XYZ file  

> open ""D:/SEQCROW_SCRATCH/phenol Wed Jul 1 19.15.55 2020/phenol.xyz""

Opened D:/SEQCROW_SCRATCH/phenol Wed Jul 1 19.15.55 2020/phenol.xyz as a XYZ
file  
No such database 'D'  

> ui tool show Shell

> D:/SEQCROW_SCRATCH/phenol Wed Jul 1 19.15.55 2020/phenol.xyz

> ui tool show ""Build QM Input""

> help open

> open smiles:C

Translated SMILES to 3D structure via NCI web service (SMILES: C)  

> hide #1 models

> hide #2 models

> hide #!4 models

> hide #3 models

> hide #!5 models

> hide #9 models

> hide #8 models

> hide #!7 models

> hide #6 models

adding test open to queue  
job started: local ORCA job ""test open""  

> ui tool show ""Job Queue""

job finished: local ORCA job ""test open""  

> open ""D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out""
> coordsets true

Summary of feedback from opening D:\SEQCROW_SCRATCH\test open Fri Jul 3
13.32.13 2020\test_open.out  
---  
note | C:\Users\Tony Schaefer\AppData\Local\UCSF\ChimeraX\1.1\site-
packages\SEQCROW\io.py:40: UserWarning: energy plot could not be opened  
there might be a mismatch between energy entries and structure entries in
D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out  
""there might be a mismatch between energy entries and structure entries in %s""
% path)  
  
Opened D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out as a
ORCA output file movie  

> ui tool show Shell

No such database 'D'  

> open ""D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out""
> coordsets true

Summary of feedback from opening D:\SEQCROW_SCRATCH\test open Fri Jul 3
13.32.13 2020\test_open.out  
---  
note | C:\Users\Tony Schaefer\AppData\Local\UCSF\ChimeraX\1.1\site-
packages\SEQCROW\io.py:40: UserWarning: energy plot could not be opened  
there might be a mismatch between energy entries and structure entries in
D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out  
""there might be a mismatch between energy entries and structure entries in %s""
% path)  
  
Opened D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out as a
ORCA output file movie  

> open ""D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out""
> coordsets true

Opened D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out as a
ORCA output file movie  

> open ""D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out""
> coordsets true

Opened D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out as a
ORCA output file movie  

> open ""D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out""
> coordsets true

Opened D:\SEQCROW_SCRATCH\test open Fri Jul 3 13.32.13 2020\test_open.out as a
ORCA output file movie  
No such database 'D'  




OpenGL version: 3.3.0 NVIDIA 445.75
OpenGL renderer: GeForce RTX 2070/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: To Be Filled By O.E.M.
Model: To Be Filled By O.E.M.
OS: Microsoft Windows 10 Education (Build 17763)
Memory: 17,107,533,824
MaxProcessMemory: 137,438,953,344
CPU: 16 AMD Ryzen 7 2700X Eight-Core Processor         ""
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.9

}}}
"	defect	closed	normal		Input/Output		not a bug						all	ChimeraX
