[x3d-public] view3dscene cannot open file in c:/Users/... (was: MFString quoting)
Vincent Marchetti
vmarchetti at kshell.com
Thu Apr 27 05:00:16 PDT 2017
I often have this suspicion when there are issues with windows filepaths in software that operates across several platforms -- is there an issue
with the "\" escaping as it is applied to strings in C-based languages. Specifically, in your case, C:\Users\don\Desktop\test_mfstring_quotes.x3d ,
is the \t pair being interpreted as a single tab (ascii 9) character. . Quick test, rename your file to C:\Users\don\Desktop\kest_mfstring_quotes.x3d
Vince Marchetti
> On Apr 26, 2017, at 11:00 PM, Don Brutzman <brutzman at nps.edu> wrote:
>
> thanks for troubleshooting effort
>
> On 4/26/2017 7:17 PM, Michalis Kamburelis wrote:
>> 2017-04-27 3:57 GMT+02:00 Don Brutzman <brutzman at nps.edu>:
>>> Visual inspection seemed OK to me, it worked in most players. H3D throws an
>>> XML exception, OctagaVS fails, and I couldn't get view3dscene to work on my
>>> system (trouble-report screenshot attached).
>> The error message on your screenshot says that from the point of view
>> of view3dscene, there is no such file.
>> - Do you have a file C:\Users\don\Desktop\test_mfstring_quotes.x3d ?
>
> yes
>
>> Is the file readable by your normal user (the same one you use to run
>> view3dscene), e.g. can you open it with "notepad"?
>
> yes, confirmed on multiple applications and editors
>
>> - How do you exactly open this X3D file?
>
> a variety of ways, no surprises
>
>> Can you run view3dscene.exe
>> and then use the "Open" button from it's toolbar?
>
> yes, version 3.15.0, but get the same error on this file
>
>> - Can you open *any* file with view3dscene?
>
> sure, plenty.
>
> so i copied it to another directory (rather than desktop) and view3dscene loaded it OK. hooray, confirmation attached.
>
>> - Is it possible that view3dscene.exe, or test_mfstring_quotes.x3d,
>> was moved to some quarantine folder (I guess that they are both
>> treated as "downloaded from the Internet"), and something like
>> anti-virus is trying to prevent view3dscene from seeing your actual
>> disk contents?
>
> good thinking - i have no other indications of that, but something strange is happening in this particular case on my desktop.
>
> anyway the scene now loads OK, that was the main thing. i'll report if any other ideas emerge but we can write this off as a Windows curiosity i suppose. appreciate your response.
>
> all the best, Don
> --
> Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
> Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
> X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
> <test_mfstring_quotes.x3d.view3dscene.png>_______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
More information about the x3d-public
mailing list