Closed mkmitchell closed 8 years ago
Hi, sorry, but I have not been able to make it work. No file is downloaded, I just get a html dump which is a new login screen. But my account works when provided online Olivier
Hey, I've been getting that html dump as well before this error started happening. I had to add a sys.exit() after a product wasn't found or it would just keep looping the dump.
Does it look something like this? " python F:\Landsat\download_landsat_scene.py -o catalog -z -b LC8 -u usgs.txt -d 20160201 -f 20160331 --output F:\Landsat\Download --outputcatalogs=F:\Landsat\Download -c 50 -s 028035 None None Verifying catalog metadata files... Searching for images in catalog... erreur : le fichier est au format html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<body>
<!-- BEGIN USGS Header Template -->
<div id="titleBar">
EROS Registration System (ERS) </div>
<div id="pageContent">
<script type="text/javascript">
$(document).ready(function()
{
$('#loginButton').button();
$('.oAuthType').click(function()
{
window.location = 'https://ers.cr.usgs.gov/login/oauth/' +
$(this).attr('data-serviceKey'); }); $('#registerButton').button().click(function() { document.location = 'https://ers.cr.usgs.gov/register'; }); $('#username').focus(); });
ERS consolidates user profile and authentication for all EROS web services into a single independent application.
</div>
<!-- BEGIN USGS Footer Template -->
First pull request!
For some reason there was an extra space in some of the code so I removed those in the area I was working in. I'm not sure if this works for proxy but it worked fine for no_proxy.