Comments (13)
Name of the main class is SusiServer, made some fixes here: 2693cc9
I always start Susi just with bin/start.sh
from susi_server.
@Orbiter , thanks for the fixes , I pulled your latest commit , however problem is still there . Could it be due to the reason that I'm using a Windows machine ?
In bin/start,sh , I've changed ':' to ';' as class path separator , however , it doesn't work.
from susi_server.
it looks like that ps -o
does not work on cygwin.
from susi_server.
I dont't have a cygwin development environment because I don't have a windows computer. I would like to hand over this issue to someone with a windows/cygwin development environment
from susi_server.
@charany1 Can you try this
START java -Xmx4G -Xms1G -server -XX:+AggressiveOpts -XX:NewSize=512M -cp "classes;lib/*" org.loklak.SusiServer
It should open up a new command line instance running java.
from susi_server.
Should I take this up?
from susi_server.
@sourabhtk37 I am not sure if there's anything in this that needs to be taken up, I am waiting for @charany1 to reply so that we can see what to do next. For me in a cygwin environment it works when I use the command above.
from susi_server.
@sudheesh001 , I tried your command , it said START command not found , however when I omit START , it opens up a new CMD type window , which closes automatically in a second .
That new CMD window shows some ERROR message , before I can figure out what that is , window closes .
Will check back next Thursday , till then Happy Deepawali :)
from susi_server.
@charany1 Run the start command from the Command prompt cmd.exe
instead of cygwin and can you tell me then what happens ?
from susi_server.
Or there's another option, if the build seems to work correctly, do this, execute the jar
ant jar
java -jar dist/loklak.jar
That should run it, loklak.jar
because this file hasn't been edited. https://github.com/fossasia/susi_server/blob/development/build.xml#L131
from susi_server.
I merged #22 please try again
from susi_server.
@Orbiter , I pulled code after your merge #22 .
- On doing
START java -Xmx4G -Xms1G -server -XX:+AggressiveOpts -XX:NewSize=512M -cp "classes;lib/*" org.loklak.SusiServer
from a CMD , a new CMD window opens up with message
` ERROR StatusLogger No log4j2 configuration file found . Using default Configuration : logging only errors to console .
-----plus some other stacktrace which before I can infer , window closes ---------`
- On running
`ant jar
java -jar dist/susiserver.jar
`
Terminal Output :
`C:\Users\danchara\work\foss\susi_server>ant jar
Buildfile: C:\Users\danchara\work\foss\susi_server\build.xml
init:
build:
[delete] Deleting directory C:\Users\danchara\work\foss\susi_server\classes
[mkdir] Created dir: C:\Users\danchara\work\foss\susi_server\classes
[echo] loklak: C:\Users\danchara\work\foss\susi_server\build.xml
[javac] Compiling 121 source files to C:\Users\danchara\work\foss\susi_server\classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[jar] Building jar: C:\Users\danchara\work\foss\susi_server\dist\susiserver.jar
BUILD SUCCESSFUL
Total time: 9 seconds
C:\Users\danchara\work\foss\susi_server>java -jar dist\susiserver.jar
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
java.io.FileNotFoundException: conf\susi\susi_cognition_boilerplate.json.example (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at com.google.common.io.Files$FileByteSource.openStream(Files.java:125)
at com.google.common.io.Files$FileByteSource.openStream(Files.java:115)
at com.google.common.io.ByteSource.copyTo(ByteSource.java:239)
at com.google.common.io.Files.copy(Files.java:305)
at org.loklak.data.DAO.init(DAO.java:105)
at org.loklak.SusiServer.main(SusiServer.java:215)
C:\Users\danchara\work\foss\susi_server>`
from susi_server.
Okay , so above error happened because I was on developent branch which indeed doesn't have susi_cognition_boilerplate.json.example , when I switched to master , and used
`ant jar
java -jar dist/susiserver.jar`
it worked , so I've server running at
Thanks @Orbiter , @sudheesh001 .
I'm closing this for now .
from susi_server.
Related Issues (20)
- SignUp Problem in Android App HOT 2
- Error when ./gradlew build is run
- Get user rating along with feedback
- Add functionality to hide chat with susi button HOT 1
- Some Links Broken HOT 7
- bug: broked badge for deployment to cloud in README
- API to delete a Skill created by the author HOT 1
- StoreDraftService not able to save any draft
- Server error occurs when user's bots are saved
- UserSkillData with zero rating getting passed
- Pass author avatar along with the skills HOT 2
- Potential security problem(s) HOT 3
- Master and Development have diverged
- Travis is not really testing the build
- susi.ai is giving 0c(euro cents) as an answer to some how to ? Questions.
- Builds run for more than 30 minutes
- Make all libraries and fonts run locally and delete external dependencies on API page
- Can't signup for susi.ai HOT 5
- Cannot sign up for the susi ai
- It's dead. Doesn't work hasn't been updated. Delete it!
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 susi_server.