• Resolved ryantoth2410

    (@ryantoth2410)


    Hi,

    Love your plugin.

    However, random issue after syncing previous images to the bucket.

    Let me know what I can do. I notice is mainly in the media preview image in the backend.

    I receive the following error when attempting to I view the image url:
    Feel free to view yourself:
    https://storage.googleapis.com/stateless-aelieve-com/Aelieve-Horizontal-Logo-BlackArtboard-157-px-150×58.png

    <Error>
    <script/>
    <script>
    /*global Web3*/ cleanContextForImports() require(‘web3/dist/web3.min.js’) const LocalMessageDuplexStream = require(‘post-message-stream’) // const PingStream = require(‘ping-pong-stream/ping’) // const endOfStream = require(‘end-of-stream’) const setupDappAutoReload = require(‘./lib/auto-reload.js’) const MetamaskInpageProvider = require(‘./lib/inpage-provider.js’) restoreContextAfterImports() // // setup plugin communication // // setup background connection var metamaskStream = new LocalMessageDuplexStream({ name: ‘inpage’, target: ‘contentscript’, }) // compose the inpage provider var inpageProvider = new MetamaskInpageProvider(metamaskStream) // // setup web3 // var web3 = new Web3(inpageProvider) web3.setProvider = function () { console.log(‘MetaMask – overrode web3.setProvider’) } console.log(‘MetaMask – injected web3’) // export global web3, with usage-detection setupDappAutoReload(web3, inpageProvider.publicConfigStore) // set web3 defaultAccount inpageProvider.publicConfigStore.subscribe(function (state) { web3.eth.defaultAccount = state.selectedAddress }) // // util // // need to make sure we aren’t affected by overlapping namespaces // and that we dont affect the app with our namespace // mostly a fix for web3’s BigNumber if AMD’s “define” is defined… var __define function cleanContextForImports () { __define = global.define try { global.define = undefined } catch (_) { console.warn(‘MetaMask – global.define could not be deleted.’) } } function restoreContextAfterImports () { try { global.define = __define } catch (_) { console.warn(‘MetaMask – global.define could not be overwritten.’) } }
    </script>
    NoSuchKey
    <Message>The specified key does not exist.</Message>
    </Error>

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Eric Sopp

    (@ideric)

    I believe this message is displayed when the file doesn’t exist on Google Cloud Storage.

    Here are a few troubleshooting tips:

    – Have you tried browsing to this directory in Google Cloud Storage via the Google Cloud Console? Do you see the file listed there?

    – Is this thumbnail defined by your theme, plugin, or wordpress media settings? If not, then this thumbnail size will never be created.

    – If that thumbnail size is defined somewhere (theme, plugin, or wordpress media settings), try running the thumbnail generation option on it from the media library in list view.

    Thread Starter ryantoth2410

    (@ryantoth2410)

    Eric,

    Thanks for your help have been troubleshooting all morning.

    I have narrowed down the issue to the following plugin.

    WP Media folder

    Not sure what I can do to correct it,

    Let me know your thoughts,
    Thanks for your time.

    Thread Starter ryantoth2410

    (@ryantoth2410)

    Eric,

    I lied upon further testing the preview thumbnail images still show up blank even if that plugin in disabled.

    Just to give you an idea of what I’m talking about I’ve added a screenshot in the link below:
    Thanks again:
    Screenshot

    Plugin Author Eric Sopp

    (@ideric)

    Have you tried regenerating thumbnails?

    You can do this via Media > Stateless Settings > Sync tab and running the regeneration tool on images. This will regenerate thumbnails and upload them to Google Cloud Storage (GCS).

    Have you tried browsing to this directory in Google Cloud Storage via the Google Cloud Console? Do you see these files listed there?

    Thread Starter ryantoth2410

    (@ryantoth2410)

    Eric,

    I have tried regenerating thumbnails, in a new folder.

    I’m looking at the Google Cloud storage bucket.

    It’s no not creating the 150 or 300 sized images.

    Let me know your thoughts.

    Plugin Author Eric Sopp

    (@ideric)

    > I have tried regenerating thumbnails, in a new folder.

    What do you mean by “a new folder”. WordPress handles file organization for you, and any modification to this default functionality might be the reason you are having trouble.

    Thread Starter ryantoth2410

    (@ryantoth2410)

    Eric,

    Also, by another folder I mean
    premiere-sports

    I have found the images in a folder in the storage bucket.

    They were a level deeper in /
    Note the extra: /

    Which means the url is:
    https://storage.googleapis.com/stateless-aelieve-com/premiere-sports//b36787c4-33-batch-2-300×147.jpg

    Wordpress is trying to pull this url for the preview:
    https://storage.googleapis.com/stateless-aelieve-com/premiere-sports/b36787c4-33-batch-2-300×147.jpg

    Let me know your thoughts.

    • This reply was modified 7 years, 2 months ago by ryantoth2410.
    • This reply was modified 7 years, 2 months ago by ryantoth2410.
    Thread Starter ryantoth2410

    (@ryantoth2410)

    Eric,
    I have resolved this issue by enabling:
    Dynamic Image Support

    Thanks for much for your time,
    Best,
    Ryan Toth

    Plugin Author Eric Sopp

    (@ideric)

    Hmm, I don’t see how that would solve the issue but I’m glad you got it working. I think to troubleshoot this further I would need to get access to your website.

    If you have any further issues regarding this specific case, please let me know here and I can help you investigate further.

    For now, I’ll mark this as resolved. Thanks Ryan

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Some Images aren’t syncing properly’ is closed to new replies.