tlittenberg / lisacattools

Python module for interacting with example LISA catalogs
GNU General Public License v3.0
15 stars 7 forks source link

Error in downloading demo data MBHDemo.tar #14

Closed mhvannier closed 1 year ago

mhvannier commented 1 year ago

Hi ! I'm working with Astrid Lamberts at lab. Artemis in Nice (F), and I'm interested in your package. As I'm trying to launch the demo, it seems like the demo data cannot be do downloaded correctly:

make data
(...) Traceback (most recent call last): File "/home/mvannier/LISA/gits/lisacattools_tlittenberg/scripts/data_download.py", line 14, in with opentar("tutorial/data/MBHDemo.tar", "r") as tar: File "/home/mvannier/anaconda3/envs/LDA_from_scratch/lib/python3.10/tarfile.py", line 1639, in open raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}") tarfile.ReadError: file could not be opened successfully

And indeed, the downloaded file tutorial/data/MBHDemo.tar is not a .tar, but rather looks like an "error containter" HTML message (see below) Thanks a lot for having a look, Martin


more tutorial/data/MBHDemo.tar 16:25:17

Error 404 (Not Found)!!1</ title><style nonce="v5HLUUpMyr6H5k-wWChLAg">*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15p x}body{color:#222;text-align:unset;margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px;}* > body{background:url(//www.google.com/ima ges/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}pre{white-space:pre-wrap;}ins{color:#777;text-decora tion:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(// www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){ #logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//w ww.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{backgrou nd:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline -block;height:54px;width:150px}</style><main id="af-error-container" role="main"><a href=//www.google.com><span id=logo aria-label=Google role=img></s pan></a><p><b>404.</b> <ins>That’s an error.</ins><p>The requested URL was not found on this server. <ins>That’s all we know.</ins></main> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/tlittenberg"><img src="https://avatars.githubusercontent.com/u/6171547?v=4" />tlittenberg</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Hi Martin,</p> <p>Yes indeed it appears that the script is pointing to files in my google drive that are no longer there. I will replace them and update the script and then let you know when you should be able to give it another try. </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mhvannier"><img src="https://avatars.githubusercontent.com/u/11921809?v=4" />mhvannier</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Hi Tyson, Great, thank you, I'm looking forward to get the demo data to test your package. Cheers ! </p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>