GraphScope
GraphScope copied to clipboard
[BUG] Build source code in devcontainer error
Describe the bug Build source code in devcontainer error
To Reproduce Steps to reproduce the behavior:
1. build client success
python3 gsctl.py make client
2. build coordinator Error
CMD
python3 gsctl.py make coordinator
ERROR
raceback (most recent call last):
File "/workspaces/GraphScope/gsctl.py", line 25, in <module>
import graphscope
File "/workspaces/GraphScope/python/graphscope/__init__.py", line 40, in <module>
from graphscope.client.session import Session
File "/workspaces/GraphScope/python/graphscope/client/session.py", line 41, in <module>
from graphscope.client.rpc import GRPCClient
File "/workspaces/GraphScope/python/graphscope/client/rpc.py", line 28, in <module>
from graphscope.client.utils import GS_GRPC_MAX_MESSAGE_LENGTH
File "/workspaces/GraphScope/python/graphscope/client/utils.py", line 30, in <module>
from graphscope.config import gs_config
File "/workspaces/GraphScope/python/graphscope/config.py", line 29, in <module>
from simple_parsing import ArgumentParser
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/__init__.py", line 4, in <module>
from . import helpers, utils, wrappers
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/__init__.py", line 4, in <module>
from .hparams import HyperParameters
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/hparams/__init__.py", line 2, in <module>
from .hyperparameters import HP, HyperParameters, Point
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/hparams/hyperparameters.py", line 16, in <module>
from simple_parsing.helpers.serialization.serializable import Serializable
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/serialization/__init__.py", line 3, in <module>
from .serializable import (
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/serialization/serializable.py", line 256
@classmethod
^
IndentationError: unindent does not match any outer indentation level
3. Manual repair vim /home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/serialization/serializable.py
before
after
I don’t know what operation caused the simple_parsing file compression problem.
This file has not been modified manually.
Environment (please complete the following information):
- GraphScope version: [master]
- OS: [Linux]
Well, it's pretty weird. simple_parsing is a third-party dependency and GraphScope wouldn't touch its source code...
Tried to reproduce it with the dev-container by using a fresh-cloned repo, but failed.