[chimera-dev] Opening a *.py file on Windows, Chimera has issues with spaces in name
Bernard Lieberman
bernardlieberman at gmail.com
Mon Jun 8 18:00:53 PDT 2015
I'll have to take a peak around and see if other users are all on Windows 7
as well (my belief is yes). The error message is essentially Chimera
failing to load the file upto where there's the first space in the
directory path. The code used to execute is essentially the following:
ShellExecute hwnd, "open", """\\192.168.1.1\Chimera
Models\Chimera\Resources\Models\" & modelName & "\" & modelName & ".py""",
vbNullString, vbNullString, vbNormalFocus
I'll likely just switch that user to a Win7 system if possible but it
definitely appears to only happen on the one computer for now.
Best regards,
Bernard
*Bernard Lazarus Lieberman *
On Mon, Jun 8, 2015 at 7:13 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
> Also, the actual line of code being executed to open the file would be
> helpful.
>
> --Eric
>
> Eric Pettersen
> UCSF Computer Graphics Lab
> http://www.cgl.ucsf.edu
>
> On Jun 8, 2015, at 4:07 PM, Greg Couch <gregc at cgl.ucsf.EDU> wrote:
>
> We haven't tested Chimera on anything before Windows 7 for many years, so
> if your program works on Windows 7, then I'd tell the user to upgrade :-(.
>
> But assuming you want to debug this, can you get the exact error the user
> is getting? That would help narrow down the possibilities a lot. A simple
> test for opening Python files: have your user save a Chimera session file
> and then open it. Chimera 1 session files are Python files, so if that
> works, there's not a problem opening Python files.
>
> HTH,
>
> Greg
>
> On 06/08/2015 11:22 AM, Bernard Lieberman wrote:
>
> Hello,
>
> I'm writing an application that calls a relevant python file and opens
> it in Chimera. I've gotten the program working just fine on the majority of
> systems but one of my clients attempted to use the application and noticed
> it's having a breaking point or issue (on his particular Windows Vista
> system) when the application tries to open the python file. Windows itself
> recognized the exact path and location and can open the file on other
> computers just fine.
>
> Any assistance or advice on what I'm missing (if there's a
> chimera-specific setting) or if this is a known issue with particular OS'es
> etc., please let me know.
>
> Best regards,
> Bernard
>
>
> _______________________________________________
> Chimera-dev mailing listChimera-dev at cgl.ucsf.eduhttp://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
>
>
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20150608/4e564fbf/attachment.html>
More information about the Chimera-dev
mailing list