AcademySoftwareFoundation / AcademySoftwareFoundation/rez

Overriding REZ_CONTEXT_TRACKING_HOST in a shell results in an error for every resolve

Open
#534 1 comment 0 reactions 0 assignees View on GitHub
bug os:windows
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

When setting context_tracking_host to an empty string in rezconfig.py everything works as expected. If the setting is set to a host but overriden using an empty environment variable (`set "REZ_CONTEXT_TRACKING_HOST= "`) every resolve yields an error:

`11:53:00 ERROR Cannot connect to the message broker: [Errno 11004] getaddrinfo failed`

Not sure if this is windows specific

Contributor guide

Open the contributing guide

Research direction

Reproduce a resolve with context_tracking_host set in rezconfig.py and then overridden by the empty REZ_CONTEXT_TRACKING_HOST environment variable. Trace the environment-setting handling and resolve path; done means the override behaves like an empty configuration value without producing the message-broker getaddrinfo error.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.