failure on first launch

8 views
Skip to first unread message

David Koff

unread,
Jan 2, 2026, 7:01:35 PM (5 days ago) Jan 2
to autopkg-discuss
Hiya, folks:

Fresh install of autopkg 2.7.6, something I used a lot in my sysadmin days. Only now, I'm running into unexpected errors just after first launch. Can't run a search or an install even on those recipes/repos I've added locally. I'm On a Mac running 15.6.1. Uninstalled (completely), rebooted, then re-installed. Same problems. 

One note after checking /usr/bin/local - i've got 5 or 6 different versions of python installed. I know Python3 is packaged with autopkg and stored in the main /Library/AutoPkg directory, but still: worth sharing. Anyhoo...

Here's the spit out from a simple search I did for a recipe for Zoom. Much obliged if you've got any thoughts. 

david$ autopkg search zoom

Traceback (most recent call last):

  File "/Library/AutoPkg/autopkglib/URLGetter.py", line 174, in execute_curl

    result = subprocess.run(

  File "/Library/AutoPkg/Python3/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run

    raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['/usr/bin/curl', '--location', '--silent', '--show-error', '--fail', '--dump-header', '-', '-X', 'GET', '--header', 'User-Agent: AutoPkg', '--header', 'Accept: application/vnd.github.v3.text-match+json', '--url', 'https://api.github.com/search/code?q=zoom+extension:recipe+extension:plist+extension:yaml+user:autopkg+in:path,file&per_page=100', '--output', '/var/folders/6p/4m4yr1xj1nx2c_kgvhtv4__80000gq/T/tmph9tmauj7']' returned non-zero exit status 56.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "/usr/local/bin/autopkg", line 2786, in <module>

    sys.exit(main(sys.argv))

  File "/usr/local/bin/autopkg", line 2782, in main

    return subcommands[verb]["function"](argv)

  File "/Library/AutoPkg/autopkgcmd/searchcmd.py", line 82, in search_recipes

    results = GitHubSession().search_for_name(

  File "/Library/AutoPkg/autopkglib/github/__init__.py", line 193, in search_for_name

    results = self.code_search(query, use_token=use_token)

  File "/Library/AutoPkg/autopkglib/github/__init__.py", line 216, in code_search

    (results, code) = self.call_api(

  File "/Library/AutoPkg/autopkglib/github/__init__.py", line 269, in call_api

    raw_headers = self.download_with_curl(curl_cmd)

  File "/Library/AutoPkg/autopkglib/github/__init__.py", line 150, in download_with_curl

    p_stdout, p_stderr, retcode = self.execute_curl(curl_cmd)

  File "/Library/AutoPkg/autopkglib/URLGetter.py", line 184, in execute_curl

    raise ProcessorError(e.stderr) from e

autopkglib.ProcessorError: curl: (56) The requested URL returned error: 401

Gregory Neagle

unread,
Jan 2, 2026, 7:04:39 PM (5 days ago) Jan 2
to autopkg...@googlegroups.com, autopkg-discuss
The attempt to search returned a 401. 

Search has been mostly broken for years due to GitHub policy. Alternatives are described in the AutoPkg wiki. 

Sent from my iPhone

On Jan 2, 2026, at 4:01 PM, David Koff <davi...@gmail.com> wrote:

Hiya, folks:
--
You received this message because you are subscribed to the Google Groups "autopkg-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autopkg-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/autopkg-discuss/e4b55014-505a-4873-a398-ab710fe0d43cn%40googlegroups.com.

David Koff

unread,
Jan 2, 2026, 7:19:30 PM (5 days ago) Jan 2
to autopkg-discuss
I guess I should be surprised that you still respond THAT quickly, Greg. Thank you.
Reply all
Reply to author
Forward
0 new messages