bootstrapworld / curriculum

6 stars 7 forks source link

combinatorics-permutation slide build failing after a fresh pull npm update make clean #1808

Closed flannery-denny closed 9 months ago

flannery-denny commented 9 months ago
Slides failed for combinatorics-permutation/zlides.mkd
Uploading images for this slide deck
Unable to generate slides: GaxiosError: Invalid requests[414].createImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats.
    at Gaxios._request (/Users/flannery/Documents/Bootstrap/curriculum/node_modules/gaxios/build/src/gaxios.js:141:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OAuth2Client.requestAsync (/Users/flannery/Documents/Bootstrap/curriculum/node_modules/google-auth-library/build/src/auth/oauth2client.js:379:18)
    at async SlideGenerator.updatePresentation (file:///Users/flannery/Documents/Bootstrap/curriculum/node_modules/md2googleslides/lib/slide_generator.js:325:17)
    at async SlideGenerator.generateFromMarkdown (file:///Users/flannery/Documents/Bootstrap/curriculum/node_modules/md2googleslides/lib/slide_generator.js:174:5) {
  config: {
    url: 'https://slides.googleapis.com/v1/presentations/1U51aFFfpG_u11rKhJClWMvZPtIWlmGXKV0WZTQLY-nE:batchUpdate',
    method: 'POST',
    userAgentDirectives: [ [Object] ],
    paramsSerializer: [Function (anonymous)],
    data: { requests: [Array] },
    headers: {
      'x-goog-api-client': 'gdcl/7.0.1 gl-node/19.9.0',
      'Accept-Encoding': 'gzip',
      'User-Agent': 'google-api-nodejs-client/7.0.1 (gzip)',
      Authorization: 'Bearer ya29.a0AfB_byDYI_IqBQfVC8QtPYGQA-Q6iSRMPbOMqTqUvD4Wf9mCZoV8cW29mdiiDFnFv_-7MZrEovKpfsWx8JpQnmc1FTqO13uR6wLuGgfyE5g1w7s2pfiLlj_QlsjIVUcbkt3t47KtyohtMOKByEORQGEAKsjypvgxUqzW99gaCgYKASMSARMSFQHGX2MiLuTNp-fnCcOVC-AtSjhW0w0174',
      'Content-Type': 'application/json'
    },
    params: {},
    validateStatus: [Function (anonymous)],
    retry: true,
    body: `{"requests":[{"insertText":{"text":"Permutations","objectId":"SLIDES_API940494206_0"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":12},"style":{"fontSize":{"magnitude":36,"unit":"PT"}},"objectId":"SLIDES_API940494206_0","fields":"fontSize"}},{"insertText":{"text":"To learn more about how to use PearDeck, and how to view the embedded links on these slides without going into present mode visit https://help.peardeck.com/en\\n","objectId":"SLIDES_API940494206_2"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_5"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_5","fields":"fontSize"}},{"insertText":{"text":"\\nLuigi's Family Restaurant is about to open, and it's going to be the hottest restaurant in town. They have a menu with six different dishes, and they plan to offer a four-course \\"Italian Safari\\" dinner for the low-low price of $9.95 per person.\\n","objectId":"SLIDES_API940494206_3"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":245},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":246},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_3","fields":"fontSize"}},{"createImage":{"objectId":"58177da0-bc89-11ee-a2c3-a72cf5155215","elementProperties":{"pageObjectId":"579c8140-bc89-11ee-a2c3-a72cf5155215","size":{"height":{"magnitude":1994000,"unit":"EMU"},"width":{"magnitude":2991000,"unit":"EMU"}},"transform":{"scaleX":1,"scaleY":1,"translateX":6023426.825,"translateY":1817775,"shearX":0,"shearY":0,"unit":"EMU"}},"url":"https://file.io/8TubzUaPKyiV"}},{"updatePageElementAltText":{"objectId":"58177da0-bc89-11ee-a2c3-a72cf5155215","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API940494206_4"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_10"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_10","fields":"fontSize"}},{"insertText":{"text":"\\nThe gimmick is that diners can choose the order of the courses: you might start with Lasagna, but your friend can start with the Chicken Parmesan, and so on. And if your friend happens to really, really like Chicken Parmesan, they can choose to eat it for all four courses!\\n","objectId":"SLIDES_API940494206_8"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":32},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":32,"endIndex":64},"style":{"italic":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":64,"endIndex":197},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":197,"endIndex":203},"style":{"bold":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"bold,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":203,"endIndex":274},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":275},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"createImage":{"objectId":"58177da1-bc89-11ee-a2c3-a72cf5155215","elementProperties":{"pageObjectId":"579c8141-bc89-11ee-a2c3-a72cf5155215","size":{"height":{"magnitude":1994000,"unit":"EMU"},"width":{"magnitude":2991000,"unit":"EMU"}},"transform":{"scaleX":1,"scaleY":1,"translateX":6023426.825,"translateY":1817775,"shearX":0,"shearY":0,"unit":"EMU"}},"url":"https://file.io/rZP6kW9yuRAl"}},{"updatePageElementAltText":{"objectId":"58177da1-bc89-11ee-a2c3-a72cf5155215","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API940494206_9"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_15"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_15","fields":"fontSize"}},{"insertText":{"text":"\\nLuigi's Family Restaurant advertises \\"an almost-endless number of dining experiences.\\"\\nIn fact, Luigi himself guarantees free food for life for anyone who can eat every possible configuration.\\nIf you ate dinner there every night, how long would it take to try each one? In other words, how many ways can you reshuffle those four courses?\\n","objectId":"SLIDES_API940494206_13"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":87},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":88},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":88,"endIndex":193},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":88,"endIndex":194},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":194,"endIndex":287},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":287,"endIndex":337},"style":{"italic":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":337,"endIndex":338},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":194,"endIndex":339},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"createImage":{"objectId":"58177da2-bc89-11ee-a2c3-a72cf5155215","elementProperties":{"pageObjectId":"579c8142-bc89-11ee-a2c3-a72cf5155215","size":{"height":{"magnitude":1994000,"unit":"EMU"},"width":{"magnitude":2991000,"unit":"EMU"}},"transform":{"scaleX":1,"scaleY":1,"translateX":6023426.825,"translateY":1817775,"shearX":0,"shearY":0,"unit":"EMU"}},"url":"https://file.io/xfSOAiM6P7tF"}},{"updatePageElementAltText":{"objectId":"58177da2-bc89-11ee-a2c3-a72cf5155215","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API940494206_14"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_20"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_20","fields":"fontSize"}},{"insertText":{"text":"\\n📌 In Permutations, order matters!\\nLuigi isn't going to give away free food just because you order four courses - he wants you to order four courses in every possible order!\\nIn situations where order matters, the set of possible options is called permutations.\\n","objectId":"SLIDES_API940494206_18"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":3,"endIndex":35},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":36},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":36,"endIndex":150},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":150,"endIndex":173},"style":{"italic":true,"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":173,"endIndex":174},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":36,"endIndex":175},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":175,"endIndex":248},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"`... 83192 more characters,
    responseType: 'unknown',
    errorRedactor: [Function: defaultErrorRedactor],
    retryConfig: {
      currentRetryAttempt: 0,
      retry: 3,
      httpMethodsToRetry: [Array],
      noResponseRetries: 2,
      statusCodesToRetry: [Array]
    }
  },
  response: {
    config: {
      url: 'https://slides.googleapis.com/v1/presentations/1U51aFFfpG_u11rKhJClWMvZPtIWlmGXKV0WZTQLY-nE:batchUpdate',
      method: 'POST',
      userAgentDirectives: [Array],
      paramsSerializer: [Function (anonymous)],
      data: [Object],
      headers: [Object],
      params: {},
      validateStatus: [Function (anonymous)],
      retry: true,
      body: `{"requests":[{"insertText":{"text":"Permutations","objectId":"SLIDES_API940494206_0"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":12},"style":{"fontSize":{"magnitude":36,"unit":"PT"}},"objectId":"SLIDES_API940494206_0","fields":"fontSize"}},{"insertText":{"text":"To learn more about how to use PearDeck, and how to view the embedded links on these slides without going into present mode visit https://help.peardeck.com/en\\n","objectId":"SLIDES_API940494206_2"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_5"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_5","fields":"fontSize"}},{"insertText":{"text":"\\nLuigi's Family Restaurant is about to open, and it's going to be the hottest restaurant in town. They have a menu with six different dishes, and they plan to offer a four-course \\"Italian Safari\\" dinner for the low-low price of $9.95 per person.\\n","objectId":"SLIDES_API940494206_3"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":245},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":246},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_3","fields":"fontSize"}},{"createImage":{"objectId":"58177da0-bc89-11ee-a2c3-a72cf5155215","elementProperties":{"pageObjectId":"579c8140-bc89-11ee-a2c3-a72cf5155215","size":{"height":{"magnitude":1994000,"unit":"EMU"},"width":{"magnitude":2991000,"unit":"EMU"}},"transform":{"scaleX":1,"scaleY":1,"translateX":6023426.825,"translateY":1817775,"shearX":0,"shearY":0,"unit":"EMU"}},"url":"https://file.io/8TubzUaPKyiV"}},{"updatePageElementAltText":{"objectId":"58177da0-bc89-11ee-a2c3-a72cf5155215","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API940494206_4"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_10"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_10","fields":"fontSize"}},{"insertText":{"text":"\\nThe gimmick is that diners can choose the order of the courses: you might start with Lasagna, but your friend can start with the Chicken Parmesan, and so on. And if your friend happens to really, really like Chicken Parmesan, they can choose to eat it for all four courses!\\n","objectId":"SLIDES_API940494206_8"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":32},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":32,"endIndex":64},"style":{"italic":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":64,"endIndex":197},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":197,"endIndex":203},"style":{"bold":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"bold,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":203,"endIndex":274},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":275},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_8","fields":"fontSize"}},{"createImage":{"objectId":"58177da1-bc89-11ee-a2c3-a72cf5155215","elementProperties":{"pageObjectId":"579c8141-bc89-11ee-a2c3-a72cf5155215","size":{"height":{"magnitude":1994000,"unit":"EMU"},"width":{"magnitude":2991000,"unit":"EMU"}},"transform":{"scaleX":1,"scaleY":1,"translateX":6023426.825,"translateY":1817775,"shearX":0,"shearY":0,"unit":"EMU"}},"url":"https://file.io/rZP6kW9yuRAl"}},{"updatePageElementAltText":{"objectId":"58177da1-bc89-11ee-a2c3-a72cf5155215","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API940494206_9"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_15"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_15","fields":"fontSize"}},{"insertText":{"text":"\\nLuigi's Family Restaurant advertises \\"an almost-endless number of dining experiences.\\"\\nIn fact, Luigi himself guarantees free food for life for anyone who can eat every possible configuration.\\nIf you ate dinner there every night, how long would it take to try each one? In other words, how many ways can you reshuffle those four courses?\\n","objectId":"SLIDES_API940494206_13"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":87},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":88},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":88,"endIndex":193},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":88,"endIndex":194},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":194,"endIndex":287},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":287,"endIndex":337},"style":{"italic":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":337,"endIndex":338},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":194,"endIndex":339},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API940494206_13","fields":"fontSize"}},{"createImage":{"objectId":"58177da2-bc89-11ee-a2c3-a72cf5155215","elementProperties":{"pageObjectId":"579c8142-bc89-11ee-a2c3-a72cf5155215","size":{"height":{"magnitude":1994000,"unit":"EMU"},"width":{"magnitude":2991000,"unit":"EMU"}},"transform":{"scaleX":1,"scaleY":1,"translateX":6023426.825,"translateY":1817775,"shearX":0,"shearY":0,"unit":"EMU"}},"url":"https://file.io/xfSOAiM6P7tF"}},{"updatePageElementAltText":{"objectId":"58177da2-bc89-11ee-a2c3-a72cf5155215","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API940494206_14"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API940494206_20"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API940494206_20","fields":"fontSize"}},{"insertText":{"text":"\\n📌 In Permutations, order matters!\\nLuigi isn't going to give away free food just because you order four courses - he wants you to order four courses in every possible order!\\nIn situations where order matters, the set of possible options is called permutations.\\n","objectId":"SLIDES_API940494206_18"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":3,"endIndex":35},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":36},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":36,"endIndex":150},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":150,"endIndex":173},"style":{"italic":true,"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":173,"endIndex":174},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":36,"endIndex":175},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"SLIDES_API940494206_18","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":175,"endIndex":248},"style":{"fontSize":{"magnitude":12.75,"unit":"PT"}},"objectId":"`... 83192 more characters,
      responseType: 'unknown',
      errorRedactor: [Function: defaultErrorRedactor]
    },
    data: { error: [Object] },
    headers: {
      'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
      'cache-control': 'private',
      'content-encoding': 'gzip',
      'content-type': 'application/json; charset=UTF-8',
      date: 'Fri, 26 Jan 2024 20:27:39 GMT',
      server: 'ESF',
      'transfer-encoding': 'chunked',
      vary: 'Origin, X-Origin, Referer',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'SAMEORIGIN',
      'x-l2-request-path': 'l2-managed-4',
      'x-xss-protection': '0'
    },
    status: 400,
    statusText: 'Bad Request',
    request: {
      responseURL: 'https://slides.googleapis.com/v1/presentations/1U51aFFfpG_u11rKhJClWMvZPtIWlmGXKV0WZTQLY-nE:batchUpdate'
    }
  },
  error: undefined,
  status: 400,
  code: 400,
  errors: [
    {
      message: 'Invalid requests[414].createImage: There was a problem retrieving the image. The provided image should be publicly accessible, within size limit, and in supported formats.',
      domain: 'global',
      reason: 'badRequest'
    }
  ]
}
schanzer commented 9 months ago

@flannery-denny seems to work for me. I suspect what you're seeing is some delay with FileIO. By the time Google Slides asks for the image, FileIO hasn't finished making it shareable. My suggestion? Try again.

flannery-denny commented 9 months ago

@schanzer Still getting the same error. Are you telling me that I can't build this deck because my machine is too fast and the time between upload and needing it isn't sufficient?

On Fri, Jan 26, 2024 at 3:02 PM Emmanuel Schanzer @.***> wrote:

@flannery-denny https://github.com/flannery-denny seems to work for me. I suspect what you're seeing is some delay with FileIO. By the time Google Slides asks for the image, FileIO hasn't finished making it shareable. My suggestion? Try again.

— Reply to this email directly, view it on GitHub https://github.com/bootstrapworld/curriculum/issues/1808#issuecomment-1912691882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4Z7TDKFEKX3MXDSIHUXW3YQQKWJAVCNFSM6AAAAABCMV7HDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGY4TCOBYGI . You are receiving this because you were mentioned.Message ID: @.***>

schanzer commented 9 months ago

@flannery-denny I don't think it's CPU speed. It could be internet speed or latency. Are you on a satellite connection? I might just need to introduce a much longer delay before the request gets sent to Google.

flannery-denny commented 9 months ago

@schanzer I’m not on satellite anymore - moved from the end of a dirt road to town. Lafayette is known for its fiber infrastructure. I don’t pay for the most expensive internet plan, but it’s been completely reliable. Seems worth trying slowing the slide build down a bit if this deck is consistently failing for me at multiple times of the week.As I mentioned I’m already not reporting all the failed slide builds I’m seeing because you weren’t seeing so many that I started making clean and rebuilding before reporting. Perhaps slowing it down a little would also reduce the need for that?

schanzer commented 9 months ago

@flannery-denny I've just pushed an update to md2googleslides that adds a 1sec delay between uploading the images to FileIO and then trying to create the slide deck on Google. Can you run npm update and let me know if this changes things?

flannery-denny commented 9 months ago

Seems to have solved the problem :)