Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 28 15:05

    Orbiter on development

    extended test data (compare)

  • Feb 19 08:52

    akshatnitd on development

    Included author's avatar in the… (compare)

  • Feb 19 08:52
    akshatnitd closed #1463
  • Feb 19 08:52
    akshatnitd closed #1462
  • Feb 19 08:48
    akshatnitd synchronize #1463
  • Feb 19 04:57

    akshatnitd on development

    Resolved store draft issue (#14… (compare)

  • Feb 19 04:57
    akshatnitd closed #1458
  • Feb 19 04:57
    akshatnitd closed #1457
  • Feb 19 01:02
    Dilshaad21 review_requested #1463
  • Feb 18 13:49
    Orbiter synchronize #1458
  • Feb 18 12:40
    Dilshaad21 commented #1463
  • Feb 18 12:38
    Dilshaad21 commented #1463
  • Feb 18 12:30
    Dilshaad21 synchronize #1463
  • Feb 18 12:29
    Dilshaad21 synchronize #1463
  • Feb 18 12:28
    Dilshaad21 synchronize #1463
  • Feb 17 20:07
    haran2248 commented #1308
  • Feb 17 20:01
    haran2248 commented #921
  • Feb 17 19:58
    haran2248 commented #1446
  • Feb 17 16:15

    akshatnitd on development

    Passed user skill ratings that … (compare)

  • Feb 17 16:15
    Dilshaad21 commented #1462
Kumuditha Udayanga Karunarathna
@kumuditha-udayanga
Pranav Karthik
@pranavkarthik10
@akshatnitd The custom script is a CI service which automatically deploys on every new merged PR or commit
This message was deleted
I just meant it wasn’t using travis ci or circle ci
Pranav Karthik
@pranavkarthik10
Please view the task again for logs and script
Pranav Karthik
@pranavkarthik10
@akshatnitd Task https://codein.withgoogle.com/dashboard/task-instances/6057034517053440/ has all the details for CI automated deployment implementation and @norbusan / @hpdang had already taken a look on logs and provided details and requested for scripts and documentation. So in my final comment , I have provided everything. Please review and accept. Thanks!
Michael Christen
@Orbiter

@/all @Orbiter Server is down and is giving null pointer exceptions on all API endpoints.

@akshatnitd I increased memory assignment now

Akshat Garg
@akshatnitd
@Orbiter Still getting 500 for those endpoints. Sample log -
HTTP ERROR 500
Problem accessing /aaa/getApiKeys.json. Reason:

    Server Error
Caused by:
java.lang.NullPointerException
    at ai.susi.json.JsonTray.getJSONObject(JsonTray.java:170)
    at ai.susi.server.api.aaa.GetApiKeys.serviceImpl(GetApiKeys.java:87)
    at ai.susi.server.AbstractAPIHandler.process(AbstractAPIHandler.java:141)
    at ai.susi.server.AbstractAPIHandler.doGet(AbstractAPIHandler.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1780)
    at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308)
    at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1767)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
    at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:448)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:513)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
    at org.eclipse.jetty.server.handler.IPAccessHandler.handle(IPAccessHandler.java:221)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    at ai.susi.tools.MultipartConfigInjectionHandler.handle(MultipartConfigInjectionHandler.java:109)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    at org.eclipse.jetty.server.Server.handle(Server.java:539)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
    at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
    at java.lang.Thread.run(Thread.java:748)
Powered by Jetty:// 9.3.z-SNAPSHOT
Pranav Karthik
@pranavkarthik10
@norbusan @hpdang Please review https://codein.withgoogle.com/dashboard/task-instances/6057034517053440/. I've been stuck on this task for 4 days
Pranav Karthik
@pranavkarthik10
@norbusan Replied to your message on the task. Please view it there!
Yes we can deploy on other branches as well
Pallav Dubey
@pallav12
Is anyone working on server down issue? It's down for three days
Nishith P
@NishithP2004
Hi, set up auto deploys for SUSI.AI here which is connected to my fork of the susi_server repo as I dont have admin access to Fossasia.This deploy was made using heroku auto deploy.
May I know if this is what was expected for this or something else is expected.
Muhammad Wasif
@MuhammadWasif
You also need to improve Travis CI
Nishith P
@NishithP2004
Ok
Rishabh Bhambani
@rishabhgit0608
i tried signing up to susi.ai but it shows "Email already exist try forgot password" but before now i never signed up to it
Norbert Preining
@norbusan

@Orbiter I have added this to README.rst:

+
+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.
+

I would like to see the dev-dist branch updated automatically (either on each commit on the development branch, or via the hourly deployment), and the stable-dist should either be build from the master branch, or updated manually when we think the server has a stable status. I am keeping stable-dist for now on the pre-JsonTray status for safety, and the stable-dev contains the latest version.

I adjust susi_installer to follow this pattern, that is, if the installer runs from the master branch, it will use stable-dist from susi_server, and if it runs from development branch, it will use dev-dist from susi_server - similar to using master/development branches from susi_linux, susi_python depending on the starting point.

The updates to the two *-dist branches are always git commit -a --amend so that there is only one commit in the -dist branches, and one need to git push --force origin dev-dist etc. This keeps the repository size stable.

Hope that all helps to get a stable product with proper development possibilities.

Amartya Mondal
@atm1504

i tried signing up to susi.ai but it shows "Email already exist try forgot password" but before now i never signed up to it

