AcademySoftwareFoundation / AcademySoftwareFoundation/rez

rez package cache stalls on osx

Open
#950 0 comments 0 reactions 0 assignees View on GitHub
bug package-payload-cache
Dominant language
Python
Stars
1.1k
Forks
374
Avg merge
9d 12h
Merged PRs (30d)
5

Description

I was having problems getting the package cache to work under osx.
I've set my cache folder to /Libraries/Cache/rez/package_cache.
When resolving a rez env, the rez-pkg-cache shows the cache as `stalled`.
On inspecting the cache folder, it looks like the copy succeeded, but the final removal of the .copying file has failed.
I've had some issues with shutil on osx, so thought I'd replace it with popen and normal shell `cp` command.
Having done this, the cache is being made correctly without stalling.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the stalled rez-pkg-cache state on OSX with the cache configured at /Libraries/Cache/rez/package_cache, then inspect the cache operation that leaves the .copying file behind. Done means the package copy completes, the temporary marker is removed, and the cache is no longer reported as stalled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.