Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On indexing exception with warcio, auto indexing is terminated #792

Closed
oskarhek opened this issue Jan 3, 2023 · 1 comment
Closed

On indexing exception with warcio, auto indexing is terminated #792

oskarhek opened this issue Jan 3, 2023 · 1 comment

Comments

@oskarhek
Copy link
Contributor

oskarhek commented Jan 3, 2023

Describe the bug

When a warc is provided wich causes warcio to throw an exception, auto indexing is terminated.

Steps to reproduce the bug

when wayback is autoindexing put the enclosed warc in the archive folder.
the error you get:
warcio.statusandheaders.StatusAndHeadersParserException: Expected Status Line starting with ['WARC/1.1', 'WARC/1.0', 'WARC/0.17', 'WARC/0.18'] - Found: WARC-Type: request

9df7a85a-bce2-4d39-9e42-bcd44c5bb7c6.warc.zip

Expected behavior

Log the error, and continue auto indexing.

Environment

Running pywb 2.7.3 in a docker environment

@tw4l
Copy link
Member

tw4l commented Jan 5, 2023

Fix merged and to be included in 2.7.3

@tw4l tw4l closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants