[Bug]: docker-compose failed!

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
newest
Other environment information
No response
Actual behavior
I have pulled the images successfully and do  docker compose -f docker-compose-CN.yml up -d.
Expected behavior
No response
Steps to reproduce
[+] Running 6/8
 ⠿ Network docker_ragflow                                                                                Created                                                                       0.1s
 ⠿ Container ragflow-es-01                                                                                Healthy                                                                      21.2s
 ⠿ Container ragflow-mysql                                                                                Healthy                                                                      11.2s
 ⠿ Container ragflow-minio                                                                                Started                                                                       1.7s
 ⠇ es01 Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.                                                                                0.0s
 ⠿ Container ragflow-kibana                                                                                Started                                                                      21.6s
 ⠿ Container ragflow-server                                                                                Started                                                                      21.8s
 ⠇ kibana Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.                                                                               0.0s
(base) lk@lk:/media/lk/disk1/lk_git/6_NLPandCNN/LLM/ragflow/docker$ docker logs -f ragflow-server
[HUQIE]:Build default trie
[HUQIE]:Build default trie
[HUQIE]:Build default trie
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt

WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!
pytorch_model.bin:   7%|▋         | 94.4M/1.30G [00:29<06:09, 3.27MB/s]WARNING:root:Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!
Traceback (most recent call last):
  File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3291, in execute_sql
    cursor.execute(sql, params or ())
  File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query

Anyone can helps ? Thanks!

### Additional information

![screenshot1](https://github.com/infiniflow/ragflow/assets/20237650/246876fb-4737-4066-bae1-57605561a678)

It shows {"data":null,"retcode":100,"retmsg":"<NotFound '404: Not Found'>"} in the website.

+1

1+
Not getting it in the logs but getting the same outcome in the browser when I hit the url

[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!
pytorch_model.bin:  34%|███▍      | 440M/1.30G [00:22<00:36, 23.9MB/s]WARNING:root:Realtime synonym is disabled, since no redis connection.
pytorch_model.bin: 100%|██████████| 1.30G/1.30G [01:06<00:00, 19.7MB/s]
[WARNING] Load term.freq FAIL!
[WARNING] Load term.freq FAIL!

Is there an existing issue for the same bug?

[x]  I have checked the existing issues.

Branch name
main
Commit ID
newest
Other environment information
No response
Actual behavior
I have pulled the images successfully and do docker compose -f docker-compose-CN.yml up -d.
Expected behavior
No response
Steps to reproduce
[+] Running 6/8
 ⠿ Network docker_ragflow                                                                                Created                                                                       0.1s
 ⠿ Container ragflow-es-01                                                                                Healthy                                                                      21.2s
 ⠿ Container ragflow-mysql                                                                                Healthy                                                                      11.2s
 ⠿ Container ragflow-minio                                                                                Started                                                                       1.7s
 ⠇ es01 Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.                                                                                0.0s
 ⠿ Container ragflow-kibana                                                                                Started                                                                      21.6s
 ⠿ Container ragflow-server                                                                                Started                                                                      21.8s
 ⠇ kibana Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.                                                                               0.0s
(base) lk@lk:/media/lk/disk1/lk_git/6_NLPandCNN/LLM/ragflow/docker$ docker logs -f ragflow-server
[HUQIE]:Build default trie
[HUQIE]:Build default trie
[HUQIE]:Build default trie
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt
[HUQIE]:Build trie /ragflow/rag/res/huqie.txt

WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!
pytorch_model.bin:   7%|▋         | 94.4M/1.30G [00:29<06:09, 3.27MB/s]WARNING:root:Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!
Traceback (most recent call last):
  File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3291, in execute_sql
    cursor.execute(sql, params or ())
  File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query

Anyone can helps ? Thanks!

### Additional information

![screenshot1](https://github.com/infiniflow/ragflow/assets/20237650/246876fb-4737-4066-bae1-57605561a678)

It shows {"data":null,"retcode":100,"retmsg":"<NotFound '404: Not Found'>"} in the website.

Try the solution this issue used.
https://github.com/infiniflow/ragflow/issues/226

1+ Not getting it in the logs but getting the same outcome in the browser when I hit the url

Figure out the true IP your machine use.
For windows:
ipconfig
For linux:
ifconfig

I guess there is something else

+1

me too

Same error here, and I noticed no tables are created in mysql.
And from the log:
raise Exception("Can't connect to ES cluster")
Exception: Can't connect to ES cluster
looks like connect to ES is down too.

Btw, what is the docker / docker-compose version is expected?

docker compose -f docker-compose-CN.yml up -d,  When I  run the command, the next exception occurred, how to solve it?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ragflow/rag/svr/task_broker.py", line 180, in
dispatch()
File "/ragflow/rag/svr/task_broker.py", line 64, in dispatch
rows = collect(tm)
^^^^^^^^^^^
File "/ragflow/rag/svr/task_broker.py", line 38, in collect
docs = DocumentService.get_newly_uploaded(tm)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3128, in inner
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/db/services/document_service.py", line 101, in get_newly_uploaded
return list(docs.dicts())
^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 7243, in iter
self.execute()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 2011, in inner
return method(self, database, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 2082, in execute
return self._execute(database)
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 2255, in _execute
cursor = database.execute(self)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3299, in execute
return self.execute_sql(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3289, in execute_sql
with exception_wrapper:
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3059, in exit
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 192, in reraise
raise value.with_traceback(tb)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3291, in execute_sql
cursor.execute(sql, params or ())
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
result = self._query(query)
^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query
conn.query(q)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 558, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 822, in _read_query_result
result.read()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 1200, in read
first_packet = self.connection._read_packet()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
peewee.ProgrammingError: (1146, "Table 'rag_flow.document' doesn't exist")
pytorch_model.bin:  27%|██▋       | 346M/1.30G [03:20<12:38, 1.26MB/s]WARNING:root:Realtime synonym is disabled, since no redis connection.
Traceback (most recent call last):
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3291, in execute_sql
[WARNING] Load term.freq FAIL!
cursor.execute(sql, params or ())
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
result = self._query(query)
^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query
conn.query(q)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 558, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 822, in _read_query_result
result.read()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 1200, in read
first_packet = self.connection._read_packet()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1146, "Table 'rag_flow.document' doesn't exist")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ragflow/rag/svr/task_broker.py", line 180, in
dispatch()
File "/ragflow/rag/svr/task_broker.py", line 64, in dispatch
rows = collect(tm)
^^^^^^^^^^^
File "/ragflow/rag/svr/task_broker.py", line 38, in collect
docs = DocumentService.get_newly_uploaded(tm)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3128, in inner
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/db/services/document_service.py", line 101, in get_newly_uploaded
return list(docs.dicts())
^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 7243, in iter
self.execute()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 2011, in inner
return method(self, database, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 2082, in execute
return self._execute(database)
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 2255, in _execute
cursor = database.execute(self)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3299, in execute
return self.execute_sql(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3289, in execute_sql
with exception_wrapper:
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3059, in exit
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 192, in reraise
raise value.with_traceback(tb)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3291, in execute_sql
cursor.execute(sql, params or ())
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
result = self._query(query)
^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query
conn.query(q)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 558, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 822, in _read_query_result
result.read()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 1200, in read
first_packet = self.connection._read_packet()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
peewee.ProgrammingError: (1146, "Table 'rag_flow.document' doesn't exist")
WARNING:root:Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!
Traceback (most recent call last):
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/peewee.py", line 3291, in execute_sql
cursor.execute(sql, params or ())
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
result = self._query(query)
^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query
conn.query(q)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 558, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 822, in _read_query_result
result.read()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 1200, in read
first_packet = self.connection._read_packet()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1146, "Table 'rag_flow.document' doesn't exist")

Same error here, and I noticed no tables are created in mysql. And from the log: raise Exception("Can't connect to ES cluster") Exception: Can't connect to ES cluster
looks like connection to ES is not setup too.

Did you set  sysctl -w vm.max_map_count=262144  in the docker host ?

in my case ,it keeps complaint :
[WARNING] Load term.freq FAIL!
    from rag.app import laws, paper, presentation, manual, qa, table, book, resume, picture, naive, one
  File "/ragflow/rag/app/laws.py", line 20, in <module>
    from deepdoc.parser import PdfParser, DocxParser, PlainParser
  File "/ragflow/deepdoc/parser/__init__.py", line 3, in <module>
    from .pdf_parser import HuParser as PdfParser, PlainParser
  File "/ragflow/deepdoc/parser/pdf_parser.py", line 15, in <module>
    from PyPDF2 import PdfReader as pdf2_read
ModuleNotFoundError: No module named 'PyPDF2'

even thought  I have install it manally :
docker exec  -it  ragflow-server  /bin/bash
pip install PyPDF2
docker restart   ragflow-server

and fail to sign up

Same error here, and I noticed no tables are created in mysql. And from the log: raise Exception("Can't connect to ES cluster") Exception: Can't connect to ES cluster
looks like connection to ES is not setup too.

Did you set sysctl -w vm.max_map_count=262144 in the docker host ?

Thanks, the platform is Winfows and it does not support the command set sysctl -w vm.max_map_count=262144

Btw, what is the docker / docker-compose version is expected? In my environment, cannot understand the
include:
  - path: ./docker-compose-base.yml
    env_file: ./.env

inside docker-compose.yml I have to merge the yml files manually. I'm on Mac.

Version:    25.0.3

in my case ,it keeps complaint :
[WARNING] Load term.freq FAIL!
    from rag.app import laws, paper, presentation, manual, qa, table, book, resume, picture, naive, one
  File "/ragflow/rag/app/laws.py", line 20, in <module>
    from deepdoc.parser import PdfParser, DocxParser, PlainParser
  File "/ragflow/deepdoc/parser/__init__.py", line 3, in <module>
    from .pdf_parser import HuParser as PdfParser, PlainParser
  File "/ragflow/deepdoc/parser/pdf_parser.py", line 15, in <module>
    from PyPDF2 import PdfReader as pdf2_read
ModuleNotFoundError: No module named 'PyPDF2'

even thought I have install it manally :
docker exec  -it  ragflow-server  /bin/bash
pip install PyPDF2
docker restart   ragflow-server

and fail to sign up

pull the latest images

Same error here, and I noticed no tables are created in mysql. And from the log: raise Exception("Can't connect to ES cluster") Exception: Can't connect to ES cluster
looks like connection to ES is not setup too.

chang ES_PORT=1200 to ES_PORT=9200 can solve this problem

This problem still exists.
MacOS 13.5.2 (22G91)
Apple M2 Pro

I have changed ES_PORT=1200 to ES_PORT=9200, but it still occurs the above exception. The configuration of ES_PORT is as follows:

[HUQIE]:Build trie /ragflow/rag/res/huqie.txt [HUQIE]:Build trie /ragflow/rag/res/huqie.txt [HUQIE]:Build trie /ragflow/rag/res/huqie.txt WARNING:root:Realtime synonym is disabled, since no redis connection. WARNING:root:Realtime synonym is disabled, since no redis connection. WARNING:root:Realtime synonym is disabled, since no redis connection. [WARNING] Load term.freq FAIL! pytorch_model.bin: 34%|███▍ | 440M/1.30G [00:22<00:36, 23.9MB/s]WARNING:root:Realtime synonym is disabled, since no redis connection. pytorch_model.bin: 100%|██████████| 1.30G/1.30G [01:06<00:00, 19.7MB/s] [WARNING] Load term.freq FAIL! [WARNING] Load term.freq FAIL!

Hello, bro, has this problem been solved? I have the same problem as you. I hope you can give me some helpful advice. Thank you！

同样的问题，

为什么作者将这个bug关闭了，这显然是不负责任的开源项目

problem too:
[1191261511eb:00023] [[INVALID],INVALID] ORTE_ERROR_LOG: The system limit on number of children a process can have was reached in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 633
[1191261511eb:00023] [[INVALID],INVALID] ORTE_ERROR_LOG: The system limit on number of children a process can have was reached in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 172
[1191261511eb:00022] [[INVALID],INVALID] ORTE_ERROR_LOG: The system limit on number of children a process can have was reached in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 633
[1191261511eb:00022] [[INVALID],INVALID] ORTE_ERROR_LOG: The system limit on number of children a process can have was reached in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 172
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  orte_ess_init failed
  --> Returned value The system limit on number of children a process can have was reached (-119) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  orte_ess_init failed
  --> Returned value The system limit on number of children a process can have was reached (-119) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems.  This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):

  ompi_mpi_init: ompi_rte_init failed
  --> Returned "The system limit on number of children a process can have was reached" (-119) instead of "Success" (0)
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems.  This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):

  ompi_mpi_init: ompi_rte_init failed
  --> Returned "The system limit on number of children a process can have was reached" (-119) instead of "Success" (0)
--------------------------------------------------------------------------
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 3232, in connect
self._state.set_connection(self._connect())
File "/usr/local/lib/python3.10/dist-packages/playhouse/pool.py", line 76, in inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/playhouse/pool.py", line 169, in _connect
conn = super(PooledDatabase, self)._connect()
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 4201, in _connect
conn = mysql.connect(db=self.database, autocommit=True,
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 358, in init
self.connect()
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 663, in connect
self._get_server_information()
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 1099, in _get_server_information
packet = self._read_packet()
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
File "/usr/local/lib/python3.10/dist-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "/usr/local/lib/python3.10/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.OperationalError: (1130, "<IP_ADDRESS>' is not allowed to connect to this MySQL server")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ragflow/api/ragflow_server.py", line 63, in
init_web_db()
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 3127, in inner
with ConnectionContext(self.db):
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 3122, in enter
self.db.connect()
File "/usr/local/lib/python3.10/dist-packages/playhouse/pool.py", line 121, in connect
return super(PooledDatabase, self).connect(reuse_if_open)
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 3231, in connect
with exception_wrapper:
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 3059, in exit
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 192, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 3232, in connect
self._state.set_connection(self._connect())
File "/usr/local/lib/python3.10/dist-packages/playhouse/pool.py", line 76, in inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/playhouse/pool.py", line 169, in _connect
conn = super(PooledDatabase, self)._connect()
File "/usr/local/lib/python3.10/dist-packages/peewee.py", line 4201, in _connect
conn = mysql.connect(db=self.database, autocommit=True,
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 358, in init
self.connect()
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 663, in connect
self._get_server_information()
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 1099, in _get_server_information
packet = self._read_packet()
File "/usr/local/lib/python3.10/dist-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
File "/usr/local/lib/python3.10/dist-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "/usr/local/lib/python3.10/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
peewee.OperationalError: (1130, "<IP_ADDRESS>' is not allowed to connect to this MySQL server")
[WARNING] [2024-05-31 13:14:58,633] [synonym.init] [line:24]: Realtime synonym is disabled, since no redis connection.
[WARNING] Load term.freq FAIL!

Curious why this was closed?  Don't see anything associated with the fix and we're experiencing the same issue on Debian bookworm:
Traceback (most recent call last):
  File "/ragflow/rag/svr/task_executor.py", line 28, in <module>
    from api.db.services.file2document_service import File2DocumentService
  File "/ragflow/api/db/services/__init__.py", line 18, in <module>
    from .user_service import UserService
  File "/ragflow/api/db/services/user_service.py", line 22, in <module>
    from api.db.db_models import DB, UserTenant
  File "/ragflow/api/db/db_models.py", line 32, in <module>
    from api.settings import DATABASE, stat_logger, SECRET_KEY
  File "/ragflow/api/settings.py", line 35, in <module>
    from rag.utils.es_conn import ELASTICSEARCH
  File "/ragflow/rag/utils/es_conn.py", line 460, in <module>
    ELASTICSEARCH = ESConnection()
  File "/ragflow/rag/utils/__init__.py", line 12, in _singleton
    instances[key] = cls(*args, **kw)
  File "/ragflow/rag/utils/es_conn.py", line 24, in __init__
    raise Exception("Can't connect to ES cluster")
Exception: Can't connect to ES cluster

Followed the instructions from the Quickstart at https://ragflow.io/docs/dev/.
/sbin/sysctl vm.max_map_count
vm.max_map_count = 262144

So anyone got a fix for this?

为什么作者将这个bug关闭了，这显然是不负责任的开源项目

Issue 好几百，估计忙不过来 :-）

应该是还启动了一个redis占用了，关了另外的redis，重启

Is there a solution for this? Or anyone know how i can run an older version in docker?


freetds: 0.91 -> 1.00.62

Motivation for this change
While the library upgrade itself is fine, there is some fallout from this that I haven't fixed yet.
Cc: #31171 @ryantrinkle @c0bw3b
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

So this works now with 2 caveats:
a) We need a commit on master to make php work again
b) calligra2 breaks, but it is deprecated (based on kde4) and we already carry calligra3 (based on kf5)

Cc @Phreedom and @ebzzry as calligra maintainers.

Upstream current stable is now 1.00.70
Since this is going to rebuild lots of php things anyway... :)

Thanks all!


Documentation detail

In the installations instructions it says:
"python install setup.py"
and must be: "python setup.py install"

Fixed as of #130


traffic movement  description

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for contributing @pacificpaudel, do you think this addition would fit better at the end of the network layer description?

The requested change is not accurate, as the bottom three layers are all used during the transport of a packet across the network.  Please submit a new PR with more accurate/detailed information and try to provide a source if possible.
Thank you for contributing and Happy Coding!


Running nf_wochenende with fastp

Hi @colindaven , I want to use fastp instead of trimmomatic (we are again working on the high number of species problem). However, nextflow reported the following error:
Command error:
  Traceback (most recent call last):
    File "run_Wochenende.py", line 1792, in <module>
      main(parser.parse_args(), sys.argv[1:])
    File "run_Wochenende.py", line 1545, in main
      args.threads,
    File "run_Wochenende.py", line 243, in runFunc
      cF = func(cF, *extraArgs)
  TypeError: runFastpPE() missing 1 required positional argument: 'adapter_path'

Do we need to specify an additional adapter_path in run_Wochenende.py ? I can find a path for args.nextera in line 1422, but it seems like an option for args.fastp is missing.

Hi @irosenboom , thanks for the bug report. I'll have a look at this later on. To be fair, I haven't tested fastp so far in the new version, but it's worth trying as its by far the fastest and newest adapter trimmer for Illumina reads.

I solved some issues, but also changed the paths to the adapters in the config.yaml file. You'll need to uncomment your fastp paths so fastp can find the adapters.
Please test the main branch, thanks!

It runs perfectly now, thanks!


replaced deprecated bridge.imageLoader calls with moduleForClass API

Does any other open PR do the same thing?

No
What issue is this PR fixing?
#3094
How did you test this PR?

I tested on a new react native project running on version 0.61.2 and observed that the deprecation warnings no longer appear after implementing the moduleForClass API and tested to make sure that Marker and Map overlay images load correctly after API changes

Does anyone know when can we expect this to be released?


[#1826][FOLLOWUP] fix(build): Revert incorrect shift statements deletion in build_distribution.sh

What changes were proposed in this pull request?
Revert the incorrect shift shell statements deletion in https://github.com/apache/incubator-uniffle/pull/1827.
Why are the changes needed?
A follow-up PR for https://github.com/apache/incubator-uniffle/pull/1827.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs.

Thanks for pointing out! @zuston


Practice Problems for Binary Search

Title: Create a Section for Practice Problems on Binary Search
Description:
Develop a comprehensive list of practice problems focused on binary search algorithms.
Include a variety of problem types to cater to different skill levels, such as:
Basic binary search problems on sorted arrays.
Applications of binary search in finding the first/last occurrence of an element.
Problems involving searching in rotated sorted arrays.
Challenges requiring binary search on the answer (e.g., finding the square root, searching in a matrix).
Advanced problems like finding the peak element in an array or solving optimization problems using binary search.
Provide clear problem statements, example inputs and outputs, and hints or solutions where applicable.
Acceptance Criteria:
The section should contain at least 10 distinct binary search practice problems.
Each problem should include a clear description, examples, and expected outcomes.
Solutions or hints should be provided for each problem to assist learners.

@ajay-dhangar , i am doing it


Would be nice to know if we need to open TCP ports ? UDP ?

Hi,
Would be nice to know if we need to open TCP ports ? UDP ?
Thanks.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fab35792-13ac-5fc9-c434-49d3a98e77c0
Version Independent ID: 75dc39cc-d528-088c-3f8e-2454a5db56bb
Content: Log Analytics agent overview - Azure Monitor
Content Source: articles/azure-monitor/agents/log-analytics-agent.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @bwren
Microsoft Alias: bwren

@bencorley Thanks for the comment. If you meant about opening ports in network requirements section of the document, then as shown in below screenshot, its mentioned that the agent for Linux and Windows communicates outbound to the Azure Monitor service over TCP port 443.

If the feedback is regarding something else then please provide more context so we can validate if the referred Azure document needs enhancement as appropriate or not. Thanks.

Exactly, thank you.
On Mon, Nov 8, 2021 at 2:07 PM KrishnaG-MSFT @.***>
wrote:

@bencorley https://github.com/bencorley Thanks for the comment. If you
meant about opening ports in network requirements section of the document,
then as shown in below screenshot, its mentioned that the agent for
Linux and Windows communicates outbound to the Azure Monitor service over
TCP port 443.
[image: image]
https://user-images.githubusercontent.com/45988031/140746953-f396967e-c54b-47a2-bb0e-9a36d8c67db1.png
If the feedback is regarding something else then please provide more
context so we can validate if the referred Azure document needs enhancement
as appropriate or not. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/83540#issuecomment-963132317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK65DRCP67UOUDV3QLY5RYTUK7DRJANCNFSM5HSNECCQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Closing this issue for now. If there are further questions regarding this matter or feedback on the referred Azure documentation, please do let us know and we will gladly continue the discussion.


#66 Update Booking Form-Nishka Kisten

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
I added fields to input care givers details and made sure that the mandatory fields have a asterisk next to it along with a note that explains what the asterisk means.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #66
📸: Screenshots

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Kindly change Fixes #1 to Fixes #66

I approve but there is a better way to achieve this in bootstrap check https://getbootstrap.com/docs/5.0/components/scrollspy/ not sure if this is possible in react bootstrap

I approve but there is a better way to achieve this in bootstrap check https://getbootstrap.com/docs/5.0/components/scrollspy/ not sure if this is possible in react bootstrap.

@Craques, it works, and the code is less complicated. Just one issue, the admission dropdown link takes you to the page and the book a screening link only works on the page to move to that section. is that fine?

Will have to discuss with @Ridib and maybe run it


bug: ion-radio checked="true" ERROR

Bug Report
Ionic version:
[x] 5.2.1
Current behavior:
<ion-list>
   <ion-radio-group>
     <ion-item>
       <ion-label> teste</label>
         <ion-radio checked="true"></ion-radio>
     </ion-item>
   </ion-radio-group>
  </ion-list>

Expected behavior:
it was to be expected that the default value with checked = true was checked

@gminhaneli This is worked at my environment.
Maybe this is typo?

 teste
<ion-label> teste</ion-label>

Hi there,
The code snippet you provided is working fine for me. Which version of Ionic are you seeing this on?

consegui resolver. obrigado


doesnt work

I tried doesnt workthe menu to upgrading comes

Not 100% sure what you mean, but what issues are you having? Do you have Zere's Plugin Library installed?


test .net core compatibility

https://docs.microsoft.com/en-us/dotnet/api/?view=netcore-3.0&term=direct
GO! :)

Thanks @LxLeChat. Duplicate of another issue. WIll close this one and update the older one
#37 duplicate


[11.x] Fix: Added unreported @throws to doc-block in FoundationServiceProvider

This PR, adds some unreported @throws BindingResolutionException over the FoundationServiceProvider.
Thanks!

I just usually add these doc blocks unless the method itself throws that exception.


KeyboardView does not layout correctly

Since the KeyBoardView's layout: view_keyboard.xml's RelativeLayout is set to match_parent in height you are not able to centre the pin lock view on the screen and as such on very large screens you get an "ugly" look.
With match_parent

With wrap_content

You can make a pull request if you want to change this behavior, would be great actually.
Thanks


Fix version numbers caused by Mustache typo

I was implementing tests for https://github.com/raiden-network/raiden-contracts/issues/623 and realized I made a typo in the Mustache configuration.
In the templates I had {{version_suffix}} with _. I was telling Mustache to replace {{version-suffix}} (with -).
This PR

fixes the typo
starts using Mustache in the stricter mode so similar mistakes will cause build errors
forces template rendering whenever the rendering script is newer than the target.

Waiting for CI now...

And now the whole codebase has realized that sometimes it's 0.8.0 and sometimes it's 0.8.0_unlimited.


[FEATURE] Add highlights through PMs

Title.

People will spam highlighted word after it was registered.

I did that, so that you can test if it works...

two proposed solutions:

You can add highlights in dms
The command is deleted a few seconds after you have sent it in the server to hide what you added as well as your list

Both would be preferable but one of them should suffice.


If .360 input, should inject spherical data

All .360 videos are converted into equirectangular projection type.
Therefore, spherical metadata should be written into images when .360 used.
https://github.com/trek-view/gopro-frame-maker/blob/dev/docs/LOGIC.md#spherical-metadata-360-input-and-equirectangular-videos-only

@karamvirup this does not work with equirectangular mp4's


branch name for the “next” version?

Now that we have a nightly build server, we may rethink the naming of the “next” version branch, for when we have things that cannot be merged in master (though we may avoid it the most possible because it's painful).
Until now we named them like 0.53.0/sync, but that's not really predictable by a simple script. Why not simply call it next/sync?
Once a new version is released, any next branch will be called “next”.
We don't expect to have more than one “next” branch anyway.
What do you think about it?

next-sync makes sense and it can be deleted and recreated after every release?

Yes that's the idea, delete it after every release and recreate it when there is a need.
Note: the slash in /sync is on purpose as our CI relies on git-checkout-modules to fetch any submodule with the same branch of the PR if the branch name ends with /sync has a convention.

This has potential for confusion. If there is a pull request sitting with the next target branch, then it won't be obvious when the release had passed that you should consider retargeting it to master. I prefer explicitly numbered branches.

Also when looking at merge commits in the history I would rather see "merged 0.53.0 into master" and vice versa, than just "next".

In the case of nightly, it only uses master. In the case of the testing servers, the /experimental servers are hardcoded to use 0.53.0/sync. It's not really a big deal to change that though.

Is this still relevant? It seems we have kept using branch names like for-0.56.0/sync.

Anyway the question was for having a generic branch name not having a version.


how to solve this?

Hi all,
gokul@gokul:~/blockchain$ docker build -t blockchain .
Sending build context to Docker daemon  348.2kB
Step 1/7 : FROM python:3.6-alpine
---> d6b500d78779
Step 2/7 : WORKDIR /app
---> Using cache
---> b31576fa6e36
Step 3/7 : ADD requirements.txt /app
---> Using cache
---> 3c87ba16e4bc
Step 4/7 : RUN cd /app &&     pip install -r requirements.txt
---> Using cache
---> de25a55d3e66
Step 5/7 : ADD blockchain.py /app
---> Using cache
---> b35dc1785ac6
Step 6/7 : EXPOSE 5000
---> Using cache
---> bc208757dac8
Step 7/7 : CMD ["python", "blockchain.py", "--port", "5000"]
---> Using cache
---> e159f19487d4
Successfully built e159f19487d4
Successfully tagged blockchain:latest
gokul@gokul:~/blockchain$ docker run --rm -p 80:5000 blockchain

Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)

After this i couldn't get anything. what to do?

Please provide more details on "i couldn't get anything". The last line says docker instance is running and service is available on port 5000. More details you provide will help to respond quicker.
What does it show on postman?

I got the answer sir.
Thank you for your reply.
Thank You so much.
Thanks and Regards,
K.Uma Maheswari,
Research Scholar/CSE,
NIT - Trichy,
Tamilnadu, India - 620015.
Phone: 962 962 04 64


Issue with React Scheduler Overlaying Data from Different Years

When my data contains entries from two different years, the React scheduler encounters an issue where it overlays the data incorrectly.

For example, consider the sample data provided below:
data: [
  {
    id: "1",
    startDate: new Date("2023-03-11T08:00:00.000Z"),
    endDate: new Date("2023-08-11T08:00:00.000Z"),
    occupancy: 3600,
    title: "Test 2023",
    description: "2023",
    bgColor: "rgb(254,165,177)"
  },
  {
    id: "2",
    startDate: new Date("2024-03-18T08:00:00.000Z"),
    endDate: new Date("2024-03-24T15:59:59.649Z"),
    occupancy: 3600,
    title: "Test 2024",
    description: "2024",
    bgColor: "rgb(137, 207, 240)"
  }
]

In this scenario, the data with ID 1, representing the year 2023, should not appear because it's from the previous year. However, it is still being displayed.
My proposed solution is to add a condition in the Tile.tsx file. Specifically, when the width of the tile is greater than 0, we should only display the tile:
// Existing code...

return (
  <div>
    {width > 0 && (
      // Existing tile rendering code...
    )}
  </div>
);

This adjustment ensures that only tiles with a valid width are displayed, effectively resolving the issue of overlaying data from different years.

Hi, we've push a new Scheduler version that contains fix for overlapping events.
Please update the package to the newest version - 0.3 and let us know if it helped :D


Change currency after initialization

Sometimes currency is a user-selectable option at checkout. I couldn't find a method to change the currency after configuring AnalyticsProvider. Could a method be exposed?

@KrisBraun Do you know how this value is communicated if changed after configuration? Can you use the set method?

I'm calling this, and I think it might be working:
    Analytics.set '&cu', @currency

It's just that I can see the saved currency is passed in the ecommerce:addTransaction call, which I assumed would override any previous set value.

is there a setting for changing a custom metric to a currency?


Terminal should treat the spaces at the right edge of a nonwrapped line as one region

In most other terminal emulators, when you drag a selection off the right edge of the text it selects the entire empty region up to the edge of the screen as a single unit.
There may be an impact, if we do this, on how we copy versus do not copy newlines.
+----------------------------------------------+
|TEXT TEXT TEXT                                |
|                                              |
+----------------------------------------------+

Selection:
              v cursor is here
 ##############
|TEXT TEXT TEXT                                |

drag right...

               v cursor is here
 ##############################################
|TEXT TEXT TEXT                                |

There's an argument to be made that copying TEXT TEXT TEXT should not have a newline and copying TEXT TEXT TEXT<SPACE> should.

/cc @carlos-zamora can you hook this up to the selection megathread?
Unassign yourself when you've done that :smile:


Make some simple getters take const SSL/SSL_CTX

I noticed this in the info callback, where our source was casting away the const for the SSL argument, allegedly for 0.9.7's SSL_get_app_data(), but when I removed the const I found that it was still needed for  SSL_renegotiate_pending(). I fixed a couple other simple accessors while I was there.
I think I updated the docs, too, at least for the functions that have documentation.

We need to decide if we're backporting this kind of effort to 1.1.1 or not, and be consistent. I was cautiously staying with master in #7890, but if this gets backported, shouldn't that as well?

This is marked for backport to 1.1.1, and I think it should be. I'm less sure about #7890 since that actually changes the underlying type (rather than simply constifying it).

Pushed. Thanks.


New Contributor-Kushagra Agnihotri added

Kushagra Agnihotri made changes

Thanks @kushagra-aa for  your PR, Welcome to the community.


Localized error messages

Hi guys!
Localisation feature has any updates?
Since #197 this important feature just ignored 😞
Is there any way to replace default error messages, without changing Commando source code?

Any updates on this?

closing as dupe of #197

closing as dupe of #197


Config file on 1.9.3

My config file (/usr/local/etc/dnscrypt-proxy.conf) was replaced when installing v.1.9.3. I think this has been resolved on previous version ?

Duplicate of https://github.com/jedisct1/dnscrypt-proxy/issues/575


Allow passing environent variables to StreamProcessors

Add support for an 'envs' field to the StreamProcessor configuration
and append it to the os.Environ() array.
The envs field takes environment variables in the form of key=value.
Signed-off-by: Stefan Berger<EMAIL_ADDRESS>

Are these test failures related to this change? They don't look to be..

Are these test failures related to this change? They don't look to be..


✨ add composition root

Codecov Report

Merging #19 (9591cf1) into main (f85ad2d) will decrease coverage by 0.83%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main      #19      +/-   ##
===========================================
- Coverage   100.00%   99.16%   -0.84%
===========================================
  Files           15       15
  Lines          240      239       -1
  Branches        54       52       -2
===========================================
- Hits           240      237       -3
- Misses           0        2       +2

Impacted Files
Coverage Δ

src/domain/usecases/auth-usecase.js
100.00% <100.00%> (ø)

src/presentation/helpers/http-response.js
100.00% <100.00%> (ø)

src/presentation/routers/login-router.js
100.00% <100.00%> (ø)

src/infra/helpers/mongo-helper.js
92.59% <0.00%> (-7.41%)
:arrow_down:

Continue to review full report at Codecov.

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


Make all serialization attributes specifiable per policy. Fixes #1352.

The attributes @ignore, @optional, @name, @byName and @asArray now take a serialization policy as an optional template argument. With that specified, they only have an effect if (de)serializeWithPolicy is called with the same policy.

Poor people with common nick names... I didn't expect then to be referenced from the commit message.


add socketio server

fix https://github.com/go-ggz/ggz/issues/19

Codecov Report

Merging #20 into master will decrease coverage by 0.13%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
- Coverage    13.4%   13.26%   -0.14%
==========================================
  Files           5        6       +1
  Lines         194      196       +2
==========================================
  Hits           26       26
- Misses        168      170       +2

Impacted Files
Coverage Δ

helper/jwt.go
0% <0%> (ø)

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 ac9d1ba...8c56497. Read the comment docs.


fix(battery_plus): battery state always unknown (iOS only)

Description
If battery percentage never read battery state is always unknown
Related Issues
None
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I titled the PR using Conventional Commits.
[x] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[x] No, this is not a breaking change.

Thank you for your contribution.
Could you elaborate more on what is going on? Didn't understand from your description what is wrong there.

@rostopira Could you reply to ☝🏻 ?

@vbuberen sorry, missed previous comment.
There is a steps to reproduce a bug
Future<void> main() async {
  final batteryState = await Battery().batteryState;
  print(batteryState);
}

If you run it on iOS without my patch you will get BatteryState.unknown instead of the real battery state.
It may be reproducible on macOS as well, but I didn't tried that.

Thanks a lot for detailed explanations and reproducer. I was even able to reproduce the problem in the example app we have for the plugin. And indeed your patch works. Approving and will release this fix the upcoming week.

On MacOS couldn't get the same bug, so it seems applies only to iOS.


Can no longer login?

I experimented with OpenDC last year and setup a couple projects, but the login no longer seems to work?
Clicking 'Login with Google' in the top right opens the popup window and prompts for G username and pass, but open entering them, popup disappears but Login button remains unchanged and no new options show up. Am I missing something here or has there been a change?
Would love to use the online version because the port forwarding on the Docker version seems tricky! :-)

Hi @lukemunn, thanks so much for reaching out! The login indeed didn't work, that was an error on our side. It should now be fixed, could you try logging in again (with Chrome)?
Aside, on the port forwarding: I understand if this can seem daunting, let us know if there is anything we can do to make it more straight-forward!

Yes, login works again. Thanks for the quick fix.


Allow router to accept an object of routes.

Define multiple routes with a single method call:
app.route({
  '/': main
  ,'/other': (state, emit)=>html`some other content`
})

Also, allow chaining:
app.route('/', main)
      .route('/other', (state, emit)=>html`some other content`)

Hey, I've thought about this PR a while, and ultimately don't think this is the right thing to add to core as it's easy enough to implement in userland. Thanks for your PR tho; I hope choo is working out well for you so far! C:

@yoshuawuyts Your response seems to me to be appropriate for the object of routes idea. I ask you, though, to reconsider the usefulness of chaining choo methods, including the route method. Such a change would not break any current functionality, either.

Yeah I like that! Tho probably not for .start() and .mount() because those
should be called last. PR welcome! 🎉✨
On Tue, Jul 4, 2017, 22:05 smcmurray<EMAIL_ADDRESS>wrote:

@yoshuawuyts https://github.com/yoshuawuyts Your response seems to me
to be appropriate for the object of routes idea. I ask you, though, to
reconsider the usefulness of chaining choo methods, including the route
method. Such a change would not break any current functionality, either.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/choo/pull/508#issuecomment-312945886, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACWlenpMT8WTI-o4WIba_-Rw8bKeWfXIks5sKpr7gaJpZM4Nr_F8
.


refactor and add split for matrix

Refactor the matrix trait so we can make slice  and mutable slice of Row as MatrixMut
Add split function to MatrixMut

This looks good to me!
Ideally I would want to remove all ::zeros calls inside *ops.rs and hence get rid of any additional memory allocations inside ops type functions. For ex, the way it is done for ckks/ops.rs. The caller will responsible to reserving a scratch space to allocate temporary allocations used inside *ops.rs.
But this isn't related to this task and I should open another issue to tackle this later.


Feature: add option to protect order status

Under certain circumstances it could happen that a merchant manually changed the order status to processing or completed and in this case they might want no automatic change of order status anymore.
Add an option (or consider making it by default) that the statuses of processing or complete are protected and webhook events are unable to change the order status. We should still add some note to the order notes in this case.

Fixed by #37

This is a great idea. Will port this to the PrestaShop plugin.

Thanks for fixing it.


Fix I18n

Since the conversion of the play project from java to scala, the internationalization is partially broken.
The language change but the indicator is not working.

Fixed in a7619c3.
The language is now fully managed by a scala controller.


Fix lost value

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14328/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14328/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14328/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14328/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14328/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14328/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14328/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14328/merge#BCU1XR#0


Learn About Selected CAP Conventions

Tutorials: https://developers.sap.com/tutorials/btp-cap-beginner-golden-path.html
Write here how you think we can improve the tutorial ...
In step 10 "Using Databases" we use the commands cds add hana --for production and  cds deploy --to hana --bind --production to add hana config and also deploy to a real hana cloud instance in BTP.
Two things:
(1) When doing cds add hana it is not adding this:
"hana": {
      "deploy-format": "hdbtable"
    }

Is that no longer required?
(2) When executing cds deploy --to hana --bind --production I get errors.
First of all these command options are not documented in cds help. When you run it, it alsop logs to say you don't need to use bind anymore?!?
Here is a log output. It seems to create the hdi container fine and then create the entities but then we hit an axios error.
Note:

I have also ensure that I am logged onto my cf space first with cf login.
My hana db is a test db and is currently opent o all incoming connections.

Log:
❯ cds deploy --to hana --bind --production
Option '--bind' is now active by default and can therefore be omitted.
[deploy] - Starting deploy to SAP HANA ...
[deploy] - Using cds bind
[deploy] -
[deploy] - Creating build tasks
[cds] - determining build tasks for project [/Users/I540401/dev/bookshop].
[cds] - the following build tasks will be executed
[cds] -    {
     "build": {
       "target": "gen",
       "tasks": [
         {"for":"hana", "src":"db", "options":{"model":["db","srv","app"]}}
       ]
     }
   }

[deploy] - Running build
[cds] - building project [/Users/I540401/dev/bookshop], clean [true]
[cds] - cds [6.0.3], compiler [3.0.2], home [/Users/I540401/dev/bookshop/node_modules/@sap/cds]

[cds] - done > wrote output to:
   gen/db/bookshop.db
   gen/db/package.json
   gen/db/src/.hdiconfig
   gen/db/src/gen/.hdiconfig
   gen/db/src/gen/.hdinamespace
   gen/db/src/gen/CatalogService.Authors.hdbview
   gen/db/src/gen/CatalogService.Books.hdbview
   gen/db/src/gen/CatalogService.Books_texts.hdbview
   gen/db/src/gen/CatalogService.Countries.hdbview
   gen/db/src/gen/CatalogService.Countries_texts.hdbview
   gen/db/src/gen/CatalogService.Orders.hdbview
   gen/db/src/gen/data/my.bookshop-Authors.csv
   gen/db/src/gen/data/my.bookshop-Authors.hdbtabledata
   gen/db/src/gen/data/my.bookshop-Books.csv
   gen/db/src/gen/data/my.bookshop-Books.hdbtabledata
   gen/db/src/gen/localized.CatalogService.Authors.hdbview
   gen/db/src/gen/localized.CatalogService.Books.hdbview
   gen/db/src/gen/localized.CatalogService.Countries.hdbview
   gen/db/src/gen/localized.CatalogService.Orders.hdbview
   gen/db/src/gen/localized.my.bookshop.Authors.hdbview
   gen/db/src/gen/localized.my.bookshop.Books.hdbview
   gen/db/src/gen/localized.my.bookshop.Orders.hdbview
   gen/db/src/gen/localized.sap.common.Countries.hdbview
   gen/db/src/gen/my.bookshop.Authors.hdbtable
   gen/db/src/gen/my.bookshop.Books.hdbtable
   gen/db/src/gen/my.bookshop.Books_texts.hdbtable
   gen/db/src/gen/my.bookshop.Orders.hdbtable
   gen/db/src/gen/sap.common.Countries.hdbtable
   gen/db/src/gen/sap.common.Countries_texts.hdbtable
   gen/db/undeploy.json

[cds] - build completed in 554 ms

[deploy] -
[deploy] - Using container bookshop-db
[deploy] - Getting service bookshop-db
[deploy] - Getting service key bookshop-db-key
[deploy] - Installing @sap/hdi-deploy
npm WARN idealTree Removing dependencies.@sap/hdi-deploy in favor of devDependencies.@sap/hdi-deploy

added 31 packages, and audited 32 packages in 2s

found 0 vulnerabilities
[deploy] -
[deploy] - Deploying to HANA from /Users/I540401/dev/bookshop/gen/db
[deploy] - Using HDI deployer from<EMAIL_ADDRESS>[deploy] - @sap/hdi-deploy, version 4.4.1 (mode default), server version <IP_ADDRESS>.1626183622 (<IP_ADDRESS>), node version 16.14.0, HDI version 1006, container API version 1004

[deploy] - Deployment started at 2022-07-15 11:53:35

[deploy] - Using hana-client for connection

[deploy] - No ignore file at /Users/I540401/dev/bookshop/gen/db/.hdiignore.

[deploy] - Collecting files...

[deploy] - Collecting files... ok (0s 7ms)
3 directories collected

[deploy] - 27 files collected
0 reusable modules collected
Target service: bookshop-db

[deploy] - Session variable APPLICATION is set to "SAP_HDI//".

[deploy] - Previous build with request ID 3651 finished at 2022-07-15 03:52:25.216987000 with status Rolled back and message: Starting make in the container "20E69B7B8978452890BFEFAD3008D0ED" with 0 files to deploy, 0 files to undeploy... ok.

[deploy] - Processing revoke files...

[deploy] - Processing revoke files... ok (0s 0ms)

[deploy] - Processing grants files...

[deploy] - Processing grants files... ok (0s 0ms)

[deploy] - Preprocessing files...

[deploy] - Preprocessing files... ok (0s 0ms)

[deploy] - Connecting to the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] - Connecting to the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (0s 969ms)

