Comments (7)
Okay, looks like cgum is the tool found in gumtreediff/cgum. Unfortunately, I couldn't compile that repository to get the cgum binary. I have opened an issue there regarding that. Once I have that binary, to avoid the above error is it sufficient to include the cgum executable in my path?
from gumtree.
Yes you are right!
I believe this should go to the Wiki :)
In which section do you think it would be appropriate?
from gumtree.
On Fri, 19 Aug 2016, Jean-Rémy Falleri wrote:
Yes you are right!
I believe this should go to the Wiki :)
In which section do you think it would be appropriate?
I'm lost. There is a comment in saheel1115's mail about "Unfortunately,
I couldn't compile that repository to get the cgum binary. I have opened
an issue there regarding that." But I don't know how to find the issue
that he opened.
julia
from gumtree.
I believe this is this one : GumTreeDiff/cgum#1
from gumtree.
I was able to install Cgum and successfully parse/diff C files. Thanks!
In which section do you think it would be appropriate?
The Installation section in Getting Started mentions that Gradle is used to manage dependencies. Ideally, Gradle should deal with Cgum internally. If that cannot be done or is a time-consuming task, at the very least we can add a line in the Installation section saying Gumtree/Cgum is a dependency (and that the binary should be in the path) if you want to diff C files.
from gumtree.
I have updated the installation section of the wiki!
from gumtree.
I have added "cgum" to the system path, however, I am still getting the same error. Can someone help me to resolve the error?
java.io.IOException: Cannot run program "cgum" (in directory "/tmp"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.github.gumtreediff.gen.c.CTreeGenerator.generate(CTreeGenerator.java:73)
at com.github.gumtreediff.gen.TreeGenerator.generateFromReader(TreeGenerator.java:37)
at com.github.gumtreediff.gen.TreeGenerator.generateFromFile(TreeGenerator.java:43)
at com.github.gumtreediff.gen.Generators.getTree(Generators.java:43)
at com.github.gumtreediff.client.diff.AbstractDiffClient.getTreeContext(AbstractDiffClient.java:128)
at com.github.gumtreediff.client.diff.AbstractDiffClient.getSrcTreeContext(AbstractDiffClient.java:114)
at com.github.gumtreediff.client.diff.AbstractDiffClient.matchTrees(AbstractDiffClient.java:105)
at com.github.gumtreediff.client.diff.TextDiff.run(TextDiff.java:98)
at com.github.gumtreediff.client.Run.startClient(Run.java:80)
at com.github.gumtreediff.client.Run.main(Run.java:108)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 10 more
** Error while running client diff: java.lang.NullPointerException
from gumtree.
Related Issues (20)
- Customizable label truncation and format for output (dotdiff) HOT 1
- How to view the algorithm execution process
- add known mappings to zsmatcher HOT 1
- Gradle build failed HOT 1
- Empty EditScript from non-empty diff HOT 5
- add support for Go HOT 4
- Feature request: Markdown support HOT 2
- Packaging and build issues
- How to simplify GTD's actions? HOT 1
- Confusing results generated by GTD HOT 2
- Confusion about Move action HOT 1
- Error while running gumtree with textdiff option HOT 16
- 3.0 jdt tree generator does not handle the type arguments of MethodInvocation HOT 4
- No syntax exception raised in some cases for JDT HOT 16
- Order ignored? HOT 3
- Respect .gitignore HOT 9
- `textdiff` has inconsistent range output between formats HOT 3
- Support for renaming files HOT 1
- Docker Image HOT 1
- Reversed left and right in git gd command HOT 1
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 gumtree.