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

Windows Subsystem for Linux: gs-dump-urls fails on active crawl #106

Open
ivan opened this issue Oct 24, 2017 · 1 comment
Open

Windows Subsystem for Linux: gs-dump-urls fails on active crawl #106

ivan opened this issue Oct 24, 2017 · 1 comment

Comments

@ivan
Copy link
Contributor

ivan commented Oct 24, 2017

(gs-venv) at@windows10:~/ludios.org-2017-10-24-568d2f97$ gs-dump-urls wpull.db todo
Traceback (most recent call last):
  File "/home/at/gs-venv/bin/gs-dump-urls", line 4, in <module>
    dump_urls.main()
  File "/home/at/gs-venv/lib/python3.4/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/at/gs-venv/lib/python3.4/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/at/gs-venv/lib/python3.4/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/at/gs-venv/lib/python3.4/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/at/gs-venv/lib/python3.4/site-packages/libgrabsite/dump_urls.py", line 34, in main
    'WHERE status=?;', (status,))
sqlite3.OperationalError: disk I/O error

Probably related to microsoft/WSL#2395 and microsoft/WSL#1927

@ivan
Copy link
Contributor Author

ivan commented Oct 24, 2017

Stupid workaround: make a copy of wpull.db with cp and run gs-dump-urls on that.

In the rare case that you get an unreadably inconsistent copy, try again.

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

1 participant