Sign in

regenerate thumbnails error

  • This topic has 1 reply, 2 voices, and was last updated 3 weeks, 1 day ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6008

    I’m running the appimage of v.0.38.2 (build 14204) on ubuntu 20.04.

    throw new Error('Invalid settings specified for the resizer.');
    Error: Invalid settings specified for the resizer.
    at Resize.initialize (/tmp/.mount_Publiiu6M0tS/resources/app.asar/node_modules/@jimp/plugin-resize/dist/modules/resize.js:26:11)
    at new Resize (/tmp/.mount_Publiiu6M0tS/resources/app.asar/node_modules/@jimp/plugin-resize/dist/modules/resize.js:18:8)
    at Jimp.resize (/tmp/.mount_Publiiu6M0tS/resources/app.asar/node_modules/@jimp/plugin-resize/dist/index.js:76:24)
    at Jimp.scale (/tmp/.mount_Publiiu6M0tS/resources/app.asar/node_modules/@jimp/plugin-scale/dist/index.js:35:12)
    at Jimp.scaleToFit (/tmp/.mount_Publiiu6M0tS/resources/app.asar/node_modules/@jimp/plugin-scale/dist/index.js:63:12)
    at Jimp.<anonymous> (/tmp/.mount_Publiiu6M0tS/resources/app.asar/back-end/image.js:411:35)
    at Timeout._onTimeout (/tmp/.mount_Publiiu6M0tS/resources/app.asar/node_modules/@jimp/core/dist/index.js:264:25)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

    I changed the Website Speed settings in the Photo theme to enable Responsive Images. I have 36 posts and 760 images. The images are broken down as follows:

    find ./ -type f | cut -d"." -f3 | sort | uniq -c
    1 gif
    2 jpeg
    682 jpg
    8 JPG
    47 png
    20 PNG

    “Regenerate Thumbnails” gets to 2% and hangs forever, cpu stops getting used, etc.

    The last lines in the regenerate-process.log are:

    (i) Featured image detected (DSC02653-Pano.jpg) 22
    JIMP SCALE TO FIT 749  x  -1
    JIMP SCALE TO FIT 480  x  -1
    JIMP SCALE TO FIT 300  x  -1
    JIMP SCALE TO FIT 1200  x  -1
    JIMP SCALE TO FIT 2560  x  -1
    JIMP SCALE TO FIT 1600  x  -1
    PROGRESS: 15 672
    (i) Featured image detected (DSC02662.jpg) 23
    JIMP SCALE TO FIT 2560  x  -1

    The last file mentioned there is:

    11M May 26 2020 DSC02662.jpg

    and loads fine in browser, in image viewers, and thumbnail works fine.

    Tomasz Dziuda


    Could you try to decrease a size of this image? I suppose that 11MB image can be too much for the JIMP library :/

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.