Skip to content

fix(installer): tolerate country lookup failures#2

Merged
njzjz merged 1 commit into
deepmodeling-activity:masterfrom
njzjz-bot:fix/country-detection-fallback
May 31, 2026
Merged

fix(installer): tolerate country lookup failures#2
njzjz merged 1 commit into
deepmodeling-activity:masterfrom
njzjz-bot:fix/country-detection-fallback

Conversation

@njzjz-bot
Copy link
Copy Markdown
Contributor

Problem

  • The installer exits under set -e when ipinfo.io/country is unreachable or returns an error.
  • This matches the failure reported for dp1s and can happen behind VPNs or filtered networks.

Change

  • Make country lookup non-fatal with curl timeouts and fallback to conda-forge.
  • Add ABACUS1S_COUNTRY so users can explicitly override country detection.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)

Avoid exiting under set -e when ipinfo country detection is unavailable, and allow overriding the detected country with ABACUS1S_COUNTRY.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
@njzjz njzjz merged commit f3ad46f into deepmodeling-activity:master May 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants