autopkg / hjuutilainen-recipes

Recipes for AutoPkg
MIT License
49 stars 74 forks source link

GIMP.download recipe fails #236

Closed oliverweinm closed 1 year ago

oliverweinm commented 1 year ago

Hello,

unfortunately the GIMP.download recipe is currently failing. This is the output from the running the recipe:

URLTextSearcher
{'Input': {'re_pattern': "href='//download.gimp.org/mirror/pub/gimp/v(.*)/osx/'",
           'result_output_var_name': 'version_match',
           'url': 'https://www.gimp.org/downloads/'}}
Traceback (most recent call last):
  File "/Library/AutoPkg/autopkglib/__init__.py", line 840, in process
    self.env = processor.process()
  File "/Library/AutoPkg/autopkglib/__init__.py", line 626, in process
    self.main()
  File "/Library/AutoPkg/autopkglib/URLTextSearcher.py", line 122, in main
    groupmatch, groupdict = self.re_search(content)
  File "/Library/AutoPkg/autopkglib/URLTextSearcher.py", line 109, in re_search
    raise ProcessorError(f"{NO_MATCH_MESSAGE}: {self.env['url']}")
autopkglib.ProcessorError: No match found on URL: https://www.gimp.org/downloads/
  File "/Library/AutoPkg/autopkglib/__init__.py", line 840, in process
    self.env = processor.process()
No match found on URL: https://www.gimp.org/downloads/
[...]
The following recipes failed:
    io.github.hjuutilainen.munki.GIMP
        Error in io.github.hjuutilainen.munki.GIMP: Processor: URLTextSearcher: Error: No match found on URL: https://www.gimp.org/downloads/

A currently working download link for GIMP would be "https://download.gimp.org/gimp/v2.10/osx/gimp-2.10.32-x86_64.dmg"

Thanks in advance!

oliverweinm commented 1 year ago

Was fixed by #235 Thanks!