Community Server does not start correctly ?

Hi,
I have just started playing with onlyoffice because I would like to test it in docker environments before buying a licence.
It seems I can not really start the community edition container since it does not serve the WebUI.
Context:

I am running the Docker installation with simply mysql + community edition.
Docker Version 18.06.1-ce
MacBook Pro 2018;  16 Gb RAM;   2,2 GHz Intel Core i7

I did follow step by step the docker setup (network creation, mysql start and community edition start) without adding or changing any environmental variables.
First I noticed that community edition container always take a while to start (around 6-8 minutes) because of the several mysql updates. But at the end, it reaches the tail -f /dev/null and the container just waits (what it suppose to do due to the run-community-server.sh). Find below the logs -f:
+ '[' -f /var/www/onlyoffice/Data/certs/onlyoffice.crt -a -f /var/www/onlyoffice/Data/certs/onlyoffice.key ']'
+ cp /etc/nginx/includes/onlyoffice-communityserver-common.conf.template /app/onlyoffice/config/nginx/prepare-onlyoffice
+ sed -i 1d /etc/logrotate.d/nginx
+ sed '1 i\/var/log/nginx/*.log /var/log/onlyoffice/nginx.*.log {' -i /etc/logrotate.d/nginx
+ '[' <IP_ADDRESS>/20 ']'
+ sed 's,{{DOCKER_ONLYOFFICE_SUBNET}},<IP_ADDRESS>/20,' -i /app/onlyoffice/config/nginx/prepare-onlyoffice
+ '[' ']'
+ echo Start=No
+ grep -q 'name="textindex"' /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.Config
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' false == true ']'
+ '[' SERVER == SERVER ']'
++ seq 1 1
+ for serverID in '$(seq 1 ${ONLYOFFICE_MONOSERVE_COUNT})'
+ '[' 1 == 1 ']'
+ sed '/web.warmup.count/s/value=\"\S*\"/value=\"1\"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/web.warmup.domain/s/value=\"\S*\"/value=\"localhost\/warmup\"/g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/WebStudio/web.appsettings.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/ApiSystem/Web.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe.Config
+ sed '/core\.machinekey/s!"core\.machinekey".*!"core\.machinekey":"Vskoproizvolny Salt par Chivreski",!' -i /var/www/onlyoffice/Services/ASC.Socket.IO/config/config.json
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.EmlDownloader.exe.config
+ sed '/core.machinekey/s!value=".*"!value="Vskoproizvolny Salt par Chivreski"!g' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config
+ continue
+ sed 's/{{ONLYOFFICE_NIGNX_KEEPLIVE}}/32/g' -i /app/onlyoffice/config/nginx/prepare-onlyoffice
+ bash -c 'echo "onlyoffice ALL=(ALL) NOPASSWD: /usr/sbin/service" | (EDITOR="tee -a" visudo)'
onlyoffice ALL=(ALL) NOPASSWD: /usr/sbin/service
+ '[' false == true ']'
+ service redis-server start
redis-server: unrecognized service
+ '[' true == true ']'
+ rm -f /etc/god/conf.d/mysql.god
+ '[' SERVER == SERVICES ']'
+ '[' DEBUG ']'
+ echo 'fix docker bug volume mapping for onlyoffice'
fix docker bug volume mapping for onlyoffice
+ chown -R onlyoffice:onlyoffice /var/log/onlyoffice
+ chown -R onlyoffice:onlyoffice /var/www/onlyoffice/DocumentServerData
++ ls -alhd /var/www/onlyoffice/Data
++ awk '{ print $3 }'
+ '[' onlyoffice '!=' onlyoffice ']'
++ seq 1 1
+ for serverID in '$(seq 1 ${ONLYOFFICE_MONOSERVE_COUNT})'
+ index=1
+ '[' 1 == 1 ']'
+ index=
+ service monoserve restart
Starting monoserve... OK
+ service monoserveApiSystem restart
Starting monoserveApiSystem... OK
+ '[' false == true ']'
+ service onlyofficeSocketIO restart
Starting onlyofficeSocketIO... OK
+ service onlyofficeFeed restart
Starting onlyofficeFeed... OK
+ service onlyofficeIndex restart
Starting onlyofficeIndex... OK
+ service onlyofficeJabber restart
Starting onlyofficeJabber... OK
+ service onlyofficeMailAggregator restart
Starting onlyofficeMailAggregator... OK
+ service onlyofficeMailWatchdog restart
Starting onlyofficeMailWatchdog... OK
+ service onlyofficeNotify restart
Starting onlyofficeNotify... OK
+ service onlyofficeBackup restart
Starting onlyofficeBackup... OK
+ service onlyofficeAutoreply stop
onlyofficeAutoreply is not running
+ service onlyofficeHealthCheck stop
onlyofficeHealthCheck: unrecognized service
+ service god restart
Restarting god... The server is not available (or you do not have permissions to access it)
OK
+ '[' SERVER == SERVER ']'
+ mv /app/onlyoffice/config/nginx/prepare-onlyoffice /etc/nginx/sites-enabled/onlyoffice
+ service nginx reload
 * Reloading nginx nginx                                                 [ OK ]
+ log_debug 'reload nginx config'
+ echo 'onlyoffice: [Debug] reload nginx config'
onlyoffice: [Debug] reload nginx config
+ log_debug FINISH
+ echo 'onlyoffice: [Debug] FINISH'
onlyoffice: [Debug] FINISH
++ ps auxf
++ grep cron
++ awk '{print $2}'
++ grep -v grep
+ PID=
+ '[' -n '' ']'
+ cron
+ '[' true == true ']'
+ exec tail -f /dev/null

Notice that some serviced have not been restarted, for instance onlyofficeHealthCheck, god. I do not know the impact of this in the container start.
On the other hand, meanwhile the community container runs it is possible to visit the WebUI atlocalhost:80, but  I receive 502 in loop due to a HTTP GET /api/2.0/capabilities.json
head -n10 /var/log/nginx/access.log
<IP_ADDRESS> - - [16/Sep/2018:11:40:24 +0000] "GET /api/2.0/capabilities.json HTTP/1.1" 502 173 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13;
 rv:62.0) Gecko/20100101 Firefox/62.0" "-"
<IP_ADDRESS> - - [16/Sep/2018:11:40:29 +0000] "GET /api/2.0/capabilities.json HTTP/1.1" 502 173 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13;
 rv:62.0) Gecko/20100101 Firefox/62.0" "-"

I have checked the nginx error logs:
head -n10 /var/log/nginx/error.log
2018/09/16 11:40:23 [alert] 59#59: worker process 65 exited on signal 9
2018/09/16 11:40:24 [crit] 100#100: *1 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream,
 client: <IP_ADDRESS>, server: , request: "GET /api/2.0/capabilities.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "loc
alhost", referrer: "http://localhost/"
2018/09/16 11:40:25 [alert] 59#59: worker process 100 exited on signal 9
2018/09/16 11:40:25 [alert] 59#59: worker process 66 exited on signal 9

In addition, these calls stop in the very moment the community server container stalls in exec tail -f /dev/null.
I am not sure yet of what is going on under the hoods, but it can be a great help to start the service to really understand =]
Any ideas on how I can continue and avoid this issue?
Thank you !

Hello @manypozo Please delete all containers, clean mounted folders, and try our script opensource-install.sh.
Services that do not restarted - it's ok. They are in development, and do not have any impact on performance.
502 Bad Gateway immediately when you open a web page and does not pass?
And please close clone issue https://github.com/ONLYOFFICE/CommunityServer/issues/118

Do you mean to create my own dockerfile and run opensource-install.sh within?
The 502 Bad gateway for capabilites.json I got while watching the WebUI to try to start; maybe a few seconds after the container starts.  I thought it was because under the hoods community edition is setting the tables of mysql and so on.
And this 502 remains till the container reaches the line exec tail -f /dev/null. Once it reaches this line, the webui does not respond anymore.

No, try to use our script
wget http://download.onlyoffice.com/install/opensource-install.sh
bash opensource-install.sh -md yourdomain.com
Community server need a few moments to start, but in this time you will see our special page. 502 Bad Gateway page means that our site(monoserve) not started, or crashed.
In browser you got "server does not respond"? No nginx error page?

the webui does not respond anymore

I do not want to install it on my personal computer, that is why I wanted to used Docker.
Regarding the 502, what I do see is this:

Then, once logs show exec tail -f /dev/null there is no page to serve anymore and hence this page disappears.

Our script can installing in docker, it's main method of installation Onlyoffice. What do you mean under "page disappears"? Can you screenshot this? And maybe other errors in logs?

I mean that the page of the screenshot I just sent is not served anymore. Instead there is a white page doing some networking resolution.
Tell me the logs you want and I will capture them.
Thank you! =]

Can you check onlyoffice logs for errors (web.log, monoserve.log)? With our script same result?

Hi again, I have had some time to test the installation.
First of all, I noticed that similar issues are still open, specially this one which has the same symptoms.
Environemnt
I am going to describe first my environment:
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G2307

Model Name: MacBook Pro
Model Identifier: MacBookPro15,1
Processor Name: Intel Core i7
Processor Speed: 2,2 GHz
Number of Processors: 1
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 9 MB
Memory: 16 GB

Docker version 18.06.1-ce, build e68fc7a

Method
Create folders
I use a local folder to avoid using sudo. So, instead of /app I use ${PWD}/app
# Clean up
rm -rf ./app

# For MySQL server
mkdir -p "app/onlyoffice/mysql/conf.d";
mkdir -p "app/onlyoffice/mysql/data";
mkdir -p "app/onlyoffice/mysql/initdb";

# For Community Server data and logs
mkdir -p "app/onlyoffice/CommunityServer/data";
mkdir -p "app/onlyoffice/CommunityServer/logs";

# For Document server data and logs
mkdir -p "app/onlyoffice/DocumentServer/data";
mkdir -p "app/onlyoffice/DocumentServer/logs";

# And for Mail Server data and logs
mkdir -p "app/onlyoffice/MailServer/data/certs";
mkdir -p "app/onlyoffice/MailServer/logs";

Create Docker Network
docker network create --driver bridge onlyoffice

Run MySQL
Create app/onlyoffice/mysql/conf.d/onlyoffice.cnf and app/onlyoffice/mysql/initdb/setup.sql.  ERROR 2003 (HY000): Can't connect to MySQL server on 'onlyoffice-mysql-server' (111)

I am now analyzing the run-community-server.sh looking for MySQL connections that may need to be closed. I think something in the script makes MySQL restart in the installation process. Hence, it could be perfectly normal that CommunityServer does not get to load the web homepage.
Do you have any leads about this ?
PS:  I have tried by using your own script opensource-install.sh inside a VM, and it works =]

Hello @manypozo  viewing by the errors, mysql server for some reason was unavailable. Did you try to connect mysql container, and login to mysql? Did you try to reinstall after that errors? Got the same result?

I have tried connecting to the container and login.
I have tried stopping onlyoffice-communityserver container and running it again (without deleting MySQL, kind of "try it again"). Same result.
The error rises because the container MySQL has restarted due to the community-server connections over upgrade*.sql etc;   I have to get deep into the logging connections to find out some hints to understand why.
In fact, all begins right here (logs from community server)
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.resources.sql
+ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice
ERROR 2013 (HY000) at line 23: Lost connection to MySQL server during query

The script takes much time in executing the sql code. In the meanwhile, mysql logs says:
Version: '5.7.23'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
2018-10-05T14:53:05.082549Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 4648ms. The settings might not be optimal. (flushed=150 and evicted=0, during the time.)
2018-10-05T14:55:13.318307Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 4834ms. The settings might not be optimal. (flushed=200 and evicted=0, during the time.)
2018-10-05T14:55:40.346447Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 4033ms. The settings might not be optimal. (flushed=200 and evicted=0, during the time.)
2018-10-05T14:56:41.801672Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 4426ms. The settings might not be optimal. (flushed=200 and evicted=0, during the time.)
2018-10-05T14:59:50.358858Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 5407ms. The settings might not be optimal. (flushed=197 and evicted=0, during the time.)
2018-10-05T15:00:46.223592Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 4386ms. The settings might not be optimal. (flushed=200 and evicted=0, during the time.)

Then it suddenly restarts (what causes the rest of the connection errors).
I think I have to focus on what is happening during mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.resources.sql
Maybe the sql resources import is taking too much effort towards mysql capabilities under some circunstancies hint?.
Do you think it is worthy to check out ?

Update:
I used the docker image onlyoffice/communityserver:<IP_ADDRESS>1 instead of latest, just as it is done in the script installation.
The mysql connection is not lost anymore in + mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.resources.sql.  Now it is lost much much later, in:
+ mysql_batch_exec /var/www/onlyoffice/Sql/onlyoffice.upgrade.resources.sql
+ mysql --silent --skip-column-names -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass -D onlyoffice
ERROR 2013 (HY000) at line 8: Lost connection to MySQL server during query

I will dig deeper into these sql file in the incoming days. I do think that for some reason the load is heavier that expected for mysql server hence provoking a restart.

@manypozo Hi, I have the same problem with you. Do you have a solution now?

I have not taken the time to dig yet I am sorry, I have been busy. I will find some time this weekend to do it.
Anyhow, how have you installed your environment? (I mean, did you follow my steps or their steps?)

@manypozo I installed it according to the official steps. This problem has always confused me. It can't find the file(/api/2.0/capabilities.json) and the database has always been restarted. I can't find the reason.

@MrHeer Can you connect to mysql container and db? Any errors in mysql error.log?

@Carazyda
[root@localhost ~]# docker ps
CONTAINER ID        IMAGE                                  COMMAND                  CREATED             STATUS                              PORTS                                                                                NAMES
d8e2bc6d3473        onlyoffice/communityserver:<IP_ADDRESS>1   "/usr/bin/dumb-ini..."   5 days ago          Up 6 minutes                        <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:443->443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, <IP_ADDRESS>:5222->5222/tcp, 9888/tcp   onlyoffice-community-server
a56d9d5e27c8        onlyoffice/documentserver:<IP_ADDRESS>      "/bin/sh -c /app/o..."   5 days ago          Up 6 minutes                        80/tcp, 443/tcp                                                                                onlyoffice-document-server
005f38bea98d        mysql:5.7.21                           "docker-entrypoint..."   5 days ago          Restarting (1) About a minute ago                                                                                onlyoffice-mysql-server

[root@localhost ~]# docker logs onlyoffice-community-server
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
+ sleep 1
+ mysqladmin ping -h onlyoffice-mysql-server -P 3306 -u onlyoffice_user --password=onlyoffice_pass --silent
+ sleep 1

[root@localhost ~]# docker logs onlyoffice-document-server
Waiting for connection to the localhost host on port 5672
Waiting for connection to the localhost host on port 5672
Waiting for connection to the localhost host on port 5672
Waiting for connection to the localhost host on port 5672
Waiting for connection to the localhost host on port 5672
Waiting for connection to the localhost host on port 5672
Waiting for connection to the localhost host on port 5672
^Cmkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver-example’: Permission denied
chown: changing ownership of '/var/log/onlyoffice': Permission denied
chmod: changing permissions of '/var/log/onlyoffice': Permission denied
chown: changing ownership of '/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten': Permission denied
chmod: changing permissions of '/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten': Permission denied
chown: changing ownership of '/var/www/onlyoffice/Data': Permission denied
chmod: changing permissions of '/var/www/onlyoffice/Data': Permission denied
 * Starting PostgreSQL 9.5 database server                               [ OK ]
 * Starting RabbitMQ Messaging Server rabbitmq-server                    [ OK ]
Starting redis-server: redis-server.
Starting supervisor: Error: The directory named as part of the path /var/log/onlyoffice/documentserver/docservice/out.log does not exist. in section 'program:docservice' (file: '/etc/supervisor/conf.d/onlyoffice-documentserver-docservice.conf')
For help, use /usr/bin/supervisord -h
 * Starting periodic command scheduler cron                              [ OK ]
 * Starting nginx nginx                                                  [fail]
Generating AllFonts.js, please wait...Done
http://localhost:9001 refused connection
http://localhost:9001 refused connection
 * Reloading nginx configuration nginx                                   [fail]
tail: cannot open '/var/log/onlyoffice/**/*.log' for reading: No such file or directory
tail: no files remaining
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver’: Permission denied
mkdir: cannot create directory ‘/var/log/onlyoffice/documentserver-example’: Permission denied
chown: changing ownership of '/var/log/onlyoffice': Permission denied
chmod: changing permissions of '/var/log/onlyoffice': Permission denied
chown: changing ownership of '/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten': Permission denied
chmod: changing permissions of '/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten': Permission denied
chown: changing ownership of '/var/www/onlyoffice/Data': Permission denied
chmod: changing permissions of '/var/www/onlyoffice/Data': Permission denied

[root@localhost ~]# docker logs onlyoffice-mysql-server
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied
chown: changing ownership of '/var/lib/mysql/': Permission denied

You run script by root user? /app directory created? What rights and owner (ls -l)?

@Carazyda
yes, I run script by root user.
[root@localhost /]# ls -l /app/
total 0
drwxr-xr-x. 5 root root 64 Oct 15 14:19 onlyoffice

the issue with capabilities.json is gone once the db is well bootstrapped.
about your permission denied issue, you have to either run docker under sudo, either change the volume folder to your home folder to avoid creating a folder under /

@manypozo  Do you mean that I need to use sudo even under the root user?

My problem has been solved, the solution is as follows:

comment sudo curl -s -O http://download.onlyoffice.com/install/install.sh in opensource-install.sh

exec sudo curl -s -O http://download.onlyoffice.com/install/install.sh in the same directory as opensource-install.sh

add args+=(--privileged=true); in install.sh. More than one place, the following is just an example

                args+=(--privileged=true);
                args+=(-v "/app/onlyoffice/mysql/conf.d:/etc/mysql/conf.d");
                args+=(-v "/app/onlyoffice/mysql/data:/var/lib/mysql");
                args+=(-v "/app/onlyoffice/mysql/initdb:/docker-entrypoint-initdb.d");
                args+=(-e "MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD");
                args+=(-e "MYSQL_DATABASE=$MYSQL_DATABASE");
                args+=("$MYSQL_IMAGE_NAME:$MYSQL_VERSION");

it does not stuck anymore while loading the database ?

Yes, the database no longer crashes. The entire system is already running, perfect!!

I run into similar problems currently...
Using privileged=true is dangerous:
When the operator executes docker run --privileged, Docker will enable access to all devices on the host as well as set some configuration in AppArmor or SELinux to allow the container nearly all the same access to the host as processes running outside containers on the host.

This shouldn't be the solution.

I absolutely agree with @Braintelligence on this. Running the container as privileged is not the solution to this issue. IMO, the entire setup of this is broken, starting from needing to create a bunch of specific folders in the /app directory. I should need to provide volumes to the container, regardless of how or where they are created.  Otherwise, there's all sorts of permissions problems you may run into.
I've worked in documentation before, as well as devops, and I'd be happy to help you all with documenting a better method of setup.
The product itself seems great, but I'm having similar problems getting it running. I follow the instructions provided, and MySQL can't connect. I believe a lot of that is due to your documentation. For instance, instead of telling me to create a user called onlyoffice, it tells me to chown files to user 999. That already assumes I don't have some other user with a uid of 999.
I do.
This seems to be the exact kind of software my clients need to stop paying outrageous fees to m$ for Office, but if I can't install it over several hours/days myself, how could I possibly recommend a paid license to my clients?
If you all could help me get the knowledge I'd need to install this, I'd be happy to help you polish up the documentation.

I have also the same problem. Installed as explained in the manual, with docker packages and without mail server. When accessing, I get the "Please wait" screen, with continous 502 responses from http:///api/2.0/capabilities.json
This hasn't been resolved since september 2018? I haven't done anything save executing the install script. I've also tested the solution of adding --privileged=true, but no result.
I want to try the product but can't even start it.

I haven't done anything save executing the install script.

Could you please describe the environment where you are trying to install the product.
We would like to access to the server for analyzing the issue.
Would be great if you could contact us at<EMAIL_ADDRESS>and send us all details.

Ok. Thanks to your technical support, it seemed that in my case the problem was due to the server not having enough memory. By adding a swap file, it works now! But I'll move it to a server with more real memory ASAP.
Thank you very much.

After 4 fresh installations on ovh.net with 502 error,
The problem was resolved by running installation script with sudo
sudo wget http://download.onlyoffice.com/install/opensource-install.sh
AND
sudo bash opensource-install.sh
And as stated @hirunatan above about swap, I also assign swap to my VPS which doesn't have initially.
After that everything runs successfully, only that I have to manually bypass the wizard page when it did not proceed after collecting initially details

Hello,
I've got http://xxx/api/2.0/capabilities.json -> 502

and
sudo wget http://download.onlyoffice.com/install/opensource-install.sh -> 404 Not found
wget https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.yml -> 404 Not found
my docker-compose.yml :
version: '3'
services:
  mysql-server:
    image: mysql:latest
    environment:
     - MYSQL_ROOT_PASSWORD=my-secret-pw
    networks:
     - internal
    stdin_open: true
    tty: true
    restart: always
    volumes:
     - mysql_data:/var/lib/mysql
  community-server:
    image: onlyoffice/communityserver:latest
    depends_on:
     - mysql-server
     - document-server
     - mail-server
    environment:
     - VIRTUAL_HOST=onlyoffice.your-domain.com
     - LETSENCRYPT_HOST=onlyoffice.your-domain.com
     -<EMAIL_ADDRESS>     - DOCUMENT_SERVER_PORT_80_TCP_ADDR=document-server
     - MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
     - MYSQL_SERVER_DB_NAME=onlyoffice
     - MYSQL_SERVER_HOST=mysql-server
     - MYSQL_SERVER_USER=onlyoffice_user
     - MYSQL_SERVER_PASS=onlyoffice_pass
     - MAIL_SERVER_API_PORT=8081
     - MAIL_SERVER_API_HOST=mail-server
     - MAIL_SERVER_DB_HOST=mysql-server
     - MAIL_SERVER_DB_PORT=3306
     - MAIL_SERVER_DB_NAME=onlyoffice_mailserver
     - MAIL_SERVER_DB_USER=onlyoffice_mailserver_user
     - MAIL_SERVER_DB_PASS=onlyoffice_mailserver_user_pass
    ports:
     - '82:80'
    networks:
     - internal
    stdin_open: true
    tty: true
    restart: always
    volumes:
     - community_data:/var/www/onlyoffice/Data
     - community_log:/var/log/onlyoffice
     - document_data:/var/www/onlyoffice/DocumentServerData
     - certs:/var/www/onlyoffice/Data/certs
  document-server:
    image: onlyoffice/documentserver:latest
    stdin_open: true
    tty: true
    restart: always
    networks:
      - internal
    volumes:
      - document_data:/var/www/onlyoffice/Data
      - document_log:/var/log/onlyoffice
      - document_fonts:/usr/share/fonts/truetype/custom
      - document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten
    environment:
      - VIRTUAL_HOST=document.your-domain.com
      - LETSENCRYPT_HOST=document.your-domain.com
      -<EMAIL_ADDRESS>  mail-server:
    image: onlyoffice/mailserver:latest
    depends_on:
     - mysql-server
    hostname: sophienoel.fr
    environment:
       - MYSQL_SERVER=mysql-server
       - MYSQL_SERVER_PORT=3306
       - MYSQL_ROOT_USER=onlyoffice_mailserver_user
       - MYSQL_ROOT_PASSWD=onlyoffice_mailserver_user_pass
       - MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
    networks:
      - internal
    restart: always
    privileged: true
    stdin_open: true
    tty: true
    volumes:
      - mail_data:/var/vmail
      - mail_certs:/etc/pki/tls/mailserver
      - mail_log:/var/log
networks:
  internal:
    driver: 'bridge'
volumes:
  mail_data:
  mail_certs:
  mail_log:
  document_data:
  document_log:
  document_forgotten:
  community_data:
  community_log:
  mysql_data:
  document_fonts:
  certs:

So I'm really stuck . Help, please !

Hello,
I've got http://xxx/api/2.0/capabilities.json -> 502

and
sudo wget http://download.onlyoffice.com/install/opensource-install.sh -> 404 Not found
wget https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.yml -> 404 Not found
my docker-compose.yml :
version: '3'
services:
  mysql-server:
    image: mysql:latest
    environment:
     - MYSQL_ROOT_PASSWORD=my-secret-pw
    networks:
     - internal
    stdin_open: true
    tty: true
    restart: always
    volumes:
     - mysql_data:/var/lib/mysql
  community-server:
    image: onlyoffice/communityserver:latest
    depends_on:
     - mysql-server
     - document-server
     - mail-server
    environment:
     - VIRTUAL_HOST=onlyoffice.your-domain.com
     - LETSENCRYPT_HOST=onlyoffice.your-domain.com
     -<EMAIL_ADDRESS>     - DOCUMENT_SERVER_PORT_80_TCP_ADDR=document-server
     - MYSQL_SERVER_ROOT_PASSWORD=my-secret-pw
     - MYSQL_SERVER_DB_NAME=onlyoffice
     - MYSQL_SERVER_HOST=mysql-server
     - MYSQL_SERVER_USER=onlyoffice_user
     - MYSQL_SERVER_PASS=onlyoffice_pass
     - MAIL_SERVER_API_PORT=8081
     - MAIL_SERVER_API_HOST=mail-server
     - MAIL_SERVER_DB_HOST=mysql-server
     - MAIL_SERVER_DB_PORT=3306
     - MAIL_SERVER_DB_NAME=onlyoffice_mailserver
     - MAIL_SERVER_DB_USER=onlyoffice_mailserver_user
     - MAIL_SERVER_DB_PASS=onlyoffice_mailserver_user_pass
    ports:
     - '82:80'
    networks:
     - internal
    stdin_open: true
    tty: true
    restart: always
    volumes:
     - community_data:/var/www/onlyoffice/Data
     - community_log:/var/log/onlyoffice
     - document_data:/var/www/onlyoffice/DocumentServerData
     - certs:/var/www/onlyoffice/Data/certs
  document-server:
    image: onlyoffice/documentserver:latest
    stdin_open: true
    tty: true
    restart: always
    networks:
      - internal
    volumes:
      - document_data:/var/www/onlyoffice/Data
      - document_log:/var/log/onlyoffice
      - document_fonts:/usr/share/fonts/truetype/custom
      - document_forgotten:/var/lib/onlyoffice/documentserver/App_Data/cache/files/forgotten
    environment:
      - VIRTUAL_HOST=document.your-domain.com
      - LETSENCRYPT_HOST=document.your-domain.com
      -<EMAIL_ADDRESS>  mail-server:
    image: onlyoffice/mailserver:latest
    depends_on:
     - mysql-server
    hostname: sophienoel.fr
    environment:
       - MYSQL_SERVER=mysql-server
       - MYSQL_SERVER_PORT=3306
       - MYSQL_ROOT_USER=onlyoffice_mailserver_user
       - MYSQL_ROOT_PASSWD=onlyoffice_mailserver_user_pass
       - MYSQL_SERVER_DB_NAME=onlyoffice_mailserver
    networks:
      - internal
    restart: always
    privileged: true
    stdin_open: true
    tty: true
    volumes:
      - mail_data:/var/vmail
      - mail_certs:/etc/pki/tls/mailserver
      - mail_log:/var/log
networks:
  internal:
    driver: 'bridge'
volumes:
  mail_data:
  mail_certs:
  mail_log:
  document_data:
  document_log:
  document_forgotten:
  community_data:
  community_log:
  mysql_data:
  document_fonts:
  certs:

So I'm really stuck . Help, please !

Hello @snoel88 in the last major release we have renamed our products, and updated the installation scripts. Please see the information in this repo. For example, script renamed to workspace-install.sh.

Hello @snoel88 in the last major release we have renamed our products, and updated the installation scripts. Please see the information in this repo. For example, script renamed to workspace-install.sh.

Hi @Carazyda after updating community server from <IP_ADDRESS>8 to latest vía web control we have the same situation:
api/2.0/capabilities.json 502 (Bad Gateway) in frontend
The log in the community server shows:
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1

And the stack seems that it is working (as we can send mails throught external clients) and logs seems OK.
After wait for (at least) 1/2 hour, we tried to revert vía workspace-install.sh to the last working version by using:
sudo bash workspace-install.sh -ics true -cv <IP_ADDRESS>8 -ids true -dv <IP_ADDRESS> -icp true -cpv <IP_ADDRESS>1 -ims true -mv 1.6.74 -md "my.hostname.com"
But it keeps in the same state.
Any guidance on what to try?
Thank you very much,

Hi @Carazyda after updating community server from <IP_ADDRESS>8 to latest vía web control we have the same situation:
api/2.0/capabilities.json 502 (Bad Gateway) in frontend
The log in the community server shows:
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
+ sleep 1

And the stack seems that it is working (as we can send mails throught external clients) and logs seems OK.
After wait for (at least) 1/2 hour, we tried to revert vía workspace-install.sh to the last working version by using:
sudo bash workspace-install.sh -ics true -cv <IP_ADDRESS>8 -ids true -dv <IP_ADDRESS> -icp true -cpv <IP_ADDRESS>1 -ims true -mv 1.6.74 -md "my.hostname.com"
But it keeps in the same state.
Any guidance on what to try?
Thank you very much,

Hi @jcaridadhdez it seems the community server is unable to connect to the mysql server. It does not depend on the version. Try installing the latest versions with a script and check that the mysql server is up and running. If it doesn't help, open a new issue and describe the problem with errors from the web.log.

Hi @jcaridadhdez it seems the community server is unable to connect to the mysql server. It does not depend on the version. Try installing the latest versions with a script and check that the mysql server is up and running. If it doesn't help, open a new issue and describe the problem with errors from the web.log.

Hi @Carazyda The  server is deployed following your command. The mysql server is a docker container inside the same machine, and we can log into the database with the default credentials.
Something in the update process has broken the link between cs and mysql server. When we install with the script (no matter which version) the cs cannot connect with the database.

Hi @Carazyda The  server is deployed following your command. The mysql server is a docker container inside the same machine, and we can log into the database with the default credentials.
Something in the update process has broken the link between cs and mysql server. When we install with the script (no matter which version) the cs cannot connect with the database.

Please check the /var/www/onlyoffice/WebStudio/web.connections.config are the credentials correct? Also try connecting from the community-server container to the mysql-server.

Please check the /var/www/onlyoffice/WebStudio/web.connections.config are the credentials correct? Also try connecting from the community-server container to the mysql-server.

Please check the /var/www/onlyoffice/WebStudio/web.connections.config are the credentials correct? Also try connecting from the community-server container to the mysql-server.

Set the credentials solved our problem. Thank you very much!

Please check the /var/www/onlyoffice/WebStudio/web.connections.config are the credentials correct? Also try connecting from the community-server container to the mysql-server.

Set the credentials solved our problem. Thank you very much!

Good afternoon.


Merge branch 'debug' into 'main' - [merged]

Merges cherry-pick-d9588ab7 -> 0.7
remove logging debug
See merge request LMSAL_HUB/aia_hub/aiapy!163
(cherry picked from commit d9588ab73eea9cc2219fd6b8054b830663e37278)
4dc6acb6 remove logging debug

enabled an automatic merge when the pipeline for 144f888df6a9a666ab975ec0b60299ae8c984674 succeeds

approved this merge request

In GitLab by @codecov on Aug 22, 2022, 03:56
Codecov Report

Merging #164 (144f888) into 0.7 (d641afe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              0.7     #164   +/-   ##
=======================================
  Coverage   93.63%   93.63%
=======================================
  Files          20       20
  Lines         644      644
=======================================
  Hits          603      603
  Misses         41       41

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

mentioned in commit 9321150dd8f3011700ef35a6877adf26149cfeeb


KAFKA-13021: disallow grace called after grace set via new API

Saw this TODO comment while reading codes.
//TODO KAFKA-13021: disallow calling grace() if it was already set via ofTimeDifferenceAndGrace/WithNoGrace()
Add the check to disallow grace called after grace set via new API, and add tests for them.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ableegoldman , please take a look. Thank you.

Failed test is not related.
Build / JDK 16 and Scala 2.13 / org.apache.kafka.streams.integration.StoreQueryIntegrationTest.shouldQueryStoresAfterAddingAndRemovingStreamThread


Documentation of QR bugged

The Documentation of jax.numpy.linalg.qr seems to be bugged.
The Documentation of numpy.linalg.qr contains a bullet point list when explaining the mode argument.
That seems to get lost when wrapping qr in jax.numpy.linalg
The docstring in the onp implementation contains a blank line. Maybe that causes the problem?

That implementation you linked is from numpy's GitHub page and its documentation is showing everything correctly so the problem lies in the jax docs . I will modify it and raise a PR.

Yes i linked numpy GitHub, since thats where @_wraps takes the docstring from.
The problem is with this line in lax_numpy._wraps
It separates the docstring of the original numpy function into sections, split by '\n\n'
Since the Parameters section of the onp QR docstring contains a bullet point list with two occurances of `'\n\n', it gets split into three sections
Then the logic in update_numpydoc does no longer work as intended, since the Parameters section is split over three entries of the sections list.
My idea to fix it:
refine how the docstring is split into sections and leave update_numpydoc as it is.
A section end should be '\n\n' followed by a non-whitespace character. This means that empty lines followed by indented text would no longer cause a section split.
I will eventually try this fix myself, but its not high priority for me.
If someone else wants to PR this, go ahead

You can go forward for it :)

https://github.com/Jakob-Unfried/jax/commit/2ea9ec85521e6466c44a03e64eea6fa087ad8734 fixes the issue with jax.numpy.linalg.qr.
and as far as i can tell it doesnt't break anything else.
However, I have now idea how to make sure, that it doesn't break some docstring somewhere.
@mattjj ideas?

I fixed a loophole in https://github.com/Jakob-Unfried/jax/commit/63d8608b8c25c531a55a77f14f9a19257d955344
Any ideas how to test this, without manually looking at every page of the docs...?


Lambda is not optimal for monochrome subset1

See the following experiment where I multiply lambda by 0.9:
https://beta.arewecompressedyet.com/?job=master-2020-05-27_121118-d9ee06aa&job=lambda_0.9-2020-05-27_121130-049b8581

This effect is much more minimal at speed 10: https://beta.arewecompressedyet.com/?job=master-2020-05-27_140002-d9ee06aa&job=lambda_0.9-2020-05-27_140011-049b8581


docs: add blog cncf projects with podman desktop

docs: add blog projects with podman desktop
What does this PR do?
Adds how we can use Podman Desktop with projects such as Minikube,
Backstage and Dapr.
Screenshot / video of UI

N/A
What issues does this PR fix or reference?

Closes https://github.com/containers/podman-desktop-internal/issues/352
How to test this PR?

N/A
Signed-off-by: Charlie Drage<EMAIL_ADDRESS>

Ready for review! @Firewall @slemeur
Although..
DO NOT MERGE UNTIL 1.15 RELEASE
This relies on the "port forwarding" feature of 1.15 as I've included it as a screenshot so that we can port forward / view Backstage components without having to create an Ingress.

Updated and thanks for the reviews!
Big note: DO NOT MERGE UNTIL AFTER 1.15 release! since there are port-forwarding screenshots in this post.

draft as it needs to wait

@benoitf 1.15 is going out shortly, good to merge? I've updated the file name to reflect today's date.


Issue on Rails 7.1 upgrade

I just upgraded a project to Rails 7.1. It seems to actually run fine in the server, but I've started getting some red Rspec tests that seem to be related to this gem:
warning: already initialized constant ActsAsTaggableOn::Tagging::DEFAULT_CONTEXT
Failure/Error: let(:invitation) { create(:invitation, user:) }

     NoMethodError:
       undefined method `arity' for {:polymorphic=>true}:Hash

             if scope && scope.arity == 0

I get this same error on each test.
Thanks for your help!

I just ran into this as well. Everything actually works fine when running directly on master, and I think prior to, some dependency issues forced us to be running on a fairly old version (5.x.x?) to begin with. I think master is good for Rails 7.1.

Can you try https://github.com/mbleigh/acts-as-taggable-on/pull/1114 please.

Sure! Let me run it against our suite.

Yep, both master and v10 pre-release worked fine for me 👍

I will merge it and release it tomorrow then.

Sweet! 😎

Great, waiting for the release.. Thank you so much!

Thank you so much for your help!!

Released


Mousing over a feature - cursor doesn't change

When features are hovered over (e.g. points), the cursor doesn't change from an arrow to hand icon

This issue has been solved with this pull request : https://github.com/GEOLYTIX/xyz/pull/428


Move taskStore to its own service

Keep in mind that the subtasks are still displayed as a subtask, rather than its own separate task.


'binary' package shared objects are not compatible with the docker container

With this
root@8fc4afe31c40:/# env|grep BIOC
BIOCONDUCTOR_VERSION=3.17
BIOCONDUCTOR_USE_CONTAINER_REPOSITORY=FALSE
BIOCONDUCTOR_NAME=bioconductor_docker
BIOCONDUCTOR_DOCKER_VERSION=3.17.34

The following shows a binary package (S4Vectors) being installed, but then failing to load; the 'missing' S4Vectors.so exists, but I guess is the wrong format for this architecture -- was it built on this image?
root@0e07810d4143:/# export BIOCONDUCTOR_USE_CONTAINER_REPOSITORY=TRUE
root@0e07810d4143:/# Rscript -e "BiocManager::install('S4Vectors'); library(S4Vectors)"
'getOption("repos")' replaces Bioconductor standard repositories, see
'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
    CRAN: https://packagemanager.posit.co/cran/latest
Bioconductor version 3.17 (BiocManager 1.30.20), R 4.3.0 (2023-04-21)
Installing package(s) 'S4Vectors'
also installing the dependency ‘BiocGenerics’

trying URL 'https://bioconductor.org/packages/3.17/container-binaries/bioconductor_docker/src/contrib/BiocGenerics_0.46.0_R_x86_64-pc-linux-gnu.tar.gz'
Content type 'application/gzip' length 599777 bytes (585 KB)
==================================================
downloaded 585 KB

trying URL 'https://bioconductor.org/packages/3.17/container-binaries/bioconductor_docker/src/contrib/S4Vectors_0.38.1_R_x86_64-pc-linux-gnu.tar.gz'
Content type 'application/gzip' length 2478027 bytes (2.4 MB)
==================================================
downloaded 2.4 MB

* installing *binary* package ‘BiocGenerics’ ...
* DONE (BiocGenerics)
* installing *binary* package ‘S4Vectors’ ...
* DONE (S4Vectors)
...
Error: package or namespace load failed for ‘S4Vectors’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/site-library/S4Vectors/libs/S4Vectors.so':
  /usr/local/lib/R/site-library/S4Vectors/libs/S4Vectors.so: cannot open shared object file: No such file or directory
Execution halted

In contrast, source installations work...
root@0e07810d4143:/# Rscript -e "BiocManager::install('S4Vectors', type = 'source', force = TRUE); library(S4Vectors)"
'getOption("repos")' replaces Bioconductor standard repositories, see
'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
    CRAN: https://packagemanager.posit.co/cran/latest
Bioconductor version 3.17 (BiocManager 1.30.20), R 4.3.0 (2023-04-21)
Installing package(s) 'S4Vectors'
trying URL 'https://bioconductor.org/packages/3.17/bioc/src/contrib/S4Vectors_0.38.1.tar.gz'
Content type 'application/x-gzip' length 838821 bytes (819 KB)
==================================================
downloaded 819 KB

* installing *source* package ‘S4Vectors’ ...
** using staged installation
** libs
using C compiler: ‘gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0’
...
installing to /usr/local/lib/R/site-library/00LOCK-S4Vectors/00new/S4Vectors/libs
...
* DONE (S4Vectors)

The downloaded source packages are in
	‘/tmp/RtmpSPEeF7/downloaded_packages’
Loading required package: stats4
Loading required package: BiocGenerics
...
## success!

I don't understand exactly the details but will note that this is running the (linux) container on an M1 mac...

The binaries are not compatible with arm64 which is what you would be using by default on Mac M1 unless you use the emulator and --platform=linux/amd64. That is why binaries are disabled by default for this container. Please re-open if it seems like this is a different issue.

Is there any way to intercept this event -- to avoid shipping a binary to an incompatible container environment?  It seems like it would be something BiocManager would have to check.

Generally I was wondering whether BiocManager is able to distinguish binary architectures; I think it always points to the same repository
> BiocManager::containerRepository()
                                                                 BioCcontainers
"https://bioconductor.org/packages/3.17/container-binaries/bioconductor_docker"

doesn't distinguish between architectures, will that have to change?

Currently the binaries are off by default for the arm64 containers so this will only happen when a user knows what env variable to change and manually sets it to use them as Martin did, so I am hoping it's not a common issue except for "power users".
The binaries URL does not currently support architecture, but I have a commit to BiocManager that changes that, which I'll PR after the binaries are shipped/relocated in the bucket. I am hoping that 3.18+ will have container binaries for both architectures.


Refresh stale auth and set cookie even on API requests

@myersjustinc I originally had this not refreshing stale auth on API calls, I think because I was thinking setting cookies would be problematic in that context. It should be fine to set cookies in responses to ajax calls though, right?

As far as I can tell, yes. I'll go ahead and approve.


The link  of Setting2 is incorrect, can you update it?

[Setting2] [Snow100k, Raindrop, Rainfog] Download link:https://github.com/fingerk28

Hi, sorry for the late reply. The checkpoints of setting2 have been updated. Thank you for your interest in our project.


Update bats/prepare-test.sh to prevent failure if root directory has been renamed

Patch for Issue #602


Entity Status Packet question.

I just want to make sure my theory is correct. When sending Entity Status DEAD is it also acting as if I had sent a Destroy Entity Packet? It seems that way but i just want to make sure lol. Thanks!

I believe Entity Status DEAD triggers the death animation, but I don't think it removes the entity from the game? Not 100% sure.


TS Types are incorrect.

You're not actually using an ES6 default export but the TS types you've bundled show that you are.
Here is an example of TS types that work properly:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/wolfy87-eventemitter/index.d.ts
Please fix! :)

Oh, thanks for reporting. The only reason I changed it was because people told me they couldn't import it but they could with the current code. I did warn that I don't use TypeScript in any way :smile:
I'd prefer to delete the file and let the DefinitelyTyped one run really. Do you think copying the DT version into here would be the best route?

Yeah, I would recommend just copying them into the project. Good idea :)

v5.2.4 should fix your issues. I copied in DefinitelyTyped's file.

(npm won't let me login on this machine since I enabled 2fa, so publication may be delayed...)

Done! (didn't realise I had nvm installed and pointing to an old version)

Thanks!
Just for other people's reference using TS, the right way to import this module is:
import EventEmitter = require('wolfy87-eventemitter');


fix: Downgrade graphql config

Since commit https://github.com/prisma-labs/vscode-graphql/commit/bb93c44cc856318ce8c113940872bfe7deef1132#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 the CI has been failing silently because of peer dependency issues. Therefore downgrading to 0.12.x for dep graphql .
cc @acao

Yikes, silently failing CI. Compiling as tests is a good first step.

Note that this is not a breaking change. Since March 12, no extension was published due to CI silently failing. Hopefully, with Rikki's work in https://github.com/prisma-labs/vscode-graphql/issues/181, we will be actually able to support the latest GraphQL versions.

good afternoon across the pond! i was able to resolve all the peer dependency issues in my PR, however I had to remove the prisma graphql config extension. the insiders release I made last night had no peer dependency issues. we definately need to be using graphql 15 to support some of the features I'm using in that PR.


Update ipamconfig.mdx

According to my discussion with tigera developers the default limit is not unlimited it is 20.

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@tigera/docs for approval

❌ Deploy Preview for tigera failed. Why did it fail? →
Built without sensitive environment variables
Name	Link
🔨 Latest commit	95267c6
🔍 Latest deploy log	https://app.netlify.com/sites/tigera/deploys/66cd78763d3d5d00081e60fb

some issues with the check !?

Resolved now. The build found a bad link that was not related to your PR.
@caseydavenport Looks like you were helping @ehsan310 on this in the Calico Users Slack. Care to review?

Yep, this is correct

LGTM, thanks!

@caseydavenport Am I right to assume this applies to all current version? I'll put those fixes in separately.


Problem running the test cases.

Challenge http://freecodecamp.com/challenges/waypoint-target-even-numbered-elements-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
1). Run test never give the right results for the first time. You just have to re-run it again and again to satisfy the conditions.
2). The conditions in above image are satisfied and resolved but we can see this cross sign on particular condition.
3). The same condition are shown twice

Hey @priyansh1990 thanks for posting this!
Can you post the code you are using on this page so I can try to replicate this? Take a look at Code Formatting for how to do that.
Also have you tried a Hard Refresh, or incognito mode?  This helps us confirm that you have the latest code and not an old cached version.

Problem persists with Mozrilla, Works like charm in chrome

I'm not having any trouble with the latest version of Firefox. Would you mind posting your code like @benschenker asked and let us know which version of FIrefox you're running? :)

closing as stale. Please feel free to reopen if issue still persists.


Issue: Mystic Theurge does not recognize Cleric spellbook from Living Scripture

When gaining a level with Mystic Theurge, the Divine Spellbook selection screen thinks that the Living Scripture is an 'Inquisitor' spellbook. Committing the level adds a 1 CL normal Inquisitor spellbook to the character, in addition to the Living Scripture 'Cleric' spellbook.
Steps to reproduce:

3 or more levels in any Arcane full caster (in my case, it was Exploiter Wizard)
3 or more levels in Living Scripture
Gain Mystic Theurge level
Select Inquisitor (only choice, unless there are other divine classes)

Pick an 'Inquisitor spell' of Level 2 to 'learn'
Commit level, see new Inquisitor spellbook:

I messed around a bit with Toybox to try to diagnose what ability Mystic Theurge is looking for - I couldn't track it down. I tried gaining a level in Cleric first (normally, in-game) as an experiment, but doing so actually erases all of the Living Scripture Cleric spells and caster levels, and replaces them with a fresh new 1st level cleric spellbook.
Workaround that mostly-works: Level up and select Inquisitor as normal, then go into Toybox and add MysticTheurgeDivineSpellbook choice for Cleric. Delete the Mystic Theurge abilities for Inquisitor, and add them for Cleric. Go to Inquisitor spellbook and delete all the spells and set CL to 0. It'll still show on the character but won't have any effect - the Mystic Theurge class page will also display that you somehow picked both Cleric and Inquisitor but on level up, only Cleric (Living Scripture) will progress.
Edit: Found the button to delete the Inquisitor spellbook in Toybox, so this is a 'fully works' workaround now.

Will be fixed in next update, as well as setting up all the other Prestige Class nonsense. You will need to respec after the fix.


Adjust pretty name of closures on PHP 8.4

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues

related to https://github.com/php/php-src/pull/13550
see analog symfony change: https://github.com/symfony/symfony/pull/54614

@staabm would you please add a line for CHANGELOG?

@samdark here you are

Thank you!


[Android] Remove make_apk and associated tests from the tree.

An "intent to deprecate" make_apk was sent in November 2015, and it is
finally time to remove our venerable tool from the tree. app-tools is
the preferred way to create packages now.
The entirety of app/tools/android has been removed. Care has been taken
to change as little as possible outside that directory: several targets
have been removed from the gyp files, references to make_apk were
dropped from comments and generate_app_packaging_tool.py no longer adds
make_apk & friends to xwalk_app_template (which is the basis for the
.zip files we ship in 01.org).
make_apk's test suite contained a few test extensions that might be
useful elsewhere; XWALK-6132 is tracking whether it makes sense to
revive them.
Related to: XWALK-5629

@baleboy @darktears @kenchris

LGTM!

the make_apk_test failures in the bots are expected: I'll remove the make_apk code from our bots before landing


Exclude examples from crates.io package

Right now, the crates.io package weighs an astounding 7.41 MB. Most of it is composed of the example files found in the examples/ directory. I think that excluding these files from the package would greatly help in reducing the size of the crate.

PRs welcome!


Appstudio update test-component-pac-qnjl

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-qnjl-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
17 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
24 seconds
deprecated-base-image-check

✅ Succeeded
24 seconds
inspect-image

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
40 seconds
clamav-scan

✅ Succeeded
7 seconds
sbom-json-check

✅ Succeeded
6 seconds
label-check

✅ Succeeded
6 seconds
optional-label-check

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-qnjl-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
24 seconds
build-container

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
39 seconds
clamav-scan

✅ Succeeded
13 seconds
inspect-image

✅ Succeeded
12 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
9 seconds
optional-label-check

✅ Succeeded
9 seconds
label-check

✅ Succeeded
4 seconds
show-summary


org.auraframework.http.AuraServlet

When launching the app from heroku, it fails to launch with the following message
Error: Could not find or load main class org.auraframework.http.AuraServlet

Aura framework - it is appropriate tool to create a marketplace for example like this one:? Easy-to-use catalog website with subsites working and looking like some sort of profiles with some data, just like you can see here https://zoptamo.com/s-bodybuilding-c-us


Ensure we actually include the workload manifest targets in the package

Targets weren't getting packaged in the workload manifest nuget
Microsoft Reviewers: Open in CodeFlow

LGTM, should we add some sort of validation that runs after packaging to ensure the files are there and fail the build if they aren't?

Probably a good idea; I'd vote for doing that in a separate PR though, just so we can get this unblocked for testing ASAP.

LGTM, should we add some sort of validation that runs after packaging to ensure the files are there and fail the build if they aren't?

In the .NET Project System we have a similar test that uses the Verify library to track the contents of our VSIX file, which works really well. The set of expected files is kept in a text file in the repo.
https://github.com/dotnet/project-system/tree/main/tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Setup


lazy.py late folding

Hmm, why is this breaking?
python3 test/test_optim.py TestOptim.test_multistep_sgd_high_lr_teeny seems to be something weird with assign
Related to #3395

this is done with generic const folding in lazy


Enable parallel udb sync

This change sync a table in a thread, instead of sequentially. This should reduce the response times of databases with a large number of tables.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8036/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8045/
Test PASSed.

alluxio-bot, merge this please


Switch to node-canvas

Get rid of pure-image and switch to node-canvas. No changes to functionality, just the library.

 I have it working but man the image size got bigger. Gotta see if build-essentials is really needed.

Not gonna happen, to much of a pain.


sst_importer: don't cache rewritten files

What is changed and how it works?

Issue Number: Close https://github.com/tikv/tikv/issues/15483
What's Changed:
This PR make cache in memory caches keys not rewritten.

The rewrite step of sst_importer::apply has been delayed to while iterating the file.

Check List
Tests

Unit test
Integration test

Release note
Fixed a bug that may cause data loss while sequently execute multi `restore point` within one minute.

/merge


Raspberry pi ValueError

Python version: 2.7
Operating System: raspbian

Description
When I am running script facerec_on_raspberry_pi.py it gives me following error:
ValueError: buffer object must be one-dimensional and have unsigned byte format ("B")

Solved with setting a writable flag using array.setflags(write=False)

Hi, can you post the fixed example code? I have the same issue and is not resolved setting the array to write=true.

I am using PiCamera for capturing frames and when I am using it is like this
with picamera.PiCamera() as camera:
    with picamera.array.PiRGBArray(camera) as stream:
        for frame in camera.capture_continuous(stream, 'bgr', use_video_port=True):
            frame_array = frmae.array
            frame_array.setflags(write=True)
            # rest of the process

It's probably using python2. If you check picamera doc(Chapter Capture to a numpy array) ( doc link), you'll find for python 2.X, the buffer object must be 1-dimensional. For the case, the solution is remove  output = np.empty((240, 320, 3), dtype=np.uint8) and change a few lines in the while loop like this
output = np.numpy((240*320*3,),dtype=np.uint8)
camera.capture(output, format='rgb')
output = output.reshape((240,320,3))

Hi @smitshilu, I have seen the same issue. Follow your fix, i still cannot run the code successfully. is that possible to attach the full file here ? Thank you so much in advance.

Hello,
My code is something like this. For more information regarding your issue please attach what error are you getting to debug the program.
with picamera.PiCamera() as camera:
    with picamera.array.PiRGBArray(camera) as stream:
        for frame in camera.capture_continuous(stream, 'bgr', use_video_port=True):
            frame_array = frmae.array
            frame_array.setflags(write=True)
            dets = detector(frame_array, 1)
            for i, d in enumerate(dets):
                print("Detection {}: Left: {} Top: {} Right: {} Bottom: {}".format(i, d.left(), d.top(), d.right(), d.bottom()))
                cv2.rectangle(img, (d.left(),d.top()), (d.right(), d.bottom()), (0, 0, 255), 3)


Easy to follow guide for Windows users

Happy New Year!!
I hope all your aspirations come to fruition in this new year!
Several friends and I have tried to install this tool... but we just get stuck halfway through! We aren't too tech-savvy haha. Could you perhaps add a step-by-step dummy-proof installation and use guide for Windows users, please?
Thank you very much!

I'm not the one who wrote the code or made the original writeup but I can say what worked for me and my setup, hopefully it'll help.

Install Python using their link. Be sure to check the box at the beginning of the install talking about the PATH, as this will give you access to python commands in the command prompt (namely "pip", which you'll be using later).
The link they've provided is meant for you to compile your own version of ffmpeg. Even though I recognize this process I've never done it and am not comfortable with it, and I suspect the same is true for you. In this case, download a static build from this site https://github.com/BtbN/FFmpeg-Builds/releases
(I downloaded the win64-gpl-4.3 version). To install it, extract and drop the ffmpeg folder somewhere you can find it. You may also want to rename it.
If you're here you probably already have Slippi, but if not install both the Rollback client and the Slippi Desktop App at https://slippi.gg/ . FM-Slippi-r18 isn't required for this; the playback version of Dolphin should be in "C:\Users\YourName\AppData\Roaming\Slippi Desktop App\dolphin" as they've mentioned.
Open your command prompt and type the command "pip install py-slippi". If pip isn't recognized as a command, something went wrong with your Python installation. Be sure you checked that box I mentioned and that the instance of the command prompt you have open was opened after you finished the Python installation.
Similarly, type "pip install psutil"

That's it for the dependencies. To actually get the program working, though, you have to point it to all the stuff you've just installed (I'm only going to cover the essential settings, but you might also want to change things like "widescreen", etc.).

Download the actual SLP to MP4 code as a zip and extract it wherever you want it to be. Inside there should be a file called "config_windows.json", which you want to open with a text editor like Notepad or Notepad++ (if you don't have Notepad++, you should get it! Very handy for stuff like this). Inside there's some directories you have to set. Note that forward slashes should be used for the directory instead of backslashes to avoid issues with exit characters.

"melee_iso": the directory of your Melee ISO file, including the filename itself (i.e. "C:/Users/YourName/Games/MeleeISO.iso"). Note that it helps if the filename doesn't have any spaces in it.
"dolphin_dir": the directory of the playback version of dolphin. Check the directory mentioned in step 3, it's probably there. Do not include Dolphin.exe at the end, you need only point to the folder it's in.
"ffmpeg": the directory of your ffmpeg binary from the folder you downloaded in step 2. Inside it there should be a bin folder, and inside that there should be "ffmpeg.exe". Point to this file (i.e. "C:/Program Files (x86)/ffmpeg/bin/ffmpeg.exe").

Finally, to actually use the program, you can either:

Use the command line as instructed by the original post. This will give you access to the various commands available for rendering multiple SLP files at once, etc. For this, make sure you are in the SLP to MP4 directory by using the "cd" command (i.e. "cd C:\Users\YourName\Desktop\Dolphin\SLPtoMP4\slp2mp4") before running the slp-to-mp4.py commands.
You can also just drag and drop an SLP replay file onto the slp-to-mp4.py file. This is functionally the same as running the first slp-to-mp4.py command mentioned without specifying an output path. The resulting MP4 file will be output to the "out" folder in your slp2mp4 folder.

That should be it. Note that I've posted Issue #14 as I'm having sync issues with the audio and video components. I would appreciate if you let me know if you're having the same problem as it might be indicative of an installation problem rather than a problem with the program.

I'm not the one who wrote the code or made the original writeup but I can say what worked for me and my setup, hopefully it'll help.

Install Python using their link. Be sure to check the box at the beginning of the install talking about the PATH, as this will give you access to python commands in the command prompt (namely "pip", which you'll be using later).
The link they've provided is meant for you to compile your own version of ffmpeg. Even though I recognize this process I've never done it and am not comfortable with it, and I suspect the same is true for you. In this case, download a static build from this site https://github.com/BtbN/FFmpeg-Builds/releases
(I downloaded the win64-gpl-4.3 version). To install it, extract and drop the ffmpeg folder somewhere you can find it. You may also want to rename it.
If you're here you probably already have Slippi, but if not install both the Rollback client and the Slippi Desktop App at https://slippi.gg/ . FM-Slippi-r18 isn't required for this; the playback version of Dolphin should be in "C:\Users\YourName\AppData\Roaming\Slippi Desktop App\dolphin" as they've mentioned.
Open your command prompt and type the command "pip install py-slippi". If pip isn't recognized as a command, something went wrong with your Python installation. Be sure you checked that box I mentioned and that the instance of the command prompt you have open was opened after you finished the Python installation.
Similarly, type "pip install psutil"

That's it for the dependencies. To actually get the program working, though, you have to point it to all the stuff you've just installed (I'm only going to cover the essential settings, but you might also want to change things like "widescreen", etc.).

Download the actual SLP to MP4 code as a zip and extract it wherever you want it to be. Inside there should be a file called "config_windows.json", which you want to open with a text editor like Notepad or Notepad++ (if you don't have Notepad++, you should get it! Very handy for stuff like this). Inside there's some directories you have to set. Note that forward slashes should be used for the directory instead of backslashes to avoid issues with exit characters.

"melee_iso": the directory of your Melee ISO file, including the filename itself (i.e. "C:/Users/YourName/Games/MeleeISO.iso"). Note that it helps if the filename doesn't have any spaces in it.
"dolphin_dir": the directory of the playback version of dolphin. Check the directory mentioned in step 3, it's probably there. Do not include Dolphin.exe at the end, you need only point to the folder it's in.
"ffmpeg": the directory of your ffmpeg binary from the folder you downloaded in step 2. Inside it there should be a bin folder, and inside that there should be "ffmpeg.exe". Point to this file (i.e. "C:/Program Files (x86)/ffmpeg/bin/ffmpeg.exe").

Finally, to actually use the program, you can either:

Use the command line as instructed by the original post. This will give you access to the various commands available for rendering multiple SLP files at once, etc. For this, make sure you are in the SLP to MP4 directory by using the "cd" command (i.e. "cd C:\Users\YourName\Desktop\Dolphin\SLPtoMP4\slp2mp4") before running the slp-to-mp4.py commands.
You can also just drag and drop an SLP replay file onto the slp-to-mp4.py file. This is functionally the same as running the first slp-to-mp4.py command mentioned without specifying an output path. The resulting MP4 file will be output to the "out" folder in your slp2mp4 folder.

That should be it. Note that I've posted Issue #14 as I'm having sync issues with the audio and video components. I would appreciate if you let me know if you're having the same problem as it might be indicative of an installation problem rather than a problem with the program.

Thanks @condefombrilac and @Lep19, sorry it isn't easier to use.
Using OBS (https://obsproject.com/download) to record the Dolphin window is another method many people use; it might be easier.
The goal of slp-to-mp4 is to make batch recording a bit easier, but the interface is definitely for the more technically-inclined.

Thanks @condefombrilac and @Lep19, sorry it isn't easier to use.
Using OBS (https://obsproject.com/download) to record the Dolphin window is another method many people use; it might be easier.
The goal of slp-to-mp4 is to make batch recording a bit easier, but the interface is definitely for the more technically-inclined.


Schneider test totals

Add wkhtmltopdf to docker dependencies and update schneider template+script to enable pdf generation, and display tests totals and summary.

could you rebase?

Done
On Thu., Mar. 12, 2020, 9:58 a.m. mwasilew<EMAIL_ADDRESS>wrote:

could you rebase?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Linaro/squad-client/pull/13#issuecomment-598200085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCO5QSO3RSDW3DXLOENYBDRHDTATANCNFSM4LGM2NOQ
.

Let's merge it for the moment. It's not ideal but we need it working. I'll add my patches on top.

@mwasilew for that email that @amrohassaan sent to Ryan, we need to make a release. Should I make a new one now?

@chaws let me fix a few issues with the current code and we can release tomorrow.


Editor plugin not loading after update because of several errors

The used GdUnit4 version:
4.2.0
The used Godot version:
4.2-stable
OS including version:
Arch Linux with xf86-video-ati driver, using Forward+ renderer
Describe the bug
The Godot editor is no longer able to load the gdUnit4 editor plugin, and shows several errors in the output pane. Here is some of the output from the log:
  The object does not have any 'meta' values with the key 'GdUnitEditorPlugin'.
  res://addons/gdUnit4/src/ui/GdUnitConsole.gd:46 - Cannot call method 'get_editor_interface' on a null value.
  The object does not have any 'meta' values with the key 'GdUnitEditorPlugin'.
  res://addons/gdUnit4/src/ui/GdUnitFonts.gd:17 - Cannot call method 'get_editor_interface' on a null value.
  The object does not have any 'meta' values with the key 'GdUnitEditorPlugin'.
  res://addons/gdUnit4/src/core/command/GdUnitCommandHandler.gd:60 - Cannot call method 'get_editor_interface' on a null value.
  res://addons/gdUnit4/src/ui/menu/GdUnitContextMenuItem.gd:14 - Assertion failed: (Run Tests) missing parameter 'GdUnitCommand'
  res://addons/gdUnit4/src/ui/menu/GdUnitContextMenuItem.gd:14 - Assertion failed: (Debug Tests) missing parameter 'GdUnitCommand'
  res://addons/gdUnit4/src/ui/menu/GdUnitContextMenuItem.gd:14 - Assertion failed: (Create Test) missing parameter 'GdUnitCommand'
  res://addons/gdUnit4/src/ui/ScriptEditorControls.gd:53 - Cannot call method 'get_script_editor' on a null value.
  res://addons/gdUnit4/src/ui/menu/ScriptEditorContextMenuHandler.gd:13 - Invalid get index 'editor_script_changed' (on base: 'Nil').
  res://addons/gdUnit4/src/ui/menu/GdUnitContextMenuItem.gd:14 - Assertion failed: (Run Testsuites) missing parameter 'GdUnitCommand'
  res://addons/gdUnit4/src/ui/menu/GdUnitContextMenuItem.gd:14 - Assertion failed: (Debug Testsuites) missing parameter 'GdUnitCommand'
  res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandler.gd:82 - Cannot call method 'get_file_system_dock' on a null value.
  res://addons/gdUnit4/src/core/GdObjects.gd:666 - Cannot call method 'get_children' on a null value.
  res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandler.gd:90 - Out of bounds get index '-1' (on base: 'Array[Node]')
  res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandler.gd:82 - Cannot call method 'get_file_system_dock' on a null value.
  res://addons/gdUnit4/src/core/GdObjects.gd:677 - Cannot call method 'get_class' on a null value.
  res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandler.gd:86 - Out of bounds get index '-1' (on base: 'Array[Node]')
  res://addons/gdUnit4/src/ui/menu/EditorFileSystemContextMenuHandler.gd:14 - Invalid get index 'about_to_popup' (on base: 'Nil').
  (4) res://addons/gdUnit4/src/core/command/GdUnitCommandHandler.gd:148 - Invalid get index 'shortcut' (on base: 'Nil').
  The object does not have any 'meta' values with the key 'GdUnitEditorPlugin'.
  res://addons/gdUnit4/src/ui/parts/InspectorStatusBar.gd:20 - Cannot call method 'get_editor_interface' on a null value.
  The object does not have any 'meta' values with the key 'GdUnitEditorPlugin'.
  res://addons/gdUnit4/src/ui/parts/InspectorTreeMainPanel.gd:154 - Cannot call method 'get_editor_interface' on a null value.
  The object does not have any 'meta' values with the key 'GdUnitEditorPlugin'.
  res://addons/gdUnit4/src/ui/GdUnitInspector.gd:12 - Cannot call method 'get_editor_interface' on a null value.
  res://addons/gdUnit4/src/ui/menu/GdUnitContextMenuItem.gd:50 - Invalid get index 'shortcut' (on base: 'Nil').
  res://addons/gdUnit4/src/ui/menu/ScriptEditorContextMenuHandler.gd:30 - Cannot call method 'matches_event' on a null value.

Steps to Reproduce

Open the project in the editor
Check the Autoload tab in project settings
The plugin no longer autoloads, and trying to manually set it doesn't work because of the errors

Minimal reproduction project:
https://github.com/Eggbertx/GD6502-IDE

Thanks for reporting this issue.
That's strange, there are no such issues on Windows or macOS.
From the errors, looks like Engine.set_meta("GdUnitEditorPlugin", self) is not working anymore on Godot 4.2 Linux build.
I can't test it, I have no Linux env, so please check this by adding in the plugin.gd at line 13 the print statement.
It should look like
func _enter_tree():
	Engine.set_meta("GdUnitEditorPlugin", self)
	prints("GdUnitEditorPlugin:set_meta", Engine.get_meta("GdUnitEditorPlugin"))

And restart the plugin or editor.
It should show
GdUnitEditorPlugin:set_meta @EditorPlugin@19833:<EditorPlugin#2961598131318>
Loading GdUnit4 Plugin success
GdUnit4: Test server successfully started checked port: 31002

Actually, it looks like it only shows the metadata errors the first time it's loaded. I tested it in Windows, and it does this if you delete C:\Users\username\AppData\Local\Godot and  After that it loads fine, but still doesn't automatically detect the editor plugin

The loading errors when you first time installed and activate the plugin is known Godot bug.
This is related to the new introduced Godot cache in 4.x.
Deleting Godot working and tmp folders will result in such issues.
e.g. delete the .godot folder in your project will rebuild the internal Godot cache when you restart.
In all this cases, you need to restart Godot two times in this case.
What you mean with Autoload tab?
GdUnit4 is a plugin without using Godot autoloads.
When you restart Godot, this error should be gone.
Can you confirm this, if so the ticket can be closed.

The loading errors when you first time installed and activate the plugin is known Godot bug.

Ah ok, noted. I'll just wait for them to fix that then. I don't recall this happening before I updated Godot to 4.2, but I might have forgotten

What you mean with Autoload tab?
GdUnit4 is a plugin without using Godot autoloads.

I mean the Autoload tab in Project settings (pic below after loading it manually). Unless I'm doing something wrong, or something changed with Godot 4.2, isn't this where editor plugins are set? I could be misremembering this, but I thought before the 4.2 release automatically detecting and setting gdUnit4's editor plugin to autoload automatically as soon as it's installed.

OMG, that's a strange bug on your Godot version.
The autoload should look like

The plugin to activate must be found on Plugins

So I will close this issue, there is something wrong with your Godot build

Oh wow, this was a massive case of user error. I somehow managed to overlook the Plugins tab, since the only two tabs that I've ever used in that dialog were General and Autoload. As it turns out, gdUnit4 was in the Plugins tab, it just wasn't enabled by default.

Very good, then everything has turned out well ;)


testing/synctest: defer on systemstack failures on android builders

Examples:

https://build.golang.org/log/6058ba22c5ca038c3faf70d4afd8cf2b85236828
https://build.golang.org/log/69f5b8aca8dcd47bbe5ec18ac3434e3376d44d07

CC @neild @prattmic

https://build.golang.org/log/69f5b8aca8dcd47bbe5ec18ac3434e3376d44d07 seems to be something else:
##### external linking, -buildmode=exe
"/data/local/tmp/go_android_exec/fips140test.test-198516/fips140test.test": error: Android 5.0 and later only support position-independent executables (-fPIE).
FAIL	crypto/internal/fips140test	0.064s
FAIL


Vision related UDFs

Provide UDFs for easy operations on image and box2d

This is supporting the image notebook demo

This is supporting the image notebook demo

Thanks @changhiskhan . added docstring for (0, 0)

Thanks @changhiskhan . added docstring for (0, 0)


adding a directory watch for better developement workflow

something like:
 lispy -w . /out

to watch all files in the current directory and output the results in /out

Whoops I thought this could be closed with my pull request #55.
But I missed allowing for an alternative output dir - I've got the watcher running the single argument "lispy myfile.ls" meaning it output them all in place in the same dir as their original .ls files.
I agree an (optional) output dir is useful.  I'd like to go back and add that but it could be a week or two before I get time.

OK will wait for the fix. Thanks.
On Mon, Mar 23, 2015 at 6:59 PM, Darren Cruse<EMAIL_ADDRESS>wrote:

Whoops I thought this could be closed with my pull request #55
https://github.com/santoshrajan/lispyscript/pull/55.
But I missed allowing for an alternative output dir - I've got the watcher
running the single argument "lispy myfile.ls" meaning it output them all
in place in the same dir as their original .ls files.
I agree an (optional) output dir is useful. I'd like to go back and add
that but it could be a week or two before I get time.
—
Reply to this email directly or view it on GitHub
https://github.com/santoshrajan/lispyscript/issues/26#issuecomment-84997387
.

--
Santosh Rajan
Linkedin http://in.linkedin.com/in/santoshrajan/
Twitter https://twitter.com/santoshrajan
Website http://santoshrajan.com
Medium https://medium.com/@santoshrajan


watermark

add simple watermark function

Thank you for your contribution, I will test your PR today.

Can you add support for other languages please? RTL

Can you add support for other languages please? RTL

For example, what language?
You can pull the latest code or experience the demo at: https://huggingface.co/spaces/TheEeeeLin/HivisionIDPhotos. The watermark algorithm, fonts, and interactions have been improved.

Arabic please

You can try the following steps:

Download a TFF format Arabic font package.
Place the font package in the hivision/plugin/font directory.
Edit line 32 of hivision/plugin/watermark.py, setting font_size to the name of the font package.

I tested that but the text looks broken and r to LTR left while it should be RTL connected and Right to left

I tested that but the text looks broken and r to LTR left while it should be RTL connected and Right to left

Is there a font file or screenshot?

I tested it in the defualt font https://font.download/font/arial
I tested it with 2 fonts:
1 - ARIAL.TTF
2 - NotoSansArabic-Regular.ttf
the word I test is عربي
it looks broken:

I tried using the Times-New-Roman.ttf font, and this is the approximate effect：

Thank you so much for trying!
In the image you attached it is broken as it is writing it from left to righ
The correct is right to left
It should look like this: عربي


Fixes #5688 random space in challengeSeed of Storing Values

In the challengeSeed of Waypoint: Storing Values with the Equal Operator, there was a random space input after the line:

"// Only change code below this line"

Thanks!

Thanks!


Add load testing suite

Description
SimpleReport has unit tests but no load tests. Load tests probably would have caught the database connection issue from 11/19, as we didn't see any problems there until our traffic spiked.
Proposed solution
Add a load testing suite to the application. Engineering discussion seemed to favor using Locust to set up some quick tests.
Additional context
This should likely be merged before we submit the backend dependency updates.

This is blocking the SpringBoot upgrade.

Docker compose file is written;  looking at sample locust files. Need to sync up with the team to figure out which scenarios we want to load test for...

What user flows we want to mimic; going to discuss at eng sync on 1/13.

Initial user flows to test:

conduct tests
view results

After these are written up, we will create additional tickets to add more tests. We should be able to reference our traffic in Azure for this.


feat: archiver fork block num

This PR adds a start point for the archiver so that it doesn't scan the whole L1 chain.

Hmm is it ok that no CI jobs at all were run...?

Hmm is it ok that no CI jobs at all were run...?
not ok. I think it's because my PR was draft before. I'll merge in master

Benchmark results
Metrics with a significant change:

protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 790 (-48%)
avm_simulation_time_ms (FeeJuice:_increase_public_balance): 46.7 (-71%)
avm_simulation_time_ms (FeeJuice:set_portal): 13.5 (+34%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 619 (+88%)
avm_simulation_time_ms (AuthRegistry:set_authorized): 47.2 (+30%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,755
1,549
694 (-2%)
754 (-1%)
779

proof_construction_time_sha256_30_ms
11,471 (-1%)
3,062 (-1%)
1,363 (-2%)
1,423
1,463

proof_construction_time_sha256_100_ms
45,388 (-1%)
11,807 (-1%)
5,810
5,782 (-2%)
5,390 (-1%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0
87.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,533
416
199
226 (+2%)
271 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,653
1,504
667
748 (+4%)
745

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
4,356
7,876
14,884

l1_rollup_calldata_gas
50,160
93,002
178,192

l1_rollup_execution_gas
843,001
1,576,739
3,361,985

l2_block_processing_time_in_ms
249 (+2%)
448 (-2%)
825 (+4%)

l2_block_building_time_in_ms
11,375 (-1%)
22,535
44,521 (-1%)

l2_block_rollup_simulation_time_in_ms
11,375 (-1%)
22,535
44,521 (-1%)

l2_block_public_tx_process_time_in_ms
9,696 (-1%)
20,840
42,778 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
3,421 (+1%)
4,316 (-3%)

node_database_size_in_bytes
14,196,976
18,243,824

pxe_database_size_in_bytes
16,258
26,818

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit
simulation_time_in_ms
witness_generation_time_in_ms
input_size_in_bytes
output_size_in_bytes
proving_time_in_ms

private-kernel-init
70.6 (-6%)
377 (-3%)
21,027
44,933
N/A

private-kernel-inner
138 (-2%)
676 (-1%)
71,803
45,067
N/A

private-kernel-reset-tiny
290 (+1%)
667
64,669
44,922
N/A

private-kernel-tail
150
127 (-2%)
50,553
57,178
N/A

base-parity
5.60 (+1%)
N/A
160
96.0
N/A

root-parity
35.3
N/A
73,964
96.0
N/A

base-rollup
2,582 (-1%)
N/A
189,128
664
N/A

block-root-rollup
41.2 (-1%)
N/A
58,217
2,448
N/A

public-kernel-setup
84.0 (+1%)
N/A
114,433
79,670
N/A

public-kernel-app-logic
97.2
N/A
114,251
79,670
N/A

public-kernel-tail
842
N/A
487,098
16,414
N/A

private-kernel-reset-small
270 (+1%)
N/A
66,345
45,629
N/A

private-kernel-tail-to-public
:warning: 790 (-48%)
591 (-1%)
449,631
1,825
N/A

public-kernel-teardown
83.2 (-1%)
N/A
114,697
79,670
N/A

merge-rollup
20.0
N/A
38,182
664
N/A

undefined
N/A
N/A
N/A
N/A
81,309

Stats on running time collected for app circuits

Function
input_size_in_bytes
output_size_in_bytes
witness_generation_time_in_ms

ContractClassRegisterer:register
1,344
11,731
341 (-1%)

ContractInstanceDeployer:deploy
1,408
11,731
18.2

MultiCallEntrypoint:entrypoint
1,920
11,731
418 (-1%)

FeeJuice:deploy
1,376
11,731
381 (-1%)

SchnorrAccount:constructor
1,312
11,731
59.5 (-1%)

SchnorrAccount:entrypoint
2,336
11,731
367 (-1%)

FeeJuice:claim
1,344
11,731
38.2 (+6%)

Token:privately_mint_private_note
1,280
11,731
69.8 (-1%)

FPC:fee_entrypoint_public
1,344
11,731
26.9 (+12%)

Token:transfer
1,312
11,731
206 (-5%)

Benchmarking:create_note
1,344
11,731
74.3 (+1%)

SchnorrAccount:verify_private_authwit
1,280
11,731
26.5

Token:unshield
1,376
11,731
486 (+1%)

FPC:fee_entrypoint_private
1,376
11,731
642

AVM Simulation
Time to simulate various public functions in the AVM.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
:warning: 46.7 (-71%)
2,283

FeeJuice:set_portal
:warning: 13.5 (+34%)
2,610

Token:constructor
85.6 (+15%)
12,960

FPC:constructor
47.4 (-5%)
7,766

FeeJuice:check_balance
37.0 (-2%)
2,002

Token:mint_public
46.4 (+7%)
4,441

Token:assert_minter_and_mint
:warning: 619 (+88%)
2,921

AuthRegistry:set_authorized
:warning: 47.2 (+30%)
945

FPC:prepare_fee
81.8 (+23%)
3,947

Token:transfer_public
25.3 (+26%)
8,909

FPC:pay_refund
38.9 (-10%)
4,873

Benchmarking:increment_balance
1,227
3,146

Token:_increase_public_balance
38.2 (-1%)
2,260

FPC:pay_refund_with_shielded_rebate
53.4 (+4%)
4,873

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.170 (+4%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.20 (+2%)
3.96
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.115 (+3%)
0.111
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.3 (+1%)
17.7
31.6 (+2%)
59.4 (-1%)
116 (+3%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.108 (+1%)
0.103 (+1%)
0.103 (+3%)
0.103
0.103 (+2%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.3 (+1%)
26.0
45.4 (+3%)
82.5 (-1%)
165 (+1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
357
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.110 (+2%)
0.104
0.109 (+3%)
0.102 (-2%)
0.105 (+1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.2
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
129
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.107
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
72,416
668,302

Transaction size based on fee payment method
| Metric |  |
| - |  |


Minor formatting, punctuation, and typographic corrections

I caught a typo while reading through the compiler and thought I'd patch it and some of the surrounding commentary.

Merged. Thanks for the pull request, Joel!


[5.9] Emit error for unterminated block comment

Explanation: The new parser was accepting unterminated block comments, which was no good. Add a lever diagnostic for them
Scope: Lexing of block comments
Risk: We could be rejecting source code in the new parser now, but I think that’s unlikely
Testing: Added regression test
Issue:  rdar://107424615
Reviewer: @bnbarham and @hamishknight on https://github.com/apple/swift-syntax/pull/1619

@swift-ci Please test

@swift-ci Please test Windows


The video upload popup should close automatically after it’s completed

I'm not sure I agree 100%. What if the user wants to upload subtitles right when the video is done uploading?

Good point. It's probably better if the current popup stays open.
If you plan to change the popup later on (for example by combining the movieDB info popup form with the file management popup), it might be better to close it (or minimize it) automatically if the user can select the subtitles (and other options) before starting the upload. This way the user could move on to next task while the video is uploading in the background.


Fix eq bug in schema_base

Fixes #619
Thanks @apayne97 for spotting.

Codecov Report

Merging #621 (8497865) into main (a965476) will increase coverage by 2.85%.
The diff coverage is 100.00%.

Additional details and impacted files


Rainsensor

Is it possible for a rain sensor that tells you when it will be raining in minutes like described on the radar?
This sensor data can be used in automations, like closing windows if it will start raining.

A sensor like the one you describe will probably be implemented with a timestamp (the time at which the rain starts) rather than a countdown.  Similar to the sunrise/sunset sensor.  It achieves the same functionality but avoids the sensor changing state simply because time is passing.
I'll look into that

oh, waw. That sounds great.
Thanks!

Instead of creating a new sensor for that specific use-case, I implemented a service to return the radar data (similar to weather.get_forecasts).  This way, most use-cases can be handled with this service and some templates.
Assuming that you have a weather entity setup with this integration called weather.home, add the following to your configuration.yaml:
template:
  - trigger:
      - platform: state
        entity_id: weather.home
      - platform: homeassistant
        event: start
    action:
      - service: irm_kmi.get_forecasts_radar
        data:
          include_past_forecasts: false
        target:
          entity_id: weather.home
        response_variable: response
    sensor:
      - name: Next rain time
        unique_id: next_rain_time
        state: "{{ response['weather.home'] | rejectattr('native_precipitation', 'eq', 0) | map(attribute='datetime') | first | default | as_datetime }}"
        device_class: timestamp

It will create a template sensor called sensor.next_rain_time with a timestamp showing when the next rain will happen.  If it is currently raining it might be in the past (5 minutes ago) but it will never be more than 10 minutes in the past.  When there is no rain on the radar forecast, the sensor is unknown.
You may want to add a time pattern trigger in the template: currently it refreshes the value only when Home Assistant starts or when the weather condition changes.
The issue will be closed once the feature is merged into main and it will be shipped in the next release.  However, feel free to comment here if you need more info

Thank you for adding this.


Add syslog auto update + Add syslog no internet ops

Hi there,
just saw that the used syslog-release version in the syslog ops file is pretty outdated and that there is no 'no-internet-access' ops file for it so I added both with this PR.

Hi @benjaminguttmann-avtq , thanks for this PR!
Can you change the base branch to develop?

Hi @ssapra , thx for mentioning that.
Done


[HUDI-4126] Disable file splits for Bootstrap real time queries (via InputFormat)

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
In Hudi 0.11.0 a lot of refactoring has been done to the InputFormat code for better organization and optimizations. As part of that HoodieRealtimePath class was introduced, which extends the standard hadoop Path and a method to determine whether the path isSplitable was introduced in the class. This logic does not take into account whether the real time path is for bootstrap split or not. It simply determines whether splitting is possible based on whether there is a base path (base parquet file).
When bootstrap feature was developed, it was a design decision to disable file splitting for bootstrap scenario because there is no way we can make sure that source file (external file) gets split at exactly the same rows as the hudi file. There is no way to create splits with 1 to 1 mapping which can then be stitched together at runtime.
This disabling is handled correctly for COW scenario https://github.com/apache/hudi/blob/master/hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/HoodieCopyOnWriteTableInputFormat.java#L81 but it never reaches here for real time queries because https://github.com/apache/hudi/blob/master/hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/realtime/HoodieMergeOnReadTableInputFormat.java#L191 ends up being true and hence the call to super method is never reached.
In this change we are disabling file splitting correctly for bootstrap real time queries.
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[x] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

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

cc @umehrot2 @zhedoubushishi

LGTM.
Can you add the JIRA title to the commit? It's really bad that the current Hudi integration tests cannot catch this bug as this is just a basic use case for bootstrap query. Maybe you should also open a new JIRA for adding integration test for bootstrap realtime query via inputformat.

@zhedoubushishi sure will do so.
I spoke with @yihua who might have time to look into adding a test for this in oss. If he does not have bandwidth I can take it up as well when i have bandwidth.

CI passed.


Fix code coverage on CI

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #16   +/-   ##
====================================
  Coverage      90%   90%
====================================
  Files          13    13
  Lines         150   150
  Branches       24    24
====================================
  Hits          135   135
  Misses          5     5
  Partials       10    10

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 1d60ed8...3e3fbd6. Read the comment docs.