Skip to content

Instantly share code, notes, and snippets.

@helloworld
Created December 12, 2022 21:40
Show Gist options
  • Save helloworld/27ac0943adde70ecbdfe5b3ad0687cb4 to your computer and use it in GitHub Desktop.
Save helloworld/27ac0943adde70ecbdfe5b3ad0687cb4 to your computer and use it in GitHub Desktop.
~/pr/gpt-coder/test_runner master !52 ?169 ❯ python main.py  gpt-coder 3.10 16:39:36
️️⚡️ Serving... hit Ctrl-C to stop!
└── Watching /Users/sashank/projects/gpt-coder/test_runner/main.py.
✓ Initialized. View app at https://modal.com/apps/ap-qfqInd1MLwOOrMzQdptsAQ
╭──────────────────────────── Traceback (most recent call last) ────────────────────────────╮
│ /Users/sashank/projects/gpt-coder/test_runner/main.py:91 in <module> │
│ │
│ 90 if __name__ == "__main__": │
│ ❱ 91 │ stub.serve() │
│ 92 │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/synchronicity/synch │
│ ronizer.py:412 in proxy_method │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/modal/stub.py:358 │
│ in serve │
│ │
│ 357 │ │ │ │ │
│ ❱ 358 │ │ │ │ async with self._run(client, output_mgr, existing_app_id, mode=Stub │
│ 359 │ │ │ │ │ client.set_pre_stop(app.disconnect) │
│ │
│ /Users/sashank/.pyenv/versions/3.10.7/lib/python3.10/contextlib.py:199 in __aenter__ │
│ │
│ 198 │ │ try: │
│ ❱ 199 │ │ │ return await anext(self.gen) │
│ 200 │ │ except StopAsyncIteration: │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/modal/stub.py:232 │
│ in _run │
│ │
│ 231 │ │ │ │ with output_mgr.ctx_if_visible(output_mgr.make_live(create_progress │
│ ❱ 232 │ │ │ │ │ await app._create_all_objects(create_progress) │
│ 233 │ │ │ │ create_progress.label = step_completed("Created objects.") │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/modal/app.py:139 in │
│ _create_all_objects │
│ │
│ 138 │ │ │ existing_object_id = self._tag_to_existing_id.get(tag) │
│ ❱ 139 │ │ │ self._tag_to_object[tag] = await self._load(provider, progress, existin │
│ 140 │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/modal/app.py:107 in │
│ _load │
│ │
│ 106 │ │ # Create object │
│ ❱ 107 │ │ created_obj = await obj._load(self.client, self._stub, self.app_id, loader, │
│ 108 │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/modal/functions.py: │
│ 860 in _load │
│ │
│ 859 │ │ try: │
│ ❱ 860 │ │ │ response = await client.stub.FunctionCreate(request) │
│ 861 │ │ except GRPCError as exc: │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/grpclib/client.py:8 │
│ 82 in __call__ │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/grpclib/client.py:4 │
│ 25 in recv_message │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/grpclib/client.py:3 │
│ 93 in recv_initial_metadata │
│ │
│ /Users/sashank/.pyenv/versions/gpt-coder/lib/python3.10/site-packages/grpclib/client.py:3 │
│ 45 in _raise_for_grpc_status │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
GRPCError: (<Status.INTERNAL: 13>, 'KeyError(\'Attempted to access missing key in table
"app"\')', None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment