bootstrapworld / curriculum

6 stars 7 forks source link

slide build failed for combinatorics-permutation #1838

Closed flannery-denny closed 8 months ago

flannery-denny commented 8 months ago
Slides failed for combinatorics-permutation/zlides.mkd
Uploading images for this slide deck
Unable to generate slides: GaxiosError: Internal error encountered.
    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:405:18)
    at async SlideGenerator.updatePresentation (file:///Users/flannery/Documents/Bootstrap/curriculum/node_modules/md2googleslides/lib/slide_generator.js:326:17)
    at async SlideGenerator.generateFromMarkdown (file:///Users/flannery/Documents/Bootstrap/curriculum/node_modules/md2googleslides/lib/slide_generator.js:175:5) {
  config: {
    url: 'https://slides.googleapis.com/v1/presentations/1_FU2tBeuXV5hJ_2CzujpxauzaBXk2OSqwO8LC35EenA: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_byBTR-pSGAYLDZNVZaSgKm8U3Wa6zRWcEpcxp8FQ6rcEs-7V_EtigU326KvDAppKMyGsBH_27DCSyNUsHSivTxdmmxmwjLwrkv040STSKMPVI0V2oNdJujNG_obESMCfAP4Zu358PObYSxWutx7lmc3zEDkpCIrOhA8aCgYKATISARMSFQHGX2MiHgP_3iYZeXD1LiIfNC4sRw0174',
      'Content-Type': 'application/json'
    },
    params: {},
    validateStatus: [Function (anonymous)],
    retry: true,
    body: `{"requests":[{"insertText":{"text":"Permutations","objectId":"SLIDES_API1471799392_0"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":12},"style":{"fontSize":{"magnitude":36,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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_API1471799392_2"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API1471799392_5"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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.\\nOpen Permutations and Combinations Starter File, save a copy, and click \\"Run\\".\\nIn the Definitions Area, you'll see six variables defined: ravioli, pizza, ziti, chicken, lasagna, and soup. Try typing some of them into the Interactions Area to see what each menu item looks like.\\n","objectId":"SLIDES_API1471799392_3"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":245},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":246},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":251},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":251,"endIndex":293},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"},"link":{"url":"https://code.pyret.org/editor#share=1pOwcDplD2vidTIvBMrBI5fVZ2jmk369Q"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize,link"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":293,"endIndex":324},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":325},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":325,"endIndex":384},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":384,"endIndex":391},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":391,"endIndex":393},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":393,"endIndex":398},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":398,"endIndex":400},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":400,"endIndex":404},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":404,"endIndex":406},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":406,"endIndex":413},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":413,"endIndex":415},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":415,"endIndex":422},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":422,"endIndex":428},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":428,"endIndex":432},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":432,"endIndex":523},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":325,"endIndex":524},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":524},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"createParagraphBullets":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":524},"bulletPreset":"BULLET_DISC_CIRCLE_SQUARE","objectId":"SLIDES_API1471799392_3"}},{"createImage":{"objectId":"aa7c2990-c6b8-11ee-9dd7-0be5241b641f","elementProperties":{"pageObjectId":"a9cab3e0-c6b8-11ee-9dd7-0be5241b641f","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/he3IPCokP9kv"}},{"updatePageElementAltText":{"objectId":"aa7c2990-c6b8-11ee-9dd7-0be5241b641f","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API1471799392_4"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API1471799392_10"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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_API1471799392_8"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":32},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":32,"endIndex":64},"style":{"italic":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":64,"endIndex":197},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":197,"endIndex":203},"style":{"bold":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"bold,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":203,"endIndex":274},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":275},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"createImage":{"objectId":"aa7c2991-c6b8-11ee-9dd7-0be5241b641f","elementProperties":{"pageObjectId":"a9cab3e1-c6b8-11ee-9dd7-0be5241b641f","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/s6oSESa42wVp"}},{"updatePageElementAltText":{"objectId":"aa7c2991-c6b8-11ee-9dd7-0be5241b641f","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API1471799392_9"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API1471799392_15"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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 ca`... 91470 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/1_FU2tBeuXV5hJ_2CzujpxauzaBXk2OSqwO8LC35EenA: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_API1471799392_0"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":12},"style":{"fontSize":{"magnitude":36,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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_API1471799392_2"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API1471799392_5"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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.\\nOpen Permutations and Combinations Starter File, save a copy, and click \\"Run\\".\\nIn the Definitions Area, you'll see six variables defined: ravioli, pizza, ziti, chicken, lasagna, and soup. Try typing some of them into the Interactions Area to see what each menu item looks like.\\n","objectId":"SLIDES_API1471799392_3"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":245},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":246},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":251},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":251,"endIndex":293},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"},"link":{"url":"https://code.pyret.org/editor#share=1pOwcDplD2vidTIvBMrBI5fVZ2jmk369Q"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize,link"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":293,"endIndex":324},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":325},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":325,"endIndex":384},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":384,"endIndex":391},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":391,"endIndex":393},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":393,"endIndex":398},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":398,"endIndex":400},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":400,"endIndex":404},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":404,"endIndex":406},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":406,"endIndex":413},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":413,"endIndex":415},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":415,"endIndex":422},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":422,"endIndex":428},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":428,"endIndex":432},"style":{"fontFamily":"Courier New","fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontFamily,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":432,"endIndex":523},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":325,"endIndex":524},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":524},"style":{"fontSize":{"magnitude":14.75,"unit":"PT"}},"objectId":"SLIDES_API1471799392_3","fields":"fontSize"}},{"createParagraphBullets":{"textRange":{"type":"FIXED_RANGE","startIndex":246,"endIndex":524},"bulletPreset":"BULLET_DISC_CIRCLE_SQUARE","objectId":"SLIDES_API1471799392_3"}},{"createImage":{"objectId":"aa7c2990-c6b8-11ee-9dd7-0be5241b641f","elementProperties":{"pageObjectId":"a9cab3e0-c6b8-11ee-9dd7-0be5241b641f","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/he3IPCokP9kv"}},{"updatePageElementAltText":{"objectId":"aa7c2990-c6b8-11ee-9dd7-0be5241b641f","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API1471799392_4"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API1471799392_10"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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_API1471799392_8"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":1},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":32},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":32,"endIndex":64},"style":{"italic":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"italic,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":64,"endIndex":197},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":197,"endIndex":203},"style":{"bold":true,"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"bold,fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":203,"endIndex":274},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":1,"endIndex":275},"style":{"fontSize":{"magnitude":16,"unit":"PT"}},"objectId":"SLIDES_API1471799392_8","fields":"fontSize"}},{"createImage":{"objectId":"aa7c2991-c6b8-11ee-9dd7-0be5241b641f","elementProperties":{"pageObjectId":"a9cab3e1-c6b8-11ee-9dd7-0be5241b641f","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/s6oSESa42wVp"}},{"updatePageElementAltText":{"objectId":"aa7c2991-c6b8-11ee-9dd7-0be5241b641f","title":"","description":"A pizza pie"}},{"deleteObject":{"objectId":"SLIDES_API1471799392_9"}},{"insertText":{"text":"Permutation with Replacement","objectId":"SLIDES_API1471799392_15"}},{"updateTextStyle":{"textRange":{"type":"FIXED_RANGE","startIndex":0,"endIndex":28},"style":{"fontSize":{"magnitude":26.5,"unit":"PT"}},"objectId":"SLIDES_API1471799392_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 ca`... 91470 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: 'Thu, 08 Feb 2024 19:31:48 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: 500,
    statusText: 'Internal Server Error',
    request: {
      responseURL: 'https://slides.googleapis.com/v1/presentations/1_FU2tBeuXV5hJ_2CzujpxauzaBXk2OSqwO8LC35EenA:batchUpdate'
    }
  },
  error: undefined,
  status: 500,
  code: 500,
  errors: [
    {
      message: 'Internal error encountered.',
      domain: 'global',
      reason: 'backendError'
    }
  ]
}
flannery-denny commented 8 months ago

I got the same error trying to build checking-your-work So I made clean and tried ./build-slide -z checking-your-work this time I got make failed; build-slide aborted so I made clean again and ran make with no issues. Then I ran ./build-slide -z checking-your-work and once again got make failed; build-slide aborted

schanzer commented 8 months ago

@flannery-denny how many times did you try this? I just tried it now with both combinatorics-permutation and checking-your-work and it uploaded without an issue.

Google's APIs are not as rock-solid as you might expect, so sometimes you need to wait a few minutes and try again.

flannery-denny commented 8 months ago

Good to know. It's working for me now. But I tried a lot of times and ultimately gave up on working on slides for the day.