Sign in

New regeneration error in 0.38

  • This topic has 4 replies, 2 voices, and was last updated 6 days ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5452
    deimos

    Running as an appimage on ubuntu 20.04:

     

    /tmp/.mount_PubliiwvKGDY/resources/app.asar/back-end/image.js:411
                                image.scaleToFit(finalWidth, finalHeight)
                                      ^
    
    TypeError: Cannot read property 'scaleToFit' of undefined
        at Jimp.<anonymous> (/tmp/.mount_PubliiwvKGDY/resources/app.asar/back-end/image.js:411:35)
        at Timeout._onTimeout (/tmp/.mount_PubliiwvKGDY/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’ve run “regenerate thumbnails” 3 different times, every time it gets stuck at 45%. It can’t tell which image is causing it.

     

    I’m running regenerate because the update to simple theme and the new 0.38 seems to have random images missing from my site. The images are there on the server, just not rendering in the browser. If you right click, view source, the image path is correct and you can click on it to see the image.

    #5460
    Tomasz Dziuda

    Hi,

    Are you using WebP images somewhere?

    --
    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!

    #5471
    deimos

    I updated to 0.38.1 appimage. And the regeneration still hangs. I have exactly one webp image:

    `find ./ -name “*.webp”
    ./media/posts/802/DS012C5_900x.webp`

    I ran `convert DS012C5_900x.webp DS012C5_900x.png` and edited the reference in the editor for post 802.

    Regeneration still hangs at 46%:

    `/tmp/.mount_PubliiTvySqP/resources/app.asar/back-end/image.js:411
    image.scaleToFit(finalWidth, finalHeight)

    TypeError: Cannot read property ‘scaleToFit’ of undefined
    at Jimp. (/tmp/.mount_PubliiTvySqP/resources/app.asar/back-end/image.js:411:35)
    at Timeout._onTimeout (/tmp/.mount_PubliiTvySqP/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)`

    The last file entry in regenerate-progress.log is:

    `(i) Content image detected (img_3319.jpg) 737
    PROGRESS: 317 682`

    #5496
    Tomasz Dziuda

    Hi,

    I will reanalyse this issue in v.0.38.2: https://github.com/GetPublii/Publii/issues/946

    --
    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!

    #5630
    Tomasz Dziuda

    Hi,

    I have tried to reproduce this issue on my Ubuntu 20.04 on *.deb and *.AppImage version of Publii v.0.38.1

    I have created 2 posts:

    – first post with webp and JPG image

    – second post with JPG image

    I have tried to regenerate thumbnails with first post only and after adding the second post.
    Please also check if regenerate-errors.log contains something.

    In both cases the regeneration finished properly, so webp image is not a problem here – it is properly skipped.

    The only idea which I have – maybe the img_3319.jpg image is corrupted.

    --
    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 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.