Created
November 16, 2023 05:36
-
-
Save rewbs/3d64594a02d2038cc90d9da1c0942ada to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(fal-env) [a40-oblivus] - ➜ my-project git:(fal) ✗ fal --debug auth login | |
2023-11-16 05:27:09 [debug ] Executing command: fal --debug auth login command=fal --debug auth login usr.id=github|74455 | |
On your computer or mobile device navigate to: https://auth.fal.ai/v2/logout?client_id=(redacted)&returnTo=https://auth.fal.ai/activate?user_code=(redacted) | |
Confirm it shows the following code: (redacted) | |
✓ Authenticated successfully, welcome! | |
2023-11-16 05:27:38 [error ] <_InactiveRpcError of RPC that terminated with: | |
status = StatusCode.UNKNOWN | |
details = "Unexpected <class 'AttributeError'>: 'NoneType' object has no attribute 'unary_unary'" | |
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2023-11-16T05:27:38.116128574+00:00", grpc_status:2, grpc_message:"Unexpected <class \'AttributeError\'>: \'NoneType\' object has no attribute \'unary_unary\'"}" | |
> usr.id=github|74455 | |
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/fal/cli.py:73 in invoke | |
│ │ | |
│ 70 │ │ │ │ │ f"Executing command: {qualified_name}", │ | |
│ 71 │ │ │ │ │ command=qualified_name, │ | |
│ 72 │ │ │ │ ) │ | |
│ ❱ 73 │ │ │ │ return super().invoke(ctx) │ | |
│ 74 │ │ │ except Exception as exception: │ | |
│ 75 │ │ │ │ log.error(exception) | |
│ 76 │ │ │ │ if execution_info.debug: │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/click/core.py:1688 in │ | |
│ invoke │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/click/core.py:1688 in │ | |
│ invoke │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/click/core.py:1434 in │ | |
│ invoke │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/click/core.py:783 in │ | |
│ invoke │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/fal/cli.py:155 in │ | |
│ auth_login │ | |
│ │ | |
│ 152 │ │ if "Insufficient permissions" in e.details(): │ | |
│ 153 │ │ │ console.print(e.details()) │ | |
│ 154 │ │ else: │ | |
│ ❱ 155 │ │ │ raise e │ | |
│ 156 │ | |
│ 157 │ | |
│ 158 @auth_cli.command(name="logout") │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/fal/cli.py:150 in │ | |
│ auth_login │ | |
│ │ | |
│ 147 │ try: │ | |
│ 148 │ │ client = sdk.FalServerlessClient(f"{DEFAULT_HOST}:{DEFAULT_PORT}") │ | |
│ 149 │ │ with client.connect() as connection: │ | |
│ ❱ 150 │ │ │ connection.list_worker_status() │ | |
│ 151 │ except grpc.RpcError as e: │ | |
│ 152 │ │ if "Insufficient permissions" in e.details(): │ | |
│ 153 │ │ │ console.print(e.details()) │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/fal/sdk.py:595 in │ | |
│ list_worker_status │ | |
│ │ | |
│ 592 │ │ | |
│ 593 │ def list_worker_status(self, user_id: str | None = None) -> list[WorkerStatus]: │ | |
│ 594 │ │ request = isolate_proto.WorkerStatusListRequest(user_id=user_id) │ | |
│ ❱ 595 │ │ response = self.stub.WorkerStatusList(request) │ | |
│ 596 │ │ return [ │ | |
│ 597 │ │ │ WorkerStatus( │ | |
│ 598 │ │ │ │ ws.worker_id, │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/grpc/_interceptor.py:277 │ | |
│ in __call__ │ | |
│ │ | |
│ 274 │ │ wait_for_ready: Optional[bool] = None, │ | |
│ 275 │ │ compression: Optional[grpc.Compression] = None, │ | |
│ 276 │ ) -> Any: │ | |
│ ❱ 277 │ │ response, ignored_call = self._with_call( │ | |
│ 278 │ │ │ request, │ | |
│ 279 │ │ │ timeout=timeout, │ | |
│ 280 │ │ │ metadata=metadata, │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/grpc/_interceptor.py:332 │ | |
│ in _with_call │ | |
│ │ | |
│ 329 │ │ call = self._interceptor.intercept_unary_unary( │ | |
│ 330 │ │ │ continuation, client_call_details, request │ | |
│ 331 │ │ ) │ | |
│ ❱ 332 │ │ return call.result(), call │ | |
│ 333 │ │ | |
│ 334 │ def with_call( │ | |
│ 335 │ │ self, │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/grpc/_channel.py:438 in │ | |
│ result │ | |
│ │ | |
│ 435 │ │ self, timeout: Optional[float] = None │ | |
│ 436 │ ) -> Any: # pylint: disable=unused-argument │ | |
│ 437 │ │ """See grpc.Future.result.""" │ | |
│ ❱ 438 │ │ raise self │ | |
│ 439 │ │ | |
│ 440 │ def exception( │ | |
│ 441 │ │ self, timeout: Optional[float] = None # pylint: disable=unused-argument │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/grpc/_interceptor.py:315 │ | |
│ in continuation │ | |
│ │ | |
│ 312 │ │ │ │ new_compression, │ | |
│ 313 │ │ │ ) = _unwrap_client_call_details(new_details, client_call_details) │ | |
│ 314 │ │ │ try: │ | |
│ ❱ 315 │ │ │ │ response, call = self._thunk(new_method).with_call( │ | |
│ 316 │ │ │ │ │ request, │ | |
│ 317 │ │ │ │ │ timeout=new_timeout, │ | |
│ 318 │ │ │ │ │ metadata=new_metadata, │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/grpc/_channel.py:1178 in │ | |
│ with_call │ | |
│ │ | |
│ 1175 │ │ ) = self._blocking( │ | |
│ 1176 │ │ │ request, timeout, metadata, credentials, wait_for_ready, compression │ | |
│ 1177 │ │ ) │ | |
│ ❱ 1178 │ │ return _end_unary_response_blocking(state, call, True, None) │ | |
│ 1179 │ │ | |
│ 1180 │ def future( │ | |
│ 1181 │ │ self, │ | |
│ │ | |
│ /home/user/code/my-project/fal-env/lib/python3.10/site-packages/grpc/_channel.py:1004 in │ | |
│ _end_unary_response_blocking │ | |
│ │ | |
│ 1001 │ │ else: │ | |
│ 1002 │ │ │ return state.response │ | |
│ 1003 │ else: │ | |
│ ❱ 1004 │ │ raise _InactiveRpcError(state) # pytype: disable=not-instantiable │ | |
│ 1005 │ | |
│ 1006 │ | |
│ 1007 def _stream_unary_invocation_operations( │ | |
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ | |
_InactiveRpcError: <_InactiveRpcError of RPC that terminated with: | |
status = StatusCode.UNKNOWN | |
details = "Unexpected <class 'AttributeError'>: 'NoneType' object has no attribute 'unary_unary'" | |
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2023-11-16T05:27:38.116128574+00:00", grpc_status:2, grpc_message:"Unexpected <class \'AttributeError\'>: \'NoneType\' object has no attribute \'unary_unary\'"}" | |
> | |
The invocation_id for this operation is: 15259f03-0194-40a4-afe9-3e6f48959127 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment