Comments (5)
This looks like a bug in grit library, which is used to read out the git commit info.
Are you trying to read an empty directory, or git repo with no commits by any chance?
from bugspots.
The repo has lots of commits (it is my opencover project) and the directory is not empty. It may have sub directories which are empty though - would that cause problems?
from bugspots.
I hope not! It's probably worth opening a bug on the grit repo around this.. If you're familiar with ruby, can you try dropping into irb and try to open the repo, walk over the commits?
https://github.com/mojombo/grit - check out examples in the readme, or take a look at the source in bugspots (which is very, very simple)
from bugspots.
Not exactly sure what is going on here, but it looks like some of the arguments getting passed to git-log when commit.stats
is called are getting messed up. Its hard to tell without being able to reproduce the error. This is definitely a grit issue, but this grit stack trace includes code that is over a year old and has been completely refactored. You might want to try just updating your version of grit and seeing if that fixes the issue.
from bugspots.
Hello,
I got this error not because of the issue #41 in grit, but because grit does not work properly in Windows. Windows separates paths in its environment variable by using semi-colons rather than colons and grit only tokenized on colons. I was going to submit a patch but someone beat me to the punch.
So what I did was run:
git clone https://github.com/Ziaw/grit.git
cd grit
git checkout -b patch-1 origin/patch-1
gem build grit
Then I uninstalled grit and reinstalled the built gem in the folder
Once I did that I was able to run bugspots fine.
from bugspots.
Related Issues (19)
- Integrate better with Git HOT 1
- Add No Merges Option HOT 2
- Should Only Include Files That Still Exist in the Repo HOT 1
- Should Use Last Commit Date not Current Time HOT 3
- rainbow related errors when run with ruby 2.0.0p451 HOT 2
- 0.2.0 does not terminate on itself HOT 2
- 0.2.0 gem specifies no upper limit for rugged version but needs <= 0.19.0 HOT 1
- /usr/bin/bugspots:6:in `require': no such file to load -- bugspots (LoadError) HOT 5
- make error : undefined reference to `xxxxxx'
- Add license HOT 1
- Using depth parameter does not work
- This doesn't support help option and failing on few projects with below Error HOT 2
- This doesn't work with single branch, which is not master HOT 1
- Feature request: Specify a directory that isn't root HOT 1
- Invalid byte code issue HOT 6
- Failure on a few Private Repos
- Stack trace when I run against my repo HOT 7
- Can bugspot be integrated with github
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugspots.