ipwb: Sample memento doesn't work for me
A screencast:

and a copy of the initial and final ipwb stacktraces (they all seem to look the same to the naked eye):
C:\dnload\ipfs-etc>ipwb replay
This version of ipwb is outdated. Please run pip install --upgrade ipwb.
Executing first-run procedure on provided sample data.
Processing WARC records in salam-home.warc complete
* Running on http://localhost:5000/ (Press CTRL+C to quit)
Retrieving URI-Ms from c:\python27\lib\site-packages\ipwb\samples\indexes\sample-encrypted.cdxj
getting index file at /c:\python27\lib\site-packages\ipwb\samples\indexes\sample-encrypted.cdxj
getting index file at /c:\python27\lib\site-packages\ipwb\samples\indexes\sample-encrypted.cdxj
127.0.0.1 - - [08/Dec/2017 19:43:12] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:12] "GET /webui/webui.css HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:12] "GET /webui/webui.js HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /webui/logo.png HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /daemon/status HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /config/openEndedPlaceHolder HTTP/1.1" 200 -
Retrieving URI-Ms from c:\python27\lib\site-packages\ipwb\samples\indexes\sample-encrypted.cdxj
getting index file at /c:\python27\lib\site-packages\ipwb\samples\indexes\sample-encrypted.cdxj
getting index file at /c:\python27\lib\site-packages\ipwb\samples\indexes\sample-encrypted.cdxj
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /webui/favicons/apple-touch-icon.png HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /webui/favicons/favicon-16x16.png HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /webui/webui.css HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /webui/webui.js HTTP/1.1" 200 -
127.0.0.1 - - [08/Dec/2017 19:43:13] "GET /webui/daemonController.js HTTP/1.1" 200 -
CDXJ Line: edu,odu,cs)/~salam 20160305192247 {"locator": "urn:ipfs/QmeVWGtnfuJ1QnpmtKKnyArVgEpq7v31kktEfh6c8mDiXE/QmZWKQRBNXNrVZ69LoGpMNJi5NU66gDhnGtQukWJepv7Kr", "encryption_method": "xor", "encryption_key": "radon", "mime_type": "text/html", "status_code": "200"}
Unknown exception occurred while fetching from ipfs.
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 64204)
Traceback (most recent call last):
File "c:\python27\lib\SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "c:\python27\lib\SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "c:\python27\lib\SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "c:\python27\lib\SocketServer.py", line 652, in __init__
self.handle()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 290, in handle
rv = BaseHTTPRequestHandler.handle(self)
File "c:\python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 325, in handle_one_request
return self.run_wsgi()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 267, in run_wsgi
execute(self.server.app)
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 255, in execute
application_iter = app(environ, start_response)
File "c:\python27\lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "c:\python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "c:\python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "c:\python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "c:\python27\lib\site-packages\ipwb\replay.py", line 398, in showMementoAtDatetime
return show_uri(urir, datetime)
File "c:\python27\lib\site-packages\ipwb\replay.py", line 532, in show_uri
sys.exit()
SystemExit
----------------------------------------
CDXJ Line: edu,odu,cs)/~salam 20160305192247 {"locator": "urn:ipfs/QmeVWGtnfuJ1QnpmtKKnyArVgEpq7v31kktEfh6c8mDiXE/QmZWKQRBNXNrVZ69LoGpMNJi5NU66gDhnGtQukWJepv7Kr", "encryption_method": "xor", "encryption_key": "radon", "mime_type": "text/html", "status_code": "200"}
Unknown exception occurred while fetching from ipfs.
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 64206)
Traceback (most recent call last):
File "c:\python27\lib\SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "c:\python27\lib\SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "c:\python27\lib\SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "c:\python27\lib\SocketServer.py", line 652, in __init__
self.handle()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 290, in handle
rv = BaseHTTPRequestHandler.handle(self)
File "c:\python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 325, in handle_one_request
return self.run_wsgi()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 267, in run_wsgi
execute(self.server.app)
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 255, in execute
application_iter = app(environ, start_response)
File "c:\python27\lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "c:\python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "c:\python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "c:\python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "c:\python27\lib\site-packages\ipwb\replay.py", line 398, in showMementoAtDatetime
return show_uri(urir, datetime)
File "c:\python27\lib\site-packages\ipwb\replay.py", line 532, in show_uri
sys.exit()
SystemExit
[...]
----------------------------------------
CDXJ Line: edu,odu,cs)/~salam 20160305192247 {"locator": "urn:ipfs/QmeVWGtnfuJ1QnpmtKKnyArVgEpq7v31kktEfh6c8mDiXE/QmZWKQRBNXNrVZ69LoGpMNJi5NU66gDhnGtQukWJepv7Kr", "encryption_method": "xor", "encryption_key": "radon", "mime_type": "text/html", "status_code": "200"}
Unknown exception occurred while fetching from ipfs.
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 64222)
Traceback (most recent call last):
File "c:\python27\lib\SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "c:\python27\lib\SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "c:\python27\lib\SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "c:\python27\lib\SocketServer.py", line 652, in __init__
self.handle()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 290, in handle
rv = BaseHTTPRequestHandler.handle(self)
File "c:\python27\lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 325, in handle_one_request
return self.run_wsgi()
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 267, in run_wsgi
execute(self.server.app)
File "c:\python27\lib\site-packages\werkzeug\serving.py", line 255, in execute
application_iter = app(environ, start_response)
File "c:\python27\lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "c:\python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "c:\python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "c:\python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "c:\python27\lib\site-packages\ipwb\replay.py", line 398, in showMementoAtDatetime
return show_uri(urir, datetime)
File "c:\python27\lib\site-packages\ipwb\replay.py", line 532, in show_uri
sys.exit()
SystemExit
----------------------------------------
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 19 (12 by maintainers)
Commits related to this issue
- Failed experiment of avoiding sigalarm using stopit lib for #310 — committed to oduwsdl/ipwb by machawk1 6 years ago
- Add temp fix for signal on Windows for #310 — committed to oduwsdl/ipwb by machawk1 6 years ago
- Merge pull request #387 from oduwsdl/issue-310 Add temp fix for signal on Windows for #310 — committed to oduwsdl/ipwb by machawk1 6 years ago
Could you possibly add some kind of a “temporary workaround” for Windows users, say, an option like
--workaround-310-for-windows, disabling the timeout completely? As of now, this makes a world of a difference for a Windows user, i.e. uncommenting the timeout makes IPWB already a useful tool on Windows, while keeping it makes IPWB completely unusable…