naklecha / google-colaboratory-copilot

A Github Copilot implemention for Google Colab. Say goodbye to alt tabbing 👋
133 stars 45 forks source link

No code being generated #2

Open SimonB97 opened 1 year ago

SimonB97 commented 1 year ago

Hi, thanks for this, but i'm unable to get it to work.

I've followd the setup guide closely (inspect code cell adding element, add openai key, run) but i'm receiving the following error in console and pressing alt+shift+enter just prints the waiting prompt:

Browser: MS Edge Dev OS: Windows 11

image

<body>
<!--StartFragment--><div tabindex="-1" class="console-message-wrapper console-info-level console-adjacent-user-command-result" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; border-top-width: 0px; border-top-style: ; border-top-color: ; border-bottom: 1px solid transparent; --console-color-black: #000; --console-color-red: rgb(237 78 76); --console-color-green: rgb(1 200 1); --console-color-yellow: rgb(210 192 87); --console-color-blue: rgb(39 116 240); --console-color-magenta: rgb(161 66 244); --console-color-cyan: rgb(18 181 203); --console-color-gray: rgb(207 208 208); --console-color-darkgray: rgb(137 137 137); --console-color-lightred: rgb(242 139 130); --console-color-lightgreen: rgb(161 247 181); --console-color-lightyellow: rgb(221 251 85); --console-color-lightblue: rgb(102 157 246); --console-color-ightmagenta: #f5f; --console-color-lightcyan: rgb(132 240 255); --console-color-white: #fff; --console-color-lightmagenta: rgb(214 112 214); color: rgb(255, 255, 255); font-family: consolas, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(32, 33, 36); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div class="console-message console-user-command-result" style="box-sizing: border-box; min-width: 0px; min-height: 17px; clear: right; position: relative; padding: 3px 22px 1px 0px; margin-left: 24px; flex: 1 1 auto; display: flex;"><span class="source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--source-code-font-family); white-space: pre-wrap; font-size: var(--source-code-font-size) !important; flex: 1 1 auto; line-height: 1.2;"><span class="console-message-text" style="box-sizing: border-box; min-width: 0px; min-height: 0px;"><span class="object-value-undefined source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(--color-text-disabled); font-family: var(--source-code-font-family); white-space: pre-wrap; font-size: var(--source-code-font-size) !important; line-height: 1.2;">undefined</span></span></span></div></div><div tabindex="-1" class="console-message-wrapper console-from-api console-error-level" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; border-top-width: ; border-top-style: ; border-top-color: var(--override-error-border-color); border-bottom: 1px solid transparent; --console-color-black: #000; --console-color-red: rgb(237 78 76); --console-color-green: rgb(1 200 1); --console-color-yellow: rgb(210 192 87); --console-color-blue: rgb(39 116 240); --console-color-magenta: rgb(161 66 244); --console-color-cyan: rgb(18 181 203); --console-color-gray: rgb(207 208 208); --console-color-darkgray: rgb(137 137 137); --console-color-lightred: rgb(242 139 130); --console-color-lightgreen: rgb(161 247 181); --console-color-lightyellow: rgb(221 251 85); --console-color-lightblue: rgb(102 157 246); --console-color-ightmagenta: #f5f; --console-color-lightcyan: rgb(132 240 255); --console-color-white: #fff; background-color: var(--override-console-error-background-color); --console-color-lightmagenta: rgb(214 112 214); color: rgb(255, 255, 255); font-family: consolas, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div class="console-message" style="box-sizing: border-box; min-width: 0px; min-height: 17px; clear: right; position: relative; padding: 3px 22px 1px 0px; margin-left: 24px; flex: 1 1 auto; display: flex;"><devtools-icon class="message-level-icon" aria-label="Fehler" style="display: inline-block; white-space: nowrap; position: absolute; box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 1 1 auto; left: -17px; top: 2px; user-select: none;"><div class="icon-basic" style="width: 14px; height: 14px; display: block; -webkit-mask-image: url(&quot;devtools://devtools/bundled/Images/cross-circle-filled.svg&quot;); -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 99%; background-color: var(--icon-color, var(--icon-error));"></div></devtools-icon><div class="console-message-stack-trace-toggle" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 1 1 auto; display: flex; flex-direction: row; align-items: flex-start;"><div class="console-message-stack-trace-wrapper" aria-label="external_polymer_binary_l10n__de.js:2011  Analytics logging failed: XhrHttpError: Request Failed, status=0, url=/analytics?authuser=0 Stapeltabelle erweitert" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch;"><div aria-expanded="true" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span is="ui-icon" class="console-message-expand-icon spritesheet-triangle-down triangle-down icon-mask" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: inline-block; flex-shrink: 0; margin-bottom: -4px; background-color: var(--icon-default); -webkit-mask-position: var(--spritesheet-position); -webkit-mask-image: var(--image-file-triangle-down); --override-icon-mask-background-color: var(--neutral-foreground-rest); --spritesheet-position: 0px 14px; width: 14px; height: 14px;"></span><span class="source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--source-code-font-family); white-space: pre-wrap; font-size: var(--source-code-font-size) !important; line-height: 1.2;"><span class="console-message-anchor" style="box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;"><span class="devtools-link" role="link" tabindex="-1" title="https://ssl.gstatic.com/colaboratory-static/common/60069d65d27ffb6abfb0ab565eeb81fc/external_polymer_binary_l10n__de.js:2011" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(--color-text-secondary); text-decoration: underline; outline-offset: 2px; cursor: pointer; word-break: break-all;">external_polymer_binary_l10n__de.js:2011</span> <devtools-icon class="resource-links" title="Diese Nachricht im Web suchen" style="display: inline-block; white-space: nowrap; position: relative; box-sizing: border-box; min-width: 0px; min-height: 0px; margin-top: -1px; margin-bottom: -2px; cursor: pointer;"><div class="icon-basic" style="width: 16px; height: 16px; display: block; -webkit-mask-image: url(&quot;devtools://devtools/bundled/Images/edge-search-info.svg&quot;); -webkit-mask-position: center center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 99%; background-color: var(--icon-color, var(--color-link));"></div></devtools-icon> </span><span class="console-message-text" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(--override-error-text-color) !important;">Analytics logging failed: XhrHttpError: Request Failed, status=0, url=/analytics?authuser=0</span></span></div><div class="" role="group" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span class="monospace" style="display: inline-block; --monospace-font-size: 12px; --monospace-font-family: consolas, lucida console, courier new, monospace; --source-code-font-size: 12px; --source-code-font-family: consolas, lucida console, courier new, monospace; box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--monospace-font-family); font-size: var(--monospace-font-size) !important;">

  | (anonym) | @ | external_polymer_binary_l10n__de.js:2011
