PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
6.06k stars 1.2k forks source link

USD can't resolve file paths on Box Drive #1907

Open toadstorm opened 2 years ago

toadstorm commented 2 years ago

Description of Issue

I'm in a bit of a weird situation in that I'm currently stuck with using Box Drive as a file server. It's a bit like Dropbox (which works fine with USD) in that it behaves as if it were a file path on disk. USD seems to be unable to read from or write to any Box Drive paths, whether or not they've been locally synced (via the "Make Available Offline" feature). Moving the files to a non-Box Drive path fixes the problem.

Testing in Houdini Solaris 19.0.622.

Steps to Reproduce

  1. Attempt to read from or write to any path in a Box Drive, synced or not.

System Information (OS, Hardware)

Windows 10

Package Versions

using usda 1.0 via Houdini Solaris (19.0.622)

Build Flags

spiffmon commented 2 years ago

Hi @toadstorm , I'm not sure we'll be able to provide timely support, here. We don't use Box Drive, and the ArDefaultResolver makes only standard posix (I think) calls to interact with the filesystem. If this is a workflow problem in Houdini you might try reporting to SideFx, who have amazingly and graciously improved some of USD's handling of some Windows-specific filesystem quirks already.

marktucker commented 2 years ago

I'm afraid @toadstorm started at SideFX, and I sent him here.

My best guess is that it has something to do with ArchReadLink and the code for handling reparse points on Windows. I'm just guessing that Box Drive's "faux file system" is somehow built around a reparse point or some similar technology. I'm aware that Pixar doesn't make use of anything like this, but my hope was that somone else in the USD community might have some knowledge of these things.

jilliene commented 2 years ago

Filed as internal issue #USD-7437

spiffmon commented 2 years ago

Got it - dang. We used to have a high-level in at Box, but he retired post-IPO and is living the good life.

On Thu, Jun 16, 2022 at 6:29 PM Mark Tucker @.***> wrote:

I'm afraid @toadstorm https://github.com/toadstorm started at SideFX, and I sent him here.

My best guess is that it has something to do with ArchReadLink and the code for handling reparse points on Windows. I'm just guessing that Box Drive's "faux file system" is somehow built around a reparse point or some similar technology. I'm aware that Pixar doesn't make use of anything like this, but my hope was that somone else in the USD community might have some knowledge of these things.

— Reply to this email directly, view it on GitHub https://github.com/PixarAnimationStudios/USD/issues/1907#issuecomment-1158375796, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPOU2GN4TFW6BGJQAQBVU3VPPIGZANCNFSM5Y4H2CNA . You are receiving this because you commented.Message ID: @.***>

-- --spiffiPhone