alibaba / alibaba/GraphScope

[BUG] Build source code in devcontainer error

Open
#3,425 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**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
import graphscope
File "/workspaces/GraphScope/python/graphscope/__init__.py", line 40, in
from graphscope.client.session import Session
File "/workspaces/GraphScope/python/graphscope/client/session.py", line 41, in
from graphscope.client.rpc import GRPCClient
File "/workspaces/GraphScope/python/graphscope/client/rpc.py", line 28, in
from graphscope.client.utils import GS_GRPC_MAX_MESSAGE_LENGTH
File "/workspaces/GraphScope/python/graphscope/client/utils.py", line 30, in
from graphscope.config import gs_config
File "/workspaces/GraphScope/python/graphscope/config.py", line 29, in
from simple_parsing import ArgumentParser
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/__init__.py", line 4, in
from . import helpers, utils, wrappers
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/__init__.py", line 4, in
from .hparams import HyperParameters
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/hparams/__init__.py", line 2, in
from .hyperparameters import HP, HyperParameters, Point
File "/home/graphscope/.local/lib/python3.10/site-packages/simple_parsing/helpers/hparams/hyperparameters.py", line 16, in
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
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
![image](https://github.com/alibaba/GraphScope/assets/13795366/e90ce825-24f0-407a-93df-74ff43163bd2)

after

![image](https://github.com/alibaba/GraphScope/assets/13795366/8fa968f9-21ae-47a6-9c34-5914b3a4fa8a)

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]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.