chaiNNer icon indicating copy to clipboard operation
chaiNNer copied to clipboard

Failed to fetch..

Open skyport opened this issue 3 years ago • 12 comments
trafficstars

Hi Joey, Sorry, unfortunately not fixed and now there is another error than the first time. When running the program for the first time, it tries to download dependencies and this error occurs. Bests,

Failed to Fetch

skyport avatar Oct 09 '22 14:10 skyport

@skyport Could you please attach Chainner's logs? In the menu, go Help > Open logs folder and you'll see a 2 log files.

RunDevelopment avatar Oct 09 '22 15:10 RunDevelopment

Sure.. Thanks.

renderer.log main.log waiting like this for half an hour

skyport avatar Oct 09 '22 17:10 skyport

ONNX cannot be installed on M1 devices. I'm confused though, you get the failed to fetch problem but are still able to access the application?

joeyballentine avatar Oct 09 '22 17:10 joeyballentine

yes exactly. I can even upscale as standard. But without running any model. I can't run it even if I wanted to. If you want, I can shoot a video for you and send it in a spare time.

In fact, if you examine the log carefully, you can see the whole situation, as you understand.

There is something new coming out every day. I greatly appreciate your effort. For this reason, I want it to work completely as soon as possible. My question is this. When will this situation be fully resolved? Because due to a few problems, I think that a program with great potential that everyone can use cannot find the place it deserves. Best

skyport avatar Oct 11 '22 08:10 skyport

Looking again at the logs, it appears you are missing a library that torchvision is trying to load, called libpng.

I think this will sorta be fixed in the next update since any nodes that use modules that fail to import will simply just be ignored and the rest loaded properly. The root issue though is that dependencies we rely on are incompatible with some systems. If you have a way of installing libpng, like through homebrew, you could try that.

joeyballentine avatar Oct 11 '22 14:10 joeyballentine

I have the same problem but the app closes before I can do anything. Since the app won't open after the 'failed to fetch' error that is identical to the screenshot at the top of this thread, I cannot open the HELP menu to access log files.

I found two log files, one for links creation, and the other for app update, but there seems to be nothing in there.

Should I try an earlier version ?

EDIT: I wanted to get more information about what made the software refuse to open at all after the 'Failed to Fetch' error message, so I tried to run it again and this time it actually started. Now I can see there are indeed missing dependencies related to Pytorch so I'm using the included interface to download that and hopefully everything is going to work after that - well, almost everything, I know this is an Alpha release after all.

So if this error happens to you, try restarting and relaunching and it might just magically fix itself !

AugmentedRealityCat avatar Oct 15 '22 21:10 AugmentedRealityCat

Finally, even though the app did start, I was not able to install all the missing dependencies all at once. The progress bar for installing them from the dependency manager would almost fill, then when at the very end it would go back to the beginning and do that a few times, but there would still be missing things. Each time I would restart it some packages would get installed , and after doing that quite a few times I got everything to install.

Patience and repetition was the solution for me !

AugmentedRealityCat avatar Oct 16 '22 01:10 AugmentedRealityCat

Interesting... @AugmentedRealityCat what operating system are you on? This sounds like some sort of weird pip-related issue. Glad it finally worked, but I definitely need to figure out what's causing that behavior in the first place

joeyballentine avatar Oct 16 '22 02:10 joeyballentine

I'm on Windows 10.

AugmentedRealityCat avatar Oct 16 '22 07:10 AugmentedRealityCat

Honesty I have no clue why it would be acting so strangely for you then. If I had to guess, it's just something weird about your system.

The progress bar almost filling up and then going back down is normal, that's because it resets each time it installs one of the sub-dependencies. I wanted to make it all one progress bar but I just haven't gotten around to it yet.

joeyballentine avatar Oct 17 '22 14:10 joeyballentine

Hi, I am also on Windows 10, running v0.13.1 and facing a similar issue so I thought I'd add my logs here in case they can help at all. main.log renderer.log

This only started happening after I installed PyTorch via the chaiNNer UI. It's worth mentioning that I already have PyTorch installed elsewhere on my machine, but haven't tried uninstalling it as I am actively using it.

When I open the application I get the startup splash with loading text, followed by an error alert saying "Failed to fetch" as shown below. I can't get past the error alert at all, closing it via the x button also closes the application. image image

leonwormuth avatar Oct 20 '22 10:10 leonwormuth

@leonwormuth can you download 0.13.0 and see if the same issue happens on that version as well?

joeyballentine avatar Oct 20 '22 13:10 joeyballentine

@leonwormuth can you download 0.13.0 and see if the same issue happens on that version as well?

On 0.13.0 I don't get that error upon restart.

However I get the below, which seems to be related to issue #831 (I get the same error in my log).

image

leonwormuth avatar Oct 20 '22 17:10 leonwormuth