#2531 AttributeError: 'Project' object has no attribute 'rtd_hook'
Closed: Duplicate 3 years ago Opened 3 years ago by kparal.

When pushing to https://pagure.io/infra-docs/ :

$ git push
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 538 bytes | 538.00 KiB/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Sending to redis to log activity and send commit notification emails
remote: Traceback (most recent call last):
remote:   File "./hooks/post-receive.rtd", line 81, in <module>
remote:     main(sys.argv[1:])
remote:   File "./hooks/post-receive.rtd", line 77, in main
remote:     run_as_post_receive_hook()
remote:   File "./hooks/post-receive.rtd", line 46, in run_as_post_receive_hook
remote:     for branch in repo.rtd_hook.branches.split(',')
remote: AttributeError: 'Project' object has no attribute 'rtd_hook'
remote: Hook ./hooks/post-receive.rtd failed with error code 1
To ssh://pagure.io/infra-docs.git
   6a4cf82..67c956a  master -> master

Duplicates #2308. I will close this then :)

Metadata Update from @cverna:
- Issue close_status updated to: Duplicate

3 years ago

Login to comment on this ticket.

Metadata