[deploy] - Locking the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] - Locking the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (0s 940ms)

[deploy] - Synchronizing files with the container "20E69B7B8978452890BFEFAD3008D0ED"...
  Deleting files...

[deploy] -   Deleting files... ok

[deploy] -   Writing files...

[deploy] -   Writing files... ok

[deploy] - Synchronizing files with the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (2s 926ms)

[deploy] - added files: []
modified files: [
  "src/gen/.hdiconfig"
]
deleted files: []

[deploy] - 1 modified or added files are scheduled for deploy based on delta detection
0 deleted files are scheduled for undeploy based on delta detection (filtered by undeploy allowlist)

[deploy] - 0 files are scheduled for deploy based on explicit specification
0 files are scheduled for undeploy based on explicit specification

[deploy] - Deploying to the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] - Polling messages for request id: 3656

[deploy] -  Starting make in the container "20E69B7B8978452890BFEFAD3008D0ED" with 1 files to deploy, 0 files to undeploy...
  Disabling table replication for the container schema "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] -   Disabling table replication for the container schema "20E69B7B8978452890BFEFAD3008D0ED"... ok  (0s 94ms)
  Migrating libraries...
  Migrating libraries... ok  (0s 8ms)
  Making...
   Preparing...
   Preparing the make transaction...
   Deploying the configuration file "src/gen/.hdiconfig"...
   Deploying the configuration file "src/gen/.hdiconfig"... ok  (0s 25ms)

[deploy] -    Preparing... ok  (0s 257ms)

[deploy] -    Preparing the make transaction... ok  (0s 226ms)
   Calculating dependencies...
    Expanding...
    Expanding... ok  (0s 6ms)
    Precompiling...
    Precompiling... ok  (0s 0ms)
❯ cds deploy --to hana --bind --production
Option '--bind' is now active by default and can therefore be omitted.
[deploy] - Starting deploy to SAP HANA ...
[deploy] - Using cds bind
[deploy] -
[deploy] - Creating build tasks
[cds] - determining build tasks for project [/Users/I540401/dev/bookshop].
[cds] - the following build tasks will be executed
[cds] -    {
     "build": {
       "target": "gen",
       "tasks": [
         {"for":"hana", "src":"db", "options":{"model":["db","srv","app"]}}
       ]
     }
   }

[deploy] - Running build
[cds] - building project [/Users/I540401/dev/bookshop], clean [true]
[cds] - cds [6.0.3], compiler [3.0.2], home [/Users/I540401/dev/bookshop/node_modules/@sap/cds]

[cds] - done > wrote output to:
   gen/db/bookshop.db
   gen/db/package.json
   gen/db/src/.hdiconfig
   gen/db/src/gen/.hdiconfig
   gen/db/src/gen/.hdinamespace
   gen/db/src/gen/CatalogService.Authors.hdbview
   gen/db/src/gen/CatalogService.Books.hdbview
   gen/db/src/gen/CatalogService.Books_texts.hdbview
   gen/db/src/gen/CatalogService.Countries.hdbview
   gen/db/src/gen/CatalogService.Countries_texts.hdbview
   gen/db/src/gen/CatalogService.Orders.hdbview
   gen/db/src/gen/data/my.bookshop-Authors.csv
   gen/db/src/gen/data/my.bookshop-Authors.hdbtabledata
   gen/db/src/gen/data/my.bookshop-Books.csv
   gen/db/src/gen/data/my.bookshop-Books.hdbtabledata
   gen/db/src/gen/localized.CatalogService.Authors.hdbview
   gen/db/src/gen/localized.CatalogService.Books.hdbview
   gen/db/src/gen/localized.CatalogService.Countries.hdbview
   gen/db/src/gen/localized.CatalogService.Orders.hdbview
   gen/db/src/gen/localized.my.bookshop.Authors.hdbview
   gen/db/src/gen/localized.my.bookshop.Books.hdbview
   gen/db/src/gen/localized.my.bookshop.Orders.hdbview
   gen/db/src/gen/localized.sap.common.Countries.hdbview
   gen/db/src/gen/my.bookshop.Authors.hdbtable
   gen/db/src/gen/my.bookshop.Books.hdbtable
   gen/db/src/gen/my.bookshop.Books_texts.hdbtable
   gen/db/src/gen/my.bookshop.Orders.hdbtable
   gen/db/src/gen/sap.common.Countries.hdbtable
   gen/db/src/gen/sap.common.Countries_texts.hdbtable
   gen/db/undeploy.json

[cds] - build completed in 553 ms

[deploy] -
[deploy] - Using container bookshop-db
[deploy] - Getting service bookshop-db
[deploy] - Getting service key bookshop-db-key
[deploy] - Installing @sap/hdi-deploy
npm WARN idealTree Removing dependencies.@sap/hdi-deploy in favor of devDependencies.@sap/hdi-deploy

added 31 packages, and audited 32 packages in 9s

found 0 vulnerabilities
[deploy] -
[deploy] - Deploying to HANA from /Users/I540401/dev/bookshop/gen/db
[deploy] - Using HDI deployer from<EMAIL_ADDRESS>[deploy] - @sap/hdi-deploy, version 4.4.1 (mode default), server version <IP_ADDRESS>.1626183622 (<IP_ADDRESS>), node version 16.14.0, HDI version 1006, container API version 1004

[deploy] - Deployment started at 2022-07-15 11:59:33

[deploy] - Using hana-client for connection

[deploy] - No ignore file at /Users/I540401/dev/bookshop/gen/db/.hdiignore.

[deploy] - Collecting files...

[deploy] - Collecting files... ok (0s 6ms)
3 directories collected
27 files collected
0 reusable modules collected

[deploy] - Target service: bookshop-db

[deploy] - Session variable APPLICATION is set to "SAP_HDI//".

