SingleFile icon indicating copy to clipboard operation
SingleFile copied to clipboard

Most web sites not savable on Safari/Mac, only blob downloaded

Open th opened this issue 1 year ago • 20 comments

Describe the bug I open a web site in Safari and click the SingleFile extension.

Most sites result in an error about not being able to open the site. "The process could not be finished (WebKitBlobResource error 1.)" would be my translation from the German error message:

image

To Reproduce Steps to reproduce the behavior:

  1. Go to http://meyerweb.com/eric/thoughts/2014/06/19/rebeccapurple/
  2. Click on SingleFile
  3. Wait for the three steps to finish
  4. Error message as shown above: WebKitBlobResource error
  5. The URL bar shows blob:http://meyerweb.com/1333f1c5-f57f-4121-b893-ec34be2df0c0

Expected behavior The SingleFile html file is saved.

Environment

  • OS: macOS Sequoia 15.1.1
  • Browser: Safari 18.1
  • Version: 1.22.74

Additional context Some pages work, like https://www.spiegel.de, but most don't.

th avatar Nov 23 '24 14:11 th

Thank you for the report. Unfortunately, I was not able to reproduce the issue and I was able to save the page without any particular issue. I did the test on Safari 18.1.1 (20619.2.8.11.12), macOS 15.1.1, and SingleFile 1.22.74. Did you change any settings in SingleFile or Safari?

I did a search of "The process could not be finished (WebKitBlobResource error 1.)" on Google and it looks like it would be a rather strange bug in Safari, see https://bugs.webkit.org/show_bug.cgi?id=190351.

gildas-lormeau avatar Nov 23 '24 20:11 gildas-lormeau

I tried a few things, but reset SingleFile's settings to default before reporting.

It's weird, today the meyerweb page works, but now it's https://stuartschechter.org/posts/password-history/ that doesn't.

I mostly didn't change Safari settings, but I have AdGuard installed. Disabling it did not seem to help, but I guess that might be a possible interaction. It's all quite strange.

th avatar Nov 24 '24 05:11 th

Is this issue a regression from your point of view? I mean, have you been using SingleFile for a few months, for example, and this problem appeared a week or 2 ago?

gildas-lormeau avatar Nov 24 '24 09:11 gildas-lormeau

I have used SingleFile on Windows for years without problems and switched to Mac two weeks ago.

When I reported https://github.com/gildas-lormeau/SingleFile/issues/1619 i had not seen that blob download problem before (but I had just started using SingleFile, so not a lot of experience).

It looks there was a minor MacOS version update in the meantime, maybe it is a regression in that.

th avatar Nov 24 '24 10:11 th

Thank you, I don't think it's a regression in SingleFile because so far you're the only person who's told me about this problem. The randomness is also puzzling me at the moment.

Do you have other extensions installed? Is the blob: URL opened in a new tab?

gildas-lormeau avatar Nov 25 '24 14:11 gildas-lormeau

I have AdGuard installed which I disabled for testing. No, it does not open a new tab.

th avatar Nov 25 '24 14:11 th

Is your filesystem formatted with APFS (vs for example MacOS Extended, or ExFAT)?

gildas-lormeau avatar Nov 25 '24 14:11 gildas-lormeau

Also, could you try to replace temporarily the default filename template with download.html in the options of SingleFile and tell me if has any impact?

gildas-lormeau avatar Nov 25 '24 14:11 gildas-lormeau

It is APFS. Setting the file name to download.html doesn't change the behavior.

th avatar Nov 25 '24 15:11 th

Thank you for the feedback. Did you try to reproduce the issue in Safari Technology Preview, out of curiosity?

gildas-lormeau avatar Nov 27 '24 15:11 gildas-lormeau

I didn‘t know about the preview, I‘ll try to remember that and give it a try on the weekend.

th avatar Nov 27 '24 17:11 th

Tried it today, same behaviour.

th avatar Nov 27 '24 20:11 th

Just wanted to report the same issue (some sites work, most others don't) after discovering that SingleFile exists also for Safari after using it for quite a while on Firefox.

Environment:

  • OS: macOS Sequoia 15.1.1
  • Browser: Safari 18.1.1
  • Version: 1.22.77

mwillers avatar Dec 25 '24 11:12 mwillers