webclipper / web-clipper

For Notion,OneNote,Bear,Yuque,Joplin。Clip anything to anywhere
https://clipper.website
Other
5.9k stars 540 forks source link

Error: `Cannot create property 'httpCode' on string 'Image at <local_path_to_image> failed to load.` #1281

Open silopolis opened 1 month ago

silopolis commented 1 month ago

Describe the bug

Lately, I started having issues capturing some pages. Except for URL capture, they trigger an "Internal Server Error: Cannot create property 'httpCode' on string 'Image at <local_image_path> failed to load.' ..."

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://astrakhan.consulting/blog/infrastructure-as-code-integration-of-terraform-with-gitlab/'
  2. Try any capture page or selection capture option
  3. See error:
There was some error creating the note: {"error":"Internal Server Error: Cannot create property 'httpCode' on string 'Image at /home/user/.config/joplin-desktop/tmp/Coding-BLEU-1440-x-790-1024x562_77a9cb420d91445da9355547c5cb7bb8.jpg failed to load.': \n\nTypeError: Cannot create property 'httpCode' on string 'Image at /home/user/.config/joplin-desktop/tmp/Coding-BLEU-1440-x-790-1024x562_77a9cb420d91445da9355547c5cb7bb8.jpg failed to load.'\n at Api.<anonymous> (/usr/lib/joplin/resources/app.asar/node_modules/@joplin/lib/services/rest/Api.js:162:36)\n at Generator.throw (<anonymous>)\n at rejected (/usr/lib/joplin/resources/app.asar/node_modules/@joplin/lib/services/rest/Api.js:6:65)"}

Expected behavior

Usual awesome capture magic!

please complete the following information