VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Apr 29 2020 - 01:20:47 CDT
- Next message: mfeiglab_at_gmail.com: "RE: STRIDE issues on Windows"
- Previous message: John Stone: "Re: STRIDE issues on Windows"
- In reply to: John Stone: "Re: STRIDE issues on Windows"
- Next in thread: mfeiglab_at_gmail.com: "RE: STRIDE issues on Windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I forgot to also suggest that as a workaround, to try
setting the Windows environment variable "TMP" to some directory
that doesn't contain a space, and see if that works or not.
According to the latest MS C runtime docs, tempnam(), _tempnam(),
GetTempPathW(), and others check the value of the TMP, and TEMP
environment variables.
Try and see if that provides you with a workaround for your
existing VMD installation without having to change anything
about your username.
Best,
John Stone
On Wed, Apr 29, 2020 at 01:16:19AM -0500, John Stone wrote:
> Can you send the VMD console error messages you see when
> it tries (and fails) to run STRIDE on your machine?
>
> VMD calls the tempnam() system call to generate legal
> temporary files for input/output. Assuming those are
> not wrong in some surprising way, this should hopefully
> be a relatively simple thing to track down and fix with
> additional quotation marks around filename strings sent
> into the system() call that actually launches STRIDE.
>
> Best,
> John
>
> On Mon, Apr 27, 2020 at 01:51:01PM -0400, mfeiglab_at_gmail.com wrote:
> > Based on previous posts there is a reasonably well documented issue with
> > VMD not able to
> >
> > run STRIDE on Windows 10 (probably older versions as well) when a file
> > name/directory
> >
> > contains a space.
> >
> >
> >
> > In particular, the issue comes up when the Windows user name (and
> > therefore the home
> >
> > directory) contains a space.
> >
> >
> >
> > There are ways to read input PDB files from locations where there is no
> > space in the file name,
> >
> > but it seems impossible to get around the name of the Temp directory as it
> > resides within
> >
> > the User home directory (C:\Users\...\AppData\Local\Temp\ ...).
> >
> >
> >
> > I tried to change the location of the temporary directory but so far no
> > success. Perhaps the VMD
> >
> > variables are not effective and STRIDE gets the location from Windows
> > instead.
> >
> >
> >
> > One obvious solution is to change the Windows user name (and user
> > directory) but there seems to be
> >
> > a high chance of breaking other things, especially with other installed
> > programs and I am not quite
> >
> > ready yet to go down this road.
> >
> >
> >
> > Any other ideas for how to get around this?
> >
> >
> >
> > The system is Windows 10, VMD 1.9.3.
> >
> >
>
> --
> NIH Center for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349
> http://www.ks.uiuc.edu/Research/vmd/
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/
- Next message: mfeiglab_at_gmail.com: "RE: STRIDE issues on Windows"
- Previous message: John Stone: "Re: STRIDE issues on Windows"
- In reply to: John Stone: "Re: STRIDE issues on Windows"
- Next in thread: mfeiglab_at_gmail.com: "RE: STRIDE issues on Windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]