Bug 237776

Summary: net/reposado "IndexError: list index out of range"
Product: Ports & Packages Reporter: dougs <dougs>
Component: Individual Port(s)Assignee: Rene Ladan <rene>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: lwhsu, masaki, rene
Priority: --- Flags: bugzilla: maintainer-feedback? (masaki)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 249337    
Attachments:
Description Flags
reposado-0.0.20200221.diff none

Description dougs@dawnsign.com 2019-05-07 17:49:54 UTC
[9:49]root@reposado:~ # /usr/local/bin/repo_sync 
Output logged to /var/log/reposado_sync.log
Traceback (most recent call last):
  File "/usr/local/bin/repo_sync", line 837, in <module>
    main()
  File "/usr/local/bin/repo_sync", line 833, in main
    download_packages=download_packages)
  File "/usr/local/bin/repo_sync", line 711, in sync
    copy_only_if_missing=fast_scan)
  File "/usr/local/bin/repo_sync", line 552, in replicateURLtoFilesystem
    getURL(full_url, local_file_path)
  File "/usr/local/bin/repo_sync", line 467, in getURL
    onlyifnewer=True, etag=saved_etag)
  File "/usr/local/bin/repo_sync", line 351, in curl
    header['http_result_description'] = line.split(None, 2)[2]
IndexError: list index out of range


This was reportedly fixed in https://github.com/wdas/reposado/issues/71

I would like for the reposado port to be updated to the current version as the date of last release of the reposado port appears to be 4/22/2016.

~Doug
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2020-07-04 08:31:52 UTC
Created attachment 216189 [details]
reposado-0.0.20200221.diff
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2020-07-04 08:32:50 UTC
(In reply to dougs@dawnsign.com from comment #0)
I've tried to create a patch to update this port to latest snapshot of the repository, can you test if this works?
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2020-09-28 18:35:30 UTC
The current snapshot is not compatible with Python 3, see for example lines 185 and 217 of code/repo_sync

The py3compatibility branch might work with Python 3 though.
Comment 4 dougs@dawnsign.com 2020-09-28 19:51:21 UTC
(In reply to Rene Ladan from comment #3)
What's that? The py3compatibility branch? I googled around and didn't see a branch similar to that.
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2020-09-29 09:46:14 UTC
(In reply to dougs@dawnsign.com from comment #4)

I mean the git branch of the reposado project at https://github.com/wdas/reposado/tree/py3compatibility

But I think they should merge that branch in the main branch before we can proceed with this PR, or we should use that py3compatiblity branch.
Comment 6 Rene Ladan freebsd_committer freebsd_triage 2020-09-29 09:46:31 UTC
(In reply to dougs@dawnsign.com from comment #4)

I mean the git branch of the reposado project at https://github.com/wdas/reposado/tree/py3compatibility

But I think they should merge that branch in the main branch before we can proceed with this PR, or we should use that py3compatiblity branch.
Comment 7 Rene Ladan freebsd_committer freebsd_triage 2020-10-27 21:58:45 UTC
Feedback timeout and the port has expired, so removed.