Git Product home page Git Product logo

Comments (6)

SylvainDe avatar SylvainDe commented on August 15, 2024
  File "comicbookmaker.py", line 88, in <module>
    main()
  File "comicbookmaker.py", line 63, in main
    com.update()
  File "path/ComicBookMaker/comic_abstract.py", line 189, in update
    for i in comic['img']]
  File "path/ComicBookMaker/comic_abstract.py", line 189, in <listcomp>
    for i in comic['img']]
  File "path/ComicBookMaker/comic_abstract.py", line 81, in get_file_in_output_dir
    return get_file_at_url(url, filename)
  File "path/ComicBookMaker/urlfunctions.py", line 104, in get_file_at_url
    shutil.copyfileobj(response, out_file)
  File "path/ComicBookMaker/my_env/lib/python3.4/shutil.py", line 67, in copyfileobj
    buf = fsrc.read(length)
  File "/usr/lib/python3.4/http/client.py", line 500, in read
    return super(HTTPResponse, self).read(amt)
  File "/usr/lib/python3.4/http/client.py", line 539, in readinto
    n = self.fp.readinto(b)
  File "/usr/lib/python3.4/socket.py", line 374, in readinto
    return self._sock.recv_into(b)

from comicbookmaker.

SylvainDe avatar SylvainDe commented on August 15, 2024
respawn-tumblr : about to update
get_content (url : http://respawncomic.tumblr.com/api/read/?id=144396628892)
urlopen_wrapper (url : http://respawncomic.tumblr.com/api/read/?id=144396628892)
get_content (url : http://respawncomic.tumblr.com/api/read/)
urlopen_wrapper (url : http://respawncomic.tumblr.com/api/read/)
get_content (url : http://respawncomic.tumblr.com/api/read/?start=0&num=10)
urlopen_wrapper (url : http://respawncomic.tumblr.com/api/read/?start=0&num=10)
get_file_at_url (url : http://67.media.tumblr.com/ac8bf40312b6e14aa99111f1ccd164c6/tumblr_o7k6imiRpu1uox9ngo1_1280.jpg, path : respawn-tumblr/tumblr_o7k6imiRpu1uox9ngo1_1280.jpg)
urlopen_wrapper (url : http://67.media.tumblr.com/ac8bf40312b6e14aa99111f1ccd164c6/tumblr_o7k6imiRpu1uox9ngo1_1280.jpg)

Retrieving the file at http://67.media.tumblr.com/ac8bf40312b6e14aa99111f1ccd164c6/tumblr_o7k6imiRpu1uox9ngo1_1280.jpg takes forever for some reason.
When getting it from my browser (on a different machine), it works instantly.
A wget from a different machine works instantly.
A wget from the same machine takes forever.

I guess I've been banned or something.

from comicbookmaker.

SylvainDe avatar SylvainDe commented on August 15, 2024

Close for the time being as everything seems fine but I have no explanation.

from comicbookmaker.

SylvainDe avatar SylvainDe commented on August 15, 2024

Error reported to https://www.tumblr.com/support

I use a script to retrieve images from Tumblr blogs using the Tumblr V1 API. Sometimes, the retrieval of a particular image from its URL just hangs and never ends. I saw this issue during May and beginning of July, I had the issue that everything was working just fine but ~2 weeks ago, things started to fail again. The images involves are always the same : it is fails once, it will always fail. The issue is limited to a machine and does not seem to depend of the data in the HTTP request. I am expecting some kind of blacklist of some sort but I do not have much information about this and if it is a bug, I'd like you to know about it.

For instance, the following image: http://67.media.tumblr.com/d9dea3f90dfe35948a27fde23345cf70/tumblr_nm9512sxxB1tcbp8vo9_1280.jpg cannot be retrieved as one can see running the following command: "wget http://67.media.tumblr.com/d9dea3f90dfe35948a27fde23345cf70/tumblr_nm9512sxxB1tcbp8vo9_1280.jpg"

It runs forever from the machine with the error but works fine on a different machine behind a different IP.

Please let me know if there is anything I am not doing properly and I'll be happy to comply.

Thanks.

from comicbookmaker.

SylvainDe avatar SylvainDe commented on August 15, 2024

This issue seems to be fixed on the Tumblr side now. I'll see if all comics can be reactivated :)

from comicbookmaker.

SylvainDe avatar SylvainDe commented on August 15, 2024

The issue is fixed by Tumblr.

from comicbookmaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.