AWS Thinkbox Discussion Forums

AWS Pre-cache error, 3ds Max

Currently a non-critical error with AWS and 3dsMax rendering. This seems similar, but a bit different than the error from the Aug 2018 thread

The render result is fine, but the files don’t get pushed during the pre-cache phase. One typical Asset Server log error is:

1578499125.157000 2020-01-08 10:58:45,157 [C:\Program Files (x86)\Thinkbox
\AWSPortalAssetServer\awsportalassetserver.py:PrecacheFiles:199] [root] [10744] 
[ThreadPoolExecutor-0_0] [ERROR] Could not precache file u'\\\\wombat\\work
\\xx\\EnterpriseArchitecture_2019\\maxTextures\\AnimIcons_eng\\sysEng_desktop_07.tif', 
as it is not in a share.
Traceback (most recent call last):
  File "C:\Program Files (x86)\Thinkbox\AWSPortalAssetServer\awsportalassetserver.py",
 line 190, in PrecacheFiles
 share = self.shares.get_share_from_local_path(filename)
  File "C:\Program Files (x86)\Thinkbox\AWSPortalAssetServer\awsportalassetserverlib
\share_util.py", line 108, in get_share_from_local_path
    raise error_handling.PathOutOfBoundsError
('Cannot determine share for local path: %s' % path)
PathOutOfBoundsError

Please note that “//wombat/work” is already specified as a root directory. Also, all the erroring file paths are prefixed with a ‘u’ in the logs, as well as looking ‘escaped’ with an extra \ (?)
Possible wrinkle: The file source here is a Linux SMB server, working as a AD domain server. But, local and AWS rendering are working fine; the pre-cache seems to be the only issue.

So, who likes a good puzzle?

Well. That “u” is for Unicode in python.

Thank you – one part of the mystery explained :slight_smile:

And all those extra \ characters are escaping the escape character so they don’t escape other characters. So those goofy strings are business as usual!

Does that file show up in the list of AwsAssetFile#=file/path.png , and does it have the same path in there? And this does work eventually? Do you see this file get uploaded during rendering in the Asset Server logs?

There’s not a lot of hidden nuance in that error, but it will throw this error if the file in question is accessible only via symlink for security reasons.

Privacy | Site terms | Cookie preferences