Comments (1)
Also happens when downloading more than one URL, e.g. wpull --output-file foo URL0 URL1
.
A very similar error happens on retries:
> wpull --output-document foo --tries 3 https://httpbingo.org/status/500
INFO Fetching ‘https://httpbingo.org/status/500’.
INFO Fetched ‘https://httpbingo.org/status/500’: 500 Internal Server Error. Length: 0 [unspecified].
.../lib/python3.6/site-packages/wpull/protocol/http/client.py:185: UserWarning: HTTP session did not complete.
warnings.warn(_('HTTP session did not complete.'))
INFO Fetching ‘https://httpbingo.org/status/500’.
INFO Fetched ‘https://httpbingo.org/status/500’: 500 Internal Server Error. Length: 0 [unspecified].
ERROR Fatal exception.
Traceback (most recent call last):
File ".../lib/python3.6/site-packages/wpull/application/app.py", line 157, in run
yield from pipeline.process()
File ".../lib/python3.6/site-packages/wpull/pipeline/pipeline.py", line 194, in process
yield from self._process_one_worker()
File ".../lib/python3.6/site-packages/wpull/pipeline/pipeline.py", line 215, in _process_one_worker
task.result()
File ".../lib/python3.6/site-packages/wpull/pipeline/pipeline.py", line 119, in process
item = yield from self.process_one(_worker_id=worker_id)
File ".../lib/python3.6/site-packages/wpull/pipeline/pipeline.py", line 103, in process_one
yield from task.process(item)
File ".../lib/python3.6/site-packages/wpull/application/tasks/download.py", line 492, in process
yield from session.app_session.factory['Processor'].process(session)
File ".../lib/python3.6/site-packages/wpull/processor/delegate.py", line 29, in process
return (yield from processor.process(item_session))
File ".../lib/python3.6/site-packages/wpull/processor/web.py", line 92, in process
return (yield from session.process())
File ".../lib/python3.6/site-packages/wpull/processor/web.py", line 186, in process
yield from self._process_loop()
File ".../lib/python3.6/site-packages/wpull/processor/web.py", line 245, in _process_loop
exit_early, wait_time = yield from self._fetch_one(cast(Request, self._item_session.request))
File ".../lib/python3.6/site-packages/wpull/processor/web.py", line 309, in _fetch_one
action = self._handle_response(request, response)
File ".../lib/python3.6/site-packages/wpull/processor/web.py", line 436, in _handle_response
self._file_writer_session.discard_document(response)
File ".../lib/python3.6/site-packages/wpull/writer.py", line 519, in discard_document
response.body.flush()
File ".../lib/python3.6/site-packages/wpull/writer.py", line 490, in flush
self._stream.flush()
ValueError: flush of closed file
CRITICAL Sorry, Wpull unexpectedly crashed.
CRITICAL Please report this problem to the authors at Wpull's issue tracker so it may be fixed. If you know how to program, maybe help us fix it? Thank you for helping us help you help us all.
INFO Exiting with status 1.
from wpull.
Related Issues (20)
- HTML in JavaScript leads to undecoded character references in URLs
- resolve_dns hook lacks information on IPv4/IPv6 preference and can't return more than one result
- OSError when the cookie jar gets cleared
- SQLAlchemy 1.4 incompatibility: `sqlalchemy.orm.evaluator.UnevaluatableError: Cannot evaluate Select`
- FTP login information in URLs is lost
- Handle `Refresh` header as a redirect
- Support for server-side image maps
- Migrate test suite to Drone HOT 1
- Always send the `Host` header first HOT 1
- Equivalent but differently encoded URLs break no-parent recursion
- FTP processor may start retrieval before logging the `Fetching` message
- AttributeError: module 'collections' has no attribute 'Mapping' HOT 6
- ValueError: IPv6 addresses are 16 bytes long HOT 6
- url containing & character getting split HOT 3
- Remove Tornado dependency HOT 1
- Error in python 3.9 HOT 1
- Abandoned? HOT 1
- Stop adding `data:` and `mailto:` URIs to the database
- Corrupted gzipped sitemap causes OSError crash
- Error Running wpull HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpull.