:installProject Exception when running example-project
See original GitHub issueI ran gradlew -i build
in the example-project directory and got the following exception.
(Replaced the actual directory with <DIR>
). This only happens when I copy the example-project directory out of the bigger pygradle folder to <DIR>
. If I run the build command when the directory is not moved out of the bigger folder, it works. What am I missing?
Executing task ':installProject' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Install example-project ............................................. [STARTING]
Starting process 'command '<DIR>/example-project/build/venv/bin/python''. Working directory: <DIR>/example-project Command: <DIR>/example-project/build/venv/bin/python <DIR>/example-project/build/venv/bin/pip install --disable-pip-version-check --no-deps --editable <DIR>/example-project
Successfully started process 'command '<DIR>/example-project/build/venv/bin/python''
Obtaining file://<DIR>/example-project
No files/directories in <DIR>/example-project (from PKG-INFO)
:installProject FAILED
:installProject (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.561 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':installProject'.
> Failed to install example-project. Please see above output for reason, or re-run your build using ``ligradle -i build`` for additional logging.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 3.286 secs
The gradle file is
plugins {
id "com.linkedin.python-sdist" version "0.3.9"
}
dependencies {
python 'pypi:requests:2.9.1'
test 'pypi:mock:1.3.0'
}
repositories {
pyGradlePyPi()
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Unhandled exception after installing rebuilt C# project
I'm trying to build/rebuild an old C# project at work which needs to be modernised. It runs as a Windows service. I made...
Read more >Manage exceptions with the debugger in Visual Studio
In the Exception Settings window, select one of the exception categories (for example, Common Language Runtime). Choose the Add an exception to ...
Read more >Introduction to the Build Lifecycle - Apache Maven
For example, a project that is purely metadata (packaging value is pom ) only binds goals to the install and deploy phases (for...
Read more >Download And Installation - Emgu CV: OpenCV in .NET (C# ...
From your project, right click on "References" and select "Manager Nuget Packages..." option. It will open up nuget package manager. In package ...
Read more >Build Lifecycle - Gradle User Manual
gradle -q test Adding test task to project ':project-a' Running tests for project ':project-a'. This example uses method Project.afterEvaluate() to add a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, I know what the issue it, its a doc problem. After you run
generateSetupPy
you need to uncomment the lines at the bottom. I’ll go update the docs to make this more clear.Yep no problem. I’ll close this when the PR gets merged if that’s OK.