A day of troubleshooting and documentation.
On localising PySide2, we found that Windows was having trouble finding files.
Traceback
Preparing packages.. |18:14:39 INFO Copying source variant \\studio\packages\ext\pyside2\5.13.0\package.py[0] into repository filesystem@C:\Users\marcus\AppData\Local\Temp\tmpuxx4_d8b...
Preparing packages.. fail
Traceback (most recent call last):
File "\\studio\packages\ext\localz\0.3.2\python\localz\__main__.py", line 209, in stage
yield bar
File "\\studio\packages\ext\localz\0.3.2\python\localz\__main__.py", line 370, in <module>
verbose=opts.verbose > 2,
File "\\studio\packages\ext\rez\2.33.2\python\rez\package_copy.py", line 196, in copy_package
verbose=verbose
File "\\studio\packages\ext\rez\2.33.2\python\rez\package_copy.py", line 328, in _copy_variant_payload
maybe_symlink(src_path, dest_path)
File "\\studio\packages\ext\rez\2.33.2\python\rez\utils\filesystem.py", line 221, in replacing_copy
shutil.copytree(src, tmp_dest, symlinks=(not follow_symlinks))
File "\\studio\packages\ext\python\3.7.3\platform-windows\arch-AMD64\app\lib\shutil.py", line 365, in copytree
raise Error(errors)
shutil.Error: [
(
'\\\\studio\\packages\\ext\\pyside2\\5.13.0\\platform-windows\\os-windows-10\\python-3.7\\python\\PySide2\\examples\\declarative\\extending\\chapter4-customPropertyTypes\\__pycache__\\customPropertyTypes.cpython-37.pyc',
'C:\\Users\\marcus\\AppData\\Local\\Temp\\tmpuxx4_d8b\\pyside2\\5.13.0\\platform-windows\\os-windows-10\\python-3.7\\.tmp-python-107756aef02649cf930a8f768d3e19ac\\PySide2\\examples\\declarative\\extending\\chapter4-customPropertyTypes\\__pycache__\\customPropertyTypes.cpython-37.pyc',
[Errno 2] No such file or directory: 'C:\\\\Users\\\\marcus\\\\AppData\\\\Local\\\\Temp\\\\tmpuxx4_d8b\\\\pyside2\\\\5.13.0\\\\platform-windows\\\\os-windows-10\\\\python-3.7\\\\.tmp-python-107756aef02649cf930a8f768d3e19ac\\\\PySide2\\\\examples\\\\declarative\\\\extending\\\\chapter4-customPropertyTypes\\\\__pycache__\\\\customPropertyTypes.cpython-37.pyc'"
)
]
Cleaning up temporary files.. ok
Added documentation for how to work around this here.
Using Rez on Windows comes with a few gotchas, so I put together a list of things to consider for the new user.
Along with various gotchas per shell.
I'll revisit the project selector, it's due for an overhaul. I'll also move the project domain and repository, shouldn't take long .