autopkg / hjuutilainen-recipes

Recipes for AutoPkg
MIT License
50 stars 76 forks source link

GIMP download recipe errors with No match found on URL: https://www.gimp.org/downloads/ #234

Closed Daz-wallace closed 2 years ago

Daz-wallace commented 2 years ago

Looks like GIMP has changed it's URL. PR incoming...

Output:


{'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/
Failed.
Receipt written to /Users/Darren.Wallace/Library/AutoPkg/Cache/io.github.hjuutilainen.download.GIMP/receipts/GIMP.download-receipt-20220830-094021.plist

The following recipes failed:
    /Users/Darren.Wallace/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes/GIMP/GIMP.download.recipe
        Error in io.github.hjuutilainen.download.GIMP: Processor: URLTextSearcher: Error: No match found on URL: https://www.gimp.org/downloads/

Nothing downloaded, packaged or imported.```
Daz-wallace commented 2 years ago

PR #235

Daz-wallace commented 2 years ago

PR Merged (thanks @hjuutilainen!)