-- | -- | -- | --
  | e.onRejected | @ | external_polymer_binary_l10n__de.js:308
  | Nga | @ | external_polymer_binary_l10n__de.js:312
  | Jga | @ | external_polymer_binary_l10n__de.js:312
  | g.executeCallbacks_ | @ | external_polymer_binary_l10n__de.js:311
  | yga | @ | external_polymer_binary_l10n__de.js:303
  | Promise.then (asynchron) |   |  
  | bi | @ | external_polymer_binary_l10n__de.js:303
  | di | @ | external_polymer_binary_l10n__de.js:303
  | Kga | @ | external_polymer_binary_l10n__de.js:310
  | fi | @ | external_polymer_binary_l10n__de.js:309
  | (anonym) | @ | external_polymer_binary_l10n__de.js:303
  | f.onreadystatechange | @ | external_polymer_binary_l10n__de.js:2006
  | XMLHttpRequest.send (asynchron) |   |  
  | (anonym) | @ | external_polymer_binary_l10n__de.js:2007
  | ei | @ | external_polymer_binary_l10n__de.js:303
  | XG | @ | external_polymer_binary_l10n__de.js:2006
  | uFa | @ | external_polymer_binary_l10n__de.js:2005
  | zFa | @ | external_polymer_binary_l10n__de.js:2011
  | jH | @ | external_polymer_binary_l10n__de.js:2018
  | sH | @ | external_polymer_binary_l10n__de.js:2029
  | (anonym) | @ | external_polymer_binary_l10n__de.js:2125
  | xa | @ | external_polymer_binary_l10n__de.js:21
  | ua.next_ | @ | external_polymer_binary_l10n__de.js:19
  | next | @ | external_polymer_binary_l10n__de.js:22
  | b | @ | external_polymer_binary_l10n__de.js:22
  | Promise.then (asynchron) |   |  
  | f | @ | external_polymer_binary_l10n__de.js:22
  | (anonym) | @ | external_polymer_binary_l10n__de.js:22
  | maa | @ | external_polymer_binary_l10n__de.js:22
  | z | @ | external_polymer_binary_l10n__de.js:23
  | iGa | @ | external_polymer_binary_l10n__de.js:2122
  | $H | @ | external_polymer_binary_l10n__de.js:2113
  | $I | @ | external_polymer_binary_l10n__de.js:2229
  | (anonym) | @ | external_polymer_binary_l10n__de.js:2280
  | xa | @ | external_polymer_binary_l10n__de.js:21
  | ua.next_ | @ | external_polymer_binary_l10n__de.js:19
  | next | @ | external_polymer_binary_l10n__de.js:22
  | b | @ | external_polymer_binary_l10n__de.js:22
  | Promise.then (asynchron) |   |  
  | f | @ | external_polymer_binary_l10n__de.js:22
  | (anonym) | @ | external_polymer_binary_l10n__de.js:22
  | maa | @ | external_polymer_binary_l10n__de.js:22
  | z | @ | external_polymer_binary_l10n__de.js:23
  | rJ.saveToDrive | @ | external_polymer_binary_l10n__de.js:2279
  | (anonym) | @ | external_polymer_binary_l10n__de.js:3087
  | xa | @ | external_polymer_binary_l10n__de.js:21
  | ua.next_ | @ | external_polymer_binary_l10n__de.js:19
  | next | @ | external_polymer_binary_l10n__de.js:22
  | (anonym) | @ | external_polymer_binary_l10n__de.js:22
  | maa | @ | external_polymer_binary_l10n__de.js:22
  | z | @ | external_polymer_binary_l10n__de.js:23
  | g.performSave | @ | external_polymer_binary_l10n__de.js:3087
  | (anonym) | @ | external_polymer_binary_l10n__de.js:3037
  | xa | @ | external_polymer_binary_l10n__de.js:21
  | ua.next_ | @ | external_polymer_binary_l10n__de.js:19
  | next | @ | external_polymer_binary_l10n__de.js:22
  | b | @ | external_polymer_binary_l10n__de.js:22
  | Promise.then (asynchron) |   |  
  | f | @ | external_polymer_binary_l10n__de.js:22
  | (anonym) | @ | external_polymer_binary_l10n__de.js:22
  | maa | @ | external_polymer_binary_l10n__de.js:22
  | z | @ | external_polymer_binary_l10n__de.js:23
  | g.saveInternal | @ | external_polymer_binary_l10n__de.js:3037
  | (anonym) | @ | external_polymer_binary_l10n__de.js:3036
  | xa | @ | external_polymer_binary_l10n__de.js:21
  | ua.next_ | @ | external_polymer_binary_l10n__de.js:19
  | next | @ | external_polymer_binary_l10n__de.js:22
  | (anonym) | @ | external_polymer_binary_l10n__de.js:22
  | maa | @ | external_polymer_binary_l10n__de.js:22
  | z | @ | external_polymer_binary_l10n__de.js:23
  | (anonym) | @ | external_polymer_binary_l10n__de.js:3035
  | (anonym) | @ | external_polymer_binary_l10n__de.js:3036
  | (anonym) | @ | external_polymer_binary_l10n__de.js:2282
  | CIa.run | @ | external_polymer_binary_l10n__de.js:2281
  | DIa | @ | external_polymer_binary_l10n__de.js:2281
  | (anonym) | @ | external_polymer_binary_l10n__de.js:2282
  | Promise.then (asynchron) |   |  
  | (anonym) | @ | external_polymer_binary_l10n__de.js:2282
  | xa | @ | external_polymer_binary_l10n__de.js:21
  | ua.next_ | @ | external_polymer_binary_l10n__de.js:19
  | next | @ | external_polymer_binary_l10n__de.js:22
  | (anonym) | @ | external_polymer_binary_l10n__de.js:22
  | maa | @ | external_polymer_binary_l10n__de.js:22
  | z | @ | external_polymer_binary_l10n__de.js:23
  | tJ.enqueue | @ | external_polymer_binary_l10n__de.js:2282
  | uJ.enqueue | @ | external_polymer_binary_l10n__de.js:2282
  | g.save | @ | external_polymer_binary_l10n__de.js:3035
  | wQa | @ | external_polymer_binary_l10n__de.js:3003
  | (anonym) | @ | external_polymer_binary_l10n__de.js:3002

</span></div></div></div></div></div><!--EndFragment-->
</body>
</html>```