-
Hi There When I applied the command: CodeChecker server -w ./ws -v 8555, I met the following error message: Couldn't import module for subcommand 'server'... ignoring. Any idea about it? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
I searched the entire code base, and did not find "codechecker_api_shared" module, can you please advise if it is missed? Thanks |
Beta Was this translation helpful? Give feedback.
-
@lipeng28 There was a huge code refactoring in the v6.12.0 release where we moved the generated thrift API stubs to python/nodejs modules. See: #2570. So # Clear your directory.
make clean
# Create a Python virtualenv and set it as your environment.
make venv # This command will install the codechecker_api_shared module too.
source $PWD/venv/bin/activate
# Build and install a CodeChecker package.
make package
|
Beta Was this translation helpful? Give feedback.
-
@csordasmarton I tried your instructions, however, it does not work. I still met the following error: Thanks |
Beta Was this translation helpful? Give feedback.
-
@lipeng28 Could you please provide us a few more information:
|
Beta Was this translation helpful? Give feedback.
-
OS type and version: MacOS version 10.15.5 git rev-parse HEAD: e59c1b47dd821aed702bf8701d07264fe25b9985 Looks like codechecker-api-shared is installed, however, CodeChecker server does not work fine. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi, Is is possible that the virtualenv is not sourced and the codechecker-api modules are installed on the system level too (v6.27 is an older version)?
I did not found this commit on the master branch:
Best, |
Beta Was this translation helpful? Give feedback.
-
@csordasmarton Thanks |
Beta Was this translation helpful? Give feedback.
Hi,
Is is possible that the virtualenv is not sourced and the codechecker-api modules are installed on the system level too (v6.27 is an older version)?
I did not found this commit on the master branch:
Best,
Gyorgy