Bug 237776 - net/reposado "IndexError: list index out of range"
Summary: net/reposado "IndexError: list index out of range"
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks: 249337
  Show dependency treegraph
 
Reported: 2019-05-07 17:49 UTC by dougs@dawnsign.com
Modified: 2020-10-27 21:58 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (masaki)


Attachments
reposado-0.0.20200221.diff (2.89 KB, patch)
2020-07-04 08:31 UTC, Li-Wen Hsu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 2020-07-04 08:31:52 UTC
Created attachment 216189 [details]
reposado-0.0.20200221.diff
Comment 2 Li-Wen Hsu freebsd_committer 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 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 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 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 2020-10-27 21:58:45 UTC
Feedback timeout and the port has expired, so removed.