[deploy] - Previous build with request ID 3656 finished at 2022-07-15 03:53:44.536690000 with status Committed and message: Make succeeded (0 warnings): 1 files deployed (effective 1), 0 files undeployed (effective 0), 0 dependent files redeployed.

[deploy] - Processing revoke files...

[deploy] - Processing revoke files... ok (0s 0ms)

[deploy] - Processing grants files...

[deploy] - Processing grants files... ok (0s 0ms)

[deploy] - Preprocessing files...

[deploy] - Preprocessing files... ok (0s 0ms)

[deploy] - Connecting to the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] - Connecting to the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (0s 780ms)

[deploy] - Locking the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] - Locking the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (0s 918ms)

[deploy] - Synchronizing files with the container "20E69B7B8978452890BFEFAD3008D0ED"...
  Deleting files...

[deploy] -   Deleting files... ok

[deploy] -   Writing files...

[deploy] -   Writing files... ok

[deploy] - Synchronizing files with the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (2s 969ms)

[deploy] - added files: []
modified files: []
deleted files: []

[deploy] - 0 modified or added files are scheduled for deploy based on delta detection
0 deleted files are scheduled for undeploy based on delta detection (filtered by undeploy allowlist)

[deploy] - 0 files are scheduled for deploy based on explicit specification
0 files are scheduled for undeploy based on explicit specification

[deploy] - Deploying to the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] -  Starting make in the container "20E69B7B8978452890BFEFAD3008D0ED" with 0 files to deploy, 0 files to undeploy...
  Disabling table replication for the container schema "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] -   Disabling table replication for the container schema "20E69B7B8978452890BFEFAD3008D0ED"... ok  (0s 97ms)
  Migrating libraries...
  Migrating libraries... ok  (0s 8ms)
  Making...
   Preparing...
   Preparing... ok  (0s 0ms)
   No make necessary
  Making... ok  (0s 19ms)
  Enabling table replication for the container schema "20E69B7B8978452890BFEFAD3008D0ED"...
  Enabling table replication for the container schema "20E69B7B8978452890BFEFAD3008D0ED"... ok  (0s 89ms)

[deploy] -  Starting make in the container "20E69B7B8978452890BFEFAD3008D0ED" with 0 files to deploy, 0 files to undeploy... ok  (0s 220ms)

[deploy] - Deploying to the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (0s 771ms)

[deploy] - No default-access-role handling needed; global role "20E69B7B8978452890BFEFAD3008D0ED::access_role" will not be adapted

[deploy] - Unlocking the container "20E69B7B8978452890BFEFAD3008D0ED"...

[deploy] - Unlocking the container "20E69B7B8978452890BFEFAD3008D0ED"... ok (0s 3ms)

[deploy] - Deployment to container 20E69B7B8978452890BFEFAD3008D0ED done [Deployment ID: none].

[deploy] - Deployment ended at 2022-07-15 11:59:41

[deploy] - (11s 365ms)

[deploy] -

[deploy] - Retrieving data from Cloud Foundry...
[ERROR] AxiosError: Request failed with status code 400

Hi @js1972 ,
thank you for your feedback. Indeed things changed with the major release in June. So I'll adapt them here as well.
Wrt to the error. I can't tell what causes this. I am pretty sure that it's not related to your project but is an error of the platform. Pls retry and let me know of the error persists.
Thank you.
René

Two things: (1) When doing cds add hana it is not adding this:
"hana": {
      "deploy-format": "hdbtable"
    }

Is that no longer required?

Indeed that is no longer required as we made this the default. It's sufficient to define "kind": "hana-cloud".

(2) When executing cds deploy --to hana --bind --production I get errors. First of all these command options are not documented in cds help. When you run it, it alsop logs to say you don't need to use bind anymore?!?

Is it possible that you're using an older version of @sap/cds-dk? The --to and --bind options are contained in the CLI help. And the --production is the profile which is not a cds deploy specific option. Is it obvious to you in which commands you can apply the profile option?

The tutorial is up to date. Can't resolve the error here, therefore closing this issue. Feel free to reopen it if anything is unclear. Thanks!


Bad Request

Hey,
i get this error when i try to open a connection:
socket.io.js:2 GET https://rtcmulticonnection.herokuapp.com/socket.io/1/?userid=patorg-broadca…t-demo&socketCustomEvent=RTCMultiConnection-Custom-Message&t=1478842816086 400 (Bad Request)
Do you know a solution?
Thanks:)

Ref: http://stackoverflow.com/a/40508213/552182
Please check latest release: https://github.com/muaz-khan/RTCMultiConnection/releases/tag/3.4.2
Latest release requires latest socket.io.js:
<script src="https://rtcmulticonnection.herokuapp.com/dist/RTCMultiConnection.min.js"></script>
<script src="https://rtcmulticonnection.herokuapp.com/socket.io/socket.io.js"></script>

Simply use/replace above two files and it will fix the issue.

Hints:

Do NOT use rmc.min.js. Use /dist/RTCMultiConnection.min.js instead.
Do NOT use socket.io.js from CDN. Use /socket.io/socket.io.js instead.

That doesn't work for me, i used them already:

	<script src="https://rtcmulticonnection.herokuapp.com/dist/RTCMultiConnection.min.js"></script>
	<script src="rmc3.min.js"></script>
	<script src="https://cdn.webrtc-experiment.com:443/getScreenId.js"></script>
	<script src="https://cdn.webrtc-experiment.com:443/socket.io.js"></script>
	<script src="https://cdn.jsdelivr.net/vue/1.0.26/vue.min.js"></script>
	<script src="globals.js"></script>
	<script src="https://cdn.webrtc-experiment.com/DetectRTC.js"> </script>
    <script src="https://cdn.webrtc-experiment.com/screenshot.js"></script>
    <script src="https://cdn.webrtc-experiment.com/gumadapter.js"></script>
    <script src="https://cdn.webrtc-experiment.com/getMediaElement.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-resource/1.0.3/vue-resource.min.js"></script>

