Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run program "git": CreateProcess error=2, The system cannot find the file specified #30

Closed
jmiranda opened this issue Mar 12, 2015 · 1 comment
Labels
type: bug Addresses unintended behaviours of the app

Comments

@jmiranda
Copy link
Member

During build process, we use git to get the latest revision tag. Apparently, we need better error handling when git is not available.

grails.mail.enabled: 'false'
2015-03-12 18:45:58,335 [main] INFO cfg.Environment - Hibernate 3.3.1.GA
2015-03-12 18:45:58,350 [main] INFO cfg.Environment - hibernate.properties not found
2015-03-12 18:45:58,355 [main] INFO cfg.Environment - Bytecode provider name : javassist
2015-03-12 18:45:58,370 [main] INFO cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[copy] Copying 1 file to C:\Users\Hemanth kumar.P\.grails\1.3.7\projects\openboxes-master
2015-03-12 18:46:09,857 [main] INFO warehouse._Events - Setting build date, build number, and revision number ...
2015-03-12 18:46:09,869 [main] ERROR warehouse._Events - Error executing git describe 
java.io.IOException: Cannot run program "git": CreateProcess error=2, The system cannot find the file specified
@jmiranda jmiranda added type: maintenance Code improvements, optimizations and refactors, dependency upgrades... type: bug Addresses unintended behaviours of the app and removed type: maintenance Code improvements, optimizations and refactors, dependency upgrades... labels Sep 10, 2015
@jmiranda
Copy link
Member Author

jmiranda commented Mar 4, 2021

Workaround: Install git

@jmiranda jmiranda closed this as completed Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Addresses unintended behaviours of the app
Projects
None yet
Development

No branches or pull requests

1 participant