Opened 6 years ago

Closed 6 years ago

#2187 closed defect (fixed)

Bizarre file name quoting for Windows drag and drop

Reported by: zackg@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 0.91 (2019-07-07)
Description
On my windows machine, I dragged and dropped a cxc file onto Chimera to load it (usually works fine on my Mac).  Here it had an error because of spaces in the filename.

open "P:\\IDPs\\IDP" L2071 "CL17\\Particle" "3\\Grid" "A3\\20190502" - TitanX - Particle 3 Grid "A3\\0008" - EDS Tomo Lone "EA\\ManyElements8bin.cxc"

When I typed the command in by hand -- ensuring everything was in quotes, then it was fine:

open "P:\\IDPs\\IDP L2071 CL17\\Particle 3\\Grid A3\\20190502 - TitanX - Particle 3 Grid A3\\0008 - EDS Tomo Lone EA\\ManyElements8bin.cxc"

The new interface looks great, BTW!

Log:
UCSF ChimeraX version: 0.91 (2019-07-07)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open "P:\\\IDPs\\\IDP" L2071 "CL17\\\Particle" "3\\\Grid" "A3\\\20190502" -
TitanX - Particle 3 Grid "A3\\\0008" - EDS Tomo Lone
"EA\\\ManyElements8bin.cxc"

File not found: P:\IDPs\IDP  
File not found: P:\IDPs\IDP  

> open "P:\\\IDPs\\\IDP L2071 CL17\\\Particle 3\\\Grid A3\\\20190502 - TitanX
- Particle 3 Grid A3\\\0008 - EDS Tomo Lone EA\\\ManyElements8bin.cxc"

> open Output8bin/Reconstructed/C_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/C_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\C_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened C_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156, shown
at level 1.15, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #2 style surface color white level 0.878

> volume #2 projectionMode 3d

> volume #2 hide

> open Output8bin/Reconstructed/Al_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Al_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Al_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Al_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 0.553, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #3 style surface color purple level 0.251

> volume #3 projectionMode 3d

> volume #3 hide

> open Output8bin/Reconstructed/Fe_Ka_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Fe_Ka_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Fe_Ka_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Fe_Ka_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 1.49, step 1, values float32  

> view orient cofr false

> volume voxelSize 1

> volume median #1 binSize 3

> close #1

> volume #4 style surface color red level 2.98

> volume #4 projectionMode 3d

> volume #4 show

> open Output8bin/Reconstructed/Ca_Ka_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Ca_Ka_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Ca_Ka_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Ca_Ka_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 0.488, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #5 style surface color gold level 0.469

> volume #5 projectionMode 3d

> volume #5 show

> open Output8bin/Reconstructed/Mg_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Mg_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Mg_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Mg_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 2.98, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #6 style surface color limegreen level 1.43

> volume #6 projectionMode 3d

> volume #6 show

> open Output8bin/Reconstructed/Ni_Ka_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Ni_Ka_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Ni_Ka_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Ni_Ka_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 0.285, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #7 style surface color limegreen level 0.267

> volume #7 projectionMode 3d

> volume #7 hide

> open Output8bin/Reconstructed/O_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/O_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\O_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened O_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156, shown
at level 3.74, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #8 style surface color royalblue

> volume #8 projectionMode 3d

> volume #8 hide

> open Output8bin/Reconstructed/Si_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Si_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Si_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Si_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 3.7, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #9 style surface color royalblue

> volume #9 projectionMode 3d

> volume #9 hide

> open Output8bin/Reconstructed/S_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/S_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\S_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened S_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156, shown
at level 0.742, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #10 style surface color royalblue level 1.21

> volume #10 projectionMode 3d

> volume #10 show

> open Output8bin/Reconstructed/Cr_Ka_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Cr_Ka_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Cr_Ka_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Cr_Ka_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 0.29, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #11 style surface color royalblue

> volume #11 projectionMode 3d

> volume #11 hide

> open Output8bin/Reconstructed/HAADF_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/HAADF_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\HAADF_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened HAADF_reconstruction_cropped.mrc, grid size 512,512,512, pixel 0.00195,
shown at level 350, step 2, values float32  

> volume bin #1 binSize 1

> volume #12 voxelSize 0.25

> view orient cofr false

> close #1

> volume #12 style solid color white

> volume #12 projectionMode 3d

> volume #12 hide

> open Output8bin/Reconstructed/O_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/O_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\O_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened O_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156, shown
at level 3.74, step 1, values float32  

> volume #1 voxelSize 1

> view orient cofr false

> volume gaussian #1 sDev 1.0

> close #1

> volume #13 style surface color gray transparency 0.66 level 8.14

> volume #13 projectionMode 3d

> volume #13 hide

> open Output8bin/Reconstructed/Si_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Si_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Si_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Si_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 3.7, step 1, values float32  

> volume #1 voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #14 style surface color gray transparency 0.66 level 1.81

> volume #14 projectionMode 3d

> volume #14 show

> open Output8bin/Reconstructed/Na_K_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/Na_K_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\Na_K_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened Na_K_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 0.288, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #15 style surface color yellow level 0.317

> volume #15 projectionMode 3d

> volume #15 show

> open Output8bin/Reconstructed/K_Ka_reconstruction_cropped.mrc

Summary of feedback from opening
Output8bin/Reconstructed/K_Ka_reconstruction_cropped.mrc  
---  
note | P:\IDPs\IDP L2071 CL17\Particle 3\Grid A3\20190502 - TitanX - Particle
3 Grid A3\0008 - EDS Tomo Lone
EA\Output8bin\Reconstructed\K_Ka_reconstruction_cropped.mrc: invalid cell
angles 0,0,0 must be between 0 and 180.  
  
Opened K_Ka_reconstruction_cropped.mrc, grid size 64,64,64, pixel 0.0156,
shown at level 0.24, step 1, values float32  

> volume voxelSize 1

> view orient cofr false

> volume median #1 binSize 3

> close #1

> volume #16 style surface color gold level 0.207

> volume #16 projectionMode 3d

> volume #16 show

> view matrix camera
0.029396,-0.20687,0.97793,166.4,0.99035,-0.12655,-0.05654,24.783,0.13545,0.97015,0.20116,58.949

> lighting shadows true intensity 0.5

executed ManyElements8bin.cxc  

> toolshed show Registration

Please register the custom scheme 'cxreg' via
QWebEngineUrlScheme::registerScheme() before installing the custom scheme
handler.  

Thank you for registering your copy of ChimeraX. By providing the information
requested you will be helping us document the impact this software is having
in the scientific community. The information you supplied will only be used
for reporting summary usage statistics; no individual data will be released.  
zackg@berkeley.edu is subscribed to the ChimeraX announcements list  




OpenGL version: 3.3.0 NVIDIA 430.86
OpenGL renderer: GeForce RTX 2060/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 6 years ago

Cc: Tom Goddard added
Component: UnassignedInput/Output
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionBizarre file name quoting for Windows drag and drop

Reported by Zack Gainsforth

comment:2 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

This bug has been fixed. The bug was reproduced by dragging and dropping a filename, with spaces in it, on the ChimeraX application icon. That causes the filename to be given as a command line argument in sys.argv.

If the filename had been dragged and dropping on a running Chimerax, it would have worked.

Note: See TracTickets for help on using tickets.