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

Specifying output file to indexer reports error if path elements are not supplied #498

Closed
2 tasks
machawk1 opened this issue Aug 13, 2018 · 0 comments
Closed
2 tasks

Comments

@machawk1
Copy link
Member

ipwb index /some/archive.warc -o myindex.cdxj

reports [Errno 2] No such file or directory: ''.

The remedy is to supply the relative path indicator to the file (./myindex.cdxj instead) but in other places, like ipwb replay myindex.cdxj, this relative path is not necessary.

We ought to

  • Be consistent with whether we require the path element in indexer and replay
  • Allow files to be specified for output from the indexer with an assumed path (foo.cdxj specified implies ./foo.cdxj)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant