Windows fatal exception: access violation after uploading a pdf file

I am working on an EC2 instance (g4dn.xlarge)
The installation is going well. It works perfectly if I upload any other type of file (txt, csv, xml...), but when I try to upload a PDF file I get the error and the application stops.
Windows fatal exception: access violation

Thread 0x000002cc (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\concurrent\futures\thread.py", line 81 in _worker
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00001d34 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\concurrent\futures\thread.py", line 81 in _worker
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00000764 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 797 in _poll
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 444 in select
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 1871 in _run_once
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 603 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 321 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 636 in run_until_complete
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\runners.py", line 44 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\uvicorn\server.py", line 62 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\uvicorn\main.py", line 587 in run
  File "C:\Users\Administrator\h2ogpt\openai_server\server.py", line 251 in run_server
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Current thread 0x000015cc (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\ctypes\__init__.py", line 374 in __init__
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\magic\loader.py", line 44 in load_lib
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\magic\__init__.py", line 209 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\unstructured\file_utils\filetype.py", line 25 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\unstructured\partition\pdf.py", line 57 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\pdf.py", line 57 in _get_elements
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\unstructured.py", line 87 in load
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3212 in file_to_doc
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3464 in path_to_doc1
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3761 in <listcomp>
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3761 in path_to_docs
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 7369 in _update_user_db
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 7169 in update_user_db
  File "C:\Users\Administrator\h2ogpt\src\gradio_runner.py", line 6356 in update_user_db_gr
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\gradio\utils.py", line 661 in wrapper
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\anyio\_backends\_asyncio.py", line 807 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00001bac (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 797 in _poll
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 444 in select
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 1871 in _run_once
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 603 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 321 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 636 in run_until_complete
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\runners.py", line 44 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\uvicorn\server.py", line 62 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x000018d0 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 324 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 607 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\apscheduler\schedulers\blocking.py", line 30 in _main_loop
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00002208 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 324 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 607 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\tqdm\_monitor.py", line 60 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x000004e0 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 324 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\queue.py", line 180 in get
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\posthog\consumer.py", line 104 in next
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\posthog\consumer.py", line 73 in upload
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\posthog\consumer.py", line 62 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00001fc4 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\gradio\blocks.py", line 2361 in block_thread
  File "C:\Users\Administrator\h2ogpt\src\gradio_runner.py", line 6021 in go_gradio
  File "C:\Users\Administrator\h2ogpt\src\gen.py", line 2039 in main
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\fire\core.py", line 691 in _CallAndUpdateTrace
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\fire\core.py", line 475 in _Fire
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\fire\core.py", line 141 in Fire
  File "C:\Users\Administrator\h2ogpt\src\utils.py", line 65 in H2O_Fire
  File "C:\Users\Administrator\h2ogpt\generate.py", line 12 in entrypoint_main
  File "C:\Users\Administrator\h2ogpt\generate.py", line 16 in <module>
Windows fatal exception: access violation

Thread 0x000002cc (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\concurrent\futures\thread.py", line 81 in _worker
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00001d34 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\concurrent\futures\thread.py", line 81 in _worker
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00000764 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 797 in _poll
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 444 in select
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 1871 in _run_once
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 603 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 321 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 636 in run_until_complete
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\runners.py", line 44 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\uvicorn\server.py", line 62 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\uvicorn\main.py", line 587 in run
  File "C:\Users\Administrator\h2ogpt\openai_server\server.py", line 251 in run_server
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Current thread 0x000015cc (most recent call first):
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\pdf.py", line 57 in _get_elements
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\unstructured.py", line 87 in load
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3212 in file_to_doc
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3464 in path_to_doc1
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3761 in <listcomp>
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3761 in path_to_docs
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 7369 in _update_user_db
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 7169 in update_user_db
  File "C:\Users\Administrator\h2ogpt\src\gradio_runner.py", line 6356 in update_user_db_gr
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\gradio\utils.py", line 661 in wrapper
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\anyio\_backends\_asyncio.py", line 807 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00001bac (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 797 in _poll
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 444 in select
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 1871 in _run_once
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 603 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\windows_events.py", line 321 in run_forever
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\base_events.py", line 636 in run_until_complete
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\asyncio\runners.py", line 44 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\uvicorn\server.py", line 62 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x000018d0 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 324 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 607 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\apscheduler\schedulers\blocking.py", line 30 in _main_loop
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 953 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00002208 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 324 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 607 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\tqdm\_monitor.py", line 60 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x000004e0 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 324 in wait
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\queue.py", line 180 in get
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\posthog\consumer.py", line 104 in next
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\posthog\consumer.py", line 73 in upload
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\posthog\consumer.py", line 62 in run
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 1016 in _bootstrap_inner
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\threading.py", line 973 in _bootstrap

Thread 0x00001fc4 (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\gradio\blocks.py", line 2361 in block_thread
  File "C:\Users\Administrator\h2ogpt\src\gradio_runner.py", line 6021 in go_gradio
  File "C:\Users\Administrator\h2ogpt\src\gen.py", line 2039 in main
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\fire\core.py", line 691 in _CallAndUpdateTrace
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\fire\core.py", line 475 in _Fire
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\fire\core.py", line 141 in Fire
  File "C:\Users\Administrator\h2ogpt\src\utils.py", line 65 in H2O_Fire
  File "C:\Users\Administrator\h2ogpt\generate.py", line 12 in entrypoint_main
  File "C:\Users\Administrator\h2ogpt\generate.py", line 16 in <module>

Looks like unstructured barfs:
Current thread 0x000015cc (most recent call first):
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\pdf.py", line 57 in _get_elements
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\unstructured.py", line 87 in load

Can you pip install an older version of unstructured or see if any other changes help?
I also see:
Current thread 0x000015cc (most recent call first):
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\ctypes\__init__.py", line 374 in __init__
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\magic\loader.py", line 44 in load_lib
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\magic\__init__.py", line 209 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\unstructured\file_utils\filetype.py", line 25 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\unstructured\partition\pdf.py", line 57 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\pdf.py", line 57 in _get_elements
  File "C:\ProgramData\miniconda3\envs\h2ogpt\lib\site-packages\langchain_community\document_loaders\unstructured.py", line 87 in load
  File "C:\Users\Administrator\h2ogpt\src\gpt_langchain.py", line 3212 in file_to_doc

Maybe there is crash due to multiple threads trying to do some imports or access some libraries.  Known python bugs.  Maybe can move imports earlier to avoid such races.

E.g. you can add these to top of gpt_langchain.py
import magic
from unstructured.partition.pdf import partition_pdf

I tried with an older version of unstructured, but doesn't work. Same when trying to change some imports in the code.
Thanks to your response I decided to review certain libraries, especially the magic.
The error Windows fatal exception: access violation, apparently happen in the file: C:\ProgramData\miniconda3\envs\h2ogpt\Lib\site-packages\magic\loader.py
def _lib_candidates():

  yield find_library('magic')
  #print("sys.platform: ", sys.platform)

  if sys.platform == "darwin":

    paths = [
      '/opt/local/lib',
      '/usr/local/lib',
      '/opt/homebrew/lib',
    ] + glob.glob('/usr/local/Cellar/libmagic/*/lib')

    for i in paths:
      yield os.path.join(i, 'libmagic.dylib')

  elif sys.platform in ("win32", "cygwin"):

    #prefixes = ['msys-magic-1', 'libmagic', 'magic1', 'cygmagic-1', 'libmagic-1']
    prefixes = ['libmagic']

    for i in prefixes:
      # find_library searches in %PATH% but not the current directory,
      # so look for both
      yield './%s.dll' % (i,)
      yield find_library(i)

The code was trying to get into these dll files, but they did not exist in the folder. What I did was move the file located at: C:\ProgramData\miniconda3\envs\h2ogpt\Lib\site-packages\magic\libmagic\libmagic.dll to C:\ProgramData\miniconda3\envs\h2ogpt\Library\usr\bin and commented the list of files that could not be found.
I don't know if it's the best solution, but it's the only one that has helped me.


feat(ci): add pip caching to CI

Changes made by this PR can be summarized as follows:

Set the cache and cache-dependency-path argument to enable caching to speed up CI times.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Request for Review: @pacman100

Thank you, I also noticed a lot of other 🤗 repositories don't have caching in CI. Can I open PRs to those repositories as well ?


Use ethers instead of viem

Viem caused memory leak

What version of Node are you running? Node 18 and below has known memory issues when using fetch with signals (which viem uses). If you upgrade to the latest stable Node (20+), you shouldn’t be seeing the memory leak anymore.

What version of Node are you running? Node 18 and below has known memory issues when using fetch with signals (which viem uses). If you upgrade to the latest stable Node (20+), you shouldn’t be seeing the memory leak anymore.
wagmi-dev/viem#583 (comment)

Oh, I see 👀 We are indeed running the project on node 18, we will take a look at upgrading node. Thanks!


Refactored platform management Git URL into environment variable

Refactored platform management Git URL into environment variable ADOP_PLATFORM_MANAGEMENT_GIT_URL
This change was introduced because;

ADOP Pluggable library supports other SCM providers (Gerrit may not be the default choice)
enable users to easily use their own platman fork.

Features

Backwards compatible (defaults to Gerrit).

Tested with following steps:

Spun up ADOP C using "--without-load"
Changed Load_Platform job configuration to use the fork branch (i.e. the one for this PR)
Ran Load_Platform
Verified the SCM repository of Platform Management jobs to have gerrit platform management repo
Verified all the jobs work as expected
Added a global environment variable ADOP_PLATFORM_MANAGEMENT_GIT_URL in Manage Jenkins > Configure System and set it to the my forked adop platform management repo
Ran Load_Platform again
Verified the SCM repository of Platform Management jobs to have my forked platform management repo

The repos are configured as expected if ADOP_PLATFORM_MANAGEMENT_GIT_URL environment variable is set.

@subodh-hatkar thanks for testing.
@nickdgriffin do you have any feedback on this?


Pin importlib_metadata <8

When creating a new environment for testing ESMValCore v2.11.0rc2, the issue I reported at https://github.com/ESMValGroup/ESMValTool/issues/3208#issuecomment-2192164814 was present. @valeriupredoi identified that importlib_metadata was the culprit:
(rc1-env) % conda list importlib_metadata
# packages in environment at /miniforge3/envs/rc1-env:
#
# Name                    Version                   Build  Channel
importlib_metadata        7.1.0                hd8ed1ab_0    conda-forge
(rc2-env) % conda list importlib_metadata
# packages in environment at /miniforge3/envs/rc2-env:
#
# Name                    Version                   Build  Channel
importlib_metadata        8.0.0                hd8ed1ab_0    conda-forge

The solution is to add the importlib_metadata dependency to ESMValTool and pin the version to <8.
Note that importlib_metadata will be removed in https://github.com/ESMValGroup/ESMValCore/pull/2447; the removal should also be added to #3683 after the release / before the release branch is merged into main 👍

just to add to this retroactively - this shouldn't be a problem anymore once esmf/esmpy go past 8.6.0 pin (currently blocked by NCL, and it may be a while until it gets unblocked) - adding info since I introduce the pin in main via #3501 - CC @bouweandela


[Slot] Allow slot to override child's handlers instead of composing

First off, thanks for the amazing work. Radix raised the bar for accessibility and set an example for composable components I strive to reach in my codebases.
Description
This PR aims to enable more complex behavior composition through the use of the Slot component by allowing it to overwrite the child's handlers instead of merging.
To be conservative, I implemented a new prop dangerouslyoverridehandlersinsteadofcomposing that requires the consumer to explicitly set which handlers it wants to be overwritten. eg:
<Slot
    {...props}
    dangerouslyoverridehandlersinsteadofcomposing={['onClick']}
    onClick={(event) => {
        // ...
    }}
 />

The patterns that emerged from this remind me of React's HoC but through JSX instead of function wrappers.
A concrete use case for this would be providing useful feedback for "disabled" buttons; For example: when a user reaches the maximum amount of teams allowed by their license, don't disable the "new team" button, instead, show a modal with useful feedback and actions on click. This behavior is achievable without the changes to Slot, but they allow for creating simple abstractions that can be easily distributed. See: https://slot-overrides-examples.vercel.app/ (source).
Some immediate questions I have are:

Do you see value in this feature?
Would it be better exposed in another way?

Any feedback is welcome, and I hope to get this PR merged to enable a rich ecosystem of composable behavior components.

i'm not sure this would be the job for Slot given its entire purpose is composing stuff but @benoitgrelard or @andy-hook  can confirm.
your use-case might be simpler to reason about like this tho tbh:
const Lock = React.forwardRef(({ children, locked, lockedFeedback, ...rest }, ref) => {
  const child = React.Children.only(children);
  if (!locked) return <>{child}</>;

  return (
    <Popover.Root>
      <Popover.Trigger asChild {...rest} ref={ref}>
        {React.cloneElement(child, { onClick: () => {} })}
      </Popover.Trigger>
      <Popover.Content>{lockedFeedback}</Popover.Content>
    </Popover.Root>
  );
});

@jjenzz Thanks for the feedback! 🙌
I think you're right, my thought process was coming from the perspective that there are examples of preventing the parent's handler, so it would make sense to have the opposite too. The approach you shared does look better, taking <Slot> out as the middleman and consuming react's primitives directly is way simpler.
Waiting on input from others but am inclined to close this since the change really doesn't make sense if the role of <Slot /> is to always merge behavior and never override.
ah, and Codesandbox strikes again! I think sandboxes are private by default. But I got the snippet you shared running locally, ty again!

Closing considering the above comments, thanks for the feedback and clarification on the purpose of the component!


Create demo of JAXA bridge

Create a demo based on one of the existing interactive demonstrations that uses the JAXA bridge to including an additional cFS component as part of the same simulation.

I am considering developing a new demo that simulates the Curiosity rover transmitting telemetry data to cFS. For example, publishing telemetry data such as the rover's pose.
Is anyone working on this? If not, I would be happy to get started.


Feature/s1ntaxe770r/smi performance

Description
Inital action draft
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@leecalcote  this currently does not support performance profiles, as that feature isn't working with mesheryctl ( I could be wrong) , but I think this is a good starting point, there is also a matter of the deployment not being exposed


change people functions to synapser

This PR introduces synapser to Imports and refactors the add_people_from_table and  .store_rows functions to use synapser. Modified the .check_login function to look for syn object imported by library(synapser).

@allaway Since I'm mainly Linux, I'm honestly sure what the Mac and Windows issues are -- but will look into it.

@allaway OK, I think this is actually a GH workflow issue.

So testing locally:

On Sage Mac laptop, building synapser when installing with pak was not an issue.
On borrowed Windows laptop, couldn't build synapser when installing with pak and there was just not enough information to resolve.

So I revised the workflow to use precompiled synapser from Synapse repo when builds fail for those OS platforms -- this corresponds with the official synapser installation instructions and is how most users would obtain synapser in any case.


Potential error (e.g., deadlock ) due to the unreleased lock &p->mutex

Hi, developers, the lock &p->mutex may not be correctly released in the method extstore_write_request method, if the method returns in that branch. Thank you for your checking!
https://github.com/memcached/memcached/blob/c472369fed5981ba8c004d426cee62d5165c47ca/extstore.c#L546
https://github.com/memcached/memcached/blob/c472369fed5981ba8c004d426cee62d5165c47ca/extstore.c#L571
int extstore_write_request(void *ptr, unsigned int bucket,
        unsigned int free_bucket, obj_io *io) {
    store_engine *e = (store_engine *)ptr;
    store_page *p;
    int ret = -1;
    if (bucket >= e->page_bucketcount)
        return ret;

    pthread_mutex_lock(&e->mutex);
    p = e->page_buckets[bucket];
    if (!p) {
        p = _allocate_page(e, bucket, free_bucket);
    }
    pthread_mutex_unlock(&e->mutex);
    if (!p)
        return ret;

    pthread_mutex_lock(&p->mutex);

    ...;

    if (p->wbuf && !p->wbuf->full && p->wbuf->free >= io->len) {
        io->buf = p->wbuf->buf_pos;
        io->page_id = p->id;
        return 0;  // return without releasing
    }

    pthread_mutex_unlock(&p->mutex);
    // p->written is incremented post-wbuf flush
    return ret;
}

There's a comment directly above 571 saying it leaves the mutex locked.
Look at the callers for write_request(). The page lock is held while the caller writes to it. The caller must complete the write so the lock is then unreleased.

OK, thank you for your checking!


Github <---> Jenkins improvements

Improvements:

Add PreCheckNode stage

Thanks @agheata but I wanted to add some more messages in the dialog between Jenkins and GitHub. I can open a new one no problem.

No problem @peremato, in case some PR is still WIP, please mark it so we don't merge accidentally.


SegmFault in x86 Linux

Segmentation fault when running tcp-echo-server in the example.
Platform: Debian 8 x86
Ref: #10

Bug confirmed. SegmFault happened while calling mio::TcpListener::accept. Unknown reason.

Problem in the create mio ?

It seems no. I also tried to run the tests in MIO, and they all passed.

Maybe there are too much number of unsafe blocks in this create ?

Most of them are just for manipulating the states of the Coroutine structs. I have found that

examples/simple.rs runs very well, so I think the context switch code is fine.
Once the coroutine is going to be blocked, the program crash. Such as examples/timer.rs.
Mio itself runs fine.

So the crash occurs when registering / after registered the event and going to block the coroutine.

if the create "coio-rs" is only supports mio as non-blocking operation ?
if i read file, then is non-blocking operation ?

Yes it is. I have only supported MIO's async operations. Files are going to block right now.
I think most of the systems have read buffers for files. Supporting async file I/O may have to use aio_* APIs or a thread pool. I am still not sure how to support it well.

Branch feature-migrate_context1.0 still doesn't work in Linux debian 3.16.0-4-586 #1 Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) i686 GNU/Linux.

Fixed. Going to close this issue.


Fixed Editable Install Heuristics for Running Development Versions Against the Cloud

What does this PR do?
Reverts part of the changes introduced in https://github.com/Lightning-AI/lightning/pull/15242 since there is no way for lightning_app.egg.info to be found on the path, which means we will never package the source code for a dev install against the cloud.

When exporting PACKAGE_NAME=app before pip install -e ., the symlink lightning_app.egg.info is not generated.
If you don't export PACKAGE_NAME=app, then the symlink dir found on the path will be called lightning.egg.info (not lightning_app.egg.info).

This was verified to work in a clean conda 3.8 environment with PACKAGE_NAME unset.
cc @narJH27 @Borda @hhsecond @tchaton
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Seems to be the same as #15286, but how is it possible that all cloud e2e tests passed?

Also, how this app run would work if you install only ligtning-app?
cc: @tchaton @manskx

Seems to be the same as #15286, but how is it possible that all cloud e2e tests passed?  Also, how this app run would work if you install only ligtning-app? cc: @tchaton @manskx

Yes, this kind of silent issue is dangerous. I think we can test it to validate that lightning is packaged for the tests by parsing the logs and validating that this log exists Packaged Lightning with your application. Version: {version}

Seems to be the same as #15286, but how is it possible that all cloud e2e tests passed?  Also, how this app run would work if you install only ligtning-app? cc: @tchaton @manskx

Yes, this kind of silent issue is dangerous. I think we can test it to validate that lightning is packaged for the tests by parsing the logs and validating that this log exists Packaged Lightning with your application. Version: {version}

@rlizzo interesting that I still don't see this log in the cloud tests logs.
Packaged Lightning with your application.

@Borda @rlizzo I disabled the auto-merge, I'm not sure this works as expected on the CI


Fork changes description should be in top and not on down.

Also fork changes is on top for sections have seperate READMA.md's

@CodingSpecies

@CodingSpecies we forgot communities section wr need to add fork description to that one as well as.

Done #72

@CodingSpecies can you guide me i want to join your 3 organizations.

@MRslimcoder I just contributed to their repositaries.

@MRslimcoder I just contributed to their repositaries.

Okay thank you 😃


Makes Jason the default json lib and adds ability to configure your own

This makes the JSON library configurable and defaults it to Jason.

Coverage remained the same at 85.135% when pulling 167534fc4178375222d466414019f601d6ddf0e8 on abitdodgy:jason into b2588485b263f79cc64baa3668e5adae24af5d74 on smeevil:master.

Than you once again @abitdodgy \o/
Release 1.3.0 has been published :)


Viktor here 👋🏻

https://github.com/MathiasReker/php-file-permissions -> https://github.com/MathiasReker/file-permissions or "php-chmod" or a real name like "file-shepherd"
"MathiasReker\": "src/" we are missing the package name from namespace: it will collide with your other packages ⚡

That is all for the first glance.

https://github.com/MathiasReker/php-file-permissions -> https://github.com/MathiasReker/file-permissions or "php-chmod" or a real name like "file-shepherd"

"MathiasReker": "src/" we are missing the package name from namespace: it will collide with your other packages ⚡

That is all for the first glance.

Nice catch ! 👍🏼


Onboarding - Onboarding does not show up when creating new account for the second time

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.51-1
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com on incognito mode.
Sign up with a new Gmail account.
Complete the onboarding.
Log out.
Sign up with another new Gmail account.

Expected Result:
Onboarding will show up for every new account created (production behavior).
Actual Result:
Onboarding does not show up for the second new Gmail account.
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Uploading Bug6639192_1729287472033!20241019_053558.mp4…

View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Onboarding does not show up when creating new account for the second time
What is the root cause of that problem?
when signing up for the second account, the fetch statuses of onyx keys nvp_onboarding, nvp_trynewdot and is_single_new_dot_entry are "loading" even though their values are undefined. The keys nvp_onboarding, nvp_trynewdot values are updated to false in the signup process but the key is_single_new_dot_entry is not updated which leads to its fetch status to be locked at "loading". That affects the triggering of the onboarding process which is stuck in the line below
https://github.com/Expensify/App/blob/d6f883a4f21e74b600d241ee5acbcbab69add386/src/hooks/useOnboardingFlow.ts#L27-L29
as isSingleNewDotEntryMetadata status keep returning "loading"
What changes do you think we should make in order to solve the problem?
the onyx key is_single_new_dot_entry value is used for NativeModules.HybridAppModule, see line below
https://github.com/Expensify/App/blob/d6f883a4f21e74b600d241ee5acbcbab69add386/src/hooks/useOnboardingFlow.ts#L33-L35
we will consider the onyx key only in the context of NativeModules.HybridAppModule for the onboarding process (that key fetch status is always "loaded" during the first account creation) by changing the lines
https://github.com/Expensify/App/blob/d6f883a4f21e74b600d241ee5acbcbab69add386/src/hooks/useOnboardingFlow.ts#L27-L29
into this

if (isLoadingOnyxValue(isOnboardingCompletedMetadata, isHybridAppOnboardingCompletedMetadata, NativeModules.HybridAppModule?isSingleNewDotEntryMetadata:{status :'loaded' as FetchStatus} as ResultMetadata)) {
return;
}

RESULT
it works like a charm
https://github.com/user-attachments/assets/49ecd662-c816-4b65-ba61-940d736fbe4a
What alternative solutions did you explore? (Optional)
None

@Kalydosos - thanks for your proposal! Since this is a Deploy Blocker, we also want to figure out where this came from (since this is most likely due to a very recent PR). Can you help find which PR caused this?

I will test to see if this has to do with https://github.com/Expensify/App/pull/49602

Tested & revert did fix this issue - i'll move forward with the revert

I will test to see if this has to do with #49602

@Beamanator it seems to be this PR 50015

@Beamanator thx, i would love that indeed :+1:

@Beamanator it seems to be this PR https://github.com/Expensify/App/pull/50015

@Kalydosos the reason I don't think it's that PR is b/c that PR was deployed to production 3 weeks ago, whereas the current bug in this issue doesn't exist in production yet... Though it is possible that recent changes showed this bug, which was caused by that PR!

@Beamanator it seems to be this PR #50015

@Kalydosos the reason I don't think it's that PR is b/c that PR was deployed to production 3 weeks ago, whereas the current bug in this issue doesn't exist in production yet... Though it is possible that recent changes showed this bug, which was caused by that PR!

@Beamanator yes you are right, that was not the offending PR indeed, it is missing a part in the test.


Typo fix: overriden should be overridden

Hi it's me again 🤣, I've found this additional typo.

Thank you for your ongoing contributions to RabbitMQ docs!


Move Processing Off GUI Thread

GUI still blocks despite moving processing to separate thread with dc2824e9683367e80dedc242827dc399d0d44392
Look into other strategies (Process rather than Thread?).


chore: upgrade angular2 version to beta.9

upgrade both batarangle and kitchen sink app to<EMAIL_ADDRESS>deprecate tsd and switch to typings

:shipit:


Search editor opened results cursor placement is wrong with indentation

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.61.0
OS Version: MacOS BigSur

The cursor placement from #86190 breaks with indentation.
Steps to Reproduce:

Open search editor and search for a word that appears in the workspace on an indented line.
Double click just after : .  Cursor placement should be at the start of the line.
Double click somewhere in the middle of the initial indentation.  Cursor placement should be where you clicked.
Double click anywhere after the indentation.  Cursor placement should be where you clicked.

2 - 4 all don't place the cursor where expected.  I have a fix for this.

Thanks for reporting! I will take a look at the fix as soon as possible.

Thanks.  I noticed this while working on an option to default the cursor to select the match, so #135227 fixes this issue and adds the option.  If you want me to split them, please let me know.


impl(pubsub): use tracing stub when tracing is enabled

Closes https://github.com/googleapis/google-cloud-cpp/issues/12529

This change is

Hmm..... we really ought to have unit tests for the publisher stub factory. It will probably take some refactoring to make the interfaces testable. Look to bigtable, spanner, and storage for examples.

Separate PR? 😁  https://github.com/googleapis/google-cloud-cpp/issues/12654

Separate PR? 😁 #12654

Definitely. IMO it should land before this one.

Closing, if I'm refactoring the PR will probably look different anyway.


Added tablet keylines

Thank you so much! I will release a new version with you changes at the end of the day.

Release v1.2:  https://github.com/DmitryMalkovich/material-design-dimens/releases/tag/1.2


Fix CMake Python build issue with recent CMake versions

See https://cmake.org/cmake/help/latest/policy/CMP0148.html
This is also why https://github.com/conda-forge/coda-feedstock/pull/31 fails.

Fixed in 329bb9f08cc5e5a95996ce060b7ac33378daceeb


Feature request: allow subreddit comments page filtering by account age

For instance

browse to subreddit comments page at /r/subredditname/comments
be able to filter by account age (e.g. only show comments from accounts newer than x days/months)

This would help us see who is creating alternate/sockpuppet accounts after being banned.

That would be extremely heavy on the API rate limit, which makes it not really usable as you will have to wait a long time between each time using it for the rate limit to reset.

@creesch can toolbox cache account age locally or on a wiki page? It would be heavy on the API rate limit the first go-around, but minimally after that.


could not find driver error

I get this error after installing
"could not find driver"

please allow SQLite3 ex or PHP

please allow SQLite3 ex or PHP
I'm sorry, I used mysql in my project, how can I do what you said?

it's ok just allow the ex it's for caching.

that's mean you need SQLite3 Ex that's it, the driver try to fund icons table on my the driver and it's not exists!

now i have receiving an error like below SQLSTATE[HY000]: General error: 1 no such table: icons (Connection: , SQL: select "label", "name" from "icons" limit 10)

I also experienced the same thing, how do I fix it?

with the same way make sure that you have SQLite3 Ex for PHP on your ini

with the same way make sure that you have SQLite3 Ex for PHP on your ini

I still get the same error even though I did it a long time ago.

it's okay now try to clear you cache
php artisan filament:optimize-clear
php artisan filament-icons:cache

php artisan filament-icons:cache

finally it worked thank you great person

There was a problem. When I used it as a widget, the page structure was broken as attached file


Refresh(F5) in data type of Postgres the ENUM value will missing

Description
Before:

After refreshing(F5):

DBeaver Version
Community Edition Version <IP_ADDRESS>411171748
Operating System
Sequoia 15.1
Database and driver

Postgres16
PostgreSQL 16.2_1

Steps to reproduce

Open a data type in Postgres
Switch to the Source
press the F5 to refresh the DDL
the values of the data type will miss
close the properties panel and reopen the data type to recover

Additional context
No response

I reproduced the issue. Thank you for bug report


ipa build command add option to return .app file

I am trying to use ipa to build the app and use it with xcrun simctl for som custom scripting to preload the app with data by running the app and copy data from the installed location. Most of it works but I am left with one problem that it is not possible to get an .app file from the ipa command that I need for this command:
xcrun simctl install booted path/to/app.app
Is it possible to add an option to the ipa command to exportApp and then add an app file name?
(And I guess I am not the only one that could use that feature)

You can use the xcodebuild action instead to have full control. Let me know if that helps.

Yeah but wouldn't it be useful to have a separate action to for running in simulator?
It can either be as independent action or as a parameter to ipa().
What do you say? worth featuring?

@7mllm7 is this relevant to @mortenholmgaard's issue?

It does as he's trying to get .app file in order to run in simulator.
So if it's not already straight forward with xcodebuild like @mortenholmgaard is trying, then I can happily start a new feature.

Oh, right, sorry I misunderstood that part. That's basically what snapshot does already. @7mllm7 feel free to add a new option and submit a pull request :+1:

Keep in mind, the ipa action generates a build for distribution (= real device) which can't be run on the simulator.

@KrauseFx could you add an argument to gym to export an .app?

I recommend you use the new gym action instead of the ipa one.
@mortenholmgaard Sorry, that feature is not planned. You can easily unzip a ipa file and get the containing .app

Okay - I didn't know - I will look into that.

looks like there hasn't been any activity on this issue in quite some time. I'm going to close it for now, but please feel free to reopen if there are still problems! :+1:


User alias should appear in bold like they do in github

Testing https://github.com/Microsoft/vscode/issues/55396 on Ubuntu
View comments that mention a github alias in the PR description view.
Notice that the alias/user-name has the same font as rest of the text. Github displays alias/user-name with a bolder font-weight

Copied from original issue: Microsoft/vscode#55518

Related #66 . Right now the content we get from github is markdown format but it doesn't convert user id, issue links, etc to links in advance.

Usernames within comments are now linkified on the description page, so they stand out visually from other text:


Transfer iOS app that uses Apple Sign in and Firebase to a new developer account

We are in the process of transferring an app from one Apple developer account to another one as part of an app acquisition. The app uses Apple Sign in and Firebase authentication and it seems that there are a few steps to complete related to generating transfer identifiers for users that have signed up using Apple Sign in. This is documented here:
https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team
However, because we use Firebase as the backend for our app we don't have direct control of the authentication process and the user ids generated by Apple sign in and how they are stored in Firebase Auth and how to update them after app transfer.
Thank you.

@paulb777 Hello, Any Updates? I want to confirm as soon as possible whether I can transfer the App, and I need to sign an agreement with the customer.

You will likely need to file a support ticket for this type of issue.

@morganchen12
OK, Thank you.


Minor update of the ArangoDB subcommand.

I bumped the version to 0.2.1.
This is basically only a cleanup of the configuration options. In particular, I have added configuration options for

authentication with the mesos master
two switches for asynchronous replicas

I have no access to the results of the TeamCity build tests. Could somebody please let me know what is wrong, since it seems to be triggered by my changes?

OK, no problem. What is the syntax then for a branch or tag say? Is there any documentation on this?
According to the messages, this does not seem to be the cause of the problem.

From my perspective this looks now good.

lgtm... merging


How to add Severity level to AllureCucumberJVM plugin?

Is it possible to add Severity level to AllureCucumberJVM plugin.
For example: when I use the severity annotation before testng @Test annotation, it displays correctly on the report but when I use it before cucumber annotation @Given, it does not display correct severity level on the report, Instead it just displays severity as Normal by default.
@Severity(SeverityLevel.BLOCKER)
@Given("^mySampleTest$")
public void sampleTest() {
  //Some Actions
}

This is not a big issue for our test, but just wondering if this supported for cucumber plugin, Or maybe I'm not placing the annotation on correct place.
Thanks,

@mmuntakim15 please reopen in https://github.com/allure-framework/allure-cucumber-jvm-adaptor/issues/


unwanted cast of string to datetime

Note how the string 'M15' becomes somehow 8/15/2015!

pandas.Series([datetime.datetime(2015,1,1), 'M15'])
0   2015-01-01
1   2015-08-15
dtype: datetime64[ns]

Compare other arbitrary strings that are left alone:

pandas.Series([datetime.datetime(2015,1,1), 'MM15'])
0    2015-01-01 00:00:00
1                   MM15
dtype: object

Thanks for the report. It is because "M5" is parsed by dateutil as below.
dateutil.parser.parse('M5')
# datetime.datetime(2015, 8, 5, 0, 0)

Specify object dtype to handle it as object.
pd.Series([datetime.datetime(2015,1,1), 'M15'], dtype=object)
0    2015-01-01 00:00:00
1                    M15
dtype: object

The likes of "T2", "20A", "2M", "T99", "M98", "m-1--2---3----4", "at", "on", "of", and "..-.-----.-.." provide endless surprises.

yes nothing much to do about this
when u put a datetime like inside a Series it will try to infer
as indicated above being explicit about the dtype will work


💧 Remove memory leak in TimerJS + other small fixes

We now use Map because we are modern people writing modern JavaScript.
Fix #307

The driftless JS timer has not been updated... Not sure if it ever worked (and we probably need to update the version of driftless too...). We could alternatively remove it if you are not going to use it?

The driftless JS timer has not been updated... Not sure if it ever worked (and we probably need to update the version of driftless too...). We could alternatively remove it if you are not going to use it?

The drift less library has received no updates. I think we can keep it for now, we may want to use it in the future.


ImageInfo adds a new getter named sizeBytes to decouple ImageCache and ui.Image

We used external texture to display the images in our flutter app. On the Android platform, we draw the Bitmap onto the SurfaceTexture, and on the iOS platform, we convert the UIImage to CVPixelBufferRef, and finally use the Texture Widget to display the image.
We want to let the external texture can benefit from the ImageCache logic.We hope that ImageCache can no longer dependent on ui.Image, so that we can customize ImageInfo and ImageProvier to cache external texture images in ImageCache.
List which issues are fixed by this PR. You must list at least one issue.
https://github.com/flutter/flutter/issues/86402
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

👏🏿 This small change can bring a lot of scalability benefits, awesome

Hi，@dnfield
Would you mind reviewing this PR？
Thanks

Can you please add a test to this PR?

Background
We used external texture to display the images in our flutter app. On the Android platform, we draw the Bitmap onto the SurfaceTexture, and on the iOS platform, we convert the UIImage to CVPixelBufferRef, and finally use the Texture Widget to display the image. We do this mainly based on the following considerations：

We hope that any Bitmap or UIImage can be efficiently displayed to flutter app. For example, we need to customize a photo list page, but the native platform API only provide us Bitmap or UIImage as photo.
Reuse the native platform image loader. the native image loader, such as Glide on the Android platform and SDWebImage on the iOS platform, have implemented a complete set of caching solutions (memory cache, disk cache) and image decoding solutions. In addition, our CDN cropping optimization is also implemented in the native image loader. We hope that flutter app can directly reuse these capabilities.
Compared with ui.Image, the memory of external texture is not managed by GC, we can precisely control the timing of memory release

Use Texture Widget to display the image, we only need textureId, width, height, so we have customized a TextureImageInfo to represent this image. but  ImageInfo must have an ui.Image，so we had to give ImageInfo a dummy
ui.Image _dummy;

FutureOr<TextureImageInfo> createTextureImageInfo(
    {int textureId, int width, int height}) async {
  if (_dummy != null) {
    return TextureImageInfo(
        textureId: textureId, width: width, height: height, image: _dummy);
  }

  _dummy = await _createImage(1, 1);
  return TextureImageInfo(
      textureId: textureId, width: width, height: height, image: _dummy);
}

Future<ui.Image> _createImage(int width, int height) async {
  final Completer<ui.Image> completer = Completer<ui.Image>();
  ui.decodeImageFromPixels(
    Uint8List.fromList(
        List<int>.filled(width * height * 4, 0, growable: false)),
    width,
    height,
    ui.PixelFormat.rgba8888,
        (ui.Image image) {
      completer.complete(image);
    },
  );
  return completer.future;
}

// ignore: must_be_immutable
class TextureImageInfo extends ImageInfo {

  TextureImageInfo({
    this.textureId,
    this.width,
    this.height,
    ui.Image image,
    double scale = 1.0,
    String debugLabel,
  }) : super(
    image: image,
    scale: scale,
    debugLabel: debugLabel,
  );

  int textureId;

  int width;

  int height;

  ......

}

Now, we can create TextureImageInfo in the following way
TextureImageInfo imageInfo = await createTextureImageInfo(textureId:textureId,width:width,height:height)

Then we customized an ImageProvider to provide TextureImageInfo，and copy the code of ImageCache and Image Widget and modify their dependence on ui.Image. It works well.
Expectation
At present, our solution needs to copy the code of ImageCache . The reason is that the image in our TextureImageInfo is dummy, so the correct sizeBytes cannot be calculated. If ImageInfo has a sizeBytes method, then we can provide the correct sizeBytes without copying the code of ImageCache .

Supporting texture based images is an interesting idea. There's also a bug open for supporting other graphics related things in the cache - https://github.com/flutter/flutter/issues/83801
Let me think about this one a little bit.

Can you explain a bit more about how you're getting the size of the texture?

Hi, @dnfield
Usually we use the size of Bitmap/CGImage as the size of the texture, but sometimes we can also specify the size of the texture
Android：
Bitmap bitmap = getBitmapFromSomeWhere();

int textureWidth = bitmap.width();
int textureHeight = bitmap.height();
// we can also specify the size of the texture like this:
// int textureWidth = expectTextureWidthFromSomeWhere;
// int textureHeight = expectTextureHeightFromSomeWhere;

TextureRegistry.SurfaceTextureEntry entry =  textureRegistry.createSurfaceTexture();
Surface surface = new Surface(textureEntry.surfaceTexture());
textureEntry.surfaceTexture().setDefaultBufferSize(width, height);
if (surface != null && surface.isValid()) {
    try {
        Canvas canvas = surface.lockCanvas(null);
        Rect mSrcRect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
        Rect mDestRect = new Rect(0, 0, width, height);
        canvas.drawBitmap(imageBitmap, mSrcRect, mDestRect, null);
        surface.unlockCanvasAndPost(canvas);
    } catch (Exception e) {
        e.printStackTrace();
        onLoadFailed(imageBitmap, needRecycle);
    }
}

Map<String,Object> result = new HashMap();
result.put("textureId", textureEntry.id());
result.put("width", textureWidth);
result.put("height", textureHeight);

// then send result to flutter

The logic of iOS is basically the same as Android，we convert CGImage to CVPixelBuffer，and size of the texture is the size of the CVPixelBuffer.
- (CVPixelBufferRef)createPixelBufferFromImage:(CGImageRef)image andSize:(CGSize)size {
    NSDictionary *options = @{
                              (__bridge NSString *)kCVPixelBufferIOSurfacePropertiesKey : @{},
                              (__bridge NSString *)kCVPixelBufferCGImageCompatibilityKey: @NO,
                              (__bridge NSString *)kCVPixelBufferCGBitmapContextCompatibilityKey: @NO
                              };

    CVPixelBufferRef pxbuffer = NULL;

    CGSize imageSize = size;
    if (CGSizeEqualToSize(size, CGSizeZero)) {
        imageSize = CGSizeMake(CGImageGetWidth(image),  CGImageGetHeight(image));
    }

    CVReturn status = CVPixelBufferCreate(kCFAllocatorDefault,
                                          imageSize.width,
                                          imageSize.height,
                                          kCVPixelFormatType_32BGRA,
                                          (__bridge CFDictionaryRef) options,
                                          &pxbuffer);
    if (status!=kCVReturnSuccess) {
        NSLog(@"Operation failed");
    }
    NSParameterAssert(status == kCVReturnSuccess && pxbuffer != NULL);

    CVPixelBufferLockBaseAddress(pxbuffer, 0);
    void *pxdata = CVPixelBufferGetBaseAddress(pxbuffer);

    CGColorSpaceRef rgbColorSpace = CGColorSpaceCreateDeviceRGB();
    CGContextRef context = CGBitmapContextCreate(pxdata, imageSize.width,
                                                 imageSize.height, 8, CVPixelBufferGetBytesPerRow(pxbuffer), rgbColorSpace,
                                                 kCGBitmapByteOrder32Little | kCGImageAlphaPremultipliedFirst);

    NSParameterAssert(context);

    CGContextDrawImage(context, CGRectMake(0, 0, imageSize.width,
                                           imageSize.height), image);
    CGColorSpaceRelease(rgbColorSpace);
    CGContextRelease(context);

    CVPixelBufferUnlockBaseAddress(pxbuffer, 0);
    return pxbuffer;
}

Gold has detected about 4 new digest(s) on patchset 3.
View them at https://flutter-gold.skia.org/cl/github/86555

@ColdPaleLight Can you rebase this PR to make the checks pass?

@googlebot I consent.

@dnfield @goderbauer All checks have passed. Can you add the label "waiting for tree to go green" again?


fix platform_impl::ios::view::application_continue return type

What kind of change does this PR introduce?
The return type of the application_continue should be NO rather than false.  This is currently causing a complication error.
error:
error[E0308]: mismatched types
   --> /Users/logankeenan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.22.1/src/platform_impl/ios/view.rs:569:16
    |
565 |   ) -> BOOL {
    |        ---- expected `i8` because of return type
...
569 |         return false;
    |                ^^^^^ expected `i8`, found `bool`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `tao` (lib) due to previous error

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Checklist

[x] This PR will resolve #___
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary
[x] It can be built on all targets and pass CI/CD.

Other information

Oh looks like you didn't sign your commits and I can't merge the PR unless they are signed. You need to setup commit signing, then you can sign past commit like this for example.

@amrbashir closed in favor of https://github.com/tauri-apps/tao/pull/787

Sorry, busy at the moment and knew if I made the change through Github.com then it would be signed.

no worries, thanks for your contribution


How properly to link a libraries?

Hello,
I need to link my test project with -lpthread, in project.yml I had insert

:libraries:
:placement: :end
:flag: "-L ${1}"  # or "-L ${1}" for example
:common: &common_libraries []
:test:
- -lpthread
:release:
- -lpthread

When I run it I get

Shell executed command:
'gcc "build/test/out/c/test_event_queue_runner.o" "build/test/out/c/test_event_queue.o" "build/test/out/c/unity.o" "build/test/out/c/my_event.o" "build/test/out/c/cmock.o" -o "build/test/out/test_event_queue.out"'
And exited with status: [1]

And I didn't see there any libraries to link.
What did I missed or where do I need to put -lpthread in .yml file?

System 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Ceedling::   0.28.3
CMock::      2.4.5
Unity::      2.4.2
CException:: 1.3.1

Thanks for bringing this up. It appears that this feature was started but never finished. I see code for the release library support, but none for tests.
For now, you can try to add these to your linker step directly.
Memo to myself or anyone who decides to tackle this issue:

It appears LIBRARY_TEST and LIBRARY_PLACEMENT are not used at all, thus far.
The docs don't really cover this feature yet
LIBRARY_SYSTEM is implemented, but also not documented
There are examples already in the starter yamls

Oh... I see, thank you for an answer.
I had been tried different ways from documentation and I found one which work in my case:

:tools:
:test_compiler:
:executable: gcc
:arguments:
- -Wall
- -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE               #expands to -I search paths
- -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR   #expands to -I search paths
- -D$: COLLECTION_DEFINES_TEST_AND_VENDOR  #expands to all -D defined symbols
- -c ${1}
- -o ${2}
:test_linker:
:executable: gcc
:arguments:
- ${1}               #list of object files to link (Ruby method call param list sub)
- -lpthread
- -o ${2}            #executable file output (Ruby method call param list sub)

Not with :flags: either with :libraries: I can't to make it works, only with :tools:, so it is much more than enough for me.

I'm glad the tools method is working for you. I'll try to get libraries fixed up soon for future use!

Thanks, you do a great job)

One more thing, when I use ceedling gcov:all the tools method with my flags for compiling and libraries for linking doesn't work. It looks like standard compiling settings are running in that moment, so I had to add flags -g -fprofile-arcs -ftest-coverage to my tools settings and then run gcov manualy on each function to look on coverage.
Or maybe there is some way to set gcov method with tools method?

Or maybe there is some way to set gcov method with tools method?

@olyuboch did you ever find a way to get ceedling gcov:all to work with :tools: configuration?

Or maybe there is some way to set gcov method with tools method?

@olyuboch did you ever find a way to get ceedling gcov:all to work with :tools: configuration?

No I didn't)

I have a project that uses libjanson and ceedling and gcov work just fine.
This is what needs to be done for gcov to work with it:
:tools_gcov_linker:
  :arguments:
    - -ljansson

This is what needs to be done for gcov to work with it:

Thank you very much)

Let me know if you still have issues.

I have 3rd party libraries (.a files) that were compiled with arm-none-eabi-gcc that link against my project (which also compiles w/ arm-none-eabi-gcc).  I tried the :tools: route, but still don't know how to link/include the libraries in the YAML--I keep getting "undefined reference" errors for a method where a declaration exists in a .h file included in the include path, but the definition exists in the library.  Any pointers?

@kevlut are you running Ceedling v0.28.3? If so, consider building it from sources because #306 delivered some fixes to :libraries: config feature, but they haven't been released as part of an official release yet.

@kevlut are you running Ceedling v0.28.3? If so, consider building it from sources because #306 delivered some fixes to :libraries: config feature, but they haven't been released as part of an official release yet.

@IvanRibakov scratch my previous comment--but I did also run into #306 along the way, so thanks for the heads up!

Are there any plans to make a release yet? I'm running into this issue as well

I'm not sure is this the correct way but I had to use -lm compiler switch to link the <math.h> into the test case and I did it with this
:test_linker:
:executable: gcc
:arguments:
- ${1} #list of object files to link (Ruby method call param list sub)
- -o ${2} #executable file output (Ruby method call param list sub)
- -lm

I'm not sure is this the correct way but I had to use -lm compiler switch to link the <math.h> into the test case and I did it with this
:test_linker:
:executable: gcc
:arguments:
- ${1} #list of object files to link (Ruby method call param list sub)
- -o ${2} #executable file output (Ruby method call param list sub)
- -lm

Hi there,
If you still have an issue with using pthread for ceedling and gcov please check the following yaml configuration should solve your issue : (make sure to respect indentation very important !!!)

To copy paste :
`:libraries:
:placement: :end
:flag: "${1}"  # or "-L ${1}" for example
:common: &common_libraries []
:test:
- *common_libraries
:release:
- *common_libraries
:tools:
:test_compiler:
:executable: gcc
:arguments:
- -Wall
- -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE #expands to -I search paths
- -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR #expands to -I search paths
- -D$: COLLECTION_DEFINES_TEST_AND_VENDOR #expands to all -D defined symbols
- -c ${1}
- -o ${2}
:test_linker:
:executable: gcc
:arguments:
- ${1} #list of object files to link (Ruby method call param list sub)
- -lpthread
- -o ${2} #executable file output (Ruby method call param list sub)
:tools_gcov_linker:
:arguments:
- -lpthread
:plugins:
:enabled:
- stdout_pretty_tests_report
- module_generator
- gcov
- xml_tests_report
...`
FYI :

Save your time messing around with :tools:, instead use :libraries:. I added winmm under :test: like this:
:libraries:
  :placement: :end
  :flag: "-l${1}"
  :path_flag: "-L ${1}"
  :system: []    # for example, you might list 'm' to grab the math library
  :test: # []
    - winmm # my project needs this
  :release: []


Remove Jersey dependency from dropwizard-core.

Decouple dropwizard-core from Jersey by providing a JerseyServletContainer in dropwizard-jersey.
This would allow consumers to implement their own dropwizard-jersey using Jersey 1.
See: https://github.com/dropwizard/dropwizard/issues/1038

Coverage increased (+0.87%) to 72.8% when pulling d65421dcd360a1ce94594f8a362e91cd56d3f9bc on ghenkes:master into 398b9c9dc8dfa4ab6d5ef4da2e5ef0fb052413c5 on dropwizard:master.

Seems harmless enough. @joshi, what do you think?

Seems fine to me

Coverage increased (+0.76%) to 73.03% when pulling ff022246132bd8b2a9f2f563e91f293a8b3e6ca2 on ghenkes:master into b63feeb184200818f34b7ac693c32bdc03e5c0a0 on dropwizard:master.

@arteam @carlo-rtr I made a small change to JerseyServletContainer to take in a DropwizardResourceConfig rather than a ResourceConfig. I also pulled in the latest changes from dropwizard into my fork, that's why you'll see those 2 merge commits.

Applied to master with tweaks in 2a08d3


Changing mat table row height to material design standard

According to the material style standard for the table rows, the height of these must be a total of 52px.

I can confirm that this causes a huge number of screenshot gold failures inside Google. We're unlikely to be able to merge this change.


Support parsing/displaying KML BalloonStyle

KML BalloonStyle describes how to render a description balloon for KML placemarks. Parse these from KML files, and display them in the application. Balloons should render similarly in both 2D and 3D modes.
We could potentially display the balloon content in the feature info window. Consider what approach makes the most sense for OpenSphere.

KML BalloonStyle elements can now be displayed as annotations.


DNM: test CI with Aer 0.10.1

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.117%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
51911

Relevant Lines:
62455

💛  - Coveralls

Ok, this works, and the most major performance regressions from Aer 0.10.0 seem to be fixed (also locally).


LAE Linked Data

Make sure the controlled vocabulary terms show up in Turtle/JSON view as dereferencable URIs

Is this only descriptive metadata? Getting the structural metadata to de-reference would be...harder.

Yes, I assume we're talking about the descriptive metadata on the EphemeraFolders, not trying to expose the Box/Folder hierarchy.

Yes, definitely not structural metadata, though we could expose the Manifest via the RDF...EDM has a pattern for doing that but I forget what it is.
The public site currently has, e.g., http://lae.princeton.edu/catalog/07q1s.ttl
but there's no real way to crawl the site--there are URIs for the controlled vocabs, but items never reference other items, for example. How to we expose the entire LAE graph?

We can just provide a TTL serialization for the collection.


add a command line option to disable stdout and stderr

lnd has a log file that is written to that contains mostly the same (duplicate) information that is written to standard output and standard error. When running lnd as a systemd service, the systemd journal gets all of this information too from stdout and stderr. It would be nice to have a command line option that does not have the outputs written to standard output/error, only the lnd log file, this would avoid polluting the systemd journal with duplicate information. I'm aware that the log level can be changed, but I'd still like to capture more detailed information, I just don't necessarily want it going to the systemd journal too. When running on the command line, we can already redirect to /dev/null, but that's not as clean of an approach, especially when using systemd.
In bitcoind we have the -daemon option that does this silencing of standard output and standard error (since bitcoind also has its own dedicate log file) and also forks the process and puts it in the background. I'm not totally sure why bitcoind forks the process and sends it to the background, so I'm not sure if lnd wants to do this too. I don't see a particular advantage of it because then when running as a systemd service, lnd would need to communicate the pid to systemd so that it can keep track of whether it's actually running.

would avoid polluting the systemd journal with duplicate information

See https://github.com/lightningnetwork/lnd/issues/5993

Thanks for pointing me to some workarounds. Would still like to see this option available, but the workarounds can be used for now.

container users would need it reverse, to disable the internal local file log and only publish in the stdout / stderr
Of course an option to publish to a proper external logging service would be nice to have too.

This is fixed by #9083 which introduces a new --logging.daemon-mode option to disable logs being written
to stdout and a new --logging.no-file option to disable writing logs to the standard log file.


feat(tooltip-title): align icon centre when no text present

Align icon centre when no text present
COMUI-2154
Does this need to be backported to V3?

Backport this to v3

Backport this to v3

This looks to be ok in V3 already


Unify banner structures across compose-banner templates

Currently, diffferent compose banners (in /web/templates/compose_banner) use different structures for the content of the banner.

Some tuck the banner content right into a

Some tuck the banner content into a

Still others have a
 inside of a

At the very least, all of the
 elements should take
, which would allow simplifying the CSS selector in #26921.
Because some banners are plain text and others include their own HTML elements, it won't likely be practical to completely do away with the
/
 differences.

CZO thread

Yeah I think I agree at least adding classes to the p elements makes sense and I think we should feel comfortable closing out this issue after doing so if further progress seems hard.

@zulipbot claim


Improve TextEdit/LineEdit word selection.

Fixes https://github.com/godotengine/godot/pull/90178

Thanks!


linter test failure

I'm seeing a linter failure when I pub run test -j1
00:06 +9 -1: test/driver_test.dart: Driver linter generates lints

  Expected: contains '[lint] Name types using UpperCamelCase.'
    Actual: 'Analyzing [test/data/linter_project/test_file.dart]...\n'
    'No issues found\n'
    ''

  package:test                 expect
  test/driver_test.dart 129:9  main.<fn>.<fn>.<fn>

Not sure if this was caused by the Analyzer update?

This might be unrelated, but the tests in linter package have "style_guide" key in between, does that matter?
rules:
  style_guide:

This issue was moved to dart-lang/sdk#25136


⚠ ClamAV has degraded performance

In 3ad5ddd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 07cbde6 after 31 minutes.


Release v200

https://github.com/heroku/heroku-buildpack-python/compare/v199...e823894a727d57cba84a95040f76ea3e88f6e989
GUS-W-9987248.

$ make publish
Deploy as version: v200 [y/n]? y

Tagging commit ec2fd784fdfe7c6b5da79ad8bdbcfaecb7d7fe23 with v200...
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-python
 * [new tag]         v200 -> v200

Publishing to the buildpack registry...
Two-factor code: ********************************************
Publishing buildpack heroku/python... done
Publishing buildpack was successful

Version  Released At               Status
───────  ────────────────────────  ─────────
200      2021-10-04T23:35:04.350Z  published


Revert "Reverts "Run iOS staging tests with Xcode 15.2""

Reverts flutter/flutter#141412

Thanks @QuncCccccc!


Adding failing GNU head tests

I ran the latest GNU head test suite and added the tests we were failing. Some unsupported features, some bugs.

Sounds great, thanks for doing that :+1:

could you please create an issue to implement the missing features + turn the test on ?


How to I stream language tweets?

Hi,
I am trying to stream Portuguese tweets and perform sentiment analysis on those
If I pass in a stream.filter("lang='pt') its not working,
If I use a tweepy.Cursor then I am able to filter tweets based on language but those are not realtime tweets.
I am looking to stream Tweets made in Portuguese and perform sentiment analysis please help

There's syntactical mistakes with how you're passing the keyword argument, but the name of the kwarg for Stream.filter is languages anyway:
https://github.com/tweepy/tweepy/blob/cc3c8e7cae73d28b9a75edb7342f89f04da99702/tweepy/streaming.py#L432-L433 It accepts a list of languages, so you would provide it like so: stream.filter(languages=["pt"]).
However, note, you'll still need to input either a list of user IDs to follow, using follow; a list of keywords to track, using track; or a list of locations to track, using locations.


Add Spanish language support for About page content

add spanish in about content
The original page was translated and interpreted according to the original content.
The structure and the message are respected.
Contribution rules were respected.
Checklist

[x] contribution guidelines followed here

@CarmenDelgadoEclipse Are you able to review?

@CarmenDelgadoEclipse Are you able to review?

@karianna I have added a minor comment about typo, LGTM too, thanks!


Use absolute link in Python README

Explicitly specify an absolute link for the Python HOW-TO in the README for Python.
This will fix the link in the project description on PyPI for the next release, which currently links to https://pypi.org/project/docs/PYTHON-HOWTO.md/ using the relative link and shows a 404 error page.

Actually we can't do this because it'll interfere with our internal links. Sorry!

What do you mean?
This is just a change in the README that makes the changed link absolute, the same as the other existing link.


@conda-forge-admin, please rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/pyobjc-framework-cocoa-feedstock#56.


Use latest jimp to fix minimist security vulnerability

Repro:
PS C:\dev\temp> npm init -y
Wrote to C:\dev\temp\package.json:

PS C:\dev\temp> npm i webpack-pwa-manifest
npm WARN deprecated<EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
...
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

+<EMAIL_ADDRESS>added 69 packages from 98 contributors and audited 163 packages in 6.198s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

PS C:\dev\temp> npm audit

                       === npm audit security report ===

                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance

  Low             Prototype Pollution

  Package         minimist

  Patched in      >=0.2.1 <1.0.0 || >=1.2.3

  Dependency of   webpack-pwa-manifest

  Path            webpack-pwa-manifest > jimp > @jimp/custom > @jimp/core >
                  mkdirp > minimist

  More info       https://npmjs.com/advisories/1179

found 1 low severity vulnerability in 163 scanned packages
  1 vulnerability requires manual review. See the full report for details.

PS C:\dev\temp> npm audit fix
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

up to date in 0.349s
fixed 0 of 1 vulnerability in 163 scanned packages
  1 vulnerability required manual review and could not be updated

The latest jimp should fix it as per https://github.com/oliver-moran/jimp/pull/857

So as a temporary solution I released a fix from my fork https://github.com/Den-dp/webpack-pwa-manifest/releases/tag/v4.2.1 🙌
You can install it via:
npm i<EMAIL_ADDRESS>-D

Please notice the new name with -contrib at the end, and make sure to change require('webpack-pwa-manifest-contrib') in webpack.config.js.

@Den-dp could you maybe publish it as a PR to this repository?

@wscourge #122 PR still exists in this repository but closed because of the reasons.
I hope it's possible to merge it, even if it's closed 😅

Dependencies up-to-date, thank you.


OKE deployment should not manadate NAT Gateway

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Currently this module requires private subnets to have a NAT Gateway to deploy a cluster successfully. The documentation says this is required specifically if resources in the private subnet will need internet access, but not in all cases.
ref: https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengnetworkconfig.htm
(my bold)

If you intend to use private subnets (for worker nodes, the Kubernetes API endpoint, or pods when using the OCI VCN-Native Pod Networking CNI plugin) and the subnets require access to the internet, the VCN must have a NAT gateway.

Not an issue. Closing


Yakuake: fails to launch when installed as user and as part of system configuration

Issue description
On NixOS 18.03, running Yakuake is impossible for me, at least. I'm running GNOME 3, although I have installed KDE Plasma with:
services.xserver.desktopManager.plasma5.enable = true;

in my system configuration, yet running Yakuake returns:
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
Segmentation fault

I get this error regardless of whether Yakuake is installed as user or as part of system configuration. Adding libsForQt5.kglobalaccel to my environment.systemPackages variable and rebuilding does not resolve the issue either, I get the same error.
Steps to reproduce
Cleanly install NixOS 18.03 with this configuration. Then execute yakuake.
Technical details
nix-shell -p nix-info --run "nix-info -m" returns:
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.32, NixOS, 18.03.131768.a74969256b0 (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0`
 - channels(fusion809): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

Well I rebooted and it now Yakuake launches fine, it didn't start after I rebooted before I added the libsForQt5.kglobalaccel to my system package (after I had added KDE to it), so is this still a valid bug report? Like maybe Yakuake should come with a libsForQt5.kglobalaccel dependency.

It added a dependency:
https://cgit.kde.org/yakuake.git/commit/?h=v3.0.5&id=2c26a6c59dc5664ea6a4ed5b99fea8f813e2acb7

$ nix-store -qR $(nix-build -A yakuake)  | grep kglobal
/nix/store/9w68r1r8670dj4imm3qxql8ql6plp74m-kglobalaccel-5.44.0
/nix/store/ygp3fbs8mz304kxickzidgdwbc9af9g8-kglobalaccel-5.44.0-bin
/nix/store/yvflvgqs68kfsfyy4s15ns4pbdfq4wlq-kglobalaccel-5.44.0-dev

shows it has a runtime dependency on kglobalaccel. What I think what you are encountering is then:

When testing applications in Nixpkgs, it is a common practice to build the package with nix-build and run it using the created symbolic link. This will not work with Qt applications, however, because they have many hard runtime requirements that can only be guaranteed if the package is actually installed. To test a Qt application, install it with nix-env or run it inside nix-shell.

https://nixos.org/nixpkgs/manual/#ssec-qt-applications

I just encountered a similar problem on (NixOS 19.03) but dbus complaining that it can not find kglobalaccel. This solved the problem:
services.dbus.packages = [ pkgs.libsForQt5.kglobalaccel ];

Qt packaging has changed since, so I am closing this.


how can I  custom  the regularizer of model?

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[ ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

What do you mean by customize the regularizer? Do you mean customize L1 and L2 regularizer, or write your own regularizer? If you want to write your own visit this link


cmd/cue: cannot export when definitions contain required fields

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20230428121230-80d6ea032057

go version devel go1.21-3ed8a1e629 Tue Mar 28 05:41:44 2023 +0000
      -buildmode exe
       -compiler gc
  DefaultGODEBUG panicnil=1
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1
             vcs git
    vcs.revision 80d6ea032057b40e405eefab6015e92bbc5cc2a5
        vcs.time 2023-04-28T12:12:30Z
    vcs.modified false

Does this issue reproduce with the latest stable release?
What did you do?
exec cue export x.cue

-- x.cue --
#X: a!: int

What did you expect to see?
A passing test.
What did you see instead?
> exec cue export x.cue
[stderr]
#X.a: field is required but not present
[exit status 1]

Seems like a duplicate of https://github.com/cue-lang/cue/issues/2336 :)


FederatedStore RemoveGraphDeleteAccumuloTableHandler

Handler to force Accumulo to drop the table.

This handler will require MANUAL testing against an Accumulo instance.
Remember to add the Handler to the FederatedStore config.

Closed by https://github.com/gchq/Gaffer/pull/2799


DataTable should preserve sort when re-rendered and new data should be re-sorted

Detailed description

Describe in detail the issue you're having.
When I update data in a DataTable the sort is reset

Is this a feature request (new component, new icon), a bug, or a general issue?
Feature Request / bug

Is this issue related to a specific component?
DataTable

What did you expect to happen? What happened instead? What would you like to see changed?
Expect sort to be preserved and new data to be sorted according to the current sortKey and sortDirection

Happy to provide a PR for this if agreed

Hi @AndySeymour2904! 👋 Thanks so much for taking the time to make this issue 😄
Definitely agreed that DataTable should preserve sort order when re-rendered. Unfortunately we don't have the bandwidth to fix this right now, but will gladly accept any/all PRs to provide this behavior!

Closed by #728 and in subsequent bug fixes, I think 😄


get_embedding_variable_internal keyword argument error

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS7
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 1.15.5
Python version: 3.7.4
Bazel version (if compiling from source): 0.24.1
GCC/Compiler version (if compiling from source): 7.3.1
CUDA/cuDNN version: None
GPU model and memory: None

Describe the current behavior
Using get_embedding_variable to create an EmbeddingVariable for embedding lookup, but encounters unexpected keyword argument issue while creating slot var, the detailed error stack is:
  File "/usr/local/python3.7/lib/python3.7/site-packages/tensorflow_core/python/training/optimizer.py", line 1302, in _zeros_slot
    new_slot_variable = slot_creator.create_zeros_slot(var, op_name, slot_config=slot_config)
  File "/usr/local/python3.7/lib/python3.7/site-packages/tensorflow_core/python/training/slot_creator.py", line 266, in create_zeros_slot
    slot_config=slot_config)
  File "/usr/local/python3.7/lib/python3.7/site-packages/tensorflow_core/python/training/slot_creator.py", line 239, in create_slot_with_initializer
    dtype, slot_config)
  File "/usr/local/python3.7/lib/python3.7/site-packages/tensorflow_core/python/training/slot_creator.py", line 92, in _create_slot_var
    ht_partition_num=primary._ht_partition_num)
TypeError: get_embedding_variable_internal() got an unexpected keyword argument 'ht_partition_num'

Describe the expected behavior
Training without error.
Maybe _create_slot_var should use get_embedding_variable_v2_internal for all cases.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Hi, Could you please tell me which optimizer you are using in your code?

Hi, Could you please tell me which optimizer you are using in your code?

Hi, I use a customized optimizer, which will call the _zeros_slot function without passing slot_config parameter.

Ok, I know the cause of this problem, I will fix this bug. Also, can you tell me which team you are from, we would like to know if your custom optimizer can be added to DeepRec.

Ok, I know the cause of this problem, I will fix this bug. Also, can you tell me which team you are from, we would like to know if your custom optimizer can be added to DeepRec.

Sure, we are glad to contribute our customized optimizer to DeepRec, I'm from team of JD.com.

If customized optimizer support sparse feature (EV) in DeepRec, _zeros_slot should pass slot_config parameter.
Could you show me your code? You can submit a PR.


RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 231 but got size 154 for tensor number 1 in the list.

Tried training a nahida embedding with 5 pictures, these are my settings:

Seems like this is an issue with the prompt template file, using only that has only [filewords] works (though I get another error)

Is there a full report of errors? It may be better to train without using the [filewords] version.

Is there a full report of errors? It may be better to train without using the [filewords] version.

Thanks for the reply, what template would you recommend for training?

Any template that does not change should work. I'm using just a .txt file with 1 word.

Perhaps, but I had the same problem.
I encountered this problem when I ran it again with the same conditions using different data after one successful run with the same conditions.
Training at rate of 0.005 until step 2000
Preparing dataset...
100%|█████████████████████████████████████████████| 5/5 [00:01<00:00,  3.14it/s]
[Epoch 4: 0/2]loss: 0.0608956, grad:0.0001024, grad_neg:0.0000176:   0%| | 9/200
Applying xformers cross attention optimization.
Error completing request
Arguments: ('test', '0.005', 1, '/notebooks/train_data/test', 'dream_artist', 512, 512, 2000, 500, 500, '/notebooks/stable-diffusion-webui/textual_inversion_templates/style_filewords.txt', True, False, '', '', 20, 0, 7, -1.0, 512, 512, 5.0, '', True, False, 1, 1) {}
Traceback (most recent call last):
  File "/notebooks/stable-diffusion-webui/modules/ui.py", line 185, in f
    res = list(func(*args, **kwargs))
  File "/notebooks/stable-diffusion-webui/webui.py", line 54, in f
    res = func(*args, **kwargs)
  File "/notebooks/stable-diffusion-webui/modules/dream_artist/ui.py", line 36, in train_embedding
    embedding, filename = modules.dream_artist.cptuning.train_embedding(*args)
  File "/notebooks/stable-diffusion-webui/modules/dream_artist/cptuning.py", line 405, in train_embedding
    c_in = torch.cat([uc, c])
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 154 but got size 77 for tensor number 1 in the list.

Have similar issue, can run 2-3 iterations then stop with with this error. (training on CPUs 2x Xeon Silver 4114, but mostly load on 1 CPU)
Training at rate of 0.005 until step 7000
Preparing dataset...
100%|██████████| 128/128 [06:39<00:00,  3.12s/it]
  0%|          | 0/99977 [00:00<?, ?it/s]
Error completing request
Arguments: ('Chii-A3', '0.005:7000, 1e-3:22000, 1e-5', 1, '/workspace/stable-diffusion-webui/dataset', 'textual_inversion', 768, 768, 100000, 500, 500, '/workspace/stable-diffusion-webui/textual_inversion_templates/tags.txt', True, False, '(masterpiece), (best quality), ultra hyper detailed,highres, portrait,portfolio 1girl, Chii-A3, red dress', 'lowres, bad anatomy, bad hands, text, error,  missing fingers, extra digit, fewer digits, cropped, worst quality, low  quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, Chii-A3-neg', 20, 4, 8.5,<PHONE_NUMBER>.0, 512, 512, 3.0, '/workspace/stable-diffusion-webui/models/convnext/checkpoint-best_t5.pth', True, True, 1, 1) {}
Traceback (most recent call last):
  File "/workspace/stable-diffusion-webui/modules/ui.py", line 185, in f
    res = list(func(*args, **kwargs))
  File "/workspace/stable-diffusion-webui/webui.py", line 54, in f
    res = func(*args, **kwargs)
  File "/workspace/stable-diffusion-webui/extensions/DreamArtist-sd-webui-extension-master/scripts/dream_artist/ui.py", line 30, in train_embedding
    embedding, filename = dream_artist.cptuning.train_embedding(*args)
  File "/workspace/stable-diffusion-webui/extensions/DreamArtist-sd-webui-extension-master/scripts/dream_artist/cptuning.py", line 408, in train_embedding
    c_in = torch.cat([uc, c])
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 77 but got size 154 for tensor number 1 in the list.

also randomly getting this error:
Training at rate of 0.005 until step 7000
Preparing dataset...
100%|██████████| 128/128 [06:37<00:00,  3.11s/it]
use convnext discriminator
  0%|          | 0/99986 [02:19<?, ?it/s]
Error completing request
Arguments: ('Chii-A3', '0.005:7000, 1e-3:22000, 1e-5', 1, '/workspace/stable-diffusion-webui/dataset', 'textual_inversion', 768, 768, 100000, 500, 500, '/workspace/stable-diffusion-webui/textual_inversion_templates/tags.txt', True, True, '(masterpiece), (best quality), ultra hyper detailed,highres, portrait,portfolio 1girl, red dress, Chii-A3', 'lowres, bad anatomy, bad hands, text, error,  missing fingers, extra digit, fewer digits, cropped, worst quality, low  quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, Chii-A3-neg', 20, 4, 8.5,<PHONE_NUMBER>.0, 512, 512, 3.0, '/workspace/stable-diffusion-webui/models/convnext/checkpoint-best_t5.pth', True, True, 1, 1) {}
Traceback (most recent call last):
  File "/workspace/stable-diffusion-webui/modules/ui.py", line 185, in f
    res = list(func(*args, **kwargs))
  File "/workspace/stable-diffusion-webui/webui.py", line 54, in f
    res = func(*args, **kwargs)
  File "/workspace/stable-diffusion-webui/extensions/DreamArtist-sd-webui-extension-master/scripts/dream_artist/ui.py", line 30, in train_embedding
    embedding, filename = dream_artist.cptuning.train_embedding(*args)
  File "/workspace/stable-diffusion-webui/extensions/DreamArtist-sd-webui-extension-master/scripts/dream_artist/cptuning.py", line 439, in train_embedding
    f"grad:{embedding.vec.grad.detach().cpu().abs().mean().item():.7f}, "
AttributeError: 'NoneType' object has no attribute 'detach'

same problem here

Expanding the prompt length will lead to inconsistent positive and negative prompt lengths and needs to turn off expansion.


GDScript: Fix invalid character error message

Before:

After:

See wiki. U+200B is in "Related Unicode characters with property White_Space=no" table, i.e. it's not a whitespace character, so it's not listed here:
https://github.com/godotengine/godot/blob/3f02cf7ced320f25ac5f4f72d7a57d98296bfcd1/core/string/char_utils.h#L96-L98
In KCharSelect this character is marked as "Non-printable", but I don't know if such Unicode attribute/category actually exists. Perhaps we need the is_invisible_character function?

CC @bruvzg

In KCharSelect this character is marked as "Non-printable", but I don't know if such Unicode attribute/category actually exists. Perhaps we need the is_invisible_character function?

I believe we should use the general category of Unicode, which would be format (Cf) in this case, or other (C) as a broader one, which includes other non-printable characters such as control characters.
We don't have the function, but maybe could be added to char_utils.h to be available without ICU data as well.

Thanks!


goodservice: Fix direction issue.

This commit fixes a config option for direction. cc @blahblahblah-

Thanks for the fix!


migrate export related plugins etc. from winslow to winnipeg as well

the updated premis export and possible bagit creation can be migrated from winslow to winnipeg...
This could be done when systems are updated for the memory leak as well.

this had partly been done with the memory leak related updates... the remaining bit has now been updated as well