Comments (4)
The test failures are because of a known deprecated dependency on neo4j for some old tests laying around from the joern days. You can safely ignore them. build.sh
does not run tests by default (this is hacky, you can comment out the @test annotations on those tests if you'd rather not do that.)
As far as the installpy change, this is because of how OS X has installed python by default. This fixes it as well:
diff --git a/build.gradle b/build.gradle
index 74ff2a4..3211a21 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,7 @@ allprojects {
task joernTools(type: Exec) {
workingDir './python/joern-tools'
- commandLine 'python3', 'setup.py', 'install', '--user'
+ commandLine 'python3', 'setup.py', 'install'
}
// Copy extensions and plugins into Octopus plugin directory
diff --git a/projects/octopus/build.gradle b/projects/octopus/build.gradle
index 73949ff..cb92c2e 100644
--- a/projects/octopus/build.gradle
+++ b/projects/octopus/build.gradle
@@ -46,12 +46,12 @@ dependencies{
task octopusMlutils(type: Exec) {
workingDir './python/octopus-mlutils'
- commandLine 'python3', 'setup.py', 'install', '--user'
+ commandLine 'python3', 'setup.py', 'install'
}
task octopusTools(type: Exec, dependsOn: octopusMlutils) {
workingDir './python/octopus-tools'
- commandLine 'python3', 'setup.py', 'install', '--user'
+ commandLine 'python3', 'setup.py', 'install'
}
task copyToLib(type: Copy) {
from joern.
Thanks for that! That definitely fixes the python issue. Unfortunately, I still have the failed tests, so they must be an independent problem.
EDIT: Whoops, missed your first bit about the tests. Yes, that makes sense. I'll give that a try.
from joern.
It is, I pressed comment too quickly and went back and edited the reply. The failed tests you're experiencing are an unfortunately expected at this time and can be ignored.
from joern.
Yes! Problem fixed. Everything builds fine when running build.sh. Thank you for your assistance!
from joern.
Related Issues (20)
- joern-plot-proggraph giving back empty dot files HOT 1
- How to map ForStatement named for(;;) to its corresponding InfiniteForNode
- 'sizeof(x)' is parsed differently from 'sizeof x'
- Joern php parser can not be found HOT 7
- query a php code through octopus server..
- Installation issues: javax/transaction/SystemException HOT 5
- Time out error for 1.5G database HOT 2
- .not only works when intersection is non zero HOT 1
- Joern (new version) build fails HOT 1
- Joern supperting PHP analysis build fails HOT 4
- Execution issues HOT 5
- py2neo.error.BadInputException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: ANY for class: Script29
- How to get callees of a function by its funcid?
- No signature of method: queryNodeIndex() HOT 1
- Finding variables that are constructed to be Callee parameters
- Question about unsanitized HOT 1
- how to use the joern-slice tool?
- joern-parse produces garbage content for the node and edge files of some C code snippets
- How to get a full CPG of a function?
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 joern.