Coder Social home page Coder Social logo

fossasia / susi_server Goto Github PK

View Code? Open in Web Editor NEW
2.5K 54.0 1.1K 247.11 MB

SUSI.AI server backend - the Artificial Intelligence server for personal assistants https://susi.ai

License: GNU Lesser General Public License v2.1

Shell 1.04% Scala 0.01% Batchfile 0.01% HTML 7.45% CSS 1.11% JavaScript 2.50% Java 87.53% Dockerfile 0.14% Python 0.01% C++ 0.21%

susi_server's Introduction

SUSI.AI Server

Join the chat at https://gitter.im/fossasia/susi_server Docker Pulls Build Status Percentage of issues still open Average time to resolve an issue Twitter Twitter Follow

SUSI.AI is an intelligent Open Source personal assistant. It is capable of chat and voice interaction by using APIs to perform actions such as music playback, making to-do lists, setting alarms, streaming podcasts, playing audiobooks, and providing weather, traffic, and other real-time information. Additional functionalities can be added as console services using external APIs. SUSI.AI is able to answer questions and depending on the context will ask for additional information in order to perform the desired outcome. The core of the assistant is the SUSI.AI server that holds the "intelligence" and "personality" of SUSI.AI. The Android and web applications make use of the APIs to access information from a hosted server.

Deployments

Development: An automatic deployment from the development branch at GitHub is available for tests at https://susi-server.herokuapp.com

Master: The master branch is planned to be deployed on https://api.susi.ai. Currently, the deployment is taking place each hour at xx.45 using the development branch. We are planning to switch to the Master branch for production soon.

Deployment branches

There are two branches targetting deployment, "dev-dist" and "stable-dist". The former is intended to be used in conjunction with the development versions of "susi_linux", while the later with the stable (from the "master" branch). These two branches are currently updated manually from "susi_server_binary_latest.tar.gz" (see below), but future integration will update "dev-dist" regularly.

Communication

Please join our mailing list to discuss questions regarding the project: https://groups.google.com/forum/#!forum/opntec-dev/

Our chat channel is on gitter here: https://gitter.im/fossasia/susi_server

How do I install Susi: Download, Build, Run

Note

  • You must be logged in to Docker Cloud for the button to work correctly. If you are not logged in, you'll see a 404 error instead.

Deploy on Scalingo Deploy to Docker Cloud Deploy to Azure

At this time, SUSI.AI is not provided in the compiled form, you easily build it yourself. It's not difficult and done in one minute! The source code is hosted at https://github.com/fossasia/susi_server, you can download it and run SUSI.AI with (Before installation you must have "Java Development Kit" latest version at http://openjdk.java.net/install/ & "Gradle" latest version at https://gradle.org/install/):

Note

  • For Armv6 processors (e.g. Raspberry Pi Zero / Zero W/ Zero WH/ 1A / 1B), please make sure that your system is using Java 8 (Oracle or OpenJDK) as there are some compatibility issues for Armv6 processors.
  • You may use the following command to install OpenJDK's Java 8 JRE and JDK:
> sudo apt install openjdk-8-jdk-headless
> git clone https://github.com/fossasia/susi_server.git
> cd susi_server
> ./gradlew build
> bin/start.sh

For Windows Users (who are using GitBash/Cygwin or any terminal):

> git clone https://github.com/fossasia/susi_server.git
> cd susi_server
> git checkout master
> ant jar
> java -jar dist/susiserver.jar
> git checkout development
> ant jar
> java -jar dist/susiserver.jar
To stop:
> Press Ctrl+C

After all server processes are running, SUSI.AI tries to open a browser page itself. If that does not happen, just open http://localhost:4000; if you made the installation on a headless or remote server, then replace 'localhost' with your server name.

To stop SUSI.AI, run: (this will block until the server has actually terminated)

> bin/stop.sh

A self-upgrading process is available which must be triggered by a shell command. Just run:

> bin/upgrade.sh

Where can I download ready-built releases of SUSI.AI?

The latest binary built can be downloaded from http://download.susi.ai/susi_server/susi_server_binary_latest.tar.gz

To run susi, do: tar xfz susi_server_binary_latest.tar.gz cd susi_server_binary_latest java -server -Xmx200m -jar build/libs/susi_server-all.jar

How do I install SUSI.AI with Docker on Google Cloud?

To install SUSI.AI with Docker on Google Cloud please refer to the Susi Docker installation readme.

How do I install SUSI.AI with Docker on AWS?

To install SUSI.AI with Docker on AWS please refer to the Susi Docker installation readme.

How do I install SUSI.AI with Docker on Bluemix?

To install SUSI.AI with Docker on Bluemix please refer to the Susi Docker installation readme.

How do I install SUSI.AI with Docker on Microsoft Azure?

To install SUSI.AI with Docker on Azure please refer to the Susi Docker installation readme.

How do I install SUSI.AI with Docker on Digital Ocean?

To install SUSI.AI with Docker on Digital Ocean please refer to the Susi Docker installation readme.

How do I deploy SUSI.AI with Heroku?

You can easily deploy to Heroku by clicking the Deploy to Heroku button above. To install SUSI.AI using Heroku Toolbelt, please refer to the Susi Heroku installation readme.

How do I deploy SUSI.AI with cloud9?

To install SUSI.AI with cloud9 please refer to the Susi cloud9 installation readme.

How do I setup SUSI.AI on Eclipse?

To install SUSI.AI on Eclipse, please refer to the Susi Eclipse readme.

How to setup auto deployment to a VPS using travis

To auto deploy SUSI.AI to a VPS using travis, please refer to the readme file.

How do I run SUSI.AI?

  • build Susi (you need to do this only once, see above)
  • run bin/start.sh
  • open http://localhost:4000 in your browser
  • to shut down Susi, run bin/stop.sh

How do I configure SUSI.AI?

The basis configuration file is in conf/config.properties. To customize these settings place a file customized_config.properties to the path data/settings/

How to compile using Gradle?

  • To install Gradle on Ubuntu:

    $ sudo add-apt-repository ppa:cwchien/gradle
    $ sudo apt-get update
    $ sudo apt-get install gradle
    
  • To install Gradle on Mac OS X with homebrew

    brew install gradle
    
  • To compile, first, create dir necessary for Gradle

    ./gradle_init.sh
    

    Compile the source to classes and a jar file

    gradle assemble
    

    The compiled file can be found in build dir Last, clean up so that we can still build the project using Ant

    ./gradle_clean.sh
    

How do I develop Skills (AI Conversation Rules) for SUSI.AI?

The SUSI.AI skill language is described in the Skill Development Tutorial.

How to utilize Susi skill data in SUSI.AI server?

If you simply want to add your skill to the SUSI.AI online service, please go to https://skills.susi.ai and add your skill.

For your own deployments: The Susi skill data is the storage place for the Susi skills. To make Susi server utilize these skills, clone Susi skill data alongside Susi server.

git clone https://github.com/fossasia/susi_skill_data.git

If you want to create private skills in your local server, you should create a local git repository susi_private_skill_data alongside Susi server. Then you must create a local git host:

> cd <above susi home>
> mkdir susi_private_skill_data_host
> cd susi_private_skill_data_host
> git init —bare
> cd ../susi_private_skill_data
> git remote add origin <path to susi_private_skill_data_host>
> git push --set-upstream origin master

Why should I use SUSI.AI?

If you like to create your own AI, then you may consider SUSI.AI.

Where can I find API documentation?

The Documentation can be found here.

Where do I find the javadocs?

You can build them via 'ant javadoc'

Where can I report bugs and make feature requests?

This project is considered a community work. The development team consists of you too. We are very thankful for the pull request. So if you discovered that something can be enhanced, please do it yourself and make a pull request. If you find a bug, please try to fix it. If you report a bug to us, We will possibly consider it but at the very end of a giant, always growing heap of work. The best chance for you to get things done is to try it yourself. Our issue tracker is here.

What is the Development Workflow?

Fixing issues

Step 1: Pick an issue to fix

After selecting the issue

  1. Comment on the issue saying you are working on the issue.
  2. We expect you to discuss the approach either by commenting or on Gitter Chat.
  3. Updates or progress on the issue would be nice.

Step 2: Branch policy

Start off from your development branch and make sure it is up-to-date with the latest version of the committer repo's development branch. Make sure you are working in development branch only. git pull upstream development

If you have not added upstream follow the steps given here.

Step 3: Coding Policy

  • Please help us follow the best practice to make it easy for the reviewer as well as the contributor. We want to focus on the code quality more than on managing pull request ethics.
  • Single commit per pull request
  • For writing commit messages please adhere to the Commit style guidelines.
  • Follow uniform design practices. The design language must be consistent throughout the app.
  • The pull request will not get merged until and unless the commits are squashed. In case there are multiple commits on the PR, the commit author needs to squash them and not the maintainers cherry-picking and merging squashes.
  • If you don't know what does squashing of commits is read from here.
  • If the PR is related to any front end change, please attach relevant screenshots in the pull request description