And also i use that in my js:
connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/';

Thank you :)


Add suport to use EventStore persistence with connection strings.

@oliveiracdz A few comments

Update the release notes
Mark the old obsolete
Update integration tests to use the new methods

Thanks for the effort

Hi @rasmus!
The changes were made as solicitated.
Take a look again please.
Thanks!

@oliveiracdz Perfect! Thanks.


map constructor does not accept arguments

Doing this: new Map([[1, 1]]) leads to the error Map constructor does not accept arguments being thrown while running in jscore. It works fine in chrome, though its using v8's native Map.
Shouldn't babel insert the core-js polyfill, which should make jscore standard compliant?

I'm in pto for two weeks, won't look into it sorry :(

No problem, I think I found out why that is. Probably because of #2000.
So for now I just have to stick the data types JSC supports natively.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/map-constructor-does-not-accept-arguments
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


adding a cortical area to a existing region freezes the screen

as title

Does this persist? how long is the freeze?


Go To Definition causes error (C#/SpecFlow)

👓 What did you see?
The steps of a scenario are recognized as "defined" (parameter highlighting works), but when I invoke the "Go To Definition" command, it shows a new tab with an error that says "The editor could not be opened due to an unexpected error: File is a directory".
Strangely the header of the tab contains the file name (eg. "MenuStepDefinition.cs"). No additional info on the output.

✅ What did you expect to see?
Jumps to the step definition.
📦 Which tool/library version are you using?
Extension: v1.2.7
🔬 How could we reproduce it?
E.g. with the Menu.feature of this repo.
📚 Any additional context?
I don't remember having this with the version v1.2.6, but I'm not sure.

I think this might be a duplicate of https://github.com/cucumber/vscode/issues/78

@aslakhellesoy yeah. let's see. I would keep this open, to be able to verify that both are fixed, because the steps are quite different here.

Fixed in https://github.com/cucumber/language-server/pull/57


feat(fcm): SendEach and SendEachForMulticast for FCM batch send

Deprecate sendAll() and sendMulticast() APIs.
Add new sendEach() and sendEachForMulticast() APIs.

Thank you @Doris-Ge. Please get the reference docs reviewed by @egilmorez before we merge this.


Bevy and Crux similarities

Hi again! I see a lot of similarities between Bevy and Crux if I squint my eyes really hard.
One example are capabilities both Bevy and Crux are meant to be running in different environments.
For example the Multi-platform Key Value store implementation is written by someone in the bevy community - https://github.com/johanhelsing/bevy_pkv. It depends on bevy ecs so it is not a perfect dependency for Crux but it almost can be.
Perhaps Crux can also draw inspiration from the way Bevy defines plugins. Plugins in Bevy are almost standalone apps with their own systems and data. I feel that capabilities are very similar to plugins and a capability that is defined and used in the Core can also have a bundled implementation in the Shell. So Rust can provide not only compiled Core library but also compiled capabilities implementations that live outside the Core in the Shell.

Hi! There's quite a few projects following this kind of pattern, loosely based around the idea of ports and adapters. Bevy, like most game engines, adds the open composition of the ECS architecture, useful for games with many independent entities and systems evolving over time. There are no new ideas 😄
You're absolutely right that capabilities could bundle implementations for the shell, we have that on our roadmap (not explicitly, but it's a whole lane in https://github.com/orgs/redbadger/projects/11/views/1), but there are quite a few things to work out, especially the distribution mechanism, and how to make implementations available, but not necessarily force them. Needs quite a bit of thinking.


tf.data Service Dispatcher/ Worker - how to shutdown/stop?

Click to expand!
Issue Type
Others
Source
binary
Tensorflow Version
tf 2.8
Custom Code
No
OS Platform and Distribution
Linux
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
How can I shutdown/stop tf.data.service dispatcher and workerServer processes when training completes?
I'm running tf.data.service on two nodes: data-node, GPU-node.
On the data-node I'm starting: `tf.data.experimental.service.DispatchServer` and a `tf.data.experimental.service.WorkerServer`.
On the GPU-node I'm consuming a dataset which connects to the DispatcherServer
.apply(tf.data.experimental.service.distribute(
        processing_mode="parallel_epochs",
        service=f'grpc://{dispatcher_host}:6000',),
    )
All is well, but I found there's no built-in way to signal the dispatcher and workerserver to exit when training completes on the GPU-node. I need them to exit gracefully as I'm running in a job orchestrator that waits with terminating the overall job until all processes exit.
I would expect to have a shutdown/close/stop method with tf.data.Dataset, or in data_service_ops.py.

Standalone code to reproduce the issue
I just followed the built-in example for tf.data.service. Asking a what is the expected behavior question.

Relevant log output
No response

@gilinachum,
In order to reproduce the issue reported here, could you please provide the complete code and the dataset you are using. Thank you!

Archive 2.zip
Attached an example for running a standard tf.data.service client and server.
The issue is that after training completes, the server's process doesn't exit, and there's no way to hint it should exit.

You can call private method _stop() of DispatchServer and WorkerServer, which will stop the underlying servers.
The __del__ method is calling that private method, so eventually, _stop gets called anyway.
There is no public / documented way to shut them down gracefully. And there is no explanation why.

Thanks, I noticed _stop(), I could use it locally, but my actual challenge is being able to stop the dispatcher and worker servers from the dataset consuming process that runs on a different box.
For my use case, not being able to stop the dispatcher is a design hole, and I'll need to create my own socket signaling mechanism between client to dispatcher to workers, to workaround it.

The latest release of Horovod (0.25.0) supports starting a TF Data Server and shutting it down from the training script.

@gilinachum , If your issue is resolved, could you please close the issue. Thanks!

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


adding support for TensorRT

Code for ONNX and TensorRT support.
Has INT8, FP16 and model sparsification

 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.

@rajdeep-matroid How about the accuracy and performance of the YOLOX-INT8 compared with the YOLOX-FP16? In my practice, the post-training quantization (PTQ) produces a degraded performance of YOLOX-INT8, which drops about 10% of mAP.


Checking for existence of blob causes creation of folders and links on filesystem

Describe the bug
When zot receives a HEAD request to check for the existence of a blob in repository foo, if the blob is found in a different repository then the directory structure for foo is created and the blob hard-linked into this new directory. This causes two problems:

A directory is created in storage purely on the basis of a speculative HEAD request, which is definitely unexpected.
If the original image is deleted, the hard-linked blob now exists only in the incorrectly-created directory, consuming disk space forever.

To Reproduce
Steps to reproduce the behavior:

Push an image to a zot registry (e.g. podman push --format oci my-zot-registry/my-repo:latest)
Note that the my-repo directory now exists in the zot storage directory.
Make a HEAD request to the registry for a different repository but for a blob digest from one layer of the first image (e.g. curl --head -H 'authorization: Basic xxxx' https://my-zot-registry/v2/different-repo/blobs/sha256:aaabbbccc...)
Note that the different-repo directory now also exists in the zot storage directory, and contains a hard link to the specified blob, even though this was only a HEAD request.
Delete the original image from the registry (e.g. skopeo delete docker://my-zot-registry/my-repo:latest)
Note that the blob still exists in the different-repo directory, leaking disk space forever.

N.B. This is not a bug in the handling of deletions - the deletion just helps to demonstrate the effects of the issue.
Expected behavior
The HEAD request to test for the existence of a blob should have no effect on storage.
Additional context
$ zot --version
{"level":"info","distribution-spec":"1.0.1","commit":"v1.4.0-ad90a4975f896fa6ea0140107b7a0c87edfcae76","binary-type":"extended","go version":"go1.17.5","time":"2022-04-23T12:22:33Z","message":"version"}

This was discovered while experimenting with podman push, which makes lots of HEAD requests for all sorts of names that images have had in the past, leaving a very messy zot storage directory. Reproducing via podman push is slightly tricky though, hence the more specific steps outlined above.
I have investigated the cause of this issue and identified the problem. It lies in the ImageStore.CheckBlob function, which unconditionally creates a copy of the blob if it is found (even when called from a HEAD request).
There is a further bug, which is that after deleting an image from the registry, deleted blobs still seem to be found in the cache, which means that subsequent HEAD requests still incorrectly create directories in storage, even though the hard-link then fails. This is probably not worth fixing as the fix for the main issue will mean this code path should never be followed.

Hi @daviesian, thanks for doing a deep-dive into zot code and behavior and filing the issue.
For some background about this behavior, pls see discussion on the dist-spec project [1]. The requirement is real in that when there are many large shared layers, without this side-effect, the only way to achieve network savings without modifying the dist-spec would be to actually upload the whole blob first. That said, HTTP RFCs will likely frown upon GET/HEAD requests causing data modifications instead of being immutable/idempotent. Furthermore, this could open the door for registry abuse (but you still have to get past authN/authZ)
Note that we do have a "dedupe" boolean knob to turn this behavior off but note that it turns off dedupe completely.
We are currently reviewing your PR [2].
References:
[1] https://github.com/opencontainers/distribution-spec/issues/236
[2] https://github.com/project-zot/zot/pull/512

Closing this issue.
If we want to control this particular behavior via configuration, we will revisit.


How to perform data checking without errors ?

[Y] I have searched the [pandas] tag on StackOverflow for similar questions.
[Y] I have asked my usage related question on StackOverflow.
(https://stackoverflow.com/questions/63023783/are-there-any-python-packages-for-time-series-cleaning)

Question about pandera
Thank you for the work in developing and maintaining the package. I was doing some research about data cleaning/checking. I found the pyjanitor package very helpful. As I started to discuss an issue with the owner of the package, he suggested checking pandera (https://github.com/ericmjl/pyjanitor/issues/703) .
I think pandera has a great structure and I would love to use it. Could you kindly help answer some simple questions for me ? The code sample pasted below is from the package docs. My questions are:

Is there a way to generate a boolean instead of an error when the logical condition being validated for fails ? I see that there is a way to operate with Nulls in the data, I am thinking along the same lines. For e.g. If I wanted to validate whether the values in column 1 <= 9, currently an error is generated. Can I instead get a column of Booleans ?
Do you have any specific functionality that can target time_series_data. For e.g.: checking for duplicate, missing timestamps in the index or if the time stamps are monotonic or not etc ?
Do you have any functionality that would enable flagging stuck data or arbitrary jumps in the data ?

# Your code here, if applicable
import pandas as pd
import pandera as pa

# data to validate
df = pd.DataFrame({
    "column1": [1, 4, 0, 10, 9],
    "column2": [-1.3, -1.4, -2.9, -10.1, -20.4],
    "column3": ["value_1", "value_2", "value_3", "value_2", "value_1"],
})

# define schema
schema = pa.DataFrameSchema({
    "column1": pa.Column(pa.Int, checks=pa.Check.less_than_or_equal_to(10)),
    "column2": pa.Column(pa.Float, checks=pa.Check.less_than(-1.2)),
    "column3": pa.Column(pa.String, checks=[
        pa.Check.str_startswith("value_"),
        # define custom checks as functions that take a series as input and
        # outputs a boolean or boolean Series
        pa.Check(lambda s: s.str.split("_", expand=True).shape[1] == 2)
    ]),
})

validated_df = schema.validate(df)
print(validated_df)

HI @UGuntupalli thanks for your interest in this project!

Is there a way to generate a boolean instead of an error when the logical condition being validated for fails ?

Currently, pandera only reports on failure cases, i.e. where a pandera.Check returns a False scalar or pd.Series vector.
One thing you may find useful is the try...except pattern to catch the error and access the failure cases:
try:
    schema(df)
except pa.errors.SchemaError as exc:
    exc.data  # contains the invalid data
    exc.failure_cases  # contains a dataframe of failure cases

You can even do this with lazy validation to obtain the errors from all the Checks at once via lazy validation.
I'm curious what your use case is for obtaining the boolean result of data validation, is it for visualization/further analysis purposes? I'm currently considering adding an interface for obtaining boolean/boolean vector validation results directly instead of catching errors, and it would be helpful to understand your use case as I'm fleshing that idea out.

Do you have any specific functionality that can target time_series_data. For e.g.: checking for duplicate, missing timestamps in the index or if the time stamps are monotonic or not etc ?

Not yet, but you're the first person to bring this up and I think it's a good idea :) (feel free to open up a feature request)

In terms of checking for duplicates, the Column(..., allow_duplicates=False) and Index(...., allow_duplicates=False) should have you covered
For missing timestamps in the index, you can use Index(..., nullable=False) (I think it's False by default already)
For monotonicity, the Check interface is quite flexible and you can express these checks fairly easily, I think:

import numpy as np

is_monotonically_increasing = pa.Check(lambda s: np.diff(s) > 0)  # monotonically increasing (strict)
is_monotonically_increasing = pa.Check(lambda s: np.diff(s) >= 0)  # monotonically increasing (non-strict)
is_monotonically_increasing = pa.Check(lambda s: np.diff(s) < 0)  # monotonically decreasing (strict)
is_monotonically_increasing = pa.Check(lambda s: np.diff(s) <= 0)  # monotonically decreasing (non-strict)

Do you have any functionality that would enable flagging stuck data or arbitrary jumps in the data

What does stuck/arbitrary jumps in the data mean? (small example data would help a lot). If one can express it in terms of a function that takes a pd.Series or pd.DataFrame as an input and outputs a boolean scalar, Series, or DataFrame, pandera.Check can support it :). Once we have good definitions going, it's just a matter of adding these in to the official built-in Check interface.

@cosmicBboy ,
The primary use-case for my need is to use the filters for visualization. These customizable automated filters would enable the easy visualization of obvious issues in the time-series data, thus helping manual/human intervention on issues which are subtle or not so obvious. The request behind returning a boolean, the same size of the input in most cases is to enable easy visualization as well, but also to allow for custom treating based on the filters, rather than directly modify the raw data. For e.g. there are use-cases where in certain data sets, I would prefer to just filter out data and replace them with np.NaN, but there are other cases, where I would try to fill in the data with interpolation based on existing data. Let me know if you want to show me the ropes and I am glad to contribute to the package and help advance this functionality

Thanks for the description! that makes sense.
Based on your descriptions, would it be accurate to call your use case "filtering, masking, and imputation?".
Currently, pandera is well-designed to handle data validation. The only parsing it does is via the coerce keyword argument, which simply coerces the datatype of each column. One thing I'd want to understand better is the workflow that you have for filtering the data, do you think you can come up with a minimally reproducible code example of how your workflow goes if you were to use pandas only? I think that would shed light onto whether pandera can be extended in functionality.
I actually think there may be a nice way that pandera and pyjanitor can play well together to fulfill your use case with the current pandera interface. Since this is a big departure from the current scope of the package, I'd like to make sure the abstractions are appropriate to do this without any major additions in functionality.

The pandera.Check interface only needs a slight modification to return the a boolean scalar, Series, DataFrame that results from a particular check, which I think would fulfill the visualization use case that you have. For example, something like:
# check_result is a namedtuple containing various metadata,
# including the boolean Series/DataFrame, where False
# indicates elements that did not pass the check
check_result = pa.Check.is_monotonic(increasing=True, strict=True)(df.index)

# do something with the boolean Series
check_result.output.mean()
check_result.output.sum()
~check_result.output.sum()

One thing that I think would be cool, but would be a fairly significant undertaking would be to have a pandera.Parser class that modifies the data as a function of the check_result.output boolean data. This sort of bleeds a little bit into data cleaning, but I'm wondering if a clear and consistent API would fit in here, would be curious if you have any thoughts.

@cosmicBboy,
Please refer to https://github.com/ericmjl/pyjanitor/issues/703 for a proposed workflow. I am thinking it is better to hash it out with both you and @ericmjl in this issue and then get going on the work


Create an empty copy of the package

I plan to publish this content from my local commit. Opening the PR to double check the content in README and CHANGELOG. I don't plan to merge this or tag this commit.

https://pub.dev/packages/google_generative_ai


Fix code scanning alert no. 1: Client-side cross-site scripting

Fixes https://github.com/eb-demos-and-labs/ghas-bootcamp-demo2/security/code-scanning/1
To fix the problem, we need to ensure that the user-provided data is properly sanitized before being rendered in the DOM. One effective way to achieve this is by using a library like DOMPurify to sanitize the error message. This will remove any potentially malicious content from the user-provided data.

Install the DOMPurify library.
Import DOMPurify in the script section of the Login.vue component.
Use DOMPurify to sanitize the error message before binding it to the DOM.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

This pull request introduces a new dependency and enhances the security of user input handling in the Login component. The most important changes are:
Dependency Management:

Added dompurify to dependencies in frontend/package.json to sanitize HTML and prevent XSS attacks.

Security Enhancements:

Imported DOMPurify in frontend/src/components/Login.vue to sanitize user input.
Updated the error computed property in frontend/src/components/Login.vue to use DOMPurify.sanitize for sanitizing URL parameters.


Connected to tvheadend, but passes off urls without username/password?

I have the config setup correctly including the username and password that is set up in tvheadend. The attached photo is what shows on the lineup.json file when I load it via a web browser. If I open in vlc, it asks for username/password, and in Plex, the channel times out.

Do you have an anonymous user configured in Tvheadend?

No reply, closing as likely configuration error of Tvheadend.


IOS : cannot clear transparent background drawing

Seems like clearing a drawing on IOS works only when dealing with opaque colors.
I need to draw on an image , And I need to clear the drawing if needed.
Tried both clear() and clearWithColor() but :

clear() or clearWithColor with an opque color = fill all with a color (= no transparency of course)
clearWithColor with a transparent color =  wont erase the content before applying (adding) a transparent color = fail

How can I erase the drawing and having it back to transparent ?
Thanks

Not sure at the moment, have you looked at the source to see how the clear drawing works? Might be something trivial to fix but I've not had time to look at this myself. If you find anything useful and want to contribute a PR it will be accepted 💯