@rishabhgit0608 where did you tried to login app or web?

Rishabh Bhambani
@rishabhgit0608
@atm1504 app
Anton W. Haubner
@ahbnr
hi, I'd like to try out susi on my own server, but compiling the default branch (development) results in a failed test. What branch is considered "stable"? I'm trying master next
...ok so master fails with a missing dependency (de.schildbach.pte)
Anton W. Haubner
@ahbnr
ok seems there has already been an issue created for this (fossasia/susi_server#1429)
aryanguls
@aryanguls
fossasia/susi.ai#3312 Mentors please review as soon as possible.
aryanguls
@aryanguls
fossasia/susi.ai#3320 Mentors please review this also.
Siddharth Sinha
@Sid911
I am trying to get susi_server up and running on hetzner with autodeployment
> Task :compileJava FAILED
/home/susi_server/src/api/external/transit/JSONConverter.java:8: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.Fare;
                            ^
/home/susi_server/src/api/external/transit/JSONConverter.java:9: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.Location;
                            ^
/home/susi_server/src/api/external/transit/JSONConverter.java:10: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.Trip;
                            ^
/home/susi_server/src/api/external/transit/JSONConverter.java:11: error: package de.schildbach.pte.dto.Trip does not exist
import de.schildbach.pte.dto.Trip.Leg;
                                 ^
/home/susi_server/src/api/external/transit/JSONConverter.java:12: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.Line;
                            ^
/home/susi_server/src/api/external/transit/JSONConverter.java:15: error: cannot find symbol
        public static JSONObject tripToJSON(Trip trip) {
                                            ^
  symbol:   class Trip
  location: class JSONConverter
/home/susi_server/src/api/external/transit/JSONConverter.java:36: error: cannot find symbol
        public static JSONObject fareToJson(Fare fare) {
                                            ^
  symbol:   class Fare
  location: class JSONConverter
/home/susi_server/src/api/external/transit/JSONConverter.java:48: error: cannot find symbol
        public static JSONObject legToJSON(Leg leg) {
                                           ^
  symbol:   class Leg
  location: class JSONConverter
/home/susi_server/src/api/external/transit/JSONConverter.java:68: error: cannot find symbol
        public static JSONObject lineToJSON(Line line) {
                                            ^
  symbol:   class Line
  location: class JSONConverter
/home/susi_server/src/api/external/transit/JSONConverter.java:80: error: cannot find symbol
        public static JSONObject locationToJSON(Location location) {
                                                ^
  symbol:   class Location
  location: class JSONConverter
/home/susi_server/src/api/external/transit/JSONConverter.java:94: error: cannot find symbol
        public static String getDescription(List<Leg> legs) {
                                                 ^
  symbol:   class Leg
  location: class JSONConverter
/home/susi_server/src/api/external/transit/BahnService.java:10: error: package de.schildbach.pte does not exist
import de.schildbach.pte.*;
^
/home/susi_server/src/api/external/transit/BahnService.java:11: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.Location;
                            ^
/home/susi_server/src/api/external/transit/BahnService.java:12: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.QueryTripsResult;
                            ^
/home/susi_server/src/api/external/transit/BahnService.java:13: error: package de.schildbach.pte.dto does not exist
import de.schildbach.pte.dto.Trip;
                            ^
/home/susi_server/src/api/external/transit/BahnService.java:22: error: cannot find symbol
        private BahnProvider provider = new BahnProvider();
                ^
  symbol:   class BahnProvider
  location: class BahnService
16 errors
this is the issue I am facing...
I have made sure that I have install java-headless and java-commons, gradle
I had the same issue with development branch .. this is master
This is a remote hetzner server.. which I have ssh'ed into
Siddharth Sinha
@Sid911
can someone help ? 😅
aryanguls
@aryanguls
fossasia/susi.ai#3341 Mentors please.
Pranav Karthik
@pranavkarthik10
Michael Christen
@Orbiter
@Sid911 did you try the development branch?
Siddharth Sinha
@Sid911
@Orbiter I did at that time but for development branch git submodules does nothing when the command is executed
now there was a different issue.. please wait a sec
Michael Christen
@Orbiter
I removed the submodule! No more submodules!
Siddharth Sinha
@Sid911
@Orbiter got it... can you please wait for a few more mins.. I am starting up the hetzner server and sshing into it
root@sid:/home# cd susi_server
root@sid:/home/susi_server# ./gradlew build
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

> Task :test

ai.susi.mind.SusiTutorialTest > test FAILED
    java.lang.AssertionError at SusiTutorialTest.java:44

29 tests completed, 1 failed

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/susi_server/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 46s
12 actionable tasks: 8 executed, 4 up-to-date
aryanguls
@aryanguls
https://codein.withgoogle.com/dashboard/task-instances/6041341025320960/ Please review as soon as possible. @norbusan @orbiter @cweitat Mentors please review.
Mario Behling
@mariobehling

@Orbiter

I removed the submodule! No more submodules!

Cool!

aryanguls
@aryanguls
Nishith P
@NishithP2004
This message was deleted
Siddharth Sinha
@Sid911
@NishithP2004 I think he said that before mario sir said something
aryanguls
@aryanguls
Yep i had sent it before that.
Must have forgotten to delete it
Michael Christen
@Orbiter
@Sid911 does ./gradlew assemble work?