Step 4: Submitting a PR

Once a PR is opened, try and complete it within 2 weeks, or at least stay actively working on it. Inactivity for a long period may necessitate a closure of the PR. As mentioned earlier updates would be nice.

Step 5: Code Review

Your code will be reviewed, in this sequence, by:

  • Travis CI: by building and running tests. If there are failed tests, the build will be marked as a failure. You can consult the CI log to find which tests. Ensure that all tests pass before triggering another build.
  • The CI log will also contain the command that will enable running the failed tests locally.
  • Reviewer: A core team member will be assigned to the PR as its reviewer, who will approve your PR or he will suggest changes.

What is the software license?

LGPL 2.1

susi_server's People

Contributors

akshat-jain avatar akshatnitd avatar anupkumarpanwar avatar chiragw15 avatar daminisatya avatar dengyiping avatar dravitlochan avatar dynamitechetan avatar fluepke avatar fragm3 avatar harsh-jindal avatar iamareebjamal avatar jigyasa-grover avatar laughing-boy avatar leonmak avatar mariobehling avatar norbusan avatar orbiter avatar rmader avatar sakshee-19 avatar saurabhjn76 avatar sevazhidkov avatar shivenmian avatar sudheesh001 avatar thatdns avatar uday96 avatar yashasvi128 avatar yasoob avatar yukiisbored avatar zyzo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

susi_server's Issues

Arithmetic of numbers are not correct in http://api.asksusi.com but in localhost all working fine

Actual Behavior
Ask: 5+3
Response: Love you guys <3 that stream was awesome lol

Expected Behavior
Ask: 5+3
Response: 8

API Console
{
"query": "5+3",
"client_id": "aG9zdF8xMDEuNjMuMjUzLjkx",
"query_date": "2016-12-28T20:22:56.720Z",
"answer_date": "2016-12-28T20:22:59.394Z",
"answer_time": 2674,
"count": 1,
"answers": [{
"data": [
{
"text": "Love you guys <3 that stream was awesome lol",
"0": "5+3",
"1": "5+3",
"timezoneOffset": "-330"
},
{"text": "3 mins and you will see the fire"},
{"text": "I love you! <3"},
{"text": "1K!!! THE BIG 1K!! :O thank you all <3"},
{"text": "Day 5 of avoiding Passengers spoilers 🚀: UNSUCCESSFUL 😡 thank you twitter"},
{"text": "Niggas really want you to believe Drakengard 3 is not a broken game"},
{"text": "atla[5] i love you <3"},
{"text": "|| <3 Love you too, Anna Banana"},
{"text": "did you know there are at least 3 fics of "dio/bread"? well, now you do"},
{"text": ""Congratulations Team Fortress 3 on best debut" I love you, Jeff Gerstmann"},
{"text": "【時報】おはようございます☀5:00になりました。YOU ARE MY HEROにログインしましょう!"},
{"text": ""so what did you do in the 3 weeks off?" oh you know, absolutely nothing"},
{"text": "When your toddler headbutts you.. 5 times.. in 2 hours 🙃"},
{"text": "My SFV boycott continues. No Sagat, no Jerz. See you season 3."},
{"text": "2k17 😀😀😀 3 hari lagi. 2k16 thank you for all sweet sour memories ."},
{"text": "Rest in peace Carrie Fisher, you will be missed greatly <3"},
{"text": "3. lame jokes & puns i mean DADS. that's what they do best i tell you 😂"},
{"text": "JIA// 3 MONTHS NALAMG KULITAN NA ULE SA BAKASYON 😂HAHAHAHAHA MISS YOU💖"},
{"text": "you know you're out of shape when your mile drops from 4:58 to 5:45"}
],
"metadata": {"count": 19},
"actions": [{
"type": "answer",
"expression": "Love you guys <3 that stream was awesome lol"
}]
}],
"session": {"identity": {
"type": "host",
"name": "",
"anonymous": true
}}
}

Universal Build System, Platform Independent Setup Instructions and Repository Cleanup

@mariobehling @daminisatya @Orbiter
I am working on to migrate the whole project build from ant to gradle based solution completely which would simplify lot of things for environment setup. Instead of having separate setup instructions for Windows, Mac and Linux, we can have a universal system, which works on any environment with least setup, all the user needs is gradle and jdk, thats it...
then the user would need to run only two commands on any environment..
gradle build && gradle run
and all the dependencies would also be resolved through maven which can be configured through gradle... which would further reduce the repository size.., where as the current solution has many jar files which are being referenced through gradle and ant build file...
and the jar files alone occupies at least 30mb.... and the setup instructions are also too fragmented and not very clear, after implementing this it would reduce the repository size, and also the builds will be platform independent and easy to set up.

I would be able to complete this task in a week or two if everything goes well...

Add Private API key

@mariobehling Will you please run this command on your system to remove travis errors.

travis encrypt $(heroku auth:token) --add deploy.api_key

This is a reason why travis build is failing.

Travis builds and Heroku are failing

Travis logs below.

https://s3.amazonaws.com/archive.travis-ci.org/jobs/188168425/log.txt

travis_fold:start:worker_info
�[0K�[33;1mWorker information�[0m
hostname: ip-10-12-11-188:bca33071-ea42-4a82-aab2-ef2fc161173f
version: v2.5.0-8-g19ea9c2 https://github.com/travis-ci/worker/tree/19ea9c20425c78100500c7cc935892b47024922c
instance: 7a20776:travis:java
startup: 534.583807ms
travis_fold:end:worker_info
�[0Ktravis_fold:start:system_info
�[0K�[33;1mBuild system information�[0m
Build language: java
Build group: stable
Build dist: precise
Build id: 188168424
Job id: 188168425
travis-build version: 7cac7d393
�[34m�[1mBuild image provisioning date and time�[0m
Thu Feb 5 15:09:33 UTC 2015
�[34m�[1mOperating System Details�[0m
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
�[34m�[1mLinux Version�[0m
3.13.0-29-generic
�[34m�[1mCookbooks Version�[0m
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
�[34m�[1mGCC version�[0m
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

�[34m�[1mLLVM version�[0m
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
�[34m�[1mPre-installed Ruby versions�[0m
ruby-1.9.3-p551
�[34m�[1mPre-installed Node.js versions�[0m
v0.10.36
�[34m�[1mPre-installed Go versions�[0m
1.4.1
�[34m�[1mRedis version�[0m
redis-server 2.8.19
�[34m�[1mriak version�[0m
2.0.2
�[34m�[1mMongoDB version�[0m
MongoDB 2.4.12
�[34m�[1mCouchDB version�[0m
couchdb 1.6.1
�[34m�[1mNeo4j version�[0m
1.9.4
�[34m�[1mRabbitMQ Version�[0m
3.4.3
�[34m�[1mElasticSearch version�[0m
1.4.0
�[34m�[1mInstalled Sphinx versions�[0m
2.0.10
2.1.9
2.2.6
�[34m�[1mDefault Sphinx version�[0m
2.2.6
�[34m�[1mInstalled Firefox version�[0m
firefox 31.0esr
�[34m�[1mPhantomJS version�[0m
1.9.8
�[34m�[1mant -version�[0m
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
�[34m�[1mmvn -version�[0m
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
travis_fold:end:system_info
�[0K
travis_fold:start:fix.CVE-2015-7547
�[0K$ export DEBIAN_FRONTEND=noninteractive
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages.gz is not what the server reported 19576 20785
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages.gz is not what the server reported 19521 20707
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources.gz is not what the server reported 5886 5888
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_travis-ci_zero-mq_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 832 1195
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 33653 36677
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-i386_Packages.gz is not what the server reported 33699 36733
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-amd64_Packages.gz is not what the server reported 13782 14904
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages.gz is not what the server reported 13751 14885
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libc-bin libc-dev-bin libc6-dev
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 267 not upgraded.
Need to get 8,840 kB of archives.
After this operation, 14.3 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.15 [2,943 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.15 [84.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.15 [1,177 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.15 [4,636 kB]
Fetched 8,840 kB in 0s (36.3 MB/s)
Preconfiguring packages ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 72019 files and directories currently installed.)
Preparing to replace libc6-dev 2.15-0ubuntu10.10 (using .../libc6-dev_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-dev-bin 2.15-0ubuntu10.10 (using .../libc-dev-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.10 (using .../libc-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.15) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 72018 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.10 (using .../libc6_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.15) ...
Setting up libc-dev-bin (2.15-0ubuntu10.15) ...
Setting up libc6-dev (2.15-0ubuntu10.15) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
travis_fold:end:fix.CVE-2015-7547
�[0Ktravis_fold:start:git.checkout
�[0Ktravis_time:start:069ae1e6
�[0K$ git clone --depth=50 --branch=development https://github.com/fossasia/susi_server.git fossasia/susi_server
Cloning into 'fossasia/susi_server'...
remote: Counting objects: 1126, done.�[K
remote: Compressing objects: 0% (1/623) �[K
remote: Compressing objects: 1% (7/623) �[K
remote: Compressing objects: 2% (13/623) �[K
remote: Compressing objects: 3% (19/623) �[K
remote: Compressing objects: 4% (25/623) �[K
remote: Compressing objects: 5% (32/623) �[K
remote: Compressing objects: 6% (38/623) �[K
remote: Compressing objects: 7% (44/623) �[K
remote: Compressing objects: 8% (50/623) �[K
remote: Compressing objects: 9% (57/623) �[K
remote: Compressing objects: 10% (63/623) �[K
remote: Compressing objects: 11% (69/623) �[K
remote: Compressing objects: 12% (75/623) �[K
remote: Compressing objects: 13% (81/623) �[K
remote: Compressing objects: 14% (88/623) �[K
remote: Compressing objects: 15% (94/623) �[K
remote: Compressing objects: 16% (100/623) �[K
remote: Compressing objects: 17% (106/623) �[K
remote: Compressing objects: 18% (113/623) �[K
remote: Compressing objects: 19% (119/623) �[K
remote: Compressing objects: 20% (125/623) �[K
remote: Compressing objects: 21% (131/623) �[K
remote: Compressing objects: 22% (138/623) �[K
remote: Compressing objects: 23% (144/623) �[K
remote: Compressing objects: 24% (150/623) �[K
remote: Compressing objects: 25% (156/623) �[K
remote: Compressing objects: 26% (162/623) �[K
remote: Compressing objects: 27% (169/623) �[K
remote: Compressing objects: 28% (175/623) �[K
remote: Compressing objects: 29% (181/623) �[K
remote: Compressing objects: 30% (187/623) �[K
remote: Compressing objects: 31% (194/623) �[K
remote: Compressing objects: 32% (200/623) �[K
remote: Compressing objects: 33% (206/623) �[K
remote: Compressing objects: 34% (212/623) �[K
remote: Compressing objects: 35% (219/623) �[K
remote: Compressing objects: 36% (225/623) �[K
remote: Compressing objects: 37% (231/623) �[K
remote: Compressing objects: 38% (237/623) �[K
remote: Compressing objects: 39% (243/623) �[K
remote: Compressing objects: 40% (250/623) �[K
remote: Compressing objects: 41% (256/623) �[K
remote: Compressing objects: 42% (262/623) �[K
remote: Compressing objects: 43% (268/623) �[K
remote: Compressing objects: 44% (275/623) �[K
remote: Compressing objects: 45% (281/623) �[K
remote: Compressing objects: 46% (287/623) �[K
remote: Compressing objects: 47% (293/623) �[K
remote: Compressing objects: 48% (300/623) �[K
remote: Compressing objects: 49% (306/623) �[K
remote: Compressing objects: 50% (312/623) �[K
remote: Compressing objects: 51% (318/623) �[K
remote: Compressing objects: 52% (324/623) �[K
remote: Compressing objects: 53% (331/623) �[K
remote: Compressing objects: 54% (337/623) �[K
remote: Compressing objects: 55% (343/623) �[K
remote: Compressing objects: 56% (349/623) �[K
remote: Compressing objects: 57% (356/623) �[K
remote: Compressing objects: 58% (362/623) �[K
remote: Compressing objects: 59% (368/623) �[K
remote: Compressing objects: 60% (374/623) �[K
remote: Compressing objects: 61% (381/623) �[K
remote: Compressing objects: 62% (387/623) �[K
remote: Compressing objects: 63% (393/623) �[K
remote: Compressing objects: 64% (399/623) �[K
remote: Compressing objects: 65% (405/623) �[K
remote: Compressing objects: 66% (412/623) �[K
remote: Compressing objects: 67% (418/623) �[K
remote: Compressing objects: 68% (424/623) �[K
remote: Compressing objects: 69% (430/623) �[K
remote: Compressing objects: 70% (437/623) �[K
remote: Compressing objects: 71% (443/623) �[K
remote: Compressing objects: 72% (449/623) �[K
remote: Compressing objects: 73% (455/623) �[K
remote: Compressing objects: 74% (462/623) �[K
remote: Compressing objects: 75% (468/623) �[K
remote: Compressing objects: 76% (474/623) �[K
remote: Compressing objects: 77% (480/623) �[K
remote: Compressing objects: 78% (486/623) �[K
remote: Compressing objects: 79% (493/623) �[K
remote: Compressing objects: 80% (499/623) �[K
remote: Compressing objects: 81% (505/623) �[K
remote: Compressing objects: 82% (511/623) �[K
remote: Compressing objects: 83% (518/623) �[K
remote: Compressing objects: 84% (524/623) �[K
remote: Compressing objects: 85% (530/623) �[K
remote: Compressing objects: 86% (536/623) �[K
remote: Compressing objects: 87% (543/623) �[K
remote: Compressing objects: 88% (549/623) �[K
remote: Compressing objects: 89% (555/623) �[K
remote: Compressing objects: 90% (561/623) �[K
remote: Compressing objects: 91% (567/623) �[K
remote: Compressing objects: 92% (574/623) �[K
remote: Compressing objects: 93% (580/623) �[K
remote: Compressing objects: 94% (586/623) �[K
remote: Compressing objects: 95% (592/623) �[K
remote: Compressing objects: 96% (599/623) �[K
remote: Compressing objects: 97% (605/623) �[K
remote: Compressing objects: 98% (611/623) �[K
remote: Compressing objects: 99% (617/623) �[K
remote: Compressing objects: 100% (623/623) �[K
remote: Compressing objects: 100% (623/623), done.�[K
Receiving objects: 0% (1/1126)
Receiving objects: 1% (12/1126)
Receiving objects: 2% (23/1126)
Receiving objects: 3% (34/1126)
Receiving objects: 4% (46/1126)
Receiving objects: 5% (57/1126)
Receiving objects: 6% (68/1126)
Receiving objects: 7% (79/1126)
Receiving objects: 8% (91/1126)
Receiving objects: 9% (102/1126)
Receiving objects: 10% (113/1126)
Receiving objects: 11% (124/1126)
Receiving objects: 12% (136/1126)
Receiving objects: 13% (147/1126)
Receiving objects: 14% (158/1126)
Receiving objects: 15% (169/1126)
Receiving objects: 16% (181/1126)
Receiving objects: 17% (192/1126)
Receiving objects: 18% (203/1126)
Receiving objects: 19% (214/1126)
Receiving objects: 20% (226/1126)
Receiving objects: 21% (237/1126)
Receiving objects: 22% (248/1126)
Receiving objects: 23% (259/1126)
Receiving objects: 24% (271/1126)
Receiving objects: 25% (282/1126)
Receiving objects: 26% (293/1126)
Receiving objects: 27% (305/1126)
Receiving objects: 28% (316/1126)
Receiving objects: 29% (327/1126)
Receiving objects: 30% (338/1126)
Receiving objects: 31% (350/1126)
Receiving objects: 32% (361/1126)
Receiving objects: 33% (372/1126)
Receiving objects: 34% (383/1126)
Receiving objects: 35% (395/1126), 10.58 MiB | 21.11 MiB/s
Receiving objects: 36% (406/1126), 10.58 MiB | 21.11 MiB/s
Receiving objects: 36% (409/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 37% (417/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 38% (428/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 39% (440/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 40% (451/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 41% (462/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 42% (473/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 43% (485/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 44% (496/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 45% (507/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 46% (518/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 47% (530/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 48% (541/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 49% (552/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 50% (563/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 51% (575/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 52% (586/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 53% (597/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 54% (609/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 55% (620/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 56% (631/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 57% (642/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 58% (654/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 59% (665/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 60% (676/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 61% (687/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 62% (699/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 63% (710/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 64% (721/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 65% (732/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 66% (744/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 67% (755/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 68% (766/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 69% (777/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 70% (789/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 71% (800/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 72% (811/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 73% (822/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 74% (834/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 75% (845/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 76% (856/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 77% (868/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 78% (879/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 79% (890/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 80% (901/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 81% (913/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 82% (924/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 83% (935/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 84% (946/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 85% (958/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 86% (969/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 87% (980/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 88% (991/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 89% (1003/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 90% (1014/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 91% (1025/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 92% (1036/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 93% (1048/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 94% (1059/1126), 22.73 MiB | 22.68 MiB/s
remote: Total 1126 (delta 528), reused 905 (delta 431), pack-reused 0�[K
Receiving objects: 95% (1070/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 96% (1081/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 97% (1093/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 98% (1104/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 99% (1115/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 100% (1126/1126), 22.73 MiB | 22.68 MiB/s
Receiving objects: 100% (1126/1126), 27.02 MiB | 22.68 MiB/s, done.
Resolving deltas: 0% (0/528)
Resolving deltas: 3% (16/528)
Resolving deltas: 4% (22/528)
Resolving deltas: 5% (28/528)
Resolving deltas: 6% (36/528)
Resolving deltas: 7% (39/528)
Resolving deltas: 17% (90/528)
Resolving deltas: 20% (106/528)
Resolving deltas: 21% (115/528)
Resolving deltas: 27% (143/528)
Resolving deltas: 28% (148/528)
Resolving deltas: 29% (155/528)
Resolving deltas: 30% (161/528)
Resolving deltas: 32% (169/528)
Resolving deltas: 33% (175/528)
Resolving deltas: 34% (182/528)
Resolving deltas: 35% (186/528)
Resolving deltas: 36% (195/528)
Resolving deltas: 37% (197/528)
Resolving deltas: 39% (208/528)
Resolving deltas: 40% (213/528)
Resolving deltas: 41% (218/528)
Resolving deltas: 42% (222/528)
Resolving deltas: 43% (228/528)
Resolving deltas: 44% (236/528)
Resolving deltas: 45% (239/528)
Resolving deltas: 46% (243/528)
Resolving deltas: 47% (251/528)
Resolving deltas: 48% (254/528)
Resolving deltas: 49% (259/528)
Resolving deltas: 51% (272/528)
Resolving deltas: 52% (277/528)
Resolving deltas: 53% (281/528)
Resolving deltas: 54% (288/528)
Resolving deltas: 56% (296/528)
Resolving deltas: 57% (302/528)
Resolving deltas: 58% (308/528)
Resolving deltas: 59% (312/528)
Resolving deltas: 60% (320/528)
Resolving deltas: 61% (326/528)
Resolving deltas: 62% (328/528)
Resolving deltas: 63% (333/528)
Resolving deltas: 64% (340/528)
Resolving deltas: 65% (344/528)
Resolving deltas: 66% (350/528)
Resolving deltas: 67% (355/528)
Resolving deltas: 68% (363/528)
Resolving deltas: 70% (374/528)
Resolving deltas: 71% (377/528)
Resolving deltas: 72% (382/528)
Resolving deltas: 74% (394/528)
Resolving deltas: 77% (411/528)
Resolving deltas: 80% (426/528)
Resolving deltas: 82% (436/528)
Resolving deltas: 83% (440/528)
Resolving deltas: 84% (445/528)
Resolving deltas: 85% (451/528)
Resolving deltas: 86% (459/528)
Resolving deltas: 87% (460/528)
Resolving deltas: 88% (465/528)
Resolving deltas: 89% (472/528)
Resolving deltas: 90% (477/528)
Resolving deltas: 91% (482/528)
Resolving deltas: 92% (486/528)
Resolving deltas: 93% (493/528)
Resolving deltas: 94% (499/528)
Resolving deltas: 95% (503/528)
Resolving deltas: 96% (507/528)
Resolving deltas: 100% (528/528)
Resolving deltas: 100% (528/528), done.
Checking connectivity... done.

travis_time:end:069ae1e6:start=1483332843648361488,finish=1483332845512667056,duration=1864305568
�[0K$ cd fossasia/susi_server
$ git checkout -qf 8b93d70
travis_fold:end:git.checkout
�[0K
�[33;1mThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.�[0m
�[33;1mIf you require sudo, add 'sudo: required' to your .travis.yml�[0m
�[33;1mSee https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.�[0m
$ jdk_switcher use oraclejdk8
Switching to Oracle JDK8 (java-8-oracle), JAVA_HOME will be set to /usr/lib/jvm/java-8-oracle
$ export TERM=dumb
$ java -Xmx32m -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
$ javac -J-Xmx32m -version
javac 1.8.0_31
travis_fold:start:install
�[0Ktravis_time:start:00cadb0e
�[0K$ true

travis_time:end:00cadb0e:start=1483332848397554860,finish=1483332848401261497,duration=3706637
�[0Ktravis_fold:end:install
�[0Ktravis_fold:start:before_script
�[0Ktravis_time:start:2665c1df
�[0K$ pip install --user codecov
�[33mYou are using pip version 6.0.8, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.�[0m
Collecting codecov
Downloading codecov-2.0.5-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from codecov)
Collecting coverage (from codecov)
Downloading coverage-4.3.1.tar.gz (372kB)
�[?25l
�[K 1% | | 4.1kB 38.6MB/s eta 0:00:01
�[K 2% | | 8.2kB 32.0MB/s eta 0:00:01
�[K 3% |# | 12kB 29.1MB/s eta 0:00:01
�[K 4% |# | 16kB 9.1MB/s eta 0:00:01
�[K 5% |# | 20kB 10.6MB/s eta 0:00:01
�[K 6% |## | 24kB 11.8MB/s eta 0:00:01
�[K 7% |## | 28kB 13.1MB/s eta 0:00:01
�[K 8% |## | 32kB 7.4MB/s eta 0:00:01
�[K 9% |### | 36kB 8.1MB/s eta 0:00:01
�[K 11% |### | 40kB 8.8MB/s eta 0:00:01
�[K 12% |### | 45kB 8.8MB/s eta 0:00:01
�[K 13% |#### | 49kB 7.6MB/s eta 0:00:01
�[K 14% |#### | 53kB 7.6MB/s eta 0:00:01
�[K 15% |#### | 57kB 10.0MB/s eta 0:00:01
�[K 16% |##### | 61kB 10.0MB/s eta 0:00:01
�[K 17% |##### | 65kB 7.2MB/s eta 0:00:01
�[K 18% |##### | 69kB 7.2MB/s eta 0:00:01
�[K 19% |###### | 73kB 11.5MB/s eta 0:00:01
�[K 20% |###### | 77kB 11.6MB/s eta 0:00:01
�[K 22% |####### | 81kB 8.5MB/s eta 0:00:01
�[K 23% |####### | 86kB 8.5MB/s eta 0:00:01
�[K 24% |####### | 90kB 10.1MB/s eta 0:00:01
�[K 25% |######## | 94kB 10.1MB/s eta 0:00:01
�[K 26% |######## | 98kB 8.7MB/s eta 0:00:01
�[K 27% |######## | 102kB 8.7MB/s eta 0:00:01
�[K 28% |######### | 106kB 13.2MB/s eta 0:00:01
�[K 29% |######### | 110kB 13.3MB/s eta 0:00:01
�[K 30% |######### | 114kB 10.7MB/s eta 0:00:01
�[K 31% |########## | 118kB 10.7MB/s eta 0:00:01
�[K 33% |########## | 122kB 16.2MB/s eta 0:00:01
�[K 34% |########## | 126kB 16.3MB/s eta 0:00:01
�[K 35% |########### | 131kB 10.7MB/s eta 0:00:01
�[K 36% |########### | 135kB 10.7MB/s eta 0:00:01
�[K 37% |########### | 139kB 13.0MB/s eta 0:00:01
�[K 38% |############ | 143kB 13.1MB/s eta 0:00:01
�[K 39% |############ | 147kB 10.3MB/s eta 0:00:01
�[K 40% |############# | 151kB 10.3MB/s eta 0:00:01
�[K 41% |############# | 155kB 12.7MB/s eta 0:00:01
�[K 42% |############# | 159kB 12.7MB/s eta 0:00:01
�[K 44% |############## | 163kB 11.4MB/s eta 0:00:01
�[K 45% |############## | 167kB 11.4MB/s eta 0:00:01
�[K 46% |############## | 172kB 18.4MB/s eta 0:00:01
�[K 47% |############### | 176kB 18.5MB/s eta 0:00:01
�[K 48% |############### | 180kB 12.5MB/s eta 0:00:01
�[K 49% |############### | 184kB 12.5MB/s eta 0:00:01
�[K 50% |################ | 188kB 16.7MB/s eta 0:00:01
�[K 51% |################ | 192kB 16.8MB/s eta 0:00:01
�[K 52% |################ | 196kB 14.9MB/s eta 0:00:01
�[K 53% |################# | 200kB 14.7MB/s eta 0:00:01
�[K 55% |################# | 204kB 16.6MB/s eta 0:00:01
�[K 56% |################# | 208kB 16.7MB/s eta 0:00:01
�[K 57% |################## | 212kB 13.9MB/s eta 0:00:01
�[K 58% |################## | 217kB 13.9MB/s eta 0:00:01
�[K 59% |################### | 221kB 21.6MB/s eta 0:00:01
�[K 60% |################### | 225kB 21.6MB/s eta 0:00:01
�[K 61% |################### | 229kB 18.5MB/s eta 0:00:01
�[K 62% |#################### | 233kB 18.5MB/s eta 0:00:01
�[K 63% |#################### | 237kB 21.4MB/s eta 0:00:01
�[K 64% |#################### | 241kB 21.5MB/s eta 0:00:01
�[K 66% |##################### | 245kB 16.0MB/s eta 0:00:01
�[K 67% |##################### | 249kB 15.7MB/s eta 0:00:01
�[K 68% |##################### | 253kB 19.3MB/s eta 0:00:01
�[K 69% |###################### | 258kB 19.4MB/s eta 0:00:01
�[K 70% |###################### | 262kB 17.0MB/s eta 0:00:01
�[K 71% |###################### | 266kB 16.9MB/s eta 0:00:01
�[K 72% |####################### | 270kB 19.5MB/s eta 0:00:01
�[K 73% |####################### | 274kB 19.5MB/s eta 0:00:01
�[K 74% |####################### | 278kB 15.7MB/s eta 0:00:01
�[K 75% |######################## | 282kB 15.8MB/s eta 0:00:01
�[K 77% |######################## | 286kB 21.7MB/s eta 0:00:01
�[K 78% |######################### | 290kB 22.2MB/s eta 0:00:01
�[K 79% |######################### | 294kB 20.4MB/s eta 0:00:01
�[K 80% |######################### | 299kB 20.0MB/s eta 0:00:01
�[K 81% |########################## | 303kB 23.4MB/s eta 0:00:01
�[K 82% |########################## | 307kB 23.6MB/s eta 0:00:01
�[K 83% |########################## | 311kB 19.9MB/s eta 0:00:01
�[K 84% |########################### | 315kB 19.5MB/s eta 0:00:01
�[K 85% |########################### | 319kB 25.7MB/s eta 0:00:01
�[K 86% |########################### | 323kB 26.0MB/s eta 0:00:01
�[K 88% |############################ | 327kB 21.0MB/s eta 0:00:01
�[K 89% |############################ | 331kB 20.3MB/s eta 0:00:01
�[K 90% |############################ | 335kB 21.7MB/s eta 0:00:01
�[K 91% |############################# | 339kB 22.0MB/s eta 0:00:01
�[K 92% |############################# | 344kB 19.6MB/s eta 0:00:01
�[K 93% |############################# | 348kB 19.2MB/s eta 0:00:01
�[K 94% |############################## | 352kB 22.6MB/s eta 0:00:01
�[K 95% |############################## | 356kB 23.1MB/s eta 0:00:01
�[K 96% |############################## | 360kB 20.1MB/s eta 0:00:01
�[K 97% |############################### | 364kB 19.7MB/s eta 0:00:01
�[K 99% |############################### | 368kB 24.0MB/s eta 0:00:01
�[K 100% |################################| 372kB 1.4MB/s
�[?25hCollecting requests>=2.0.0 (from codecov)
Downloading requests-2.12.4-py2.py3-none-any.whl (576kB)
�[?25l
�[K 0% | | 4.1kB 22.9MB/s eta 0:00:01
�[K 1% | | 8.2kB 24.8MB/s eta 0:00:01
�[K 2% | | 12kB 27.6MB/s eta 0:00:01
�[K 2% | | 16kB 30.2MB/s eta 0:00:01
�[K 3% |# | 20kB 28.9MB/s eta 0:00:01
�[K 4% |# | 24kB 30.5MB/s eta 0:00:01
�[K 4% |# | 28kB 31.4MB/s eta 0:00:01
�[K 5% |# | 32kB 32.1MB/s eta 0:00:01
�[K 6% |## | 36kB 31.3MB/s eta 0:00:01
�[K 7% |## | 40kB 32.2MB/s eta 0:00:01
�[K 7% |## | 45kB 34.2MB/s eta 0:00:01
�[K 8% |## | 49kB 36.0MB/s eta 0:00:01
�[K 9% |## | 53kB 34.9MB/s eta 0:00:01
�[K 9% |### | 57kB 35.0MB/s eta 0:00:01
�[K 10% |### | 61kB 36.9MB/s eta 0:00:01
�[K 11% |### | 65kB 37.0MB/s eta 0:00:01
�[K 12% |### | 69kB 35.4MB/s eta 0:00:01
�[K 12% |#### | 73kB 35.8MB/s eta 0:00:01
�[K 13% |#### | 77kB 37.7MB/s eta 0:00:01
�[K 14% |#### | 81kB 37.7MB/s eta 0:00:01
�[K 14% |#### | 86kB 36.1MB/s eta 0:00:01
�[K 15% |##### | 90kB 36.1MB/s eta 0:00:01
�[K 16% |##### | 94kB 37.6MB/s eta 0:00:01
�[K 17% |##### | 98kB 37.6MB/s eta 0:00:01
�[K 17% |##### | 102kB 36.1MB/s eta 0:00:01
�[K 18% |##### | 106kB 36.1MB/s eta 0:00:01
�[K 19% |###### | 110kB 37.7MB/s eta 0:00:01
�[K 19% |###### | 114kB 37.7MB/s eta 0:00:01
�[K 20% |###### | 118kB 35.0MB/s eta 0:00:01
�[K 21% |###### | 122kB 34.8MB/s eta 0:00:01
�[K 22% |####### | 126kB 36.2MB/s eta 0:00:01
�[K 22% |####### | 131kB 36.2MB/s eta 0:00:01
�[K 23% |####### | 135kB 33.8MB/s eta 0:00:01
�[K 24% |####### | 139kB 33.7MB/s eta 0:00:01
�[K 24% |####### | 143kB 35.0MB/s eta 0:00:01
�[K 25% |######## | 147kB 35.0MB/s eta 0:00:01
�[K 26% |######## | 151kB 33.7MB/s eta 0:00:01
�[K 27% |######## | 155kB 33.9MB/s eta 0:00:01
�[K 27% |######## | 159kB 36.3MB/s eta 0:00:01
�[K 28% |######### | 163kB 36.5MB/s eta 0:00:01
�[K 29% |######### | 167kB 35.0MB/s eta 0:00:01
�[K 29% |######### | 172kB 34.9MB/s eta 0:00:01
�[K 30% |######### | 176kB 37.4MB/s eta 0:00:01
�[K 31% |########## | 180kB 37.4MB/s eta 0:00:01
�[K 31% |########## | 184kB 35.9MB/s eta 0:00:01
�[K 32% |########## | 188kB 35.8MB/s eta 0:00:01
�[K 33% |########## | 192kB 37.4MB/s eta 0:00:01
�[K 34% |########## | 196kB 37.3MB/s eta 0:00:01
�[K 34% |########### | 200kB 35.7MB/s eta 0:00:01
�[K 35% |########### | 204kB 35.6MB/s eta 0:00:01
�[K 36% |########### | 208kB 37.2MB/s eta 0:00:01
�[K 36% |########### | 212kB 37.3MB/s eta 0:00:01
�[K 37% |############ | 217kB 35.6MB/s eta 0:00:01
�[K 38% |############ | 221kB 35.7MB/s eta 0:00:01
�[K 39% |############ | 225kB 37.5MB/s eta 0:00:01
�[K 39% |############ | 229kB 37.7MB/s eta 0:00:01
�[K 40% |############ | 233kB 35.5MB/s eta 0:00:01
�[K 41% |############# | 237kB 35.5MB/s eta 0:00:01
�[K 41% |############# | 241kB 37.0MB/s eta 0:00:01
�[K 42% |############# | 245kB 37.1MB/s eta 0:00:01
�[K 43% |############# | 249kB 35.6MB/s eta 0:00:01
�[K 44% |############## | 253kB 35.6MB/s eta 0:00:01
�[K 44% |############## | 258kB 37.3MB/s eta 0:00:01
�[K 45% |############## | 262kB 37.6MB/s eta 0:00:01
�[K 46% |############## | 266kB 35.9MB/s eta 0:00:01
�[K 46% |############### | 270kB 35.7MB/s eta 0:00:01
�[K 47% |############### | 274kB 37.9MB/s eta 0:00:01
�[K 48% |############### | 278kB 35.3MB/s eta 0:00:01
�[K 49% |############### | 282kB 33.7MB/s eta 0:00:01
�[K 49% |############### | 286kB 33.6MB/s eta 0:00:01
�[K 50% |################ | 290kB 34.9MB/s eta 0:00:01
�[K 51% |################ | 294kB 34.9MB/s eta 0:00:01
�[K 51% |################ | 299kB 33.6MB/s eta 0:00:01
�[K 52% |################ | 303kB 33.4MB/s eta 0:00:01
�[K 53% |################# | 307kB 34.6MB/s eta 0:00:01
�[K 54% |################# | 311kB 34.6MB/s eta 0:00:01
�[K 54% |################# | 315kB 33.3MB/s eta 0:00:01
�[K 55% |################# | 319kB 35.6MB/s eta 0:00:01
�[K 56% |################# | 323kB 37.4MB/s eta 0:00:01
�[K 56% |################## | 327kB 37.6MB/s eta 0:00:01
�[K 57% |################## | 331kB 36.0MB/s eta 0:00:01
�[K 58% |################## | 335kB 36.0MB/s eta 0:00:01
�[K 58% |################## | 339kB 37.8MB/s eta 0:00:01
�[K 59% |################### | 344kB 37.8MB/s eta 0:00:01
�[K 60% |################### | 348kB 36.2MB/s eta 0:00:01
�[K 61% |################### | 352kB 36.2MB/s eta 0:00:01
�[K 61% |################### | 356kB 37.7MB/s eta 0:00:01
�[K 62% |#################### | 360kB 37.6MB/s eta 0:00:01
�[K 63% |#################### | 364kB 34.8MB/s eta 0:00:01
�[K 63% |#################### | 368kB 34.7MB/s eta 0:00:01
�[K 64% |#################### | 372kB 36.1MB/s eta 0:00:01
�[K 65% |#################### | 376kB 36.1MB/s eta 0:00:01
�[K 66% |##################### | 380kB 34.0MB/s eta 0:00:01
�[K 66% |##################### | 385kB 34.0MB/s eta 0:00:01
�[K 67% |##################### | 389kB 35.4MB/s eta 0:00:01
�[K 68% |##################### | 393kB 35.4MB/s eta 0:00:01
�[K 68% |###################### | 397kB 33.4MB/s eta 0:00:01
�[K 69% |###################### | 401kB 33.4MB/s eta 0:00:01
�[K 70% |###################### | 405kB 35.9MB/s eta 0:00:01
�[K 71% |###################### | 409kB 36.1MB/s eta 0:00:01
�[K 71% |###################### | 413kB 34.7MB/s eta 0:00:01
�[K 72% |####################### | 417kB 33.7MB/s eta 0:00:01
�[K 73% |####################### | 421kB 35.4MB/s eta 0:00:01
�[K 73% |####################### | 425kB 35.5MB/s eta 0:00:01
�[K 74% |####################### | 430kB 34.1MB/s eta 0:00:01
�[K 75% |######################## | 434kB 34.1MB/s eta 0:00:01
�[K 76% |######################## | 438kB 36.4MB/s eta 0:00:01
�[K 76% |######################## | 442kB 36.5MB/s eta 0:00:01
�[K 77% |######################## | 446kB 35.0MB/s eta 0:00:01
�[K 78% |######################### | 450kB 35.0MB/s eta 0:00:01
�[K 78% |######################### | 454kB 36.4MB/s eta 0:00:01
�[K 79% |######################### | 458kB 37.6MB/s eta 0:00:01
�[K 80% |######################### | 462kB 36.3MB/s eta 0:00:01
�[K 81% |######################### | 466kB 36.2MB/s eta 0:00:01
�[K 81% |########################## | 471kB 37.8MB/s eta 0:00:01
�[K 82% |########################## | 475kB 37.9MB/s eta 0:00:01
�[K 83% |########################## | 479kB 36.2MB/s eta 0:00:01
�[K 83% |########################## | 483kB 36.1MB/s eta 0:00:01
�[K 84% |########################### | 487kB 37.4MB/s eta 0:00:01
�[K 85% |########################### | 491kB 37.6MB/s eta 0:00:01
�[K 85% |########################### | 495kB 35.9MB/s eta 0:00:01
�[K 86% |########################### | 499kB 35.9MB/s eta 0:00:01
�[K 87% |########################### | 503kB 37.5MB/s eta 0:00:01
�[K 88% |############################ | 507kB 37.6MB/s eta 0:00:01
�[K 88% |############################ | 512kB 36.1MB/s eta 0:00:01
�[K 89% |############################ | 516kB 36.1MB/s eta 0:00:01
�[K 90% |############################ | 520kB 37.5MB/s eta 0:00:01
�[K 90% |############################# | 524kB 37.6MB/s eta 0:00:01
�[K 91% |############################# | 528kB 36.3MB/s eta 0:00:01
�[K 92% |############################# | 532kB 36.1MB/s eta 0:00:01
�[K 93% |############################# | 536kB 37.7MB/s eta 0:00:01
�[K 93% |############################## | 540kB 37.8MB/s eta 0:00:01
�[K 94% |############################## | 544kB 36.2MB/s eta 0:00:01
�[K 95% |############################## | 548kB 36.2MB/s eta 0:00:01
�[K 95% |############################## | 552kB 37.6MB/s eta 0:00:01
�[K 96% |############################## | 557kB 35.9MB/s eta 0:00:01
�[K 97% |############################### | 561kB 35.5MB/s eta 0:00:01
�[K 98% |############################### | 565kB 34.5MB/s eta 0:00:01
�[K 98% |############################### | 569kB 35.9MB/s eta 0:00:01
�[K 99% |############################### | 573kB 35.0MB/s eta 0:00:01
�[K 100% |################################| 577kB 961kB/s
�[?25hInstalling collected packages: requests, coverage, codecov

Running setup.py install for coverage
building 'coverage.tracer' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/datastack.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/datastack.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/filedisp.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/filedisp.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/module.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/module.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c coverage/ctracer/tracer.c -o build/temp.linux-x86_64-2.7/coverage/ctracer/tracer.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/coverage/ctracer/datastack.o build/temp.linux-x86_64-2.7/coverage/ctracer/filedisp.o build/temp.linux-x86_64-2.7/coverage/ctracer/module.o build/temp.linux-x86_64-2.7/coverage/ctracer/tracer.o -o build/lib.linux-x86_64-2.7/coverage/tracer.so
Installing coverage2 script to /home/travis/.local/bin
Installing coverage-2.7 script to /home/travis/.local/bin
Installing coverage script to /home/travis/.local/bin

Successfully installed codecov coverage requests

travis_time:end:2665c1df:start=1483332848405839034,finish=1483332851197285346,duration=2791446312
�[0Ktravis_fold:end:before_script
�[0Ktravis_time:start:192856c4
�[0K$ ./gradle_init.sh

travis_time:end:192856c4:start=1483332851202987626,finish=1483332851221978208,duration=18990582
�[0K
�[32;1mThe command "./gradle_init.sh" exited with 0.�[0m
travis_time:start:0d3838d6
�[0K$ gradle assemble
:compileJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:processResources UP-TO-DATE
:classes
:jar
:assemble

BUILD SUCCESSFUL

Total time: 10.852 secs

travis_time:end:0d3838d6:start=1483332851227656496,finish=1483332862510400176,duration=11282743680
�[0K
�[32;1mThe command "gradle assemble" exited with 0.�[0m
travis_time:start:085da2b8
�[0K$ ./gradle_clean.sh

travis_time:end:085da2b8:start=1483332862518066752,finish=1483332862535116882,duration=17050130
�[0K
�[32;1mThe command "./gradle_clean.sh" exited with 0.�[0m
travis_time:start:0c7ad906
�[0K$ ant
Buildfile: /home/travis/build/fossasia/susi_server/build.xml

init:

build:
[mkdir] Created dir: /home/travis/build/fossasia/susi_server/classes
[echo] loklak: /home/travis/build/fossasia/susi_server/build.xml
[javac] Compiling 122 source files to /home/travis/build/fossasia/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.

BUILD SUCCESSFUL
Total time: 5 seconds

travis_time:end:0c7ad906:start=1483332862543942441,finish=1483332868566726181,duration=6022783740
�[0K
�[32;1mThe command "ant" exited with 0.�[0m
travis_fold:start:after_success.1
�[0Ktravis_time:start:0133f143
�[0K$ bash <(curl -s https://codecov.io/bash)


/ | | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / ` |/ _ / / _ \ \ / /
| |
| (
) | (
| | __/ (
| (
) \ V /
______/ _,|_|____/ _/
Bash-ea80eb5

�[0;90m==>�[0m Travis CI detected.
�[0;90mproject root:�[0m .
�[0;32mYaml not found, that's ok! Learn more at�[0m �[0;36mhttp://docs.codecov.io/docs/codecov-yaml�[0m
�[0;90m==>�[0m Running gcov in . �[0;90m(disable via -X gcov)�[0m
�[0;90m==>�[0m Searching for coverage reports in:
�[0;32m+�[0m .
�[0;90m==>�[0m Python coveragepy exists �[0;90mdisable via -X coveragepy�[0m
�[0;31mNo .coverage file found.�[0m
�[0;31m-->�[0m No coverage report found.
Please visit �[0;36mhttp://docs.codecov.io/docs/supported-languages�[0m

travis_time:end:0133f143:start=1483332868572135615,finish=1483332868725542897,duration=153407282
�[0Ktravis_fold:end:after_success.1
�[0Ktravis_fold:start:after_success.2
�[0Ktravis_time:start:134a66e8
�[0K$ codecov

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \____|\___|\___\___/ \_/
                                v2.0.5

�[90m==>�[0m Detecting CI provider
Travis Detected
�[90m==>�[0m Preparing upload
�[90m==>�[0m Processing gcov (disable by -X gcov)
Executing gcov (find /home/travis/build/fossasia/susi_server -type f -name '*.gcno' -exec gcov -pb {} +)
�[90m==>�[0m Collecting reports
�[41mError:�[0m�[91m No coverage report found�[0m

�[42mTip:�[0m�[32m See an example jdk repo: https://github.com/codecov/example-jdk�[0m
�[92mSupport channels:�[0m
Email: [email protected]
IRC: #codecov
Gitter: https://gitter.im/codecov/support
Twitter: @codecov

travis_time:end:134a66e8:start=1483332868730441394,finish=1483332868904494226,duration=174052832
�[0Ktravis_fold:end:after_success.2
�[0Ktravis_fold:start:dpl.0
�[0Ktravis_time:start:00900414
�[0KFetching: dpl-1.8.29.gem
Fetching: dpl-1.8.29.gem ( 3%)
Fetching: dpl-1.8.29.gem ( 7%)
Fetching: dpl-1.8.29.gem ( 10%)
Fetching: dpl-1.8.29.gem ( 14%)
Fetching: dpl-1.8.29.gem ( 18%)
Fetching: dpl-1.8.29.gem ( 21%)
Fetching: dpl-1.8.29.gem ( 25%)
Fetching: dpl-1.8.29.gem ( 29%)
Fetching: dpl-1.8.29.gem ( 32%)
Fetching: dpl-1.8.29.gem ( 36%)
Fetching: dpl-1.8.29.gem ( 40%)
Fetching: dpl-1.8.29.gem ( 43%)
Fetching: dpl-1.8.29.gem ( 65%)
Fetching: dpl-1.8.29.gem ( 87%)
Fetching: dpl-1.8.29.gem (100%)
Fetching: dpl-1.8.29.gem (100%)
Successfully installed dpl-1.8.29
1 gem installed

travis_time:end:00900414:start=1483332868909938877,finish=1483332869844108747,duration=934169870
�[0Ktravis_fold:end:dpl.0
�[0Ktravis_time:start:04fa05b0
�[0K/home/travis/build.sh: line 57: heroku: command not found
travis_fold:start:dpl.1
�[33mInstalling deploy dependencies�[0m
Fetching: multi_json-1.12.1.gem
Fetching: multi_json-1.12.1.gem ( 8%)
Fetching: multi_json-1.12.1.gem ( 18%)
Fetching: multi_json-1.12.1.gem ( 29%)
Fetching: multi_json-1.12.1.gem ( 39%)
Fetching: multi_json-1.12.1.gem ( 50%)
Fetching: multi_json-1.12.1.gem ( 60%)
Fetching: multi_json-1.12.1.gem ( 70%)
Fetching: multi_json-1.12.1.gem ( 81%)
Fetching: multi_json-1.12.1.gem ( 92%)
Fetching: multi_json-1.12.1.gem (100%)
Fetching: multi_json-1.12.1.gem (100%)
Successfully installed multi_json-1.12.1
Fetching: excon-0.54.0.gem
Fetching: excon-0.54.0.gem ( 1%)
Fetching: excon-0.54.0.gem ( 2%)
Fetching: excon-0.54.0.gem ( 4%)
Fetching: excon-0.54.0.gem ( 5%)
Fetching: excon-0.54.0.gem ( 6%)
Fetching: excon-0.54.0.gem ( 7%)
Fetching: excon-0.54.0.gem ( 8%)
Fetching: excon-0.54.0.gem ( 9%)
Fetching: excon-0.54.0.gem ( 11%)
Fetching: excon-0.54.0.gem ( 12%)
Fetching: excon-0.54.0.gem ( 13%)
Fetching: excon-0.54.0.gem ( 14%)
Fetching: excon-0.54.0.gem ( 21%)
Fetching: excon-0.54.0.gem ( 28%)
Fetching: excon-0.54.0.gem ( 35%)
Fetching: excon-0.54.0.gem ( 42%)
Fetching: excon-0.54.0.gem ( 49%)
Fetching: excon-0.54.0.gem ( 56%)
Fetching: excon-0.54.0.gem ( 63%)
Fetching: excon-0.54.0.gem ( 70%)
Fetching: excon-0.54.0.gem ( 76%)
Fetching: excon-0.54.0.gem ( 83%)
Fetching: excon-0.54.0.gem ( 90%)
Fetching: excon-0.54.0.gem ( 97%)
Fetching: excon-0.54.0.gem (100%)
Fetching: excon-0.54.0.gem (100%)
Successfully installed excon-0.54.0
Fetching: heroku-api-0.4.2.gem
Fetching: heroku-api-0.4.2.gem ( 37%)
Fetching: heroku-api-0.4.2.gem ( 75%)
Fetching: heroku-api-0.4.2.gem (100%)
Fetching: heroku-api-0.4.2.gem (100%)
Successfully installed heroku-api-0.4.2
3 gems installed
Fetching: rendezvous-0.1.2.gem
Fetching: rendezvous-0.1.2.gem ( 2%)
Fetching: rendezvous-0.1.2.gem ( 4%)
Fetching: rendezvous-0.1.2.gem ( 6%)
Fetching: rendezvous-0.1.2.gem ( 8%)
Fetching: rendezvous-0.1.2.gem ( 10%)
Fetching: rendezvous-0.1.2.gem ( 11%)
Fetching: rendezvous-0.1.2.gem ( 13%)
Fetching: rendezvous-0.1.2.gem ( 15%)
Fetching: rendezvous-0.1.2.gem ( 17%)
Fetching: rendezvous-0.1.2.gem ( 19%)
Fetching: rendezvous-0.1.2.gem ( 21%)
Fetching: rendezvous-0.1.2.gem ( 23%)
Fetching: rendezvous-0.1.2.gem ( 34%)
Fetching: rendezvous-0.1.2.gem ( 46%)
Fetching: rendezvous-0.1.2.gem ( 57%)
Fetching: rendezvous-0.1.2.gem ( 68%)
Fetching: rendezvous-0.1.2.gem ( 80%)
Fetching: rendezvous-0.1.2.gem ( 91%)
Fetching: rendezvous-0.1.2.gem (100%)
Fetching: rendezvous-0.1.2.gem (100%)
Successfully installed rendezvous-0.1.2
1 gem installed

travis_fold:end:dpl.1
travis_fold:start:dpl.2
�[33mPreparing deploy�[0m

travis_fold:end:dpl.2
No stash found.
Expected(200) <=> Actual(401 Unauthorized)

body: "{"id":"unauthorized","error":"Invalid credentials provided."}" (wrong API key?)
failed to deploy

Add details regarding workflow

Continuing from #6 , workflow of the project has to be added to the new file. It includes

  • Coding style (Standard Practice)

  • Branch Policy

  • Squashing of commits

User verification email is marked as spam

While trying to sign up to susi with a new email, the confirmation email was in my spam box.
Tried it again with some other emails, same thing happened with them too.

I faced a similar issue while I was using sendgrid for sending emails on the opev-android project where wrong security rules for the root user caused this issue.
@Orbiter @daminisatya could you have a look at what might be causing this?

Security Issues with Authentication

right now, the server is accepting user's passwords as query parameter and in plain text, which is a security flaw.
we need to implement HTTPS support as @Orbiter already said.
and also we should send sensitive information like username and passwords, in request body and also apply Base64 encoding in password from client side, which, the server has to decode on receiving.
see purpose of base 64 encoding

Create a contributor-guide page

Currently README.md page contains lot of information( Continuing from #6 ) - also contains some information related to contributors guide but its not solid. So its better to divide the README.md into :

1.contributor-guide page and give a link from readme to contributor-guide page

  • This contains all the contents under the sub head How to compile using Gradle? and
    How do I install Susi: Download, Build, Run.

2.documentation page give a link from readme to documentation page

  • This will have all the contents under the sub head Where can I find documentation?

Remaining information will be there in README.md and it also contains links to both of of these pages.

Reasons to do so :

  • Looks good.

  • It will be easy to maintain.

  • Removes unnecessary( not required in readme but in some other doc) contents from readme.md.

Use Couscous for Documentation

Currently, documentation is built with jekyll which makes us hard to put the directory structure. There is a library on github called Couscous which is built specifically for documentation. I guess it would be good if we use it.

Create a Console Rule Learning App

We want to be able to make it easy to create new console rules. Those rules are the method to attach external knowledge to susi. To check and store new console rules, there is now the rule learning backend api, the details are described here: https://github.com/fossasia/susi_server/blob/development/src/org/loklak/api/learning/ConsoleLearning.java#L45-L163

To store a new console rule, the user has to enter at least the following entries:

  • the external json API address
  • an example input for that API
  • a name for the new console rule

Furthermore, the user must submit a jsonpath which points into a result array within the JSON from the console API. The new back-end process supports the user by finding that jsonpath automatically.

What we need:

  • an input window for those three options
  • a 'verify' button which calls the backend. That will return a lot of information together with the jsonpath which the user can edit.
  • a 'store' button which can be used when the user is satisfied with the back-end verififaction.

Use AJAX for Console Rule

The idea is to use AJAX with console rule app so that all things would be made asynchronous. Currently, it redirects to other links and does not do everything on same page.

Issue running susi server

I am unable to run susi server, I have followed the procedures mentioned in the Readme. I have built it using gradle.

Here are the logs.
Viveks-MacBook-Pro:bin devenv$ ./start.sh
susi detected that you did not yet run the installation wizard.
It let's you setup an administrator account and a number of settings, but is not mandatory.
You can manually start it by running bin/installation.sh
starting susi
susi server failed to start. See data/loklag.log for details. Here are the last logs:
Error: Could not find or load main class org.loklak.SusiServer
Viveks-MacBook-Pro:bin devenv$

Theme for Documentation

Documentation for susi is being served now from gh-pages branch. I am currently creating a theme for documentation is usable for documenting all fossasia projects. For that I need a new repo.

It is a jekyll theme.

@mariobehling @hpdang @daminisatya.

Setup proper doc routes.

Currently the routing in documentation takes to a path which actually exists but at a different location. The routes take us directly to root directory whereas they should be taken to /susi_server

Susi Server Generic Installation in Windows

Installation on Windows using GitBash.

I had few errors when I try to run the generic installation steps in windows terminal. But later I found a simple solution from a closed issue which could make it easier to install.

Build using "ant jar" Run server using "java -jar dist/susiserver.jar"

@mariobehling @daminisatya I would like to make a documentation on this. It may be helpful for others too :)

Enhance the Console Rule Learning App for Susi Server

A basic console learning app is implemented in the server already (see here). The goal of this project is to make it easy now to create new console rules a) to connect new APIs to Susi and b) to add the rules itself.

The rules are the method to attach external knowledge to Susi. To check and store new console rules, there is now the rule learning backend api, the details are described here: https://github.com/fossasia/susi_server/blob/development/src/org/loklak/api/learning/ConsoleLearning.java#L45-L163

To store a new console rule, the user has to enter at least the following entries:

  • the external json API address
  • an example input for that API
  • a name for the new console rule

Furthermore, the user must submit a jsonpath which points into an result array within the JSON from the console API. The new back-end process supports the user by finding that jsonpath automatically.

What we need:

  • an input window for those three options
  • a 'verify' button which calls the backend. That will return a lot of information together with the jsonpath which the user can edit.
  • a 'store' button which can be used when the user is satisfied with the back-end verification.

Re-Branding

please help to change all occurrences of 'loklak' in the web interface with 'susi'

Add Support for Emoji Characters

Support for Emoji Unicode Characters needs to be added to Susi server to parse emoji input for the API. Multiple rules regarding Emojis also need to be defined.

susi server failed to start in cygwin

I followed steps mentioned in README of susi_server , however my server is not starting .

I changed LoklakServer to SusiServer in build.xml like this :

<manifest>
<attribute name="Class-Path" value="${jar.classpath}" />
<attribute name="Main-Class" value="org.loklak.SusiServer" />
</manifest>

Terminal Outputs :

danchara@danchara-WX-1 MINGW64 /c/cygwin64/home/danchara/git/susi_server (development)
$ ant
Buildfile: C:\cygwin64\home\danchara\git\susi_server\build.xml
init:
build:
[delete] Deleting directory C:\cygwin64\home\danchara\git\susi_server\classes
[mkdir] Created dir: C:\cygwin64\home\danchara\git\susi_server\classes
[echo] loklak: C:\cygwin64\home\danchara\git\susi_server\build.xml
[javac] Compiling 121 source files to C:\cygwin64\home\danchara\git\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.
BUILD SUCCESSFUL
Total time: 6 seconds
danchara@danchara-WX-1 MINGW64 /c/cygwin64/home/danchara/git/susi_server (development)
$ bin/start.sh
ps: unknown option -- o
Try ps --help' for more information. susi detected that you did not yet run the installation wizard. It let's you setup an administrator account and a number of settings, but is not mandatory. You can manually start it by running bin/installation.sh starting susi ps: unknown option -- o Tryps --help' for more information.
ps: unknown option -- o
Try `ps --help' for more information.
susi server failed to start. See data/loklag.log for details. Here are the last logs:
Error: Could not find or load main class org.loklak.SusiServer
Error: Could not find or load main class org.loklak.SusiServer

I'm not able to figure why it's not able to find main class ?

Since , I'm seeing that my classes directory has a SusiServer.class :

 /c/cygwin64/home/danchara/git/susi_server/classes/org/loklak (development)
$ ls
api/ data/ EmailHandler.class graphics/ objects/ susi/ SusiInstallation.class SusiServer.class
Caretaker.class 'EmailHandler$1.class' geo/ http/ server/ 'SusiInstallation$1.class' 'SusiServer$1.class' tools/

Short-Hand Notation question issue

Short Hand Notation issue

If we use short hand notations in questions it replies with default message. like if we ask:-

hw r u?

then it replies with

you can ask me anything,but not that :)

Clean up Readme file and take out features that were separated

Susi was split from loklak. Currently we have a lot of info that came from loklak. Please take out text that is related to loklak rather than susi, e.g. How do I analyze data acquired by Susi. (Are we still following elasticsearch's approach here?)

Change Susi apps to account and adopt new logic

  • Change api.asksusi.com to "Home" and use slug "/" instead of web URL
  • Only show "Account Apps"
  • Change top right menu "Apps" to "Account"
  • Take out slug "/apps/". Instead of http://api.asksusi.com/apps/signup/ change to http://api.asksusi.com/signup/
  • On apps page change background from black to white and take out effects (e.g. moving in of apps)
  • Make accounting options (accounts apps) into a simple list of items (instead of app boxes)
  • Delete apps: 1) Boilerplate, 2) One-Click Deployment, 3) Web Scraper
  • Take out left sidebar "Categories"

Critical: Most of Susi Commands are not executing properly

@mariobehling
Expect the general commands, Twitter/Loklak, RSS Feeds, Events, Wordpress, Github, Instagram, Date/Time, Wikipedia, Quora are not executing properly.
Here is the list of commands:
https://github.com/fossasia/susi_server/blob/master/docs/AskSUSI.md

12:40 AM, Today you
Hello
Susi 12:40 AM, Today
Hi, I'm Susi
12:40 AM, Today you
How many times did melaniatrump get 0 likes ?
Susi 12:41 AM, Today
12:41 AM, Today you
What are the reddit articles about Loklak ?
Susi 12:41 AM, Today
I don't know how to answer this. Here is a web search result:
12:42 AM, Today you
Susi, Where can I get updates of the event billets-europeade-2016-concert-de-musique-vocale-25592599153 ?
Susi 12:42 AM, Today
I don't know how to answer this. Here is a web search result:
12:43 AM, Today you
Susi, Can I view the articles from wordpress blog from http://ishothim.com/
Susi 12:43 AM, Today
I don't know how to answer this. Here is a web search result:
12:43 AM, Today you
Can you find mariobehling on Github and give me information ?
Susi 12:43 AM, Today
I don't know how to answer this. Here is a web search result:

Answers are not coming as expected.

move to gradle build process

Today susi builds are based on libraries we ship within the git repository.
We should use gradle builds exclusive in the future.

We already have a gradle build which uses these libraries

repositories {
  flatDir {
    dirs 'lib'
  }
}

We should move to a build using maven libraries like

repositories {
     mavenCentral()
}

also, we should use gradle run as start method.
All cloud deployment options must be migrated to use the gradle build process as well.

If this works, the libraries in lib should be removed.

Add susi-gh-bot as a collaborator

To push the documentation to the gh-pages on each update the script gh-pagesUpdater.sh uses a bot called @susi-gh-bot, to push the changes back as a commit it would need write access so please add it as a collaborator.

Mentors this one is for you and I hope you have done what I requested you to do in the task in the task I had done earlier? [Hint: Adding an environment variable to the Travis dashboard]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.