BlenderProc icon indicating copy to clipboard operation
BlenderProc copied to clipboard

[BUG]: cc textures download crash

Open Victorlouisdg opened this issue 3 years ago • 1 comments

I ran the command below twice, it crashed both times, but on different textures.

blenderproc download cc_textures cctextures

I believe the crashes are simply because the cc0 textures server does not always respond with the texture. A retry mechanism in the download script might solve this.

Crash 1 bproc_bad_zipfile

Crash 2 bproc_connection_closed

I'm using the BlenderProc develop branch and am running Ubuntu 20.04.

Victorlouisdg avatar Feb 08 '22 21:02 Victorlouisdg

Hey,

I agree a simple retry method should fix this. Of course, this assume this is just a really short interruption of the service and not a longer unavailability of certain assets.

Best regards, Max

themasterlink avatar Feb 09 '22 06:02 themasterlink

We have rewritten this and it is now possible to restart the download at any point

themasterlink avatar Aug 25 '22 07:08 themasterlink

Hi, I am having the issue that I am not able to download the cc_textures. Is this maybe related to the recent update bzw pull request? The error I get is the following:

OSError: [Errno 101] Network is unreachable

Are you also experiencing this? Thank you!

chisarie avatar Aug 26 '22 09:08 chisarie

Hey,

Your error seems like you don't have an internet connection. Make sure your internet is working.

Best, Max

themasterlink avatar Aug 26 '22 10:08 themasterlink

Ahah ok :sweat_smile:. So I guess you don't have the issue, it must be on my side.

I just tried copying and running the download_cc_textures.py script directly, and it is actually working. If I try to use the alias blenderproc download cc_textures textures/ instead, I get the error :shrug:

In any case, I have found my workaround, so now I can keep trying BlenderProc. It really looks amazing, I am looking forward to it.

Thanks!

chisarie avatar Aug 26 '22 10:08 chisarie