Open Stette opened 8 months ago
+1
+1
Fixed by #172
still get no match :(
:shrug: works for me!
Receiving an error on the updated pull request as well, including a snippet of the error from the Autopkg Log
'RE_PATTERN': '<a '
'href=\\"(?P<url>http[s]?.*?(?P<filename>FileZilla_(?P<version>[\\d.]+)_macosx-x86.*?\\.tar\\.bz2).*?)\\"',
'pkginfo': {'blocking_applications': ['FileZilla.app'],
'catalogs': ['production'],
'category': 'Utilities',
'description': 'FileZilla is a fast and reliable cross-platform '
'FTP, FTPS and SFTP client.',
'display_name': 'FileZilla',
'name': 'FileZilla',
'unattended_install': True},
'verbose': 4}
URLTextSearcher
{'Input': {'re_pattern': '<a '
'href=\\"(?P<url>http[s]?.*?(?P<filename>FileZilla_(?P<version>[\\d.]+)_macosx-x86.*?\\.tar\\.bz2).*?)\\"',
'url': 'https://filezilla-project.org/download.php?show_all=1'}}
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
URLTextSearcher: Curl command: ['/usr/bin/curl', '--compressed', '--location', 'https://filezilla-project.org/download.php?show_all=1']
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://filezilla-project.org/download.php?show_all=1
File "/Library/AutoPkg/autopkglib/__init__.py", line 840, in process
self.env = processor.process()
No match found on URL: https://filezilla-project.org/download.php?show_all=1
Failed.
Receipt written to /Users/autopkg/Library/AutoPkg/Cache/local.munki.FileZilla/receipts/Filezilla-receipt-20240202-110023.plist
in the pattern you still have the "x": "macosx-x86"
I have corrected the overwrite by hand and now it is working for me.
I am confused by your claim.
https://github.com/autopkg/keeleysam-recipes/blob/master/FileZilla/FileZilla.download.recipe#L14 and https://github.com/autopkg/keeleysam-recipes/blob/master/FileZilla/FileZilla.munki.recipe#L31
Did you actually do a repo-update after this fix, and more importantly, did you make sure your overrides don't have the old regex patterns?
Yep, this one is my fault, the regex patterns didn't update correctly. I've resolved this one on my end and made notes to check in future.
No further issues here.
My autopkg-jobs fail due to (most likely) changed URL for FileZilla.
Error: