Windows-containers launched by selenoid do not respond in 30s

So i have built the windows-images according to the guide (which was very helpful) and played around with them for a big and have encountered one issue.
When i try to launch these images with Selenoid, the container fails to start with the following message:
selenoid_1     | 2019/11/13 11:09:26 [1] [SERVICE_STARTUP_FAILED] [wait: http://<IP_ADDRESS>:4444/ does not respond in 30s]

However when i launch the containers myself i can connect to them via vnc just fine and also tests against the Webdriver running inside work. So my only issue is the containers not seeming to work together with Selenoid.
I am using docker-compose to launch selenoid together with selenoid-ui, the docker-compose file:
version: '3'
services:
  selenoid:
    image: aerokube/selenoid:latest-release
    volumes:
      - "/home/wdadm/selenoid/config/:/etc/selenoid"
      - "/var/run/docker.sock:/var/run/docker.sock"
    ports:
      - "4444:4444"
    networks:
      - internal
    command: ["-container-network","selenoid_internal"]
  selenoid-ui:
    image: "aerokube/selenoid-ui"
    ports:
      - "8080:8080"
    command: ["--selenoid-uri","http://selenoid:4444"]
    networks:
      - internal
networks:
  internal:
    driver: bridge

I am doing all this on Ubuntu 18.04 running in a Hyper-V on Windows 10

@NavySeal5 is network name selenoid_internal?

yes, the folder the docker-compose file is in is called selenoid, so the network docker creates is called selenoid_internal, also selenoid does work with the prebuilt containers (chrome/firefox) just not with my own built ones

@NavySeal5 two possible reasons:

Your containers are starting too slowly. In that case you just need to increase -service-startup-timeout e.g. to 1m.
There is an issue in image and for some reason it takes a lot of time to start webdriver.

I have seem the windows VM take a bit longer than native chrome or firefox containers to start. I also added to the selenoid server the start with the following params, so the test don't fail due to a time out:
./cm selenoid start --browsers-json ~/config/browsers.json --force --args "-limit 20 -session-attempt-timeout 3m -service-startup-timeout 3m"

@vania-pooh

I don't think that this is actually the problem here, since when manually starting the containers they seem to be ready within a minute (able to connect to vnc and start tests)

I also dont think that this might be the issue, since i created the memory snapshot of the windows-vm with webdriver already running, so as soon as the vm runs, the webdriver also runs

@emilorol
As mentioned above i dont think my main issue here is the time it takes to start those containers, but more of a proxying/networking problem
I have tried to set the timeout to up to 10 minutes, but still get the same Problem
Here is the output of my last try of launching one of each containers:
selenoid_1     | 2019/11/14 12:44:14 [-] [INIT] [Loading configuration files...]
selenoid_1     | 2019/11/14 12:44:14 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
selenoid_1     | 2019/11/14 12:44:14 [-] [INIT] [Video Dir: /opt/selenoid/video]
selenoid_1     | 2019/11/14 12:44:14 [-] [INIT] [Your Docker API version is 1.39]
selenoid_1     | 2019/11/14 12:44:14 [-] [INIT] [Timezone: UTC]
selenoid_1     | 2019/11/14 12:44:14 [-] [INIT] [Listening on :4444]
selenoid-ui_1  | 2019/11/14 12:44:15 [INIT] [Listening on :8080]
selenoid-ui_1  | 2019/11/14 12:44:18 Client added. 1 registered clients
selenoid-ui_1  | 2019/11/14 12:44:27 Client added. 2 registered clients
selenoid_1     | 2019/11/14 12:44:29 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
selenoid_1     | 2019/11/14 12:44:29 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
selenoid_1     | 2019/11/14 12:44:29 [4] [LOCATING_SERVICE] [edge] [18.0]
selenoid_1     | 2019/11/14 12:44:29 [4] [USING_DOCKER] [edge] [18.0]
selenoid_1     | 2019/11/14 12:44:29 [4] [CREATING_CONTAINER] [docker.workflow.at/selenoid-edge:18]
selenoid_1     | 2019/11/14 12:44:30 [4] [STARTING_CONTAINER] [docker.workflow.at/selenoid-edge:18] [bff728c53f41e3433d9e1d631abf6ccb903c064b832853fdf07ef7fdb90fd0f4]
selenoid_1     | 2019/11/14 12:44:30 [4] [CONTAINER_STARTED] [docker.workflow.at/selenoid-edge:18] [bff728c53f41e3433d9e1d631abf6ccb903c064b832853fdf07ef7fdb90fd0f4] [0.79s]
selenoid_1     | 2019/11/14 12:44:33 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
selenoid_1     | 2019/11/14 12:44:33 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
selenoid_1     | 2019/11/14 12:44:33 [6] [LOCATING_SERVICE] [ie] [11.0]
selenoid_1     | 2019/11/14 12:44:33 [6] [USING_DOCKER] [ie] [11.0]
selenoid_1     | 2019/11/14 12:44:33 [6] [CREATING_CONTAINER] [docker.workflow.at/selenoid-ie:11]
selenoid_1     | 2019/11/14 12:44:34 [6] [STARTING_CONTAINER] [docker.workflow.at/selenoid-ie:11] [c399702d8b2eb7d3fad902ef50858fcd1af2fd823097b56c256335fc4b401555]
selenoid_1     | 2019/11/14 12:44:35 [6] [CONTAINER_STARTED] [docker.workflow.at/selenoid-ie:11] [c399702d8b2eb7d3fad902ef50858fcd1af2fd823097b56c256335fc4b401555] [0.99s]
selenoid_1     | 2019/11/14 12:46:13 [6] [SERVICE_STARTED] [docker.workflow.at/selenoid-ie:11] [c399702d8b2eb7d3fad902ef50858fcd1af2fd823097b56c256335fc4b401555] [97.83s]
selenoid_1     | 2019/11/14 12:46:13 [6] [PROXY_TO] [c399702d8b2eb7d3fad902ef50858fcd1af2fd823097b56c256335fc4b401555] [http://<IP_ADDRESS>:4444/wd/hub]
selenoid_1     | 2019/11/14 12:46:13 [6] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:4444/wd/hub] [1]
selenoid_1     | 2019/11/14 12:46:13 [6] [SESSION_FAILED] [http://<IP_ADDRESS>:4444/wd/hub] [405 Method Not Allowed]
selenoid_1     | 2019/11/14 12:46:13 [6] [REMOVING_CONTAINER] [c399702d8b2eb7d3fad902ef50858fcd1af2fd823097b56c256335fc4b401555]
selenoid_1     | 2019/11/14 12:46:19 [6] [CONTAINER_REMOVED] [c399702d8b2eb7d3fad902ef50858fcd1af2fd823097b56c256335fc4b401555]
selenoid_1     | 2019/11/14 12:54:30 [4] [REMOVING_CONTAINER] [bff728c53f41e3433d9e1d631abf6ccb903c064b832853fdf07ef7fdb90fd0f4]
selenoid_1     | 2019/11/14 12:54:32 [4] [CONTAINER_REMOVED] [bff728c53f41e3433d9e1d631abf6ccb903c064b832853fdf07ef7fdb90fd0f4]
selenoid_1     | 2019/11/14 12:54:32 [4] [SERVICE_STARTUP_FAILED] [wait: http://<IP_ADDRESS>:4444/wd/hub does not respond in 10m0s]

Also here is my browsers.json i am using right now, i am not sure wether or not i have to put the full "/wd/hub" to my windows images, but i have tried both ways and always had the same result
{
    "chrome":{
        "default":"78.0",
        "versions":{
            "78.0":{
                "image":"selenoid/vnc:chrome_78.0",
                "port":"4444",
                "path":"/"
            }
        }
    },
    "firefox":{
        "default":"70.0",
        "versions":{
            "70.0":{
                "image":"selenoid/vnc:firefox_70.0",
                "port":"4444",
                "path":"/wd/hub"
            }
        }
    },
    "ie":{
        "default":"11.0",
        "versions":{
            "11.0":{
                "image":"docker.workflow.at/selenoid-ie:11",
                "port":"4444",
                "path":"/wd/hub"
            }
        }
    },
    "edge":{
        "default":"18.0",
        "versions":{
            "18.0":{
                "image":"docker.workflow.at/selenoid-edge:18",
                "port":"4444",
                "path":"/wd/hub"
           }
        }
    }
}

Change your IE and Edge configurations in your browsers.js as follow:
    "internet explorer": {
        "default": "11.0",
        "versions": {
            "11.0": {
                "image": "docker.workflow.at/selenoid-ie:11",
                "port": "4444",
                "path": "/",
                "privileged": true
            }
        }
    },
    "MicrosoftEdge": {
        "default": "18.0",
        "versions": {
            "18.0": {
                "image": "docker.workflow.at/selenoid-edge:18",
                "port": "4444",
                "path": "/",
                "privileged": true
            }
        }
    }

I think there is a chance that might solve the issue you are having. Also notice that you will not be able to manually start the containers from the selenoid-ui for IE and Edge until the following PR aerokube/selenoid-ui#253 or something like it get merged into selenoid-ui .
After you change your browsers.js and restart selenoid to take the changes you can use curl, postman or ARC to test your setup:

@emilorol in Selenoid containers are always running in privileged mode.

@vania-pooh got it. I will update my personal browsers.js, but it does not hurt to have it.

Hi everybody.
Same Issue for me over docker in debian , with docker-compose.
version: '3'
services:
  selenoid:
    container_name: test-selenoid
    image: aerokube/selenoid:1.9.3
    networks:
      - selenoid-net
    command:
      - -container-network=${PROJECT_NAME}_selenoid-net

    ports:
     - "4444:4444"
    volumes:
     - /var/run/docker.sock:/var/run/docker.sock
     - ./browsers.json:/etc/selenoid/browsers.json:ro
     - ./video:/opt/selenoid/video

  selenoid-ui:
    container_name: test-selenoid-ui
    image: aerokube/selenoid-ui:1.9.0
    networks:
      - selenoid-net
    command:
      - "-selenoid-uri=http://selenoid:4444"
    ports:
     - "8080:8080"

networks:
  selenoid-net:

Logs when force create session from selenoid-ui
test-selenoid  | 2019/11/14 16:11:26 [-] [INIT] [Loading configuration files...]
test-selenoid  | 2019/11/14 16:11:26 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
test-selenoid  | 2019/11/14 16:11:26 [-] [INIT] [Video Dir: /opt/selenoid/video]
test-selenoid  | 2019/11/14 16:11:26 [-] [INIT] [Your Docker API version is 1.40]
test-selenoid  | 2019/11/14 16:11:26 [-] [INIT] [Timezone: UTC]
test-selenoid  | 2019/11/14 16:11:26 [-] [INIT] [Listening on :4444]
test-selenoid  | 2019/11/14 16:11:51 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
test-selenoid  | 2019/11/14 16:11:51 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
test-selenoid  | 2019/11/14 16:11:51 [5] [LOCATING_SERVICE] [MicrosoftEdge] [18]
test-selenoid  | 2019/11/14 16:11:51 [5] [USING_DOCKER] [MicrosoftEdge] [18]
test-selenoid  | 2019/11/14 16:11:51 [5] [CREATING_CONTAINER] [windows/edge:18]
test-selenoid  | 2019/11/14 16:11:52 [5] [STARTING_CONTAINER] [windows/edge:18] [e9f2b02357f8a14949c86056505819e8b2f8052ab7386d753ff11440be3bf26e]
test-selenoid  | 2019/11/14 16:11:52 [5] [CONTAINER_STARTED] [windows/edge:18] [e9f2b02357f8a14949c86056505819e8b2f8052ab7386d753ff11440be3bf26e] [0.64s]
test-selenoid  | 2019/11/14 16:12:22 [5] [REMOVING_CONTAINER] [e9f2b02357f8a14949c86056505819e8b2f8052ab7386d753ff11440be3bf26e]
test-selenoid  | 2019/11/14 16:12:23 [5] [CONTAINER_REMOVED] [e9f2b02357f8a14949c86056505819e8b2f8052ab7386d753ff11440be3bf26e]
test-selenoid  | 2019/11/14 16:12:23 [5] [SERVICE_STARTUP_FAILED] [wait: http://<IP_ADDRESS>:4444/ does not respond in 30s]

The same with any available browser

@toni-moreno usually container logs help to diagnose what's happening there.

Hi @vania-pooh  I have been running ok with chrome but failing when creating a Edge session from UI.
The windows/edge container logs has these logs (the same logs when executing $ docker run -it --rm --privileged -p 4444:4444 -p 5900:5900 windows/edge:18)
Waiting xvfb...

--- x11vnc loop: 1 ---

--- x11vnc loop: waiting for: 34

PORT=5900
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
qemu-system-x86_64: warning: guest updated active QH
qemu-system-x86_64: warning: guest updated active QH

The selenoid these
2019/11/14 17:16:04 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2019/11/14 17:16:04 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2019/11/14 17:16:04 [61] [LOCATING_SERVICE] [MicrosoftEdge] [18]
2019/11/14 17:16:04 [61] [USING_DOCKER] [MicrosoftEdge] [18]
2019/11/14 17:16:04 [61] [CREATING_CONTAINER] [windows/edge:18]
2019/11/14 17:16:04 [61] [STARTING_CONTAINER] [windows/edge:18] [e3d557c7948da748c68d41ce06dd3d31dca4b5e978e924f7613e31b0e1d06b7f]
2019/11/14 17:16:04 [61] [CONTAINER_STARTED] [windows/edge:18] [e3d557c7948da748c68d41ce06dd3d31dca4b5e978e924f7613e31b0e1d06b7f] [0.55s]
2019/11/14 17:16:34 [61] [REMOVING_CONTAINER] [e3d557c7948da748c68d41ce06dd3d31dca4b5e978e924f7613e31b0e1d06b7f]
2019/11/14 17:16:35 [61] [CONTAINER_REMOVED] [e3d557c7948da748c68d41ce06dd3d31dca4b5e978e924f7613e31b0e1d06b7f]
2019/11/14 17:16:35 [61] [SERVICE_STARTUP_FAILED] [wait: http://<IP_ADDRESS>:4444/ does not respond in 30s]

There is any way to test image without selenoid?

@toni-moreno certainly, just run it as follows:
$ docker run -p 4444:4444 -p 5900:5900 --privileged windows/edge:18

Then you should be able to access VNC on port VNC (password by default is selenoid) or run your Selenium tests against: http://localhost:4444/

@toni-moreno the UI will fail to start containers for IE and Edge that is why I worked in the PR aerokube/selenoid-ui#253 . The reason why is because the code that it use to make the call from the UI uses non-W3C capability names and Edge has a problem with this. This mean that while the container will start and even the VM inside the container start, you might not be able to run a test or even open the browser.

@vania-pooh When I run the image I can connect to the VNC and windows machine is ok, and MicrosoftWebDriver.exe daemon running, but  I can not launch navigation from outside.
I'm new in the selenium world and its sure there is lots of things I should learn. how can I test the MicrosfoftWebDriver.exe ?  There is any kind of client to connect direct to the http://localhost:4444 and lauch a Edge browser with www.google.com ( by example) without need to have a selenium grid or selenoid in the middle?
@emilorol thank  you for your great work  I will test when merged and image updated.  But I'm afraid about my windows10 with edge image has not been correctly configured , so I would like to test image withouth selenoid or grid in the middle. Do you know any way to do that?

@toni-moreno you can use just the same test because communication protocol remains the same.

@toni-moreno The way i tested my windows-images was by simply starting a RemoteWebdriver with the Ip of my container host and the right container's port
That was the code i was using to test (java)
InternetExplorerOptions caps = new InternetExplorerOptions();
		RemoteWebDriver driver = new RemoteWebDriver(new URL("http://IP:PORT/"), caps);
		driver.quit();

Out of curiosity, does anyone know if it makes a difference if i use 64 bit windows version for my image? Because i just realized that i am using a 64 bit version altough the guide mentions a 32 bit version.

@NavySeal5 the only difference is total amount of memory Windows can allocate. I think you should be aware that 32 bit operating systems can work with limited (~4Gb) amounts of memory.

@vania-pooh Yes i am aware of that, but i was thinking that maybe this virtio network driver might be doing something different on the 32 bit version as my knowledge of networking is rather limited.
But i guess my last hope is now this PR by @emilorol

Hi @NavySeal5 , when trying to do the test with this code
package newproject;
import java.net.URL;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.edge.EdgeOptions;
import java.net.MalformedURLException;

public class PG2 {
    public static void main(String[] args) {
        EdgeOptions caps = new EdgeOptions();
        URL url;
        try{
            url = new URL("http://localhost:4444/");
            RemoteWebDriver driver = new RemoteWebDriver(url , caps);
            String baseUrl = "http://www.facebook.com";
            String tagName = "";

            driver.get(baseUrl);
            tagName = driver.findElement(By.id("email")).getTagName();
            System.out.println(tagName);
            driver.close();
            System.exit(0);
            //more code goes here
        }catch(MalformedURLException ex){
        //do exception handling here
         System.out.println("The url is not well formed: ");
        }

    }
}

Nothing happens in my windows image ( have not seen nothing in my vnc viewer), and this exception happens.
vant@laptop:~/$ java -cp selenium-server-standalone-3.141.59.jar newproject.java
Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'laptop', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '5.0.0-32-generic', java.version: '11.0.4'
Driver info: driver.version: RemoteWebDriver
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:573)
	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
	at newproject.PG2.main(newproject.java:16)
Caused by: java.io.IOException: unexpected end of stream on Connection{localhost:4444, proxy=DIRECT hostAddress=localhost/<IP_ADDRESS>:4444 cipherSuite=none protocol=http/1.1}
	at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:208)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
	at org.openqa.selenium.remote.internal.OkHttpClient$Factory$1.lambda$createClient$1(OkHttpClient.java:152)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
	at okhttp3.RealCall.execute(RealCall.java:77)
	at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105)
	at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
	at newproject.PG2.main(newproject.java:16)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at jdk.compiler/com.sun.tools.javac.launcher.Main.execute(Main.java:404)
	at jdk.compiler/com.sun.tools.javac.launcher.Main.run(Main.java:179)
	at jdk.compiler/com.sun.tools.javac.launcher.Main.main(Main.java:119)
Caused by: java.io.EOFException: \n not found: limit=0 content=…
	at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:237)
	at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215)
	at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
	... 34 more

But the port is opened an listening by docker
vant@laptop:~/$ sudo lsof -Pni :4444
[sudo] contraseña para vant:
COMMAND     PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
docker-pr 26316 root    4u  IPv6 21356352      0t0  TCP *:4444 (LISTEN)
vant@labtop:~/$ nc -vz localhost 4444
Connection to localhost 4444 port [tcp/*] succeeded!
vant@laptop:~/$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                                            NAMES
49cea3d1d025        windows/edge:18     "/entrypoint.sh"    2 hours ago         Up 2 hours          <IP_ADDRESS>:4444->4444/tcp, <IP_ADDRESS>:5900->5900/tcp   goofy_spence

How can I debug the connection from the MicrosoftWebDriver side?

@toni-moreno and to anyone else trying to test the setup. I was in the same boat no that long ago and I wanted to be able to test my windows image without having to break out a programming language or a testing framework.
To test your docker container locally, right after to finish setting it up with the windows VM you can follow the steps here:
https://github.com/aerokube/windows-images/issues/21
To test your windows vm container inside Selenoid you can follow the same steps listed on the threat before, but with the URL of your Selenoid server:
Change: http://<IP_ADDRESS>:4442/ for http://{YOUR-SELENOID-URL-OR-IP}:4444/wd/hub/
Also, I have never personally find use to the manual start of the session other than to confirm the container work and that I can see the browser thru the VNC.

Hi @emilorol thank you for this great guide.
I've tested as you show me and it seems my image has something wrong
vant@laptop:~/$ curl -X POST http://<IP_ADDRESS>:4442/session -d '{"capabilities": {"browserName": "MicrosoftEdge", "platform": "win10"}}'
curl: (52) Empty reply from server
vant@laptop:~/i$ nc -vz localhost 4442
Connection to localhost 4442 port [tcp/*] succeeded!

What should I check inside my container or my vm inside the container to diagnose which the problem

@toni-moreno you are using the local version of the test and that expect the windows VM container running first with the following command:
docker run -it -d --rm --privileged -p 4442:4444 -p 5902:5900 windows/edge:18

If you didn't and you have it running like the one you mention earlier change the port to 4444 and run the command like this:
curl -X POST http://<IP_ADDRESS>:4444/session -d '{"capabilities": {"browserName": "MicrosoftEdge", "platform": "win10"}}'

Hi again @emilorol  I've changed the port just to make copy&paste , from your guide.
vant@laptop:~/$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                                            NAMES
f5dd45bd90c0        windows/edge:18     "/entrypoint.sh"    45 minutes ago      Up 45 minutes       <IP_ADDRESS>:5900->5900/tcp, <IP_ADDRESS>:4442->4444/tcp   cool_mccarthy

but it is not working as expected....

can you run the following:
docker logs -f f5dd45bd90c0

Hi @emilorol , I've been playing with windows config and finally I got the session when I stopped windows firewall !!!
vant@laptop:~/$ curl -X POST http://<IP_ADDRESS>:4442/session -d '{"capabilities": {"browserName": "MicrosoftEdge", "platform": "win10"}}'
{"value":{"sessionId":"AECF266A-2581-450A-B15B-1EF53D3FD5B8","capabilities":{"acceptInsecureCerts":false,"browserName":"MicrosoftEdge","browserVersion":"44.18362.449.0","pageLoadStrategy":"normal","platformName":"windows","setWindowRect":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"proxy":{}}}}
vant@laptop:~/$ curl -X POST 'http://<IP_ADDRESS>:4442/session/AECF266A-2581-450A-B15B-1EF53D3FD5B8/url' -d '{"url":"https://www.google.com"}'
{"value":null}

The windows  firewalls should be turned off for all network segments ( I had on on public network)

I've not tested yet with selenoid  because I need to rebuild the windows image without firewall, I give you feedback ASAP
Thank you for your patience

For windows instead of completely disabling the firewall, I added an incoming firewall rule to port 4444/TCP. Otherwise windows will keep popping up warning and alert messages about the system security if the firewall is off in all zones.
To add an incoming rule open the cmd prompt with as admin and run the following command:
netsh advfirewall firewall add rule name="Open web driver Port 4444" dir=in action=allow protocol=TCP localport=4444

Note 1: windows image take a lot of storage space compare to other images, so what I did was when I created the snapshot I left the both prompts open listening on different ports and I added two rules instead of one.
Note 2: for Internet Explorer remember to disable the "Protected Mode" in all of the security zones. Very important, I forgot this and I had to rebuild again.
Note 3: Heads up the clock stay behind when running from snapshot and websites using SSL might complain if their SSL was issue after the time/date of the machine.

Hi @emilorol ,thank you very much for this good tips.
I have a question about requirements from the underlying  infrastructure.  What exactly needs a Qemu base container from the underlying platform? Just only docker? Or docker on top of bare-metal? or could be any kind of virtualized  (VirtualBox,VMware, Kvm) host?
Thank you in advance!

Qemu is just the virtual machine, no different to VMware or Vbox. By enabling the nested virtualization mode in the host machine all docker containers can also host VMs on them. Keep in mind that docker while it looks like a VM it is really not a VM. If you have a VM or a bare metal server that support nested virtualization then you can install selenoid or docker that run containers with VM inside of them.

thank you very much again @emilorol !!
I've been testing ie/edge images sending selenium data direct over port 4444 ( waiting for selenoid fix) and we found that on ie sendkeys is really slow as described here (https://intellipaat.com/community/6023/selenium-webdriver-typing-very-slow-in-text-field-on-ie-browser)
Did you know about this issue?.
Perhaps could be interesting make reference on this good guide to make windows images.

You're welcome @toni-moreno
I haven't experienced the issue with slow sending of keys on IE, but it is one of those thing I am not surprised about. I can tell on my own experience that switching testing frameworks made a difference at one point. Specifically when I switch from the regular selenium java to the javascript protractor, maybe it is the way to handle the wait time or promises, but did see an improvement.

@toni-moreno
I have had this issue aswell when i was using the 3.150 IEDriverServer
When i switched back to the 3.141.59 it seemed to not occur again

@NavySeal5  @emilorol  I switched to the 32b version and the senkeys issue has been resolved for me

Hi @vania-pooh, I have the following issue. When I try to run my selenium test I have the following error
"Running TestSuite
tests-winners-net    | [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 35.446 s <<< FAILURE! - in TestSuite
tests-winners-net    | [ERROR] setup(SampleTest)  Time elapsed: 35.26 s  <<< FAILURE!
tests-winners-net    | org.openqa.selenium.WebDriverException:
tests-winners-net    | wait: http://<IP_ADDRESS>:4444/ does not respond in 30s (WARNING: The server did not provide any stacktrace information)
tests-winners-net    | Command duration or timeout: 32.71 seconds
tests-winners-net    | Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
tests-winners-net    | System info: host: '0fbd71478324', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-56-generic', java.version: '15.0.1'
tests-winners-net    | Driver info: driver.version: RemoteWebDriver
"
This is my browsers.json
{
"chrome": {
"default": "85.0",
"versions": {
"85.0": {
"image": "selenoid/vnc:chrome_85.0",
"port": "4444",
"path": "/wd/hub",
"tmpfs": {
"/tmp": "size=512m"
},
"shmSize": 536870912
}
}
}
}
This is  my docker-compose.yml
version: '3.3'
services:
selenoid:
image: "aerokube/selenoid:latest-release"
container_name: selenoid
network_mode: bridge
ports:
  - "4444:4444"
environment:
  - OVERRIDE_VIDEO_OUTPUT_DIR=./selenoid/config/video
volumes:
  - ./selenoid/config:/etc/selenoid
  - ./selenoid/config/video:/opt/selenoid/video
  - ./selenoid/config/logs:/opt/selenoid/logs
  - /var/run/docker.sock:/var/run/docker.sock
command: ["-conf", "/etc/selenoid/browsers.json", "-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs"]

selenoid-ui:
container_name: selenoid-ui
image: "aerokube/selenoid-ui"
network_mode: bridge
links:
- selenoid
ports:
  - "8080:8080"
command: [ "--selenoid-uri", "http://selenoid:4444" ]

tests-winners-net:
build: ./
network_mode: bridge
container_name: tests-winners-net

network_mode: host
volumes:
  - ./.m2:/root/.m2
command: ["mvn", "-f", "/home/app/pom.xml", "test"]

And this is my Selnoid configure
public static WebDriver createWebDriver() throws MalformedURLException {
final WebDriver driver;
    // Run on Selenoid
    DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability("browserName", "chrome");
    capabilities.setCapability("browserVersion", "85.0");
    capabilities.setCapability("selenoid:options", Map.<String, Object>of(
            "enableVNC", true,
            "enableVideo", true
    ));

//        System.setProperty("webdriver.chrome.driver", "src/test/resources/drivers/chromedriver");
driver = new RemoteWebDriver(
new URL("http://localhost:4444/wd/hub/"),
capabilities
);
    return driver;
}

}

version: '3.3'
services:
selenoid:
image: "aerokube/selenoid:latest-release"
container_name: selenoid
network_mode: bridge
ports:
  - "4444:4444"
environment:
  - OVERRIDE_VIDEO_OUTPUT_DIR=./selenoid/config/video
volumes:
  - ./selenoid/config:/etc/selenoid
  - ./selenoid/config/video:/opt/selenoid/video
  - ./selenoid/config/logs:/opt/selenoid/logs
  - /var/run/docker.sock:/var/run/docker.sock
command: ["-conf", "/etc/selenoid/browsers.json", "-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs"]

selenoid-ui:
container_name: selenoid-ui
image: "aerokube/selenoid-ui"
network_mode: bridge
links:
- selenoid
ports:
  - "8080:8080"
command: [ "--selenoid-uri", "http://selenoid:4444" ]

tests-winners-net:
build: ./
network_mode: bridge
container_name: tests-winners-net

network_mode: host
volumes:
  - ./.m2:/root/.m2
command: ["mvn", "-f", "/home/app/pom.xml", "test"]

And my docker-compose.yml

services:
  selenoid:
    image: "aerokube/selenoid:latest-release"
    container_name: selenoid
#    network_mode: bridge
    ports:
      - "4444:4444"
    environment:
      - OVERRIDE_VIDEO_OUTPUT_DIR=./selenoid/config/video
    volumes:
      - ./selenoid/config:/etc/selenoid
      - ./selenoid/config/video:/opt/selenoid/video
      - ./selenoid/config/logs:/opt/selenoid/logs
      - /var/run/docker.sock:/var/run/docker.sock
    command: ["-conf", "/etc/selenoid/browsers.json", "-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs"]
  selenoid-ui:
    container_name: selenoid-ui
    image: "aerokube/selenoid-ui"
#    network_mode: bridge
#    links:
#      - selenoid
    ports:
      - "8080:8080"
    command: [ "--selenoid-uri", "http://selenoid:4444" ]
  tests-winners-net:
    build: ./
#    network_mode: bridge
    container_name: tests-winners-net
#    network_mode: host
    volumes:
      - ./.m2:/root/.m2
    command: ["mvn", "-f", "/home/app/pom.xml", "test"]

@vania-pooh can you help me?

@Artashes1996 you did not set -container-network flag in Docker compose.

@vania-pooh
I am still getting the same issue for image: "selenoid/chrome"
Error :
selenoid_1     | 2021/07/15 14:40:29 [3] [SERVICE_STARTUP_FAILED] [wait: http://<IP_ADDRESS>:4444/wd/hub does not respond in 30s]
My docker-compose.yml
selenoid:
command: [ "/etc/selenoid/browsers.json", "-video-output-dir", "/etc/selenoid/video","-container-network","default","-service-startup-timeout", "2m"]
I have added "-service-startup-timeout", "2m"
What else should I do ?

@DebashishSamanta check whether manual run works.

@vania-pooh
It would be great if you could kindly get me Manual run ( CLI ) code ?

@DebashishSamanta it's all documented here.
$ docker run -it --rm --privileged -p 4444:4444 -p 5900:5900 windows/edge:18 # For Microsoft Edge
$ docker run -it --rm --privileged -p 4444:4444 -p 5900:5900 windows/ie:11 # For Internet Explorer

Hi,
I'm having the same issue also with my current setup in Ubuntu 22.04 related to does not respond is 30s.
Here's my config so far.
docker-compose.yml
version: '3.7'
services:
selenoid:
image: aerokube/selenoid:latest-release
network_mode: host
container_name: selenoid
privileged: true
environment:
- OVERRIDE_VIDEO_OUTPUT_DIR=/var/selenoid/video
- OVERRIDE_VNC_PASSWORD=secret
- OVERRIDE_SELENIUM_HUB_PORT=4444
- OVERRIDE_SELENIUM_NODE_PORT=5555
- OVERRIDE_SELENOID_PORT=4444
- OVERRIDE_SELENOID_VERSION=3.141.59
- MAX_INSTANCES=10
- MAX_SESSIONS=10
#- SELENOID_OPTS=-logLevel=verbose
- SELENOID_CONFIGURATION_PATH=/etc/selenoid/browsers.json
#- SELENOID_LIMITS=20
#- VERBOSE=true
- SELENOID_LOG=wd
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
- /var/selenoid:/var/selenoid
- /etc/selenoid:/etc/selenoid
# - ./browsers.json:/etc/selenoid/browsers.json
# WINDOWS SETTING
# selenoid_browsers.json
# - ./browsers.json:/etc/selenoid/browsers.json
# - ./logs:/opt/selenoid/logs
command: ["-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs", "-limit", "10", "-timeout", "10m", "-mem", "1g", "-cpu", "1", "session-attempt-timeout", "3m", "-service-startup-timeout", "3m"]
ports:
- "4444:4444"
selenoid-ui:
image: aerokube/selenoid-ui:latest-release
network_mode: host
container_name: selenoid-ui
depends_on:
- selenoid
environment:
- API_URL=http://selenoid:4444
- SELENOID_UI_PORT=8080
#- SELENIUM_HUB_PORT_4444_TCP_ADDR=selenoid
#- SELENIUM_HUB_PORT_4444_TCP_PORT=4444
#- SELENOID_UI_CONFIG_DIR=/etc/selenoid
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- "8080:8080"
#   command: ["--selenoid-uri","http://selenoid:4444"]
browsers.json
{
"chrome": {
"default": "72.0",
"verbose": "true",
"versions": {
"91.0": {
"image": "selenoid/chrome:91.0",
"limits": {
"memory": "1024",
"cpu": "1",
"limit": "10"
},
"path": "/",
"port": "4444",
"privileged": "true"
},
"108.0": {
"image": "selenoid/chrome:108.0",
"limits": {
"memory": "2048",
"cpu": "2",
"limit": "20"
},
"path": "/",
"port": "4444",
"privileged": "true",
"verbose": "true"
}
}
},
"firefox": {
"default": "66.0",
"versions": {
"65.0": {
"image": "selenoid/firefox:65.0"
},
"66.0": {
"image": "selenoid/firefox:66.0",
"limits": {
"memory": "2048",
"cpu": "2",
"limit": "20"
},
"path": "/",
"port": "4444",
"privileged": "true",
"verbose": "true"
}
}
}
}
Here's my sample script using Robot Framework.
*** Settings ***
Library            SeleniumLibrary
Library            Collections
Library            OperatingSystem
*** Variables ***
${SELENOID_URL}         http://localhost:8080/wd/hub
${BROWSER_NAME}         chrome
${BROWSER_VERSION}      91.0
${PLATFORM}             LINUX
${SCREEN_RESOLUTION}    2560x1440x24
${PAGE_LOAD_STRATEGY}   eager
${SESSION_TIMEOUT}      2m
*** Test Cases ***
Execute Tests in Selenoid
[Documentation]   Execute automation tests in Selenoid environment
Execute Tests in Selenoid Environment
*** Keywords ***
Execute Tests in Selenoid Environment
[Documentation]   Run various tests in Selenoid environment
${selenoid_caps}=    Create Dictionary
...    browserName=${BROWSER_NAME}
...    version=${BROWSER_VERSION}
...    platform=${PLATFORM}
...    enableVideo=${True}
...    enableVNC=${True}
...    sessionTimeout=${SESSION_TIMEOUT}
Open Browser    remote_url=${SELENOID_URL}    desired_capabilities=${selenoid_caps}
Sleep    10
Maximize Browser Window
Go To    https://www.example.com
Title Should Be    Example Domain
Go To    https://www.robotframework.org
Title Should Be    Robot Framework
Close Browser
Actually I'm able to manually create session via Selenoid UI

@edsherwin try to set --service-startup-timeout 2m --session-attempt-timeout 2m to Selenoid flags.

@edsherwin try to set --service-startup-timeout 2m --session-attempt-timeout 2m to Selenoid flags.

@vania-pooh I've already set that config to my command in selenoid and still no luck.
command: ["-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs", "-container-network", "selenoid", "-limit", "30", "-timeout", "15m", "-mem", "2g", "-cpu", "2", "session-attempt-timeout", "2m", "-service-startup-timeout", "2m"]
--
Execution is created but it's displayed in Session list in Selenoid UI

Logs
SessionNotCreatedException: Message: wait: http://<IP_ADDRESS>: does not respond in 30s

@edsherwin something is wrong in your setup if Selenoid is still failing after 30 seconds.

@vania-pooh I already correct that one and the issue still persist.

@edsherwin did you manage to find solution for this?


refactor(cicero-ui): remove prop dependency - I70

Closes #70
Reduce prop reliance for cicero-ui
Changes

Remove styling props
Sync class names with Library component

Flags

Did not address tests

Related Issues

https://github.com/accordproject/cicero-ui/pull/387

Author Checklist

[ ] Vital features and changes captured in unit and/or integration tests
[x] Commits messages follow AP format
[x] Extend the documentation, if necessary
[x] Merging to master from fork:branchname

Sooo much cleaner 🙏

Just make sure e68ad08 is all good.


Bold the current playing song

This will solve the issue #19

I added a variable to store the file name of the current playing audio
If it matches, change the list format to bold the audio name

Screenshots:

While working on this issue I have found another issue #34

Hi @DipayanP007! Sorry for the delay on reviewing this one. It's still a feature we want, if you'd like to continue working on it?

Yeah sure @anoadragon453 I can surely work on this. I closed the PR because the code had some changes. I will work on it again

Ah, OK. Wonderful, thanks! Let us know when you'd like it to be reviewed again.


API key

The API key is in Github.  Even though this is a free account it would be good to secure a new API key and delete the current key.

In practice api keys meant to be used on the client side can get a domain set to them, where only requests originating from a certain domain (your website) will be honored by the API.  This would prevent someone from grabbing your key and making use of it on their website. ~ Stephen Grider

It sounds like I would have to move the API key to the backend to secure it


Update default.nix

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I have changed the version to 5.7.2 and switched the SHA--256 to SHA-512. It would be nice, ifc the current maintainers could finally finish it.


issue with estimateDiversity

Hello, I previously ran mia (version 1.2.7) and had no issue when running the function estimateDiversity from a tse construct using biom file. Note that I followed the tutorial https://microbiome.github.io/OMA/containers.html#s-workflow (session <IP_ADDRESS>), and I used my own files and also the exact files from the tutorial, to be sure wasn't any flaw on my own data.
Now I updated to the latest version of mia (1.7.4) and when I try to run the same function, I got the following error:
Error in method(object) :
The object should include at least 4 columns:
nodeLab, nodeLab_alias, nodeNum, isLeaf
The nodeLab_alias column should be character
The nodeNum column should be numeric
The isLeaf column should be logical

but when I check the links , they are ok:
rowLinks(tse)
LinkDataFrame with 151 rows and 5 columns
        nodeLab   nodeNum nodeLab_alias    isLeaf   whichTree
    <character> <integer>   <character> <logical> <character>
1       1726470        34      alias_34      TRUE       phylo
2       1726471        39      alias_39      TRUE       phylo
3      17264731        14      alias_14      TRUE       phylo
4      17264726        30      alias_30      TRUE       phylo
5       1726472         9       alias_9      TRUE       phylo
...         ...       ...           ...       ...         ...

Can you please help me? Thank you.
Note, my R version is "R version 4.1.2 (2021-11-01)"

I am not sure where you need rowLinks here.
Can you show the output of tse (it prints summary info for your TreeSE data object).
You could also show the command that gives the error, then it is easier to comment.

ok, here is the output of tse
class: TreeSummarizedExperiment
dim: 151 27
metadata(0):
assays(3): counts relabundance clr
rownames(151): 1726470 1726471 ... 17264756 17264757
rowData names(6): Kingdom Phylum ... Family Genus
colnames(27): A110 A12 ... A35 A38
colData names(4): patient_status cohort patient_status_vs_cohort sample_name
reducedDimNames(0):
mainExpName: NULL
altExpNames(0):
rowLinks: a LinkDataFrame (151 rows)
rowTree: 1 phylo tree(s) (151 leaves)
colLinks: NULL
colTree: NULL

Then I ran transformation
tse <- transformCounts(tse, method = "relabundance")
After that, when moving to alpha diversity I ran:
{r alpha diversity}
index <- c("shannon","gini_simpson","inverse_simpson", "coverage", "fisher", "faith",  "log_modulo_skewness")
tse <- estimateDiversity(tse, index = index)

And got the error:
Error in method(object) :
The object should include at least 4 columns:
nodeLab, nodeLab_alias, nodeNum, isLeaf
The nodeLab_alias column should be character
The nodeNum column should be numeric
The isLeaf column should be logical

Ok. Can you try without Faith index, and then only with Faith index? I am wondering if Faith is causing the error.
Do you have a rowTree?

You were correct. It was the Faith index.
Can you please explain why it caused this error? I am curious now. =)

I do not know yet. Might depend on the rowTree and it includes some error. The data has to be cleaned up first.
Could you post the output of rowTree(tse) and also the command that you used to add the tree in the TreeSE object?

Faith index is the only alpha diversity index (from your list) that utilizes the tree information.

Gonna do after the holidays. =)
Happy holidays.

Make sure that this works - if the object does not have tree, then Faith diversity should not be calculated. A warning can be thrown instead.


Add Smart Contracts

https://github.com/Overtorment/awesome-smart-contracts
The list is about platforms where developers can create and run programs, known as Smart Contracts.
By submitting this pull request I confirm I've read and complied with the below requirements.
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title.For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with these requirements:

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either fullwidth or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.
Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of sub-lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Drop all the A / An prefixes in the descriptions.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

Looks like a good start and interesting topic, but I think the list needs more work.

This document is licensed WTFPL

This is not a good license. Use something better, per above guidelines.

@sindresorhus hi, the list is now more mature, and the license is changed. Can you please reopen PR and consider merging it? Thanks!


[Fix][UI Next][V1.0.0-Alpha] Fix the stop button tips error and its u…

Purpose of the pull request
This pull request fixs the stop button tips error and its uncorrect state when the record state is STOP in the process instance table.
Releated issues
close #8959

Codecov Report

Merging #8960 (6577200) into dev (b86dce5) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8960      +/-   ##
============================================
- Coverage     39.76%   39.75%   -0.02%
+ Complexity     4264     4262       -2
============================================
  Files           808      808
  Lines         32550    32550
  Branches       3649     3649
============================================
- Hits          12945    12941       -4
- Misses        18378    18380       +2
- Partials       1227     1229       +2

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.70% <0.00%> (-2.12%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b86dce5...6577200. Read the comment docs.


RENet PreTransform data process

❓ How can i use the pre_transform function given by the RENet model in a Data object?
Im trying to implement the RENet model similar to the example renet.py, but using my own data. In the example the ICEWS18 dataset downloads the raw data and takes the RENet.pre_transform function to create the h_sub, h_sub_t, h_obj, h_obj_t tensors, but if i try to use this in my own Data object (that contains the tensor sub, rel, obj and t) i get this error.
RENet.pre_transform(seq_len=3)(data)
RuntimeError: bool value of Tensor with more than one value is ambiguous
Then i thought that the process is been made using each interaction from sub, rel, obj and t. So i tried to iterate this changing the source code, but it launchs me a Data object with empety tensors in h_sub, h_sub_t, h_obj and h_obj_t.
This is the modification that i made:
def __call__(self, data):
      for sub, rel, obj, t in zip(data.sub, data.rel, data.obj, data.t):

            while max(sub, obj) + 1 > len(self.sub_hist):  # pragma: no cover
                self.sub_hist = self.increase_hist_node_size(self.sub_hist)
                self.obj_hist = self.increase_hist_node_size(self.obj_hist)

            # Delete last timestamp in history.
            if t > self.t_last:
                self.sub_hist = self.step(self.sub_hist)
                self.obj_hist = self.step(self.obj_hist)
                self.t_last = t

            # Save history in data object.
            data.h_sub, data.h_sub_t = self.get_history(self.sub_hist, sub, rel)
            data.h_obj, data.h_obj_t = self.get_history(self.obj_hist, obj, rel)

            # Add new event to history.
            self.sub_hist[sub][-1].append([obj, rel])
            self.obj_hist[obj][-1].append([sub, rel])

        return data

This is the result i got:
Data(h_obj=[0], h_obj_t=[0], h_sub=[0], h_sub_t=[0], obj=[98861], rel=[98861], sub=[98861], t=[98861])
It's clear that i didn't actually understood how this pre_transform process is made and i would need a little help please.
Thanks!

Hello. Did you manage to solve it? Could you post the solution? I am having the same issue. Thanks!


wish: Add Activities/Timeline integration

Hi David,
This is Juan from Microsoft. Timeline is a new feature that will be released in the upcoming version of Windows (it's currently available in Windows Insider Builds). You can learn more about it here:
https://blogs.windows.com/buildingapps/2017/12/19/application-engagement-windows-timeline-user-activities/#IQ4BOB2p47tmXEwo.97
It'd be great to have Podcasts write activities so users can re-engage with it via Timeline, on the device where the activity started, and also across devices.
Thanks.

Hi Juan! Unfortunately I do not have time anymore to work on Podcasts
This is why I OSS it

Thanks for the quick response David!


Package pragmarx/countries-laravel at version  has a PHP requirement incompatible with your PHP version (5.6.23)

Yeah, not compatible with 5.6 anymore, sorry.


Converting multiple rows into an array for a many to many query

Hello,
querying a many to many table given an id pulls up multiple rows for the id. Would it be possible to convert the multiple rows into an array?
In short knex returns the following output for a query. Assuming two tables with a many to many relation

A post table
A tag table with an m2m relation with Post

{     post_id: 1,     tag_id: 1 }, {post_id: 1, tag_id: 2 }
Is there something i could do to get an output like this?
{ post_id:1, tag_id:[1,2] }

If you're using PostgreSQL, you can do the following:
select post_id, array_agg(tag_id) as tag_ids from post_tags;

knex('post_tags').select('post_id', knex.raw('array_agg(tag_id) as tag_ids'))

My solution to this was to use treeize
If anyone has a better/alternate solution, I'd love to hear how you do it!

I'm using GROUP_CONCAT (...) AS ... for each of the arrays I want (example: postIds, postNames, postBodies for each author), then I'm going through one of the arrays and creating a new array of objects where each property's value for that object is the value at each array's index.
See this repo for an example:
https://github.com/vforvalerio87/hypermedia


Marathon Crashes continuously

Marathon v0.7.6
My marathon talks to mesos through zookeeper, and it keeps on crashing continuously, all i see is the following dump. Can someone help.
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,306] INFO Registering in Zookeeper with hostname:test03260.kdc.test.com (mesosphere.marathon.MarathonModule:125)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,768] INFO Setting framework ID to 20141209-170811-3259247114-5050-12517-0000 (mesosphere.marathon.MarathonSchedulerService:69)
Mar 13 13:33:19 test03260 marathon[24032]: WARNING: Logging before InitGoogleLogging() is written to STDERR
Mar 13 13:33:19 test03260 marathon[24032]: F0313 13:33:19.770697 24093 org_apache_mesos_state_AbstractState.cpp:696] CHECK_READY(*future): is PENDING
Mar 13 13:33:19 test03260 marathon[24032]: *** Check failure stack trace: ***
Mar 13 13:33:19 test03260 marathon[24032]: JVMDUMP039I Processing dump event "abort", detail "" at 2015/03/13 13:33:19 - please wait.
Mar 13 13:33:19 test03260 IBM Java[24032]: JVMDUMP039I Processing dump event "abort", detail "" at 2015/03/13 13:33:19 - please wait.
Mar 13 13:33:19 test03260 marathon[24032]: JVMDUMP032I JVM requested System dump using '//core.20150313.133319.24032.0001.dmp' in response to an event
Mar 13 13:33:19 test03260 IBM Java[24032]: JVMDUMP032I JVM requested System dump using '//core.20150313.133319.24032.0001.dmp' in response to an event
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,897] WARN No SSL support configured. (mesosphere.marathon.Main$$anon$1:62)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,905] INFO Starting up (mesosphere.marathon.MarathonSchedulerService:135)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,906] INFO Beginning run (mesosphere.marathon.MarathonSchedulerService:140)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,907] INFO Offering leadership (mesosphere.marathon.MarathonSchedulerService:288)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,907] INFO Using HA and therefore offering leadership (mesosphere.marathon.MarathonSchedulerService:295)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,907] INFO jetty-8.y.z-SNAPSHOT (org.eclipse.jetty.server.Server:272)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,938] INFO Set group member ID to member_0000001069 (com.twitter.common.zookeeper.Group:426)
Mar 13 13:33:19 test03260 marathon[24032]: [2015-03-13 13:33:19,988] INFO Candidate /marathon/leader/member_0000001069 waiting for the next leader election, current voting: [member_0000001069, member_0000001068, member_0000001065] (com.twitter.common.zookeeper.CandidateImpl:165)
Mar 13 13:33:20 test03260 marathon[24032]: [2015-03-13 13:33:20,168] INFO Registering com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter as a provider class (com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory:113)
Mar 13 13:33:20 test03260 marathon[24032]: [2015-03-13 13:33:20,173] INFO Registering com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider as a provider class (com.sun

Could you please upgrade to 0.8.1 and see if the error persists?

I've noticed that Marathon (v0.8.0rc1) was frequently crashing while running on Java 8 (Oracle 1.8.0_40-b25) while instance running on Java 7 (openjdk 7u75-2.5.4-1~deb7u1) was "fine" (JVM not crashing). Does anyone has similar experience?
Anyway, @drexin is Java 8 supported? I've just updated quorum to  v0.8.1 I'll let you know if the problem persists.

There's a bug in the Mesos JNI bindings that make it not play nice with Java 8, but that will be fixed in 0.22 final. There's another bug in the state abstraction that we are currently investigating and hope to fix soon.

I dont understand why it dumps these files under "/" and these are huge files. I hope there is a fix for the crashes, has anyone else faced this issue ?

This has been hopefully solved by running Marathon 0.8.2-RC3 with Mesos 0.22.1 (Master+Libraries). Please reopen if the problem persists.


fade text if longer then 280

The feed is starting to get really hard to read sometimes with people using Cloutfeed and other tools to post long long posts with way more then the 260 280 Max characters on the main node.
So I made this small amendment that fades out and hides body overflow on a feedpost if it is longer then 260 280 chars.
Made sure its not hidden when viewing the actual post page, instead of feed.
Could be enhanced by adding a "read more" button, but i left that out for now. Left todo for that in comment.

Why 260 rather than the original 280?

Need to double check I thought it was 260 @iPaulPro

Ah warning shows at 260 - ill amend to 280

Thanks for the suggestion! For now, we don't mind users making longer form posts. We may revisit this in the future.


create example image

Feature description
I love to create and configure project using the doccano-client. Thanks a lot for this work !
I'm used to do it with project related to text data.
But is it also possible with images ?
For example is the method create_example able to upload an image as an example for a doccano project ?
It looks like it was made for texts only (I think the images features are quite recent for doccano)
https://github.com/doccano/doccano-client/blob/fe125f409138d319fb1c74a0d3c41225c539e7f8/doccano_api_client/__init__.py#L310

I have the same question. I have a project for "Image Classification", and i would like to programmatically import the dataset, instead of dragging/dropping via the web ui.

Could this be done with sync with Cloud storage services (AWS S3, Google Cloud Storage, Azure Blob Storage) ? Like with label-studio : the python sdk of label studio even can sync the input and output of the labelling. It is vers convinient

I think I figured out how to upload an image (to an image related project).
img_fp = open('my_image.jpg')
resp = client.post_doc_upload_binary(project_id=project_id, files=[img_fp], format='ImageFile')

The basic seemed simple enough, however, I can't yet figure out how to attach metadata to this example (adding annotation).

@kechan did you figure out how to attach metadata on the image example upload? I am looking to do the exact same thing...

@kechan did you figure out how to attach metadata on the image example upload? I am looking to do the exact same thing...

I figured this out for anyone who is curious... there may be a different method (that I couldn't find), but this was my approach using the rest api directly (enabled by the client) -- you just need to replace the my_proj_id and my_ex_id variables and create a doccano_client connection
url = f'v1/projects/{my_proj_id}/examples/{my_ex_id}'
payload = {
    "meta": json.dumps({"url": "https://github.com/doccano/doccano-client"})
}
resp = doccano_client.update(url, data=payload)

NOTE: this is run after uploading the example to the project


breeze-hacked-cursor-theme: init at unstable-2024-1-28

Description of changes
Adds breeze-hacked-cursor-theme.
It supports being recolored via a script in its repository, so I took the liberty of adding arguments that correspond to the script's options for convenience.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3406


Don't let users go though the screen with an invalid uuid.

@CalebPena where/how did this even happen?


Release/1.0.0

Initial commit till configurations page

Console error on toggle and then the last step next button got hanged.

In first step was not able to select some connectors


Where is the components page?

I don't see a components page anywhere. Great project by the way, I'm definitely using it in my next project.

Thanks for checking in. The code is still wip and I'm still working on the site. I'll send an update by end of next week.

Thanks!


Allow Character Sheets to change order of class features based on level acquired (or to user's choice)

Currently in character sheets. you can sort features either alphabetically or by "active/passive". However, for many players, it makes more intuitive sense to organise features by class level acquired, or to be able to order features by their own preference. Currently in the Core 5e character sheet there is no way to do this.
It would also be useful to be able to create one's own subheadings within the features tab for things such as Warlock Invocations; Artificer Infusions etc. for easier tracking of how many one knows at any given level, and to make sheets tidier.

Manual sorting is possible on the features tab. I am re-framing this issue to add a 'priority sort', similar to the spells tab, that sorts features by the level they were received at (if received via advancement).


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name: Micho Ngoma

Discord Username(if exists):

Additional Context:

Youtube

:nerd_face:

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


Create devcontainer.json

Summary

Changes

Closes:
Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

good

Just FYI don't forget to run through the course in your copy of the repo!


added hack to get around the changeSets issue with pipeline

No longer required as the default job has been updates to support new jenkins pipeline


flutter run fails on android debugCompile (Linux)

UPDATE:
Happens only when Android Studio is 3.0 and uses Gradle 4.0-milestone-1

I was working on my project for couple of days on my Mac. When I pushed to github to get it on my linux machine it failed to compile. This time I was using Android Studio 3.0 Canary. Problem is in line 20 of android/build.gradle file.
Running 'gradle assembleDebug' directly completes without failure.
Similar issues
com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

were reported for Kotlin and ReactNative plugins.
some suggested problem may be related to case sensitive file systems. Mac isn't case sensitive.
Steps to Reproduce
run flutter run on linux (Ubuntu Gnome)
observe build fails during gradle assembleDebug task
replicable 100%
Logs
[  +79 ms] [/home/swav/Library/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +21 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/alpha
[        ] [/home/swav/Library/flutter/] git ls-remote --get-url origin
[  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] [/home/swav/Library/flutter/] git log -n 1 --pretty=format:%H
[  +13 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 973304d5fbf737510ecc250b93d9ee2e872b563f
[        ] [/home/swav/Library/flutter/] git log -n 1 --pretty=format:%ar
[  +13 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 2 days ago
[ +210 ms] Listing devices using /home/swav/Android/Sdk/platform-tools/adb
[        ] /home/swav/Android/Sdk/platform-tools/adb devices -l
[  +12 ms] Exit code 0 from: /home/swav/Android/Sdk/platform-tools/adb devices -l
[        ] List of devices attached
           emulator-5554          device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86
[  +59 ms] /home/swav/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[+3479 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[ +211 ms] Using gradle from /home/swav/Library/android-studio-3.0/gradle/gradle-4.0-milestone-1/bin/gradle.
[  +10 ms] [android/] /home/swav/Library/android-studio-3.0/gradle/gradle-4.0-milestone-1/bin/gradle app:properties
[ +753 ms] Exit code 1 from: /home/swav/Library/android-studio-3.0/gradle/gradle-4.0-milestone-1/bin/gradle app:properties
[        ] FAILURE: Build failed with an exception.

           * Where:
           Build file '/home/swav/Git/flutter/status-app/android/build.gradle' line: 20

           * What went wrong:
           A problem occurred evaluating root project 'android'.
           > A problem occurred configuring project ':app'.
              > Failed to notify project evaluation listener.
                 > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

           * Try:
           Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[        ] Error running gradle: Exit code 1 from: /home/swav/Library/android-studio-3.0/gradle/gradle-4.0-milestone-1/bin/gradle app:properties
[  +28 ms] /home/swav/Android/Sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1
[  +20 ms] Exit code 0 from: /home/swav/Android/Sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1
[        ] --------- beginning of main
           05-20 22:53:19.686 I/DeviceStateChecker( 5077): DeviceStateChecker cancelled
[   +1 ms] /home/swav/Android/Sdk/platform-tools/adb -s emulator-5554 logcat -v time
[   +4 ms] /home/swav/Android/Sdk/platform-tools/adb version
[  +37 ms] Android Debug Bridge version 1.0.39
           Revision 3db08f2c6889-android
           Installed as /home/swav/Android/Sdk/platform-tools/adb
[   +2 ms] /home/swav/Android/Sdk/platform-tools/adb start-server
[ +203 ms] Building APK
[ +224 ms] Using gradle from /home/swav/Library/android-studio-3.0/gradle/gradle-4.0-milestone-1/bin/gradle.
[   +6 ms] Running 'gradle assembleDebug'...
[   +1 ms] [android/] /home/swav/Library/android-studio-3.0/gradle/gradle-4.0-milestone-1/bin/gradle -Ptarget=/home/swav/Git/flutter/status-app/lib/main.dart assembleDebug
[ +652 ms] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Build file '/home/swav/Git/flutter/status-app/android/build.gradle' line: 20
[        ] * What went wrong:
[        ] A problem occurred evaluating root project 'android'.
[        ] > A problem occurred configuring project ':app'.
[        ]    > Failed to notify project evaluation listener.
[        ]       > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[   +4 ms] BUILD FAILED in 0s
[ +366 ms] "flutter run" took 6,247ms.
Gradle build failed: 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:29)
#1      buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:244)
<asynchronous suspension>
#2      buildGradleProject (package:flutter_tools/src/android/gradle.dart:192)
<asynchronous suspension>
#3      buildApk (package:flutter_tools/src/commands/build_apk.dart:83)
<asynchronous suspension>
#4      AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:334)
<asynchronous suspension>
#5      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:223)
<asynchronous suspension>
#6      HotRunner.run (package:flutter_tools/src/run_hot.dart:183)
<asynchronous suspension>
#7      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:321)
<asynchronous suspension>
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:210)
<asynchronous suspension>
#9      RunCommand.verifyThenRunCommand (package:flutter_tools/src/commands/run.dart:210)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:156)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:261)
<asynchronous suspension>
#13     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#14     Future.Future.sync (dart:async/future.dart:208)
#15     CommandRunner.run (package:args/command_runner.dart:109)
#16     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:156)
#17     run.<anonymous closure> (package:flutter_tools/executable.dart:140)
<asynchronous suspension>
#18     AppContext._run (package:flutter_tools/src/base/context.dart:76)
<asynchronous suspension>
#19     AppContext.runInZone.<anonymous closure> (package:flutter_tools/src/base/context.dart:66)
#20     _rootRun (dart:async/zone.dart:1120)
#21     _CustomZone.run (dart:async/zone.dart:1001)
#22     runZoned (dart:async/zone.dart:1465)
#23     AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#24     run (package:flutter_tools/executable.dart:113)
<asynchronous suspension>
#25     main (package:flutter_tools/executable.dart:66)
<asynchronous suspension>
#26     main (file:///home/swav/Library/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#27     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:263)
#28     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)

[  +85 ms] ensureAnalyticsSent: 74ms
[ +158 ms] [/tmp/flutter_tools_uHo3u3/] zip -r -q /home/swav/Git/flutter/status-app/bugreport_03.zip .
[ +166 ms] Exit code 0 from: zip -r -q /home/swav/Git/flutter/status-app/bugreport_03.zip .
[        ] Bug report written to bugreport_03.zip.
           Note that this bug report contains local paths, device identifiers, and log snippets.
[   +9 ms] exiting with code 1

Flutter Doctor
[✓] Flutter (on Linux, channel alpha)
• Flutter at /home/swav/Library/flutter
• Framework revision 973304d5fb (2 days ago), 2017-05-18 17:31:57 -0700
• Engine revision f99d3ef108
• Tools Dart version 1.23.0-dev.11.11
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /home/swav/Android/Sdk
• Platform android-25, build-tools 25.0.3
• Java binary at: /home/swav/Library/android-studio-3.0/jre/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] Android Studio (version 3.0)
• Android Studio at /home/swav/Library/android-studio-3.0
• Gradle version 4.0-milestone-1
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)
[✓] Android Studio (version 2.3)
• Android Studio at /home/swav/Library/android-studio-2.3.1
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] Connected devices
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

It's possible the cause here is that Android Studio 3.0 bundles Gradle 4.0, which (from searching around) was scheduled to deprecate the setDependencyCacheDir API, which some plugins might still be written against. If that's it, I'm not sure what exactly you do to get the flutter tool to talk to the tools installed for Studio 2.3 instead, but that seems like a possible approach.
(I'm not writing this as a Flutter expert, just a user that ran into the same message after looking at both Flutter and Studio 3.0 after the recent I/O announcements.)

FYI @jakobr-google @jason-simmons.

If you have several versions of Android Studio installed, you can configure which one Flutter Tools uses by running flutter config --android-studio-dir=<path to Studio>.
If you just want to specify which Gradle to use, run flutter config --gradle-dir=<path to Gradle>.
But yeah, we'll need to figure out why we're failing with the latest Gradle, and fix that.

We got another report of this just now in Gitter.  The workaround (configure flutter to point to an older gradle) works.  @jason-simmons started looking at what it would take to use a wrapped gradel yesterday.  Unclear if that would help with this bug or not.

I got the same
[√] Flutter (on Microsoft Windows [Version 10.0.15063], channel alpha)
    • Flutter at C:\Flutter
    • Framework revision 973304d5fb (10 days ago), 2017-05-18 17:31:57 -0700
    • Engine revision f99d3ef108
    • Tools Dart version 1.23.0-dev.11.11

[√] Android toolchain - develop for Android devices (Android SDK 25.0.3)
    • Android SDK at C:\Users\dodyg\AppData\Local\Android\sdk
    • Platform android-25, build-tools 25.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[√] Android Studio (version 2.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Gradle version 3.2
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[√] IntelliJ IDEA Community Edition (version 2017.1)
    • Dart plugin version 171.4424.63
    • Flutter plugin version 14.0

[√] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

Thanks @jacobr-google. Changing Android Studio version to 2.4 in Flutter config fixed the issue.

Seems like it's fixed by using:
classpath 'com.android.tools.build:gradle:2.3.3'

Currently the flutter create template has older version 2.2.3
because it defaults to Android Studio gradle version, which is gradle 3.2 on latest stable studio 2.3.

Update:

Flutter now uses Gradle 3.3 (via Gradle Wrapper) and Android Gradle plugin 2.3.3. This configuration has been tested to work both from the Flutter CLI and from Android Studio 2.3.3.
Changing android/gradle/wrapper/gradle-wrapper.properties to target Gradle 3.5 or Gradle 4.0 has also been tested to work in both scenarios.
Use of Android Studio 3.0.0-xxx is not yet officially supported. For Canary 4 it is necessary to

change android/gradle/wrapper/gradle-wrapper.properties to target Gradle 3.5 or later, and then
decline Android Studio's suggestion to upgrade Gradle and the Android Gradle plugin.

i'm having the same issue with flutter and gradle 4.6 with this build (also tried various alternatives to 2.2.3:
buildscript {
repositories {
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.2.3'
}

}
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
}
task wrapper(type: Wrapper) {
gradleVersion = '4.6'
}

android needs 3.0.1 version of gradle plugin to build with gradle >= 4.1

i am using gradle 3.5.1
On 3/17/18, Rafal Wachol<EMAIL_ADDRESS>wrote:

android needs 3.0.1 version of gradle plugin to build with gradle >= 4.1
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/flutter/flutter/issues/10236#issuecomment-373947903

Running into this with Android Studio 3.1.1, gradle 4.4 and com.android.tools.build:gradle:3.1.1. I'm able to run for release (flutter run --release) but not debug. I only have one (latest) version of Android Studio installed. Is there a workaround for this?

The way I got into this situation was to create my Flutter project on my Mac and then attempt running it on Windows. Both Mac and Windows run Android Studio 3.1.1, but the output of flutter --version looks different:
Mac
Flutter 0.0.22-pre.1 • channel alpha • https://github.com/flutter/flutter.git Framework • revision 553fc4264e (6 weeks ago) • 2018-03-01 09:30:25 -0800 Engine • revision 6921873c71 Tools • Dart 2.0.0-dev.16.0
Windows
Flutter • channel alpha • https://github.com/flutter/flutter.git Framework • revision e8aa40eddd (6 months ago) • 2017-10-17 15:42:40 -0700 Engine • revision 7c4142808c Tools • Dart 1.25.0-dev.11.0
When I create a new project on Mac, it uses the following settings:

com.android.tools.build:gradle:3.0.1
gradle 4.1

When I create a new project on Windows, it uses the following settings:

com.android.tools.build:gradle:2.3.3
Gradle 3.3

The later works - so I ended up downgrading the gradle files in my project and it now runs on my physical Android device both on Windows and Mac.
Note that attempting to manually roll forward to Gradle 4.4 and com.android.tools.build:gradle:3.1.1 on Windows didn't work

@davidair those are very old flutter framework builds! I recommend you switch to the beta channel (run the command flutter channel beta), and then upgrade (run the command flutter upgrade).

I upgraded flutter on both machines (was a bit of a mess on Windows because it was so old) and I was able to run a project using 3.1.1 plugin on my Windows box. Thanks for the tip!
Note: I'm surprised "flutter doctor" didn't tell me anything about running an old version.

I was having the same issues and upgrading both flutter and android studio didn't do it. I guess the problem happens once you're stuck with an old project and the tools get updates.
What got it right was updating:

the compileSdkVersion and buildToolsVersion in the file [android/app/build.gradle];
updating the dependencies classpath to grade:2.3.3 in [android/build.gradle] (as @asaarnak sugested).

I used the latest sdk and buildtools versions I've found in the folders .../sdk/build-tools and .../sdk/platforms.

my grade.build file is below:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
}

}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Still have the same issue:
line: 20

What went wrong:
A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Failed to notify project evaluation listener.
com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

I recommend you create a new project and transfer your files to the new one.
As flutter evolves, some of its improvements end up leaving old projects stuck.
I have even created a script for that, it copies the lib/, assets/, icons/*, pubspec.yaml, etc..


RiotGames.RiotClient version <IP_ADDRESS>15678

[x] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

App cannot install silently; closing pull request.


strictPropertyInitialization option doesn't work with computed properties

TypeScript Version:  3.7.x-dev.20200118

Search Terms:
Code
const sym = Symbol();
class A {
    a: 0;
    ['b']: 0;
    [sym]: 0;
    [Symbol.toPrimitive]: 0;
}

Expected behavior:
Error with all properties.
Actual behavior:
Error only with 'a'.
Playground Link: https://www.typescriptlang.org/play/index.html?ts=3.8.0-dev.20200118&ssl=1&ssc=1&pln=7&pc=2#code/MYewdgzgLgBBCeBbGBeGBlJAjEAbAFAJQDcAUMLgIYQQwCCMA3qTKzJQFwwAMZbMAbQDkWIQF0uvFmwEJEEnnxmZEOXADooIAAoAnAJaJ9UfQDcApgqkBfIA
Related Issues:

Assuming the Awaiting More Feedback is applicable to both the TS team and community. Thought I'd give this a +1

Guys any updates?


Flow error handler

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] This issue affects my Ory Cloud project.
[X] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Describe your problem
One of the most difficult aspects of integrating Ory into my frontend has been the flow error handling. I'm currently using this in my Next.js project, based on kratos-selfservice-ui-react-nextjs : https://gist.github.com/jgillich/b078cb3de9047054a458049187f27bbd
It has grown over time, and I'm pretty sure there are subtle bugs there because Sentry picks up on them occasionally, but I'm not sure how to resolve them. Porting it to the latest version of the ory client has been difficult as well. There are some error types in the client, but it doesn't seem complete nor do I know how to detect which error I actually have
This repo once again contains a bunch of boilerplate for error handling, and it also doesn't appear to handle everything correctly (#53)
I was excited about Ory Elements until I realized it doesn't (yet) solve this major pain point.
Describe your ideal solution
Ory should provide an easy to use method that takes an error type and returns actionable results, something like:
interface ParsedFlowError {
  type: "redirect_to" | "bad_request" | "server_error"
  redirect_url?: string
  error_message?: string
}

This would be entirely framework-agnostic.
Workarounds or alternatives
Try to do it yourself, poorly
Version
latest
Additional Context
No response

Absolutely, this problem has been on the back of our heads for some while now. We also generally want to fix this for mobile UIs. But we don't have a good concept yet :(


Doesn't work with short term federated AWS IAM credentials

For some reason awsmobile isn't picking up credentials from my ~/.aws/credentials correctly when using federated login.
I have a feeling it is omitting the token, and just grabbing the id / secret, which results in an authentication error.
Any plans to fix this?
Cheers.

Thanks for the feedbacks, you are right, currently, the awsmobile-cli does not support federated login, I will mark this as a feature request.

system env variable are neater taken into account


buy_pct on manual trades keeps buying

Im using zenbot as a manual trader which should buy in my case 20% of my currency balance when i press b
Zenbot executes the order, buys 20% but than buys another 20% and so on.
could there be something wrong with my code?
my command to open the trader would be in ubuntu:
./zenbot.sh trader --manual --paper bittrex.ltc-btc
in config = c.buy_pct = 20
thanks in advance

I'm experiencing this as well, not just with manual trades but automatic trades too. This is my slack notifications for the last 5 minutes
`Selling BITTREX: placing sell order at 671.999 USDT, 2.27894 USDT over best ask
[7:59]
Sell BITTREX:
sell order completed at 2017-12-15 14:58:54:
1.51848363 ETH at 671.697 USDT
total 1019.96 USDT
0.0450% slippage (orig. price 671.999 USDT)
execution: a minute
[7:59]
Selling BITTREX: placing sell order at 672.393 USDT, 2.59328 USDT over best ask
[8:00]
Sell BITTREX:
sell order completed at 2017-12-15 14:59:53:
0.01518484 ETH at 672.091 USDT
total 10.2056 USDT
0.0450% slippage (orig. price 672.393 USDT)
execution: a minute
[8:00]
Selling BITTREX: placing sell order at 673.272 USDT, 0.878673 USDT over best ask
[8:00]
Selling BITTREX: placing sell order at 673.272 USDT, 0.878673 USDT over best ask
[8:01]
Buying BITTREX: placing buy order at 672.000 USDT, 0.00000000 USDT under best bid
[8:01]
Buy BITTREX:
buy order completed at 2017-12-15 15:01:11:
0.31446376 ETH at 672.302 USDT
total 211.415 USDT
0.0450% slippage (orig. price 672.000 USDT)
execution: a few seconds
[8:01]
Buying BITTREX: placing buy order at 672.000 USDT, 0.00000000 USDT under best bid
[8:02]
Buy BITTREX:
buy order completed at 2017-12-15 15:01:38:
0.25154270 ETH at 672.302 USDT
total 169.113 USDT
0.0450% slippage (orig. price 672.000 USDT)
execution: a few seconds
[8:02]
Buying BITTREX: placing buy order at 670.520 USDT, 0.00000000 USDT under best bid
[8:02]
Buying BITTREX: placing buy order at 670.520 USDT, 0.00000000 USDT under best bid
[8:02]
Buy BITTREX:
buy order completed at 2017-12-15 15:01:49:
0.20165554 ETH at 670.822 USDT
total 135.275 USDT
0.0450% slippage (orig. price 670.520 USDT)
execution: a few seconds
[8:02]
Buying BITTREX: placing buy order at 671.500 USDT, 0.00000000 USDT under best bid
[8:03]
Buying BITTREX: placing buy order at 673.860 USDT, 0.00000000 USDT under best bid
[8:03]
Buy BITTREX:
buy order completed at 2017-12-15 15:03:07:
0.16107096 ETH at 671.802 USDT
total 108.208 USDT
0.0450% slippage (orig. price 671.500 USDT)
execution: a minute
[8:03]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid
[8:05]
Buy BITTREX:
buy order completed at 2017-12-15 15:03:52:
0.12850152 ETH at 674.174 USDT
total 86.6323 USDT
0.0450% slippage (orig. price 673.870 USDT)
execution: a few seconds
[8:05]
Buying BITTREX: placing buy order at 673.860 USDT, 0.00000000 USDT under best bid
[8:05]
Buying BITTREX: placing buy order at 673.860 USDT, 0.00000000 USDT under best bid
[8:05]
Buying BITTREX: placing buy order at 673.860 USDT, 0.00000000 USDT under best bid
[8:05]
Buying BITTREX: placing buy order at 673.860 USDT, 0.00000000 USDT under best bid
[8:06]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid
[8:06]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid
[8:06]
Buy BITTREX:
buy order completed at 2017-12-15 15:05:56:
0.10279124 ETH at 674.163 USDT
total 69.2981 USDT
0.0450% slippage (orig. price 673.860 USDT)
execution: a minute
[8:06]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid
[8:07]
Buy BITTREX:
buy order completed at 2017-12-15 15:06:21:
0.08222279 ETH at 674.174 USDT
total 55.4324 USDT
0.0450% slippage (orig. price 673.870 USDT)
execution: a few seconds
[8:07]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid
[8:07]
Buying BITTREX: placing buy order at 674.000 USDT, 0.00000000 USDT under best bid
[8:08]
Buying BITTREX: placing buy order at 674.163 USDT, 0.00000000 USDT under best bid
[8:08]
Buy BITTREX:
buy order completed at 2017-12-15 15:07:13:
0.06577083 ETH at 674.174 USDT
total 44.3410 USDT
0.0450% slippage (orig. price 673.870 USDT)
execution: a few seconds
[8:08]
Buy BITTREX:
buy order completed at 2017-12-15 15:08:18:
0.05259044 ETH at 674.466 USDT
total 35.4705 USDT
0.0450% slippage (orig. price 674.163 USDT)
execution: a minute
[8:08]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid
[8:08]
Buying BITTREX: placing buy order at 673.870 USDT, 0.00000000 USDT under best bid`

i tested different settings, different strategies and also trades with poloniex but always the same outcome.
the system buys 20% but doesnt stop and attempts to buy another 20%.
My guess would be that buy_pct isnt implemented correctly.
unfortunately i couldnt find any errors in engine.js, maybe someone more experienced could look into it?

buy order completed at 2017-12-17 14:31:08:
46838.40749415 CANN at 0.00000427 BTC
total 0.200000 BTC
0.0000% slippage (orig. price 0.00000427 BTC)
execution: a minute
2017-12-17 14:31:21  0.00000428 CANN-BTC   +0.00%     5902              bought
2017-12-17 14:31:21  0.00000428 CANN-BTC   +0.00%     5902              bought
2017-12-17 14:31:21  0.00000428 CANN-BTC   +0.00%     5902              buying
2017-12-17 14:31:21  0.00000428 CANN-BTC   +0.00%     5902              buying
2017-12-17 14:31:21  0.00000428 CANN-BTC   +0.00%     5902              buying
maybe there would be a combination with ms to pull trades ...
Ill keep testing

This issue was moved to highvelocityspace/zenbot#73

Dear issue reporter,
We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.
You can find it here: https://reddit.com/r/zenbot
This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.
Thanks for contributing time and effort!
Greetings,
🤖


Create "rcos homework server" logo & add to page

(need to finalize the 'product' name)
There's blank space on the upper right corner of the page... (or we should reorganize/redesign the overall page layout)

Melissa, you asked about Photoshop skillz earlier.  Do you want to lead the brainstorming for a design?

Yeah sure I could do that

Our name is Submitty.

see http://submitty.org


Release 1.0.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.363%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1604

Relevant Lines:
2417

💛  - Coveralls


update the game over message

Update the game over message so people know how to play again!

another test to see if step 3 updates


allow ecr repo creation from release job

Description of changes:

This change allows creation of ecr-public repository from ACK release prowjob
This change also updates release job Docker image to include "envsubst"(gettext) tool

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

cc: @JamesJHPark


Update module github.com/stackitcloud/stackit-sdk-go/services/argus to v0.2.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/stackitcloud/stackit-sdk-go/services/argus
require
minor
v0.1.0 -> v0.2.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

To be regenerated


Errors on publish

My application consumes two streams that end up publishing to the same channel concurrently. Sometimes, a few times per day, the following error happens and drops the connection:
2020-09-18 05:23:09-0400 ERROR lapin on_error called: ProtocolError(AMQPError { kind: Hard(UNEXPECTEDFRAME), message: ShortString("UNEXPECTED_FRAME - expected content body, got non content body frame instead") })
I can reproduce the issue with the following code. The only difference is that my application only publishes once the connection is up.
use futures::prelude::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let uri = std::env::var("RABBIT_URL")?;
    let conn = lapin::Connection::connect(&uri, Default::default()).await?;
    leak(conn).await
}

async fn leak(conn: lapin::Connection) -> Result<(), Box<dyn std::error::Error>> {
    let chan = conn.create_channel().await?;
    chan.confirm_select(Default::default()).await?;

    futures::stream::iter(0..1000).map(Ok::<_, lapin::Error>).try_for_each_concurrent(100, |_| async {
        chan.exchange_declare("devnull", lapin::ExchangeKind::Topic, Default::default(), Default::default()).await?;
        let confirm_future = chan.basic_publish("devnull", "42", Default::default(), b"Silly wabbit".to_vec(), Default::default()).await?;
        confirm_future.await?;
        Ok(())
    }).await?;

    chan.close(200, "bye").await?;
    conn.close(200, "bye").await?;

    Ok(())
}

There might be room for improvement when there are huge payloads. I have some local tests going on but the issue should be fixed

Looks good on my end, feel free to close this.

Thanks!


[CARBONDATA-3021][Streaming] Fix unsupported data type exception for streaming

Background:
when spark uses Kryo serialization, streaming app throws the exception "Unsupported data type".
Root cause:

collect the data type list to driver side from executor side.
when using Kryo, datatype single instances are not working.
Solution:
don't collect measure data type list from executor side to avoid serialization.

[x] Any interfaces changed?
no

[x] Any backward compatibility impacted?
no

[x] Document update required?
no

[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
use old test case to test it.

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
small

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/844/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9109/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1041/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/854/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1051/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9119/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/856/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1056/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9123/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/869/

Build Success with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/9135/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1068/

LGTM

LGTM


Allow passing of statsOption to toJson method of stats object

Summary
See #508. I didn't do a good job of communicating that my current problem with @loadable/webpack-plugin is that it doesn't allow me to use webpack-bundle-analyzer, which requires information about chunks and modules, which this package excludes.
It makes sense to me that this package would default to the bare minimum required to make @loadable/component work, but I would also like to be able to pass additional options to the stats dump so that I don't have to dump stats twice (for context, we keep the stats.json from each build as an artifact so that we can keep track of changes in bundle size over time).
Test plan
Add statsOption: 'normal' to the plugin options and run a build. See that the resulting stats file contains chunk and module information.
Run the website and see that the option is documented under the API docs for the webpack plugin.

You shall never use loadable-components to generate stats for webpack-bundle-analyser, that's just not right. Keep in mind - that's just a coincidence that the output format of a plugin is compatible with something else.
However, using "full" stat.json generated by other plugins seems to be a bit more ok-ish, and this is how it's currently documented.

I was under the impression that that wouldn't work because the webpack plugin injects a jsonp function used by loadableReady. Is that not the case?
As an aside, I was kind of confused by the existence of loadableReady at all. I was under the impression that <script async /> tags preserve the order of execution, even if they download asynchronously/out of order.

And for additional context, using webpack-stats-plugin to drive SSR + code splitting is how it's done in react-universal-component, which is the library I'm trying to migrate from. It's dead :(

I'm completely fine with using webpack-stats-plugin and closing this PR if that's a possibility.
I'd also be game to write some documentation for providing stats.json through methods other than @loadable/webpack-plugin if there's interest in that.

There was a PR by @hedgepigdaniel merged just a few days ago, where you can disable loadable-stats generation - https://github.com/gregberge/loadable-components/pull/487
It provides information on how to NOT use toJson feature, but not how to USE "stats" generated by other plugins, while I think that's the case.

See the new docs: https://loadable-components.com/docs/server-side-rendering/#using-your-own-stats-file