web-clipper icon indicating copy to clipboard operation
web-clipper copied to clipboard

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

Open silopolis opened this issue 2 months ago • 0 comments

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

  • Notebook: DevOps / CI/CD / GitLab / Infrastructure management / IaC
  • Browser: Firefox 115.8.0esr
  • Web-Clipper: 2.11.2
  • Joplin: 3.0.2 (prod, Linux)

silopolis avatar May 14 '24 08:05 silopolis