packit / hardly

Project is archived since Packit team agreed on prioritising work with more benefits and bigger user base.
https://packit.dev/source-git/status
MIT License
0 stars 7 forks source link

TypeError: expected string or bytes-like object #73

Closed sentry-io[bot] closed 1 year ago

sentry-io[bot] commented 2 years ago

Sentry Issue: STREAM-SERVICE-1V

TypeError: expected string or bytes-like object
(5 additional frame(s) were not displayed)
...
  File "packit_service/worker/handlers/abstract.py", line 369, in run_job
    job_results[result_key] = self.run_n_clean()
  File "packit_service/worker/handlers/abstract.py", line 267, in run_n_clean
    return self.run()
  File "hardly/handlers/distgit.py", line 279, in run
    if not (dist_git_pr_model := self.dist_git_pr_model()):
  File "hardly/handlers/distgit.py", line 359, in dist_git_pr_model
    m = fullmatch(r"(\S+)/-/merge_requests/(\d+)", self.merge_request_url)
  File "re.py", line 195, in fullmatch
    return _compile(pattern, flags).fullmatch(string)

SyncFromGitlabMRHandler.merge_request_url is None for some reason.