Crypto Bug after Updating to Latest Debian Bullseye

Netflix add-on version
1.18.10+matrix.1
Operative systems used
OSMC
Kodi version used
Kodi 19 (Matrix)
Description of the bug
In relation to #1416, – after I updated my system to the latest Bullseye packages – I found that the Netflix plugin was reporting that it couldn't find module Crypto.
I went back to the install instructions to try and rerun them, in case anything had been removed, and, like @dantahoua, found that python3-crypto was not available. I also find that python3-cryptodome is not, either. I tried installing python3-cryptography (I'm not sure if it's helpful or relevant but I figured, at worst, it'd have no effect).
I found that build-essential, python-pip, and libnss3 were reported as already installed which didn't surprise me.
Installing setuptools and wheel had similar results.
pycryptodomex, however, did need to get installed which I found weird as I already had the plugin installed, previously.
Nonetheless, doing so resulted in the background process for the Netflix plugin starting, like it normally does.
But clicking on the plugin results in a consistent error.
Looking at the logs, I got
2022-10-02 17:16:13.030 T:3107    ERROR <general>: GetDirectory - Error getting -
2022-10-02 17:16:13.076 T:3110     INFO <general>: initializing python engine.
2022-10-02 17:16:14.279 T:3110     INFO <general>: [plugin.video.netflix (1)] The debug logging is set as DISABLED
2022-10-02 17:16:16.942 T:2971    ERROR <general>: [plugin.video.netflix (0)] IPC callback raised exception: 404 Client Error: Not Found for url: https://www.netflix.com/api/shakti/vbb9fbeef/pathEvaluator?drmSystem=widevine&withSize=false&materialize=false&routeAPIRequestsThroughFTL=false&isVolatileBillboardsEnabled=true&isTop10Supported=true&categoryCraversEnabled=false&original_path=%2Fshakti%2Fvbb9fbeef%2FpathEvaluator
                                                   For more information check: https://httpstatuses.com/404
2022-10-02 17:16:16.960 T:2971    ERROR <general>: [plugin.video.netflix (0)] Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/cache_management.py", line 163, in get
                                                       cache_entry = self._get_cache_bucket(bucket['name'])[identifier]
                                                   KeyError: 'XQOIDDVNQNEXFL65VEE54Y5WGI_loco_list'

                                                   The above exception was the direct cause of the following exception:

                                                   Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/cache_utils.py", line 70, in wrapper
                                                       return G.CACHE.get(_bucket, identifier)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/cache_management.py", line 171, in get
                                                       raise CacheMiss from exc
                                                   resources.lib.common.exceptions.CacheMiss

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 172, in return_call
                                                       result = _call(self._func, _data)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 188, in _call
                                                       return func()
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/directorybuilder/dir_builder.py", line 48, in get_mainmenu
                                                       loco_list = self.req_loco_list_root()
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/cache_utils.py", line 72, in wrapper
                                                       output = func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/directorybuilder/dir_path_requests.py", line 65, in req_loco_list_root
                                                       path_response = self.nfsession.path_request(**call_args)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/path_requests.py", line 32, in path_request
                                                       response = self.post_safe(
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/access.py", line 77, in post_safe
                                                       return self.post(endpoint, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 41, in post
                                                       return self._request_call(
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 48, in _request_call
                                                       return self._request(method, endpoint, None, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 103, in _request
                                                       return self._request(method, endpoint, True, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 106, in _request
                                                       response.raise_for_status()
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/packages/httpx/_models.py", line 1402, in raise_for_status
                                                       raise HTTPStatusError(message, request=request, response=self)
                                                   httpx.HTTPStatusError: 404 Client Error: Not Found for url: https://www.netflix.com/api/shakti/vbb9fbeef/pathEvaluator?drmSystem=widevine&withSize=false&materialize=false&routeAPIRequestsThroughFTL=false&isVolatileBillboardsEnabled=true&isTop10Supported=true&categoryCraversEnabled=false&original_path=%2Fshakti%2Fvbb9fbeef%2FpathEvaluator
                                                   For more information check: https://httpstatuses.com/404

2022-10-02 17:16:19.232 T:3110    ERROR <general>: [plugin.video.netflix (1)] Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 29, in wrapper
                                                       func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 245, in run
                                                       success = route(pathitems)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 87, in lazy_login_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 127, in route
                                                       _execute(nav_handler, pathitems[1:], G.REQUEST_PARAMS, root_handler)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 156, in _execute
                                                       executor(pathitems=pathitems)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory_utils.py", line 28, in set_custom_viewmode
                                                       override_content_type = func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory.py", line 102, in home
                                                       dir_items, extra_data = common.make_call('get_mainmenu')  # pylint: disable=unused-variable
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 95, in make_call
                                                       return make_addonsignals_call(func_name, data)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 143, in make_addonsignals_call
                                                       _result = pickle.loads(b64decode(result))
                                                   TypeError: __init__() missing 2 required keyword-only arguments: 'request' and 'response'

2022-10-02 17:16:19.236 T:2886     INFO <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY

I tried uninstalling python3-cryptography, just to see what would happen, and got this error:
2022-10-02 17:17:31.754 T:2945     INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-10-02 17:17:31.754 T:2945     INFO <general>: CAESinkALSA::Initialize - Requested layout: FL, FR
2022-10-02 17:17:31.755 T:2945     INFO <general>: CAESinkALSA::Initialize - set digital_codec 0
2022-10-02 17:17:31.756 T:2945     INFO <general>: CAESinkALSA::Initialize - Attempting to open device "default"
2022-10-02 17:17:31.766 T:2945     INFO <general>: CAESinkALSA::Initialize - Opened device "default"
2022-10-02 17:17:31.767 T:2945     INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-10-02 17:17:31.768 T:2945     INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2022-10-02 17:17:31.770 T:2945     INFO <general>: CAESinkALSA::Initialize - speaker layout 0
2022-10-02 17:17:31.991 T:3169     INFO <general>: initializing python engine.
2022-10-02 17:17:32.208 T:3154     INFO <general>: Python interpreter stopped
2022-10-02 17:17:33.034 T:2886    ERROR <general>: Control 50 in window 10025 has been asked to focus, but it can't
2022-10-02 17:17:33.069 T:3173     INFO <general>: initializing python engine.
2022-10-02 17:17:35.863 T:3173     INFO <general>: [plugin.video.netflix (3)] The debug logging is set as DISABLED
2022-10-02 17:17:36.454 T:3169     INFO <general>: CPythonInvoker(12, /home/osmc/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): script successfully run
2022-10-02 17:17:36.549 T:3169     INFO <general>: Python interpreter stopped
2022-10-02 17:17:38.365 T:2971    ERROR <general>: [plugin.video.netflix (0)] IPC callback raised exception: 404 Client Error: Not Found for url: https://www.netflix.com/api/shakti/vbb9fbeef/pathEvaluator?drmSystem=widevine&withSize=false&materialize=false&routeAPIRequestsThroughFTL=false&isVolatileBillboardsEnabled=true&isTop10Supported=true&categoryCraversEnabled=false&original_path=%2Fshakti%2Fvbb9fbeef%2FpathEvaluator
                                                   For more information check: https://httpstatuses.com/404
2022-10-02 17:17:38.369 T:2971    ERROR <general>: [plugin.video.netflix (0)] Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/cache_management.py", line 163, in get
                                                       cache_entry = self._get_cache_bucket(bucket['name'])[identifier]
                                                   KeyError: 'XQOIDDVNQNEXFL65VEE54Y5WGI_loco_list'

                                                   The above exception was the direct cause of the following exception:

                                                   Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/cache_utils.py", line 70, in wrapper
                                                       return G.CACHE.get(_bucket, identifier)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/cache_management.py", line 171, in get
                                                       raise CacheMiss from exc
                                                   resources.lib.common.exceptions.CacheMiss

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 172, in return_call
                                                       result = _call(self._func, _data)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 188, in _call
                                                       return func()
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/directorybuilder/dir_builder.py", line 48, in get_mainmenu
                                                       loco_list = self.req_loco_list_root()
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/cache_utils.py", line 72, in wrapper
                                                       output = func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/directorybuilder/dir_path_requests.py", line 65, in req_loco_list_root
                                                       path_response = self.nfsession.path_request(**call_args)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/path_requests.py", line 32, in path_request
                                                       response = self.post_safe(
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/access.py", line 77, in post_safe
                                                       return self.post(endpoint, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 41, in post
                                                       return self._request_call(
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 48, in _request_call
                                                       return self._request(method, endpoint, None, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 103, in _request
                                                       return self._request(method, endpoint, True, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/http_requests.py", line 106, in _request
                                                       response.raise_for_status()
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/packages/httpx/_models.py", line 1402, in raise_for_status
                                                       raise HTTPStatusError(message, request=request, response=self)
                                                   httpx.HTTPStatusError: 404 Client Error: Not Found for url: https://www.netflix.com/api/shakti/vbb9fbeef/pathEvaluator?drmSystem=widevine&withSize=false&materialize=false&routeAPIRequestsThroughFTL=false&isVolatileBillboardsEnabled=true&isTop10Supported=true&categoryCraversEnabled=false&original_path=%2Fshakti%2Fvbb9fbeef%2FpathEvaluator
                                                   For more information check: https://httpstatuses.com/404

2022-10-02 17:17:40.755 T:3173    ERROR <general>: [plugin.video.netflix (3)] Traceback (most recent call last):
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 29, in wrapper
                                                       func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 245, in run
                                                       success = route(pathitems)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 87, in lazy_login_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 127, in route
                                                       _execute(nav_handler, pathitems[1:], G.REQUEST_PARAMS, root_handler)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 156, in _execute
                                                       executor(pathitems=pathitems)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory_utils.py", line 28, in set_custom_viewmode
                                                       override_content_type = func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/navigation/directory.py", line 102, in home
                                                       dir_items, extra_data = common.make_call('get_mainmenu')  # pylint: disable=unused-variable
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/utils/logging.py", line 139, in timing_wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 95, in make_call
                                                       return make_addonsignals_call(func_name, data)
                                                     File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/common/ipc.py", line 143, in make_addonsignals_call
                                                       _result = pickle.loads(b64decode(result))
                                                   TypeError: __init__() missing 2 required keyword-only arguments: 'request' and 'response'

Steps to reproduce the behavior

Install updates via OSMC's usual updates system?
Try to run Netflix plugin (will encounter "no Crypto module" error)
Try to rerun installation instructions (won't be able to install python3-crypto or python3-cryptodome)
Try to run Netflix plugin, again

Debug log - mandatory
https://paste.kodi.tv/ezoxofuhof.kodi
Possible fix
No response
Additional context
No response
Screenshots
No response

the error shown not concern crypto library, see #1425

Gotcha; thanks for pointing it out. I'll get this closed.


test: add tests for babel plugin

also imported was unused, but now I'm re-using it to not add the wrapper () => {} for components that don't import the library (this could happen if someone was using multiple frameworks in the same file).

I think the ideal is for it to be able to transform every input and work correctly without the user needing to understand the transform. So I think we can tweak Computed to handle () => () => ... which would allow transforming
<Memo>
   {store$.legend.get() ? fn : fn2}
</Memo>

to
<Memo>
  {() => store$.legend.get() ? fn : fn2}
</Memo>

Then the babel plugin can be naive and just wrap everything in a function if not already a function, and Computed handles the case where it becomes a doubly nested function.
And I think the check for JSXText was probably wrong - is there a better way to make this one work?
<Memo>
  {store$.legend.get() ? 'useState' : 'Legend'}
</Memo>

And Computed.ts could change to this to make that work, if you want to play with it. It can do a double computeSelector to handle any cases where the transform adds an extra wrapping function.
import { computeSelector } from '@legendapp/state';
import { ReactElement, ReactNode } from 'react';
import type { ObservableParam } from '../observableTypes';
import { useSelector } from './useSelector';

export function Computed({ children }: { children: ObservableParam | (() => ReactNode) }): ReactElement {
    return useSelector(() => computeSelector(computeSelector(children)), { skipCheck: true }) as ReactElement;
}


google ads integrations support google cloud storage as destination

It seems the google ads integrations does't support google cloud storage as destination.

Hey @jerryan999 , we'll add "google cloud storage destination" to our roadmap. When do you need this feature by?

maybe in the next 2 weeks

Got it. We'll add "google cloud storage destination" next week.

I will contribute to this issue

Hey! Enhancement finished. Waiting  Pull Request approve. @wangxiaoyou1993

Thank you @andreventura02 !
Hi @jerryan999 , the Google Cloud Storage destination has been added. You can upgrade to version 0.8.68 or above to use it.


Ft end to end test 158580405

Well done Kelvin on coming this far in your checkpoint. Going through your PR, I noticed that Hound CI raised some violations that you have not resolved. There is a reason why Hound CI was added as a tool for this project. Please go back and review each of the violations, resolve them and push again.


Increase FD limit

Low open file descriptor limit configured for the process. Current value: 4096, recommended value: 10000.

Increasing limit in /etc/security/limits.d/ doesn't seem to work

Couldn't get to work with manually working on VM


Nextra builds sporadically fail on Vercel

LOGS
[14:21:20.502] Running build in San Francisco, USA (West) – sfo1
[14:21:20.569] Cloning github.com/pingdotgg/uploadthing (Branch: theo/stream-fixes, Commit: c1f6068)
[14:21:21.394] Cloning completed: 824.266ms
[14:21:23.948] Restored build cache
[14:21:23.978] Running "vercel build"
[14:21:24.419] Vercel CLI 29.1.1
[14:21:24.740] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8...
[14:21:24.744] Running "install" command: `pnpm install`...
[14:21:25.286] Scope: all 8 workspace projects
[14:21:25.535] ..                                       | Progress: resolved 1, reused 0, downloaded 0, added 0
[14:21:25.609] ..                                       |   +4   -4 +-
[14:21:26.595] ..                                       | Progress: resolved 4, reused 0, downloaded 4, added 4, done
[14:21:26.707]
[14:21:26.709] Done in 1.9s
[14:21:26.725] Detected Next.js version: 13.4.1
[14:21:26.739] Running "turbo run build"
[14:21:27.034] • Packages in scope: docs
[14:21:27.034] • Running build in 1 packages
[14:21:27.034] • Remote caching enabled
[14:21:27.448] docs:build: cache miss, executing cb1ce34bb09d6835
[14:21:27.958] docs:build:
[14:21:27.958] docs:build: > docs@ build /vercel/path0/docs
[14:21:27.958] docs:build: > next build
[14:21:27.958] docs:build:
[14:21:28.513] docs:build: - info Linting and checking validity of types...
[14:21:30.288] docs:build: - info Creating an optimized production build...
[14:21:31.904] docs:build: [nextra] The repository is shallow cloned, so the latest modified time will not be presented. Set the VERCEL_DEEP_CLONE=true environment variable to enable deep cloning.
[14:21:40.627] docs:build: - info Compiled successfully
[14:21:40.636] docs:build: - info Collecting page data...
[14:21:41.008] docs:build: unhandledRejection Error: Cannot find module '../../next@13.4.1_react-dom<EMAIL_ADDRESS>[14:21:41.008] docs:build: Require stack:
[14:21:41.008] docs:build: - /vercel/path0/docs/.next/server/pages/_document.js
[14:21:41.008] docs:build: - /vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.009] docs:build: - /vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.009] docs:build: - /vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.009] docs:build: - /vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.009] docs:build: - /vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.009] docs:build:     at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
[14:21:41.010] docs:build:     at /vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/require-hook.js:180:36
[14:21:41.010] docs:build:     at Module._load (node:internal/modules/cjs/loader:920:27)
[14:21:41.010] docs:build:     at Module.require (node:internal/modules/cjs/loader:1141:19)
[14:21:41.010] docs:build:     at require (node:internal/modules/cjs/helpers:110:18)
[14:21:41.010] docs:build:     at 4038 (/vercel/path0/docs/.next/server/pages/_document.js:895:18)
[14:21:41.010] docs:build:     at __webpack_require__ (/vercel/path0/docs/.next/server/webpack-runtime.js:25:43)
[14:21:41.013] docs:build:     at 3515 (/vercel/path0/docs/.next/server/pages/_document.js:43:20)
[14:21:41.014] docs:build:     at __webpack_require__ (/vercel/path0/docs/.next/server/webpack-runtime.js:25:43)
[14:21:41.015] docs:build:     at __webpack_exec__ (/vercel/path0/docs/.next/server/pages/_document.js:926:39) {
[14:21:41.015] docs:build:   type: 'Error',
[14:21:41.015] docs:build:   code: 'MODULE_NOT_FOUND',
[14:21:41.015] docs:build:   requireStack: [
[14:21:41.015] docs:build:     '/vercel/path0/docs/.next/server/pages/_document.js',
[14:21:41.015] docs:build:     '/vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.016] docs:build:     '/vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.016] docs:build:     '/vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.016] docs:build:     '/vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.025] docs:build:     '/vercel/path0/node_modules/.pnpm/next@13.4.1_@babel+core@7.21.3_react-dom<EMAIL_ADDRESS>[14:21:41.025] docs:build:   ]
[14:21:41.026] docs:build: }
[14:21:41.061] docs:build:  ELIFECYCLE  Command failed with exit code 1.
[14:21:41.076] docs:build: ERROR: command finished with error: command (/vercel/path0/docs) pnpm run build exited (1)
[14:21:41.077] command (/vercel/path0/docs) pnpm run build exited (1)
[14:21:41.077]
[14:21:41.077]   Tasks:    0 successful, 1 total
[14:21:41.077]  Cached:    0 cached, 1 total
[14:21:41.077]    Time:    14.301s
[14:21:41.077] Summary:    /vercel/path0/.turbo/runs/2PcQ37IR7uGBm6Xx18ZdWpmvDiO.json
[14:21:41.077]
[14:21:41.077]  ERROR  run failed: command  exited (1)
[14:21:41.091] Error: Command "turbo run build" exited with 1
[14:21:41.381] Deployment completed
[14:21:41.334] BUILD_UTILS_SPAWN_1: Command "turbo run build" exited with 1

This seems to be the same issue, with solution.
https://github.com/vercel/next.js/discussions/33364

For history's sake, if anyone else has this issue this fixed it https://github.com/pingdotgg/uploadthing/pull/17/


Add gstf_preparation tool, remove gff3_to_json and fasta_header_converter

@anilthanki Ready to be merged for me. If you do it, maybe it is worth using the "Squash and merge" button to not increase the repository size with all the various test data modifications in these commits.


"switching to" Loop.

Expected Behavior
work
Actual Behavior
the bot make a loop
Steps to Reproduce
don't have pokeball and have the inventory full
Other Information
OS: Win10

[x] PokemonGO Bot v1.0
[x] Configuration initialized

[x] Address found: 48.842606,2.360102
[x] Position in-game set as: (48.8424039, 2.3599706, 0.0)

[#]
[#] Username: Eki
[#] Acccount Creation: 2016-07-08 02:08:55.821000
[#] Bag Storage: 352/350
[#] Pokemon Storage: 193/250
[#] Stardust: 29711
[#] Pokecoins: 300
[#] PokeBalls: 0
[#] GreatBalls: 40
[#] UltraBalls: 0
[#] -- Level: 17
[#] -- Experience: 143354
[#] -- Experience until next level: 16646
[#] -- Pokemon Captured: 438
[#] -- Pokestops Visited: 494
[x] Initial Transfer.
[x] Will NOT transfer anything above CP 1000
[x] Releasing Pokemon #129 and CP 91
[x] Releasing Pokemon #129 and CP 82
[x] Releasing Pokemon #129 and CP 76
[x] Releasing Pokemon #129 and CP 40
[x] Releasing Pokemon #129 and CP 35
[x] Releasing Pokemon #129 and CP 10
[x] Releasing Pokemon #13 and CP 91
[x] Releasing Pokemon #13 and CP 14
[x] Releasing Pokemon #16 and CP 95
[x] Releasing Pokemon #16 and CP 89
[x] Releasing Pokemon #16 and CP 77
[x] Releasing Pokemon #16 and CP 59
[x] Releasing Pokemon #16 and CP 42
[x] Releasing Pokemon #16 and CP 24
[x] Releasing Pokemon #16 and CP 10
[x] Releasing Pokemon #21 and CP 85
[x] Releasing Pokemon #21 and CP 26
[x] Releasing Pokemon #21 and CP 10
[x] Releasing Pokemon #41 and CP 94
[x] Releasing Pokemon #41 and CP 92
[x] Releasing Pokemon #41 and CP 89
[x] Releasing Pokemon #41 and CP 61
[x] Releasing Pokemon #41 and CP 59
[x] Releasing Pokemon #41 and CP 44
[x] Releasing Pokemon #41 and CP 43
[x] Releasing Pokemon #41 and CP 26
[x] Releasing Pokemon #41 and CP 25
[x] Releasing Pokemon #41 and CP 10
[x] Releasing Pokemon #60 and CP 31
[x] Releasing Pokemon #19 and CP 90
[x] Releasing Pokemon #19 and CP 87
[x] Releasing Pokemon #19 and CP 86
[x] Releasing Pokemon #19 and CP 67
[x] Releasing Pokemon #19 and CP 22
[x] Releasing Pokemon #19 and CP 20
[x] Releasing Pokemon #19 and CP 10
[x] Transfering Done.
[#]
[x] Starting PokemonGo Bot....
[#] Scanning area for objects (1 / 25)
[#] Walking from (48.8424039, 2.3599706) to (48.8424039, 2.3599706) for approx. 0.0 seconds
[#] Finished walking
[#] (48.8424039, 2.3599706, 0)
 [#] Found fort 03a51848ad3e4d40aa121ea0d11ccf77.16 at distance 0.462390442177km
[#] Need to move closer to Pokestop
[#] Walking from (48.8424039, 2.3599706) to (48.841575, 2.353779) for approx. 36.0 seconds
[#] Something rustles nearby!
17
[#] A Wild Bulbasaur appeared! [CP 149] [Potential 0.38]
[x] Out of pokeballs, switching to farming mode...
22
[#] A Wild Pidgey appeared! [CP 59] [Potential 0.49]
[x] Out of pokeballs, switching to farming mode...
30
[#] A Wild Rattata appeared! [CP 100] [Potential 0.67]
[x] Out of pokeballs, switching to farming mode...
[#] Finished walking
[#] Arrived at Pokestop
[#] Now at Pokestop: Scene De Chasse - Spinning...
[#] Inventory is full, switching to catch mode...
 [#] Found fort 2f05a52c75f34890ac43804abcae1865.16 at distance 0.504900167503km
[#] Need to move closer to Pokestop
[#] Walking from (48.841575, 2.353779) to (48.841184, 2.353325) for approx. 5.0 seconds
[#] Something rustles nearby!
29
[#] A Wild Pidgey appeared! [CP 150] [Potential 0.64]
[x] Out of pokeballs, switching to farming mode...
16
[#] A Wild Rattata appeared! [CP 77] [Potential 0.36]
[x] Out of pokeballs, switching to farming mode...
[#] Finished walking
[#] Arrived at Pokestop
[#] Now at Pokestop: Photobomb Girafe - Spinning...
[#] Inventory is full, switching to catch mode...
 [#] Found fort 42976579b5cb439899f0e30a6116635c.16 at distance 0.422543003822km
[#] Need to move closer to Pokestop
[#] Walking from (48.841184, 2.353325) to (48.842952, 2.354257) for approx. 17.0 seconds
[#] Something rustles nearby!
16
[#] A Wild Rattata appeared! [CP 77] [Potential 0.36]
[x] Out of pokeballs, switching to farming mode...

[x]Exiting PokemonGo Bot

yes, this is a issue.

tracking in #801


Feature -  RSetCache.addIfAbsent(Map<V, Duration> objects)  added

Added RSetCache.addIfAbsent(Map<V, Duration> objects) method

All the problems have been solved, please check, thanks. @mrniko

Please correct all checks

Please correct all checks

Sorry, fixed.

Thanks for contribution!


应用启动监听后没有收到请求，也没有其他逻辑发起请求，就会一直打印日志

Describe the Question
在vpc环境下应用启动监听后没有收到请求，也没有其他逻辑发起请求，就会一直打印这个日志，看请求地址是请求vpc下其他服务器的端口
2023/02/07 17:21:08.112555 engine.go:434: [Error] HERTZ: Error=read tcp <IP_ADDRESS>:9957-><IP_ADDRESS>:18302: wsarecv: An existing connection was forcibly closed by the remote host., remoteAddr=<IP_ADDRESS>:18302
2023/02/07 17:21:08.527573 engine.go:434: [Error] HERTZ: Error=read tcp <IP_ADDRESS>:9957-><IP_ADDRESS>:20775: wsarecv: An existing connection was forcibly closed by the remote host., remoteAddr=<IP_ADDRESS>:20775
2023/02/07 17:21:09.395728 engine.go:434: [Error] HERTZ: Error=read tcp <IP_ADDRESS>:9957-><IP_ADDRESS>:35028: wsarecv: An existing connection was forcibly closed by the remote host., remoteAddr=<IP_ADDRESS>:35028
Reproducible Code
h := server.Default(server.WithHostPorts(":9957"), server.WithMaxRequestBodySize(50<<20))
h.Spin()
Hertz version:
v0.3.2

Seems that “An existing connection was forcibly closed by the remote host” does not belong to Hertz.
I cannot reproduce this through the codes you paste above.
Could you please grep this error message locally to find where it came from?

Is your hertz project deployed on Windows?
If so, it maybe the error that client actively closes the connection - which can be ignored - probably is triggered by the idle timeout by client side.

应用是部署在windows上的

Is your hertz project deployed on Windows? If so, it maybe the error that client actively closes the connection - which can be ignored - probably is triggered by the idle timeout by client side.

应用是部署在windows上的

Is your hertz project deployed on Windows? If so, it maybe the error that client actively closes the connection - which can be ignored - probably is triggered by the idle timeout by client side.

应用是部署在windows上的

Okay, just like what I said above, this error can be ignored.
If you don't wanna see this error on the server side, try config a shorter idle timeout for the server - let server trigger the closing action of the connection.
fyi: https://www.cloudwego.io/zh/docs/hertz/reference/config/


Spelling Errors and Node.js Version Bump

Describe the bug
The nodejs version needs to be updated since the build fails (and there are spelling errors in the Dockerfile).
The old nodejs version failed to build because it was incompatible with the Alpine repository. In the Dockerfile, the specific version of nodejs used was 16.16.0-r0. However, during the package installation step, when running apk add --no-cache nodejs=16.16.0-r0, the package manager was unable to find and select the required version of nodejs from the repository. This should be bumped to 16.20.1-r0
This failure occurred because the Alpine repository might not have contained the exact version 16.16.0-r0 of nodejs.
To Reproduce

Clone the repository.
Checkout the new-ui branch with the Dockerfile.
Build the Docker image using the command docker build . -t petio.

Expected behavior
The Docker image should be built successfully without any spelling errors, and the nodejs version should be updated to the desired version.
Screenshots

Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
The spelling errors in the Dockerfile need to be corrected, and the nodejs version should be bumped to a compatible version to avoid conflicts with the Alpine repository. This will ensure a smooth build process and proper functioning of the application within the Docker container.

You should checkout the docker image in the dev branch it's more up to date then the new-ui branch


Enable c# object dump in debugger console from code

VSCode Version: 1.5
OS Version: OSX 10.11.6

Steps to Reproduce:

Install c# extension
Create .net core application
Write complex object to console
Console.WriteLine(new Dictionary<string, string>{{"foo", "bar"}});
Debug.WriteLine(new Dictionary<string, string>{{"foo", "bar"}});
Console.WriteLine(Newtonsoft.Json.JsonConvert.SerializeObject(new Dictionary<string, string>{{"foo", "bar"}}));
Run program
Inspect debugger console

Result:

Debugger console contains string representation of the object:
System.Collections.Generic.Dictionary`2[System.String,System.String]
or
{"foo":"bar"}

Expected result:

Debugger console contains object which can be interacted with. Same as if new Dictionary<string, string>{{"foo", "bar"}} would be executed in debugger console:
Count = 1
[0] [KeyValuePair]:{[foo, bar]}
Raw View

Notes:
LinqPad has extension method called Dump. It allows to render complex objects in form of tables. It would be great to have something similar in vs code. Yes, I can put breakpoint and manually dump object. But I want to be able to do that from code. So I can re-run program and instantly see complex object in debugger log. Don't really care what would be the method to dump objects.

@isidorn not sure if this should be reported to C# extension repository.

@ghisguth please report this issue to the c# extension here https://github.com/OmniSharp/omnisharp-vscode
The C# extension would need to return an object with a reference > 0 when the user evaluates an expression like this. Then vscode will display that the object can be expanded and on expansion ask for children from the debug adapter for the given reference.

Thank you. Reported here: https://github.com/OmniSharp/omnisharp-vscode/issues/763


Unbuffered chunked streaming

Unbuffered chunked streaming
Fabio uses the go ReverseProxy which buffers the outgoing response to the client.
It uses a ResponseWriter with a buffered writer which buffers all outgoing data with a size of 4kB.
As workaround an Accept: text/event-stream request header can be set to enable periodically flushing of that buffer. This needs to be set already in the incoming request, because the flush interval must be set already in the ReverseProxy constructor.
Setting the accept header is not suitable for us, because we need to get the chunked resource directly from the browser. It streams live data.
In addition buffering up to 4kB before forwarding the response increases the latency for each request.
That's why we modified the default ReverseProxy implementation and added a Flush() after the write to the response writer which solves both problems for us.
If you think it makes sense to adopt this change we are happy to open a pull request.

That sounds interesting and there was https://github.com/fabiolb/fabio/issues/129#issuecomment-315313167 which seems related. It was always kind of clear that forking the reverse proxy would eventually happen but I'm glad that for the most part I didn't have to.
So my suggestion would be this:

Please send a PR but make using the streamed proxy configurable. If the streaming proxy is a drop-in replacement of the reverse proxy with more features then it should replace it in the long run. If it has a different feature set then it must be configurable.

Consider pushing a PR towards Go to add this feature there as well.

Hello,  here's
Thanks @bharendt approach but we wanted to try to avoid unnecessary flushes so we decided to add and Target option  which add flush to desired route.
E.g:
route add nomad nomad.tommyvicananza.io http://<IP_ADDRESS>:4646 opts "flush=-1s"

Hi
We have the same issue (fabio:1.5.15-go1.15.5).
Our use-case is to display, by streaming (SSE), all statuses of a given object. Because the size of the buffer is never reached, the content is never displayed.
Updating proxy.flushinterval in fabio.properties has no impact.
Is it possible to configure the size of buffer to be taken into account while streaming?

This is a serious problem when putting Fabio in front of Hashicorp Nomad: https://github.com/hashicorp/nomad/issues/5404
If I access my nomad instance directly, then viewing the logs of any running job works fine. But if I try to view them when connecting via Fabio, it doesn't work. Apparently flush=-1s is supposed to help here, but it doesn't have any effect.
What's the status on this issue please?

I hit the same problem.
@sbrl  - flush=-1s is a product of the patch @tommyvicananza made in his custom build - it's not in mainline Fabio as far as I can see.
per-route config for this would be ideal, would you be willing to submit this as a PR @tommyvicananza  ?
The workaround for now is to set proxy.globalflushinterval="-1s"
In the environment I'm working on, globally disabling buffering should be fine, but for many this will be very inefficient.
Nomad does not trigger the SSE handling, as it uses content-type "application/json"

Thanks, @james-masson! I've implemented that as a temporary fix. It seems to make it to work in some scenarios where it didn't before, but not others (e.g. when there aren't many logs) - so there's still work that needs doing here.

Nomad does not trigger the SSE handling, as it uses content-type "application/json"

Does that mean that even implementing this fix won't completely solve the problem? If so, that explains the behaviour I'm seeing?

I tried to set  FABIO_PROXY_GLOBALFLUSHINTERVAL = "-1s", and it doesn't help with Nomad logs issue...


Increase memory request and limit to avoid OOM error

After creating a simple (1-1-1) management cluster and a 1-1-1 workload cluster, the memory usage was around 25Mi which is over the memory request and close to the memory limit. A custom encountered OOM error when upgrading a cluster.
Issue #, if available:
Description of changes:
Increase the memory request/limit from 20Mi/30Mi to 50Mi/100Mi.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cc @g-gaston


Update reference C++ entry-point driver to use the latest QIR emission

This change updates the reference C++ entry-point driver to be compatible with the latest QIR emission.
One of the important changes is that it is now assumed that interop QIR functions are always void.

Reapproving.


Adding new game

PR Description 📜
I have added new game : Guess the friends name.
Gameplay Overview: In “Guess the Friend's Name” players embark on a journey of memory and luck. player enters the names of four close friends into the game. The game then generates a random name from the list, and the player must use their intuition and knowledge about their friends to guess which name has been chosen.
Fixes #3931

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @TiwariRahul16 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

/assign

Hii @kunjgit  @ishita-43
can you check it.....

hii @kunjgit
please check it.

Thank you  @TiwariRahul16 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Add us-east-2 (New York) to Grafana/Prometheus data

I've already added us-east-2 to the Uncletopia TF2 Cluster dashboard.
It just needs to be added to the Prometheus data to show up in the panel :)
There's also the TF2 Player Info dashboard which needs to be modified to add the us-east-2 server.

Closing since Grafana is not even working right now


Expose contract fields

WIP: Need to check the Formtastic PR, then I add tests and doc before merge, just opened this PR so we can discuss seeing some code.
This PR is related to https://github.com/justinfrench/formtastic/issues/1141
My proposal to solve the problem on the issue above, without affecting the current Formtastic behavior with AR models.
When a Reform object is passed to Formtastic builder, its InputsHelper tries to discover the object field, if the object respond to form_object_fields (as suggested in this PR), Formtastic knows how to build the form for the object based on the specified fields.
//cc @justinfrench

Hi @justinfrench - where does formtastic add #form_object_fields to ActiveModel? Is that a method you guys add as your formtastic API?
@fernandes We can add this for compatibility with formtastic, but this has to go into a separate module and has to be included explicitely to document API dependencies. We do the same with simple_form and ActiveModel. Thanks!!! :heart:

@apotonick answered here I think.

I'm closing this as it needs still some changes prior to merging see @apotonick comment 3 Apr 2015 and it's been a while since the last update.
If you still want to provide support for this you will need to PR the reform-rails gem as model_reflections have been moved.
Thanks!

ok @fran-worley , I'm not using ActiveAdmin anymore, no problem to close. thank you!


Disabled Patching VkFrameBoundaryEXT.pTag XML

The error in the XML was fixed at Vulkan Headers release 1.3.267 so the patch is no longer needed.
Left the patching code in-place but commented-out as an example of how to do it next time the spec has an error that affects codegen (It contains Mike Magic).

CI gfxreconstruct build queued with queue ID 62109.

CI gfxreconstruct build # 3382 running.

CI gfxreconstruct build # 3382 passed.


Convert into classes

/Maps/Operations.CS has these

It's pretty self explanatory what to do here

Hi @SupaFresh do you need someone to take on this issue?

big thanks to @rsilvanet for solving this!


The site isn't supported

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Switzerland
Example URLs
https://fastleanpro.com/video.php
Provide a description that is worded well enough to be understood
Hello,
Can you provide support for site like that:
https://fastleanpro.com/video.php
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
env_video_dnld) pavel@MISSURI:~$ yt-dlp https://fastleanpro.com/video.php
[generic] Extracting URL: https://fastleanpro.com/video.php
[generic] video: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] video: Extracting information
ERROR: Unsupported URL: https://fastleanpro.com/video.php
(env_video_dnld) pavel@MISSURI:~$

I don't think we would want to add support for a scam site.
Any reason you can't just copy the YouTube video URL yourself? https://www.youtube.com/watch?v=UZ_fS0K9Uhs

IMO we don't need to support sites that only serve 1 video, and it doesn't embed the youtube video in the webpage itself, so there is no improvement that could be made to youtube embed detection. Just use the youtube URL that sepro found

There is some sort of universal player that looks as if it might be used on other sites, or maybe just sites created by the same dev(s):

The JSON URL built by the player (f'//{playerjs_hostname}/setups/{video_id}.json') with the video_id 'FLP/lead3' from the player manager call (first arg) gives details for versions of the video on various video platforms, including 4 YT IDs (Including the ID above) and 2 Vimeo IDs (landscape and portrait versions).

The player looks very self-made and is used by a whole host of scam sites, all looking identical

https://getpowerbite.com/video.php
https://theprostadine.com/video.php
https://thememomaxpro.com/video.php
https://getkeravitapro.com/video.php
https://thefortbite.com/video.php
https://synogut101.com/video.php

Even if an extractor could be written, I strongly oppose adding support for scam sites.


Table is not getting identified completely after training.

I am trying to fine tune table structure recognition model on 10000 financial tables. I am resuming my training from TATR-v1.1-All weights. I have done annotations for all six classes : table, row, column, column headers, span cell, row headers. I have also performed postprocessing on annotated bboxes to align them properly with table. Using padding of 30 for training table images. When I am running inference pipeline with newly trained weights, tables are not fully getting detected. It is detecting table from line below Table column headers as shown in fig. Rows, columns and other things are getting identified correctly. What could be the issue? How can i improve my model?
@bsmock Can you please help

Hey @Nikhilsonawane07 ,
I am also trying to fine tune the TSR model (microsoft/table-structure-recognition-v1.1-all) using a proprietary annotated dataset of financial tables with just table row and table column as the classes. The results are extremely bad.
I used the fine tuning notebook mentioned in https://github.com/NielsRogge/Transformers-Tutorials/tree/master/DETR. How exactly did you fine tune the model, using the script in this repo or the ones provided by hugging face?
Also, does the retrained model 'microsoft/table-structure-recognition-v1.1-all' also require table images and bounding boxes to have some sort of padding for fine tuning? is this just applicable for the entire table boundary or even for the cell boundaries? my cell boundaries are tightly cropped around the text.


documentation: README example for custom post layout is incorrect

The pages/next-banner-layouts/post.jsx example in the readme is incorrect.
The part where it references useBannerData is currently:
  const {
    title = "Placeholder title",
    description = "Placeholder description"
  } = useBannerData();

while it should be...
  const {
    meta: { title = "Placeholder title", description = "Placeholder description" },
  } = useBannerData();

Thanks! Fixed in https://github.com/alvarlagerlof/next-banner/commit/e57df59e5d670b69a81f36b75dfe931bdc607695


Event details page should allow validation of Eventbrite link

If Eventbrite is being used to handle registration for an event, the event details page should allow the admin to validate the key.  This should not happen automatically (since it takes a while, and some events don't use Eventbrite), but should be a single-button operation.

@gvwilson What's the status on this issue?

Not needed for 1.0.

Should we include this in v1.1 or later?

Let's worry about that after this is deployed.

@maneesha @pbanaszkiewicz can this one be closed as stale?

Will reopen if necessary.


Add support for copying external schemas to components.schemas

This fix adds an option to localizeDependencies that copies external schemas into this.components.schemas and updates all of the $refs to be local paths.
The feature is then enabled when calling localizeDependencies on each module in the SDK task, which enables code generation of shared enums.

:tada: This PR is included in version 1.4.1-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bug: Axum 0.7.2 integration trait implementation

Expected Behavior
Used the getting started guide on this repository along with the axum example.
The following example to work:
https://github.com/async-graphql/examples/tree/master/axum
To have a simple graphiql UI setup with a GraphQL server.
Actual Behavior
The following error is thrown:
error[E0277]: the trait bound `GraphQL<async_graphql::Schema<Query, EmptyMutation, EmptySubscription>>: tower_service::Service<axum::http::Request<Body>>` is not satisfied
   --> .../src/main.rs:113:64
    |
113 | ...raphiql).post_service(GraphQL::new(schema)));
    |             ------------ ^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service<axum::http::Request<Body>>` is not implemented for `GraphQL<Schema<Query, ..., ...>>`
    |             |
    |             required by a bound introduced by this call
    |
    = help: the trait `tower_service::Service<http::request::Request<_>>` is implemented for `GraphQL<async_graphql::Schema<Query, EmptyMutation, EmptySubscription>>`
    = help: for that trait implementation, expected `http::request::Request<_>`, found `axum::http::Request<Body>`
note: required by a bound in `MethodRouter::<S, E>::post_service`
   --> /.../axum-0.7.2/src/routing/method_routing.rs:864:5
    |
864 |     chained_service_fn!(post_service, POST);
    |     ^^^^^^^^^^^^^^^^^^^^------------^^^^^^^
    |     |                   |
    |     |                   required by a bound in this associated function
    |     required by this bound in `MethodRouter::<S, E>::post_service`
    = note: this error originates in the macro `chained_service_fn` (in Nightly builds, run with -Z macro-backtrace for more info)

Steps to Reproduce the Problem
async-graphql = { version = '6', features = [
  'bigdecimal',
  'chrono',
  'chrono-tz',
  'dataloader',
  'dynamic-schema',
  'playground',
] }
async-graphql-axum = { version = '6' }
axum = { version = '0.7' }

// main.rs
use async_graphql::{http::GraphiQLSource, EmptyMutation, EmptySubscription, Object, Schema};
use async_graphql_axum::GraphQL;
use axum::{
  response::{self, IntoResponse},
  routing::get,
  Router,
};
use tokio::net::TcpListener;

struct Query;

#[Object]
impl Query {
  async fn ping(&self) -> &'static str {
    "success"
  }
}

async fn graphiql() -> impl IntoResponse {
  response::Html(GraphiQLSource::build().endpoint("/").finish())
}

#[tokio::main]
async fn main() {
  let schema = Schema::build(Query, EmptyMutation, EmptySubscription).finish();

  let app = Router::new().route("/", get(graphiql).post_service(GraphQL::new(schema)));

  println!("GraphiQL IDE: http://localhost:8000");

  let listener = TcpListener::bind("<IP_ADDRESS>:8000").await.unwrap();

  axum::serve(listener, app).await.unwrap();
}

Specifications

Version: 6.0.11
Platform: MacOS
Subsystem:

This is probably because Axum 0.7 was merged this week, and a new crates.io release hasn't been published yet.
As a short-term solution, you could either use axum 0.6 or make your 2 async-graphql dependencies pull from the git repo instead of crates.io.

@sunli829 maybe it would be a good idea to publish a new release?

Actually I'm getting this, when I use the git version, although it compiles just fine with the latest release
error[E0277]: the trait bound `async_graphql::Schema<Query, EmptyMutation, EmptySubscription>: async_graphql::executor::Executor` is not satisfied
  --> src/lib.rs:34:54
   |
34 |     let app = Router::new().route("/", get(graphiql).post_service(GraphQL::new(schema)));
   |                                                      ^^^^^^^^^^^^ the trait `async_graphql::executor::Executor` is not implemented for `async_graphql::Schema<Query, EmptyMutation, EmptySubscription>`, which is required by `GraphQL<async_graphql::Schema<Query, EmptyMutation, EmptySubscription>>: tower_service::Service<axum::http::Request<Body>>`
   |
   = help: the trait `async_graphql::executor::Executor` is implemented for `async_graphql::schema::Schema<Query, Mutation, Subscription>`
   = note: required for `GraphQL<async_graphql::Schema<Query, EmptyMutation, EmptySubscription>>` to implement `tower_service::Service<axum::http::Request<Body>>`

For more information about this error, try `rustc --explain E0277`.

I think this issue has been fixed in 7.0.0.


$app path is not resolved inside a seed function

Bug description
Using the line
import { dev } from '$app/env'

inside a database seed function, crashes. ts-node is unable to resolve the $app path.
The module  that is called:
import pkg, { PrismaClient } from '@prisma/client';
import { dev } from '$app/env';

declare global {
	var _prisma: PrismaClient; // eslint-disable-line
}

let prisma;
if (dev) {
	if (!global._prisma) {
		global._prisma = new PrismaClient();
	}
	prisma = global._prisma;
} else {
	const { PrismaClient } = pkg;
	prisma = new PrismaClient();
}

export default prisma as PrismaClient; // type assertion for shim

How to reproduce

start a new svelte kit project
install ts-node and prisma
run the database seed function

Or test the minimal crashing repository https://github.com/wvhulle/-app-bug-report
Expected behavior
I expect the database to be seeded and the $app path to be resolved.
Prisma information
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "sqlite"
  url      = "file:./dev.db"
}

model User {
  id  Int    @id @default(autoincrement())
  name String
}

Environment & setup

OS: Manjaro Linux
Database: SQLite
Node.js version: v16.13.1

Prisma Version
prisma                  : 3.6.0
@prisma/client          : 3.6.0
Current platform        : debian-openssl-1.1.x
Query Engine (Node-API) : libquery-engine dc520b92b1ebb2d28dc3161f9f82e875bd35d727 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli dc520b92b1ebb2d28dc3161f9f82e875bd35d727 (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core dc520b92b1ebb2d28dc3161f9f82e875bd35d727 (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt dc520b92b1ebb2d28dc3161f9f82e875bd35d727 (at<EMAIL_ADDRESS>Default Engines Hash    : dc520b92b1ebb2d28dc3161f9f82e875bd35d727
Studio                  : 0.440.0

Does it work if you run node --experimental-specifier-resolution=node --loader ts-node/esm ./prisma/seed.ts directly instead of via prisma db seed?

Hey, I fixed it. Your suggestion didn't work. The problem was that the $app
was only available in svelte kit, not a problem of prisma but I needed the
line to work around another Prisma svelte problem.
On Fri, 17 Dec 2021, 21:00 Jan Piotrowski, @.***> wrote:

Does it work if you run node --experimental-specifier-resolution=node
--loader ts-node/esm ./prisma/seed.ts directly instead of via prisma db
seed?
—
Reply to this email directly, view it on GitHub
https://github.com/prisma/prisma/issues/10745#issuecomment-996998584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2VD2GQCL7XRXIOMGC3RYLUROJGVANCNFSM5KJGFI4Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok thanks, so not Prisma at fault but just surfaced there - happens. Thanks for the update, I will close the issue then.
PS: If the other Prisma svelte problem is a common thing, make sure to create an issue as well for that please.


react-native won't install with node 0.12.2 and npm 2.9.1

sudo npm install -g react-native-cli
/usr/local/bin/react-native -> /usr/local/lib/node_modules/react-native-cli/index.js
npm WARN unmet dependency /usr/local/lib/node_modules/nativescript requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm,
npm WARN unmet dependency which is version 2.9.1
<EMAIL_ADDRESS>/usr/local/lib/node_modules/react-native-cli
localhost:node-v0.12.2 1$ sudo npm install -g react-native-cli
/usr/local/bin/react-native -> /usr/local/lib/node_modules/react-native-cli/index.js
npm WARN unmet dependency /usr/local/lib/node_modules/nativescript requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm,
npm WARN unmet dependency which is version 2.9.1
<EMAIL_ADDRESS>/usr/local/lib/node_modules/react-native-cli

@cheunghy is react-native in your PATH? I don't see any failure -- those are just warnings that look unrelated to react-native. I'm going to close this since react-native-cli installs cleanly for me:
ide:~$ nvm install 0.12
######################################################################## 100.0%
Now using node v0.12.3 (npm v2.9.1)

ide:~$ npm install -g react-native-cli
/Users/ide/.nvm/versions/node/v0.12.3/bin/react-native -> /Users/ide/.nvm/versions/node/v0.12.3/lib/node_modules/react-native-cli/index.js
<EMAIL_ADDRESS>/Users/ide/.nvm/versions/node/v0.12.3/lib/node_modules/react-native-cli

ide:~$ which react-native
/Users/ide/.nvm/versions/node/v0.12.3/bin/react-native

But I still get errors when creating a project
react-native init AwesomeProject
This will walk you through creating a new React Native project in /Users/name/Desktop/AwesomeProject
npm WARN locking Error: EACCES, open '/Users/name/.npm/_locks/react-native-e53005cf953a3657.lock'
npm WARN locking     at Error (native)
npm WARN locking  /Users/name/.npm/_locks/react-native-e53005cf953a3657.lock failed { [Error: EACCES, open '/Users/name/.npm/_locks/react-native-e53005cf953a3657.lock']
npm WARN locking   errno: -13,
npm WARN locking   code: 'EACCES',
npm WARN locking   path: '/Users/name/.npm/_locks/react-native-e53005cf953a3657.lock' }
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save" "react-native"
npm ERR! node v0.12.2
npm ERR! npm  v2.9.1

npm ERR! Attempt to unlock /Users/name/Desktop/AwesomeProject/node_modules/react-native, which hasn't been locked
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/name/Desktop/AwesomeProject/npm-debug.log
`npm install --save react-native` failed
localhost:Desktop 1$ sudo react-native init AwesomeProject
Password:
This will walk you through creating a new React Native project in /Users/name/Desktop/AwesomeProject
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"~0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})

><EMAIL_ADDRESS>install /Users/name/Desktop/AwesomeProject/node_modules/react-native/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

Sounds like you want to install Node (or better yet io.js) with nvm or brew so you don't run into file permissions needing sudo everywhere.

@cheunghy If you're getting stuck try these steps as a completely fresh start:
First things first: Assuming you have Xcode, type this into your terminal:
xcode-select -p

If it returns any other than a valid path, install command line tools by typing in shell xcode-select --install

Install homebrew by typing

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Confirm homebrew is properly configured by typing

brew -v && brew doctor

Install npm & node:

brew install node

Confirm npm & node were installed correctly by typing

node -v && npm -v

Install react command line tools by typing

npm install -g react-native-cli

CD into a different directory and then type

react-native init AwesomeProject

If all is well you might get a warning or two about node version numbers but the process should finish after a minute or two.
Hope that helps!


tablex 0.0.8 shows warnings on the new typst 0.12.0rc1

I am sure you are aware of the changes in  the new version of typst which throws warnings galore  like
warning: `counter.display` without context is deprecated
warning: `locate` with callback function is deprecated
warning: `style` is deprecated
warning: calling `state.final` with a location is deprecated
warning: calling `measure` with a styles argument is deprecated
warning: calling `measure` with a styles argument is deprecated
warning: `locate` with callback function is deprecated

The documents compile obviously, but warnings are confusing causal users

Thanks, I hope to put out an update not too long after the release.


[Collector Marketing] Tweak styles on the Collector Marketing page

This PR addresses the cosmetic issues for the Collector Marketing landing page described in #1020.

Other than the S3 question, everything looks good to me.

@mzikherman @broskoski unless yall have any feedback. I'm good to merge this.


no preview?

why is there no image [button] and no preview button?

Simply because this is the setup I always use for my clients. Normally I have all images in galleries and no inline-images.
As for the preview button, I did not find the functionality very useful.
The ideal solution would be to have the buttons configurable in the field settings. I’m happy to accept a pull request for that ;).

OK then. gonna use Editor for Symphony for my needs.

No problem. You could also simply adjust the config to fit your needs: https://github.com/animaux/simplemde/blob/master/assets/simplemde.publish.js#L19
Options here —> https://github.com/sparksuite/simplemde-markdown-editor#configuration


no scrollbar & online indicator bug

Looks like this theme hides the scrollbar. Id like to see that back to be able to scroll easily. Using arrow keys is not a permanent solution.
Sometimes, the status indicator on people in the right sidebar is a rectangle instead of a square. It seems to happen randomly but is annoying nontheless.
otherwise a great theme

You can customize Comfy by going into your theme folder and opening comfy.theme.css if you're on BetterDiscord, here you'll be able to get the scrollbars back. If the setting isn't working you may be on an older version of the theme, watch out for the latest version here : https://betterdiscord.app/theme/Comfy


How to Get email address

Is there any possible way to get the email address using this awesome plugin
The code i'm using to get the public profile is =>
http.getJSON(Config.FACEBOOK_GRAPH_API_URL + "/me?fields=first_name,last_name,picture,email&access_token=" + eventData.loginResponse.token).then((res) => {                 console.dir(res);
the response object doesn't contain the email address  only "public profile"
any suggestions  ??
much appreciated   ..

Hi, @yonkoGH
Here is the Graph API User reference. There can be found information about the API.
In your case the field that you need is the email.
Here is an example how you can use it to observe the user's email:
http.getJSON(config.FACEBOOK_GRAPH_API_URL + "/" + this.userId + "?fields=email&access_token=" + this.accessToken).then((res) => {
  console.log("Email: " + res["email"])
}, function (err){
  alert(err)
});

In the response of the request the field 'email' returns the desired value.
Note that this field will not be returned if no valid email address is available.
Regards,
NativeScript Team


Support for null-safety?

Hi! First of all, thank you for your work and time creating this package, is amazing and help me a lot of times!!
There are any plan to migrate this package to null-safety? I think this is a package that another packages depends on, so there are a roadmap to be migrated?
Thank you!

@avioli @hacker1024 I would appreciate if this would be merged 👍
Also, the Dart/Flutter team already encourages publishing the migrated packages: See this blog post.


[github/workflows] cargo check --release --all-features

Add a workflow for Rust diffs to check that all features build under the release configuration.
Test Plan
Check that it would have caught the issue that was fixed by #6510.

Also, thoughts on making this a required workflow?  (My vote is yes).

This is a very expensive workflow and i'm not quite sure what benefit it has over the other workflows we have.

Also i'm not quite sure what issue you hit before, but debug assertions do not require that they are annotated, see the docs here: https://doc.rust-lang.org/std/macro.debug_assert.html

Got it, I didn't know there was a release build in the nightly, so TIL!  Where does one go to keep track of that, just the "Actions" page on Github?  I'm happy to close this PR and update the thread about it in that case.


PHP is not coloring

Hello ,
I've got a problem ... my files in PHP are not coloring ... it always happens that involves files in PHP ... any solution? My Atom is in Patch 0.201.0
Thank you !!
Waiting for answers !

without seeing a screenshot its hard to say but add a blank line on top, save the file and reopen it. There was a bug with files that had HTML in the beginning

@leotecco Yeah, can you please share a screenshot of what you see (Atom's window fully visible), and a link to the file in question?

Screenshot...
Very strange ... Because Atom is in version 0.201.0 and in version 0.198.0 fixed the bug...
"v0.198.0 (2015-05-07)
Notable Changes
Fixed an issue where certain PHP files would not be colorized"
https://atom.io/releases
I am Brazilian... do not be surprised with the words in the file hahahaha...
Thank you for help...

As you can see in the bottom right corner it says its an html file. Try my tip from before or manually set it to php

I believe this is a duplicate of https://github.com/atom/atom/issues/2734 -- please follow that for updates.


Add ability to check files one by one and print which are currently checked/parsed

When trying to found file which crashes, I use binary search so I:

run ruff to check for crash
remove half of files
run again to see if crash still happens
if yes, back to point 2
if no, restore half of files, remove other part, back to point 3

With such output I will be able to find crash with seconds instead minutes(of course this should work only on 1 thread):
[[ Parsing a.py ]]
[[ Parsing b.py ]]
[[ Parsing c.py ]]
[[ Parsing d.py ]]

[[ Checking a.py file ]]
a.py:21:9: D400 [*] First line should end with a period
[[ Checking a.py file ]]
b.py:21:9: D415 [*] First line should end with a period, question mark, or exclamation point
[[ Checking c.py file ]]
[[ Checking d.py file ]]

The single-threading part is achievable by setting the RAYON_NUM_THREADS=1 environment variable, but not sure that we log the checked files. We could add that logging to --verbose, and then RAYON_NUM_THREADS=1 ruff ... --verbose would enable this, I think.

You can now run with RAYON_NUM_THREADS=1 ruff ... --verbose to get this experience (as of next release, at least).


A second operation started on this context before a previous asynchronous operation completed

Hi @EduardoPires , when i commit an add request,the efcore will throw this exception
public class UserCommandHandler : CommandHandler,
        IRequestHandler<AddUserCommand>,
        IRequestHandler<UpdateUserCommand>,
        IRequestHandler<RemoveUserCommand>
    {
        private readonly UserManager<ApplicationUser> _userManager;
        public UserCommandHandler(
                                      UserManager<ApplicationUser> userManager,
                                      IUnitOfWork uow,
                                      IMediatorHandler bus,
                                      INotificationHandler<DomainNotification> notifications) : base(uow, bus, notifications)
        {
            _userManager = userManager;
        }

        public Task Handle(AddUserCommand user, CancellationToken cancellationToken)
        {
var appUser = new ApplicationUser {Id = user.Id.ToString(), UserName = user.UserName, Email = user.Email, PhoneNumber = user.PhoneNumber, RealName = user.RealName };
                var identityResult = _userManager.CreateAsync(appUser, user.Password);
xxxx......
}

but the other request not met this problem,i think ,may be the UserManager.CreateAsync make this problem, so i add the async keyword to the methed and add await before  UserManager.CreateAsync
and then it worked,but has another problem
Cannot access a disposed object. A common cause of this error is disposing a context that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling Dispose() on the context, or wrapping the context in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
Object name: 'AsyncDisposer'.
so i don't know how to resolve it , can u help?

Hi @liugt34 can you describe the steps to reproduce this error?

in a  CommandHandler , when you has two or more ef AddAsync operation,, one has the await keyword,and the other  did'nt have ,,this exception will throw


ovs: remove ovs-port- prefix for OVS bridge LAG ports

The ovnkube-node pods perform health checks, and they seem to expect the port to be called the same
as the underlying interface:
https://github.com/ovn-org/ovn-kubernetes/blob/acfc09e8a7ffae73918bece102d0c520e4eb48fe/go-controller/pkg/node/healthcheck.go#L298
Renaming of the Ports causes these pods to crash.
Signed-off-by: Radim Hrazdil<EMAIL_ADDRESS>

/ok-to-test

@rhrazdil Is ovnkube checking the NetworkManager connection.id or connection.interface-name.
Can we use ovs-port- prefix for connection.id and user desired interface name as connection.interface-name?

Hello @cathay4t
By the error message in the ovnkube pod it's checking with ovs-vsctl:
I1101 14:47:29.362491 2671168 ovs.go:213] exec(16): stderr: "ovs-vsctl: no row \"ovs-port-eno1\" in table Interface\n"
I1101 14:47:29.362495 2671168 ovs.go:215] exec(16): err: exit status 1
F1101 14:47:29.362522 2671168 ovnkube.go:130] Bridge for interface failed for br-ex: Failed to find intfName for br-ex: failed to get ofport of ovs-port-eno1, stderr: "ovs-vsctl: no row \"ovs-port-eno1\" in table Interface\n", error: exit status 1

This part specifically: "ovs-vsctl: no row \"ovs-port-eno1\" in table Interface\n brings me to the conclusion that they expect the Port name to be the same as the Interface.

Can we use ovs-port- prefix for connection.id and user desired interface name as connection.interface-name?

Pardon me, but I don't follow, could you elaborate?

In that case, please change nm/connection.py: create_new_nm_simple_conn() to use -port postfix for OVS port as connection name, and use user defined name as interface name.

In that case, please change nm/connection.py: create_new_nm_simple_conn() to use -port postfix for OVS port as connection name, and use user defined name as interface name.

Thanks! I'm hitting an issue with, when I add the -port postfix in create_new_nm_simple_conn(),
in this test: test_remove_ovs_internal_iface_got_port_profile_removed
The connection has the postfix
DEVICE    TYPE           STATE         CONNECTION
brtest0   ovs-bridge     connected     brtest0-br
ovstest0  ovs-interface  connected     ovstest0-if
ovstest0  ovs-port       connected     ovstest0-port

And the bridge has the interfaces unchanged
d26c2cae-4823-42b7-8ca9-deb75b276631
    Bridge "brtest0"
        Port "ovstest0"
            Interface "ovstest0"
                type: internal
    ovs_version: "2.11.0"

But the test takes the interface names from the bridge connections: https://github.com/nmstate/nmstate/blob/base/tests/integration/nm/ovs_test.py#L122
which contains ['eth1', 'ovstest0'], so the test fails on this assert
because of th missing postfix.

and use user defined name as interface name.

Do you mean setting the name of the interface (not the ovs-port) to be called with the -port
postfix as well? Where would be the right place to make this change please?

@cathay4t Hey, updated the PR according to your suggestion.
Failure in pull-nmstate-integ_tier1-k8s seems to be unrelated as it fails on base branch as well

Looks good to me.


experimental: Enhance LLMGraphTransformer with async processing and improved readability

[x] PR title: "experimental: Enhance LLMGraphTransformer with async processing and improved readability"

[x] PR message:

Description: This pull request refactors the process_response and convert_to_graph_documents methods in the LLMGraphTransformer class to improve code readability and adds async versions of these methods for concurrent processing.
The main changes include:
Simplifying list comprehensions and conditional logic in the process_response method for better readability.
Adding async versions aprocess_response and aconvert_to_graph_documents to enable concurrent processing of documents.
These enhancements aim to improve the overall efficiency and maintainability of the LLMGraphTransformer class.
Issue: N/A
Dependencies: No additional dependencies required.
Twitter handle: @jjovalle99

[x] Add tests and docs: N/A (This PR does not introduce a new integration)

[x] Lint and test: Ran make format, make lint, and make test from the root of the modified package(s). All tests pass successfully.

Additional notes:

The changes made in this PR are backwards compatible and do not introduce any breaking changes.
The PR touches only the LLMGraphTransformer class within the experimental package.

@efriis

FYI ~ Fixed the linting issue from last nigth.

@hwchase17

@efriis

@baskaryan

Hello LC Team! Just wanted to add visibility to this one @efriis! Have a good day!

llm = OpenAI(model_name="gpt-4-0125-preview")
llm_transformer = LLMGraphTransformer(llm=llm)
graph_documents = llm_transformer.convert_to_graph_documents(pages)
raise NotImplementedError()
NotImplementedError
hey team can you help me with this error

from langchain_openai import ChatOpenAI
llm = ChatOpenAI(model_name="gpt-4-0125-preview")

Hey can you help me with this errors

 Hey can you help me with this errors


Multiply with zero error

The GmpCalculator gives an error in this case:
Money:EUR(0)->multiply(0.8);

The result of the GmpCalculator is ".0", but the GmpCalculator floor and ceil will throw an InvalidArgumentException, because the value ".0" is invalid.
https://github.com/jildertmiedema/money/blob/issue-gmp-with-zero/tests/Calculator/GmpCalculatorTest.php

Thanks, we will look into this.

Fixed by #357


Play video asset

I believe this ticket can be closed.

I believe this ticket can be closed. After setting config.enable_ffmpeg = true in config/initializers/curation_concerns.rb via https://github.com/curationexperts/heliotrope/pull/113, I can upload a video file, it transcodes correctly, a thumbnail is created, and I can play it back.

Re-opening this ticket for final Michigan review (along with audio, images, etc.) to ensure that the basic curation concern function meets their needs.  If so, we'll close the ticket, if not, we all acceptance criterial based on their feedback.

Per demo discussion 3/30/16, video playback is okay.


fix(fzf-tmux): disable split mode when using fzf-tmux in a tmux session

Because for some reason the selection result does not have any effect when both are configured in and you are in a tmux session.

I’m failing to imagine how these options work together at all, IMHO if someone is using fzf-tmux and tmux env exists, split should be disabled.

Yes, that seems to solve the problem, so that is probably better than to just leave it as is.

Ty @johslarsen for your thoughtful contributions.

No, thank you. There are a lot of open-source project out there, and most of them are not as easy to contribute to as this one. After switching from vim to neovim this seemed like a more future-proof way to go than to stick with e.g. the original fzf.vim. Lua is nowhere near a perfect language, but it is a lot better than vimscript at least.

Lua is nowhere near a perfect language, but it is a lot better than vimscript at least.

Couldn’t agree more, I was far from an expert in lua before this plugin, it’s a very easy and straight forward language.


Migrating Postgres  to Container

Hi, I'm new to docker and have been running a Mattermost instance for sometime now with the manual setup and install.
I know how to Migrate from server to server, but not fully understanding how to do this with the container version of postgres.
I see how to migrate our config, data, and log files.
Any help in understanding this I would be grateful.
Thank you

Thank you for getting back.
What I did so far was remove the old database added a new one with same name mattermost. Then changed the user "mmuser" password then granted permissions to the database.
After that i uploaded the database.  All of that I did my going into the container and changing.
Then I moved over our configuration file.
Let me know if this is wrong as just learning Docker and how to use as I go here.

When doing it the way I explained above I get a 503 error in my browser.

here is what I see
docker-compose up
Starting mattermostdocker_web_1 ...
Starting mattermostdocker_app_1 ...
Starting mattermostdocker_db_1 ... done
Attaching to mattermostdocker_app_1, mattermostdocker_web_1, mattermostdocker_db_1
app_1  | Using existing config file /mattermost/config/config.json
app_1  | Configure database connection...OK
app_1  | Wait until database db:5432 is ready...
web_1  | linking plain config
web_1  | ln: /etc/nginx/conf.d/mattermost.conf: File exists
db_1   | AWS_ACCESS_KEY_ID is required for Wal-E but not set. Skipping Wal-E setup.
db_1   | LOG:  database system was shut down at 2018-02-01 16:37:06 EST
db_1   | LOG:  MultiXact member wraparound protections are now enabled
db_1   | LOG:  database system is ready to accept connections
db_1   | LOG:  autovacuum launcher started
db_1   | LOG:  incomplete startup packet
app_1  | Starting platform
db_1   | FATAL:  password authentication failed for user "mmuser"
db_1   | DETAIL:  Connection matched pg_hba.conf line 95: "host all all all md5"
db_1   | FATAL:  password authentication failed for user "mmuser"
db_1   | DETAIL:  Connection matched pg_hba.conf line 95: "host all all all md5"

Did you change correctly the database credentials inside your docker-compose.yml file ?

yeah it was me being new to docker and docker-compose
I realized that the .yml file is the configuration to change the variables in. Once I did that it worked.
Thank you for the help


Mobileclient.search(): no song_hits entries for tracks I have uploaded

Hi, not sure if this is related to #622 . I'm trying to use geemusic to play songs that I've manually uploaded to Google Music (not available on Google Play Music, even if I pay).
Doing a search for "me myself and i de la soul" (song + artist), I get 'song_hits': [].
When I search for "me myself and i" I get 1 hit, but it's not the one in my album, which does show up when I do get_all_songs.
Is this expected behavior (Search does not look in uploaded songs?)
Should I consider modifying geemusic to just use get_all_songs as a local searchable index of my songs, since that's all I'm really concerned with playing?
Thanks!

Looks like this is an accidental dupe of https://github.com/simon-weber/gmusicapi/issues/624.

Er, #625, rather.


Help: how to export a ee.Dictionary object to a csv file?

It is time comsuming for the ee.Image.ReduceRegion() function,  so I'd like try to export the ee.Dictionary() result to a csv file.
there is a javascript version way to do that as below, but I cant finnd a way in geemap.

Export.table.toDrive({
collection: ee.FeatureCollection([
ee.Feature(null, ridiculousComputation)
]),
description: 'ridiculousComputation',
fileFormat: 'CSV'
});

so, how to export a ee.Dictionary object to a csv file in jupyter?   Any idea about it will be appriciated, thanks!

I find geemap.ee_to_csv() that must be helpfull.

You can also use dict_to_csv(data_dict, out_csv, by_row=False)
https://giswqs.github.io/geemap/common/#geemap.common.dict_to_csv