Swashbuckle.Core reference to System.Web.Http

I've written Windows Service application, which acts as my Web Api Owin Self Host.
I've also written some PowerShell script to install the service using installutil.exe.
As soon as I add Swashbuckle.Core reference using NuGet, I start getting "System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types..." error. As soon as I perform NuGet remove Swashbuckle.Core package from the project and rebuild - service can be installed ok.
I've used FusionLog utility to investigate, and the only suspicious thing was:
*** Assembly Binder Log Entry  (31.05.2017 @ 14:06:11) ***

The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = System.Web.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = InstallUtil.exe
Calling assembly : Swashbuckle.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cd1bb07a5ac7c7bc.
===
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
WRN: No matching native image found.

But at the same time I have this binding in my config:
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>

And definately have System.Web.Http.dll file in my build output folder.
Does Swashbuckle try to load System.Web.Http assembly from other place or it requires another assembly (not the one coming in the bundle with Web Api packages)?
Thank you in advance!

I'm sorry, probably I missed something in my description.
I am integrating Swashbuckle to the OWIN Hosted WebApi 2 project, and as readme states, it should be possible and working.
By the way, I've found a workaround - now I'm installing the service without installutil.exe, and everything works like a charm. I guess there's an unused reference somewhere inside Swashbuckle.Core, which cannot be ignored by installutil.exe

Observed the same issue. Sound like theSwashbuckle.core.dll has a reference of System.Web.Http.
*** Assembly Binder Log Entry  (9/11/2019 @ 10:06:04 AM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\Windows\syswow64\MsiExec.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = System.Web.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/Windows/syswow64/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = MsiExec.exe
Calling assembly : Swashbuckle.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cd1bb07a5ac7c7bc.
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: No application configuration file found.
LOG: Using host configuration file: C:\Program Files\Citrix\SessionRecording\Server\Bin\Installer.dll.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Web.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Windows/syswow64/System.Web.Http.DLL.
LOG: Attempting download of new URL file:///C:/Windows/syswow64/System.Web.Http/System.Web.Http.DLL.
LOG: Attempting download of new URL file:///C:/Windows/syswow64/System.Web.Http.EXE.
LOG: Attempting download of new URL file:///C:/Windows/syswow64/System.Web.Http/System.Web.Http.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Citrix/SessionRecording/RestApiService/Bin/System.Web.Http.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Program Files\Citrix\SessionRecording\RestApiService\Bin\System.Web.Http.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: System.Web.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
LOG: Attempting download of new URL file:///C:/Program Files/Citrix/SessionRecording/RestApiService/Bin/System.Web.Http/System.Web.Http.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Citrix/SessionRecording/RestApiService/Bin/System.Web.Http.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Citrix/SessionRecording/RestApiService/Bin/System.Web.Http/System.Web.Http.EXE.
LOG: All probing URLs attempted and failed.

Hi, check these steps.  https://stackoverflow.com/a/47923538/5028108


iOS  Framework 'opencv_dart' not found

Error (Xcode): Framework 'opencv_dart' not found
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
I am encountering this error. Is there a solution?

I am encountering this error too. I'm looking for any solution.

I am encountering this error too. I'm looking for any solution.

I solved this issue.
I installed 'homebrew' and 'wget'.
Try it now.

I solved this issue.
I installed homebrew and wget.
Try it now.

https://github.com/rainyl/opencv_dart/blob/b71f6d1dd01f62b91cfa4b4e2340fc4bdd7510c4/ios/Makefile#L27
Yes, make sure that you have wget, tar and make installed
And, please fowllow the message Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation) to add -v to show more detailed messages if you have problems.
AND, you guys didn't follow the question template, closed.

I installed wget, tar, make.
It's solved.
I tested opencv_dart 1.0.9 on ios 17.4 simulator, it's works.
Thanks so much @psguny9me and @rainyl


Consider not launching automatically

Here's a quick thought:
A lot of users have asked if they can see the logs for an already-built repository. Eventually I think it'd be good to store these somewhere that people can reference. However, in the meantime what if we added an extra step when a user hits "launch" on a repository that hasn't been built yet. That'd give them time to scan the logs. So what I'm thinking is:

The "launch" button would now be called "build"
If a user hits a binder URL directly (e.g. with v2/gh/etc) then it'll launch automatically.
If a user hits "build" with a repo that's already built, it'll launch automatically.
If a user hits "build" with a repo that hasn't been built, it'll build and the button would change color (maybe to red?) and be called "launch". Then the user would need to hit that button to start the redirect process.

Thoughts on this? I think it could be a good way to easy some binder repo author frustration without changing the experience for users that are just clicking binder links.

My preference would instead be to solve the individual problems that are ocurring rather than provide a 'build' step that doesn't actually exist. This would involve:

Different experience for users who are just clicking binder links (https://github.com/jupyterhub/binderhub/issues/271), to show them stuff is happening. This allows for a totally different UX than what needs to be present on mybinder.org, and is a very useful change to happen.
Understand why users want to see logs of built images, and provide ways to solve these problems. We already show logs of failed builds, but what we consider 'failed' is fairly limited. If it isn't doing something the user wants but still 'succeeds' to build an image, that's frustrating that the logs are now gone. It looks like we pretty much have to have some amount of medium-term storage of build logs (and some UX to show these to people) to fix this problem. I'd rather we tackled that.

From a UX perspective, I'd like us to not introduce the word 'build' as an action that the user can do explicitly different from 'launch'. Separating the user's mental model from what we're actually doing will only cause more confusion, not less. We should solve the underlying issues IMO, than apply possible bandaids, esp. if bandaids change user mental models of how stuff works.
A quick fix now would perhaps to be have a checkbox (ticked by default) under the launch button that is something along the lines of 'redirect to notebook when ready' that users can uncheck to wait and watch logs. There is consensus for this when this topic came up in https://github.com/jupyterhub/binderhub/issues/196 I think.

that's a fair point - I think some kind of checkbox would be a good solution. I'm gonna close this in lieu of discussion in #196 either way


0.103 error during setup huawei_lte

Home Assistant release with the issue:
0.103
Last working Home Assistant release (if known):
0.102.3
Operating environment (Hass.io/Docker/Windows/etc.):
Ubuntu 19.10 / hassio / Docker
Integration:
https://www.home-assistant.io/integrations/huawei_lte/
Description of problem:
After upgrade to 0.103 integration fails during setup. It happens also in authenticated mode.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
huawei_lte:
  - url: http://192.168.x.x

Traceback (if applicable):
Error setting up entry B525s-23a for huawei_lte
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
    response.begin()
  File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.7/http/client.py", line 275, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
    response.begin()
  File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.7/http/client.py", line 275, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 192, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/huawei_lte/__init__.py", line 288, in async_setup_entry
    connection = await hass.async_add_executor_job(get_connection)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/huawei_lte/__init__.py", line 277, in get_connection
    url, username=username, password=password, timeout=CONNECTION_TIMEOUT
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/AuthorizedConnection.py", line 24, in __init__
    if self.user.login(True):
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/api/User.py", line 76, in login
    state_login = self.state_login()
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/api/User.py", line 27, in state_login
    return self._connection.get('user/state-login')
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/Connection.py", line 22, in wrapped
    return fn(*args, **kw)
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/Connection.py", line 166, in get
    timeout=self.timeout,
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Additional information:

Ok, I didn't noticed it earlier but with credentials provided, last part of traceback is little different and it shows up few minutes after boot. Should I try #29597 fix or this is something unrelated?
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/huawei_lte/__init__.py", line 351, in _update_router
    router.update()
  File "/usr/src/homeassistant/homeassistant/components/huawei_lte/__init__.py", line 175, in update
    get_data(KEY_DEVICE_INFORMATION, self.client.device.information)
  File "/usr/src/homeassistant/homeassistant/components/huawei_lte/__init__.py", line 161, in get_data
    self.data[key] = func()
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/api/Device.py", line 7, in information
    return self._connection.get('device/information')
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/Connection.py", line 22, in wrapped
    return fn(*args, **kw)
  File "/usr/local/lib/python3.7/site-packages/huawei_lte_api/Connection.py", line 166, in get
    timeout=self.timeout,
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Connection lost. Reconnecting…

i have the same issue

#29531 and #29597 (will appear in 0.104) contain some fixes that may have some effect on this. If you have a chance, testing with the current dev branch would be useful.
Also, while testing, make sure that you are not logged in to the router web interface from a browser. Being logged in from there will interfere with the HA integration (and vice versa).

I moved to dev with #29597 fix just after opening this issue but it is still something wrong. My observation - this error happens randomly while restarting home assistant. Sometimes I have to restart few times in a row to get it working but when it is loaded properly on the beginning, it works. Even if errors occurs afterwards, it doesn't break the functionality.

Also, while testing, make sure that you are not logged in to the router web interface from a browser. Being logged in from there will interfere with the HA integration (and vice versa).

now that you mentioned this, i realized that i have huawei-lte integration in 2 homeassistant instances, probably interfering each other. after i stopped the old one, i have this error only sporadically, after several server restarts

I fear I have a similar or the same problem.
Since a few days (I think after the update from 102.x to 103.x) it is no longer possible to connect my Huawei LTE modem.
This is an HA installation on a Synology. The Huawei LTE modem is a B529s-23a.
And everything has worked fine.
Can anyone help me solve the problem or do you need more information about my system?
I always get the following error message. No matter if I do the Huawei integration via the frontend or the config.yaml.
[homeassistant.components.huawei_lte.config_flow] Unknown error connecting to device
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
response.begin()
File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.7/http/client.py", line 275, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 400, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 421, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 416, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.7/http/client.py", line 1344, in getresponse
response.begin()
File "/usr/local/lib/python3.7/http/client.py", line 306, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.7/http/client.py", line 275, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Unfortunately I'm having still the same issue on 105.2

Here's a little script that can be used to debug the issue. It simply tries to log in and out of the router, and dumps some ugly info about the requests and responses:
#!/usr/bin/env python3

import http.client
from huawei_lte_api.AuthorizedConnection import AuthorizedConnection
from huawei_lte_api.Connection import Connection
from huawei_lte_api.Client import Client

URL = "http://<IP_ADDRESS>/"
USERNAME = "admin"
PASSWORD = ""
CONNECTION_TIMEOUT = 10

http.client.HTTPConnection.debuglevel = 1

if USERNAME or PASSWORD:
    connection = AuthorizedConnection(
        URL, username=USERNAME, password=PASSWORD, timeout=CONNECTION_TIMEOUT
    )
else:
    connection = Connection(URL, timeout=CONNECTION_TIMEOUT)

if isinstance(connection, AuthorizedConnection):
    Client(connection).user.logout()

Note that while the output does not contain the password in cleartext, it may contain some info that is not good to post in public. Which unfortunately also makes debugging the issue harder.
Anyway, try it out with similar URL, USERNAME, and PASSWORD settings as you have in HA. DO NOT POST THE OUTPUT HERE because of the above, just look at it and report if it fails for you, and if it fails, how (i.e. if you have USERNAME and PASSWORD set to valid values or if they are empty or None (which means unauthenticated access)).
If it fails with valid configurations which I suspect it does, this will likely need to be reported and handled in huawei_lte_api rather than the HA huawei_lte integration.
It could be also useful to test with different huawei_lte_api versions, e.g. 1.2, 1.3, and 1.4.7 if you know how to do it.

I did some tests with all versions after 1.2 and till 1.4.3 script does not return any error. With 1.4.4 and newer, it throws error with credentials provided.

Thanks for testing! This confirms that the fix should be made in huawei_lte_api. Between 1.4.3 and 1.4.4 we changed it to use a persistent session, which is really the right thing to do, and that's what browser also do anyway. But apparently there's something some modems don't like something about it.
Could you file a report about this at https://github.com/Salamek/huawei-lte-api/ along with your version findings and the script, and @ me there? I would report this myself, but as I can't reproduce, I wouldn't be able to provide more details upstream will likely need.

Sure, issue opened. I'm glad I can help in some sort of way.

Is there any chance to upgrade huawei-lte-api to 1.4.11 in current (0.107) release? 1.4.10 throws error because time import is missing ( https://github.com/Salamek/huawei-lte-api/pull/72 )

The upgrade was done in https://github.com/home-assistant/core/pull/32791 already, but looks like it's missing still from 0.107.4. I've added it to the 0.107.5 milestone at https://github.com/home-assistant/core/milestone/298, hopefully that's the correct procedure for requesting it.


Cleanup naming of processor/cache data types

Coverage decreased (-0.06%) to 77.054% when pulling 9fcfe4ac09197aa7fd23f358a219963d1c8496f0 on jmedved:contiv-crd into 6b0ccb3a7515010e4cac926076f7c7ec22f31eb7 on contiv:contiv-crd.


Does not work on Android Marshmallow

To get this working on android 6 you have to add the following permissions:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

It's not really working on my phone. Any updates?

Hi,
Can you guide me on how to extend the code to automatically connect to a particular Bluetooth device after pairing?

ArrayList returns empty after scanning on Nexus 5 (Android Marshmallow)

Guys, Add this code and call checkBluetoothPermissions() before startDiscovery,
public void checkBluetoothPermissions(){
        if(Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP){
            int permissionCheck = this.checkSelfPermission("Manifest.permission.ACCESS_FINE_LOCATION");
            permissionCheck += this.checkSelfPermission("Manifest.permission.ACCESS_COARSE_LOCATION");
            if (permissionCheck != 0) {

                this.requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION}, 1001); //Any number
            }
        }else{
            Log.d(TAG, "checkBTPermissions: No need to check permissions. SDK version < LOLLIPOP.");
        }
    }

still not working


Error: pool is draining and cannot accept work

I have this problem; inserting the record then reading out from it again
 knex
            .insert(body, 'id')
            .into('product_categories')
            .then(function(result) {
                // knex.destroy();
                // knex = initConnection();
                if (result.length > 0) {

                    return knex('product_categories')
                        .where('id', result[0])
                }

            }).then(function(rows) {
                console.log(rows);
            })

I not sure how to resolve this issue

I'm pretty sure that you example code doesn't output that error message, because knex.destroy() is commented out.
Why are you destroying knex instance, between inserting and reading?
I don't know what is inside initConnection(), but I suppose that error shouldn't happen if both of the commented lines are uncommented. If only knex.destroy() is uncommented you should be getting that error, because you tell knex to destroy and then immediately after you are trying to do query.

no, the error is exactly as I've stated, with regards to the codebase that I've given above. Codes are commented on purpose and I've forgot to remove it.
but anyway I've managed to solve the error with this codebase instead
knex.transaction(function(trx) {

            knex.insert(body, 'id')
                .into('product_categories')
                .transacting(trx)
                .then(function(result) {
                    return knex('product_categories')
                        .where('id', result[0])
                        .transacting(trx);
                })
                .then(trx.commit)
                .catch(trx.rollback);
        })
        .then(function(result) {
            console.log(result);
            knex.destroy();
            callback(null, result);
        })
        .catch(function(error) {
            knex.destroy();
            console.log(error);
            callback(error);
        });

great


Report error if assets packing failed

Current coverage is 68.87% (diff: 0.00%)

Merging #204 into master will decrease coverage by 0.12%

@@             master       #204   diff @@
==========================================
  Files             4          4
  Lines          1132       1134     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            781        781
- Misses          262        263     +1
- Partials         89         90     +1

Powered by Codecov. Last update 2b29fc3...e7d3645


CompressionHandler enhancements

The current compression handler for Microsoft graph is outlined in the spec at the link below
https://github.com/microsoftgraph/msgraph-sdk-design/blob/master/middleware/CompressionHandler.md
This has two possible issues/notes

It outlines supports for gzip but other compression methods may be used by other APIs( e.g. deflate and brotli)
It outlines that AGS does not support compressed content being sent to it when ideally we would want to send compressed content and also expect back compressed content.
AB#11068

Adding to this, it'd be nice if the next version of this middleware could support:

setting which compression alg to use for request payload (and not doing any request compression if nothing is set)
setting which compression algs to send to the server (accept encoding), validating it belongs to a range that's actually supported by the middleware, and decompressing things depending on the response header.

The current situation is a bit all over the place here. I'm going to try my best to disambiguate things so we can divide up the work and start making progress.
First off, our design guidelines calls out not one, but two handlers: request compression and response decompression.
Here is a state of the implementations:

Language
Compression
Decompression
Notes

dotnet
not implemented
name is wrong, only included for graph clients
https://github.com/microsoft/kiota-dotnet/blob/7c61913e32dfa6a4ccc473745033a4ab9ac2dd84/src/http/httpClient/Middleware/CompressionHandler.cs#L60 https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/blob/07584bb61cc4298d75fad71c9b5e5c7d14c3b01c/src/Microsoft.Graph.Core/Requests/GraphClientFactory.cs#L121

TypeScript
not implemented
not implemented
https://github.com/microsoft/kiota-typescript/blob/17908f5370a8410414f589b4ce8d2c70264f2ff2/packages/http/fetch/src/middlewares/middlewareFactory.ts#L20

Java
not implemented
not implemented
https://github.com/microsoft/kiota-java/blob/86a71c852899ac90ea0f392bd1f90c58e0cc9955/components/http/okHttp/src/main/java/com/microsoft/kiota/http/KiotaClientFactory.java#L57

PHP
implemented, but not used
not implemented
https://github.com/microsoft/kiota-http-guzzle-php/blob/dev/src/Middleware/CompressionHandler.php https://github.com/microsoft/kiota-http-guzzle-php/blob/0fb71b6eb67aece7712462e6207a08666048115e/src/KiotaClientFactory.php#L73

Go
implemented
not implemented
https://github.com/microsoft/kiota-http-go/blob/8a1fbc8f6b5ece80a746374f913db3a76cac9879/compression_handler.go#L101

Python
not implemented
not implemented
https://github.com/microsoft/kiota-http-python/blob/fbadd0b3f3cd7eb34b305c229d01a2ccb6ec83f1/kiota_http/kiota_client_factory.py#L93

TODO:

[ ] We should first create (and fix) bugs for languages that have a compression middleware implemented and in use for the content range (reflection of https://github.com/microsoftgraph/msgraph-sdk-design/pull/96)
[ ] We should then make sure the compressions handlers that are wrongly named and/or not in use, are actually used (create the issues for that)
[ ] We should create issues (features) to implement the missing middleware for the diverse languages.

Update: most clients we're using today support automatic decompression. Some need to be configured to handle it. I have updated the state of things in the spec https://github.com/microsoftgraph/msgraph-sdk-design/pull/97.
I have also create issues where changes need to be applied for decompression.
I'll move to compression soon.

update: created the issues for the request compression handler.

When adding support for compression, would it be possible not to include it as part of the default middleware?  The TypeScript release, for example, broke several of my clients.  I would like to avoid the same disruption in other clients.

(let's keep the conversation going on the typescript pull request since we didn't run into any issues for other languages)

It may also occur in other languages. The implementation of compression would cause requests to servers that do not support gzip-compressed requests to fail. (And isn't that a breaking change?)
What is the reasoning behind making it the default enabled?


Latest docker version (v1.1.1 and v1.1.0) does not run successfully

Describe the bug
Example Code Fails on v1.1.0 and v1.1.1, but Works on v1.0.0 and Below.
To Reproduce
Steps to reproduce the behavior:

Go to Install with Docker, pull latest docker version and launch.
Inside the container, run a simplest example python -m omnigibson.examples.robots.robot_control_example --quickstart.
See error

Expected behavior
No errors thrown in the terminal and the OmniGibson Simulator started successfully.
Screenshots

Desktop:

OS: Ubuntu 20.04.6
Isaac Sim Version: None
OmniGibson Version: 1.1.1 and 1.1.0

Additional context
In versions v1.0.0 and below, I was able to successfully run the examples provided on the official website. However, after upgrading to v1.1.0 and v1.1.1, I encountered the error shown in the attached screenshot. Other examples also fails.

@cgokmen Is this related to our recent docker issues?


feat(Autocomplete): Valid addresses query param

Checklist

[x] Up to date with main
[ ] All the tests are passing

[ ] Delete all resources created in tests

[x] Prettier
[x] Spectral Lint
[x] npm run bundle outputs nothing suspect
[x] npm run postman outputs nothing suspect

Changes
Another autocomplete query param :3
Areas of Concern (optional)

@Thexumaker This is ready to merge whenever you are


Relax network attribute for Provider component

Description
This pr simply relaxes the type constraint for the network prop on the Provider component.
Although the type currently says that it is a required prop it is not in actually and simply a different but valid configuration of this component.
📝 Additional Information
Rendering a provider like this <Provider></Provider> results in having the network inferred from the wallet, which is afaik a totally valid use-case.

Rendering a provider like this  results in having the network inferred from the wallet, which is afaik a totally valid use-case.

Interesting. I agree and am totally fine with this but just want to make sure that nothing is breaking. Did you test this out?

Rendering a provider like this  results in having the network inferred from the wallet, which is afaik a totally valid use-case.

Interesting. I agree and am totally fine with this but just want to make sure that nothing is breaking. Did you test this out?

@Dhaiwat10 yes we're using it like this hence the pr.


Logout from browser: browser page is stuck in infinite refresh page loop instead of redirect to the app.

del

I think I may have found the problem after posting :)


Dropdown with an autocomplete disappear first charsets while inputting with a multi byte charset.

Summary
I found a title issue for the dropdown with an autocomplete.
Dropdown with an autocomplete could not work for the multi byte charset.
Anyone know avoid this issues for the multi byte charset?
I found this happened for not only Japanese, also Chinese, Korean.....
Steps

Forces on the dropdown.
Input 「あいうえお」 into the dropdown.
「あ」 disappeared. The dropdown show 「いうえお」.

Found

This happened at once when I forces on the dropdown.After erased the all charsets on the same forcus, it never happend this issue.
For single byte charset, it never happed.
It never happened using the only pure jsuite's dropbox with an autocomplete.

ScreenShots
dropdowndisappearacharset.webm
Environments

jsuites V5.
jspreadsheet V10.

I moved this issues to https://github.com/jspreadsheet/pro/issues/276.


With jest testing, thows     SyntaxError: Cannot use import statement outside a module

Try with jest and it throws this error.

@pvaskria This doesn't appear to be an issue with the library, but a Babel configuration error with your Jest environment.
See: https://stackoverflow.com/a/64223627/659188

I am using Next.js and my easiest solution was to import Next/Dynamic.
Since Next.js is SSR-based, such a solution was created, as it might be trying to catch the later element.
const PasswordChecklist= dynamic(() => import("react-password-checklist"));
   <PasswordChecklist
              rules={["minLength", "specialChar", "number", "capital", "match"]}
              minLength={8}
              value={formData.password}
              valueAgain={formData.confirmPassword}
              onChange={() => { }}
            />


Use via options API and via CDN

Not everyone uses typescript, or has a build process. There needs to be a way to include this in a script element via CDN.

@wdporter Now you can use vue3-easy-data-table via CDN, check more information here: https://hc200ok.github.io/vue3-easy-data-table-doc/getting-started/via-cdn.html


ESLint conflicts with Prettier after VSCode update

Summary
After VSCode got updated to version 1.50.1 ESLint started to conflict with Prettier . There is .eslintrc.js in my project folder and it states that I prefer using single quotes but from the log output of Prettier I see singleQuote": false, it puts double quotes everywhere and it's not the only rule that gets ignored. I believe there is some conflict happening that wasn't here before the update: when I press save all single quotes become double quotes but if I press save again for a split second quotes turn into single quotes and then double quotes again

Everything was working fine before the update so there shouldn't be any problem with configs I think... I'm not exactly sure what got changed so now it's broken and isn't working as was before
Additional information
VS Code Version:  1.50.1
ESLint Extension Version: v2.1.13
OS and version: Windows 10

@Darkzarich can you provide me with a workspace that shows this?

@dbaeumer thank you, I've solved this issue just now: apparently I somehow turned on vscode settings editor. formatOnSave and it was conflicting with a similar line from ESLint config. Now everything is alright!

OK. Great. Closing the issue then.


Running the tutorial, but: RetrofitError: okio.Buffer

Is this the place to ask for help on this RetrofitError issue? I suspect okio is a part of the OkHttp, but this error message says me nothing. I am doing the "getAlbum" tutorial without an accesstoken.

Yes, this is the good place for it :)
Can you please post the error that you're seeing? How are you building the RestAdapter?

The error in logcat is simply this: "RetrofitError: okio.Buffer". Nothing more.
As in the readme tutorial, I try to search for artist and album, both result in this error.  It arrives in the "failure" callback.
Note I am using NetBeans.

I just tried and I'm not able to reproduce this. Is there anything in the error that comes to the failure callback? Maybe you could debug and see where the error originates?

Could you please verify that I have the same libraries and in same versions of libraries as you do? Could there be any limitations as to which Android version is valid for this system ?

I found the error by a push on "The wild guess button" as follows: Since the retrofit error contained the string "okio.Buffer", I located here on github its project page: https://github.com/square/okio/blob/master/README.md. This page is more informative than the link given for OkHttp even if I feel pretty ignorant of the actual difference of OkHttp and okio ? (I haven't got a clue on what is what here, and I would normally prefer to not understand all underlying details when using an API)
Anyway, I found on that page a link to the latest jar, and included this in my build. Now everything is working fine. Do I still need OkHttp as well ? Don't know.
The question mark for me is why the build and run does not report the missing library okio.jar ? I have never before seen that a missing jar is passing under the radar like that.
Here are the included libraries used, not sure all of them are mandatory. Hope this will help others. Actually, it is suggested to add some information to the Readme regarding these libraries, i.e. the correct list of jars to include when building.

Kaaes, I have asked about this Retrofit error in their project at Git, see it here:
https://github.com/square/retrofit/issues/707#issuecomment-70227329
Part of the response is this "The issue is probably that the Spotify API is distributing a lean JAR, without any transitive dependencies."
The issue becomes twofold: 1. the okio.jar is not reported missing during build process. I don't understand why not. 2. This missing library causes "ClassDefNotFound" exception, however it is severly complicating that the retrofitError, a subclass of RunTimeException, does not report this to the log system (logCat).
Q: Would it be a good thing if the Spotify Web API distributed a complete set of JAR libraries that would work out of the box, i.e. include all relevant JARs. At least, that would save a lot of time for ignorant newcomers in which category I put myself.

Thank you for looking into this. Nice research!
I noticed that this library is using outdated versions of retrofit and OkHttp. I am planning to update them today. I can add a task to build files that will build a fat jar with all dependencies in it. I will also update he documentation to include info about possible dependency issues.
I am still not sure why it's okio if the dependency is on okhttp but maybe that's some internal ok stuff.

Excellent. I shall try that new "fatened up" version.
Meanwhile another Q: This API has methods that uses user-id as input, but I cannot find any authentication api here? Does this mean that it is necessary to use the Android SDK to authenticate the user, then "revert" back to this api for its intended usage? If not, what is recommended way to authenticate the user from an Android app that connects to Spotify via this api?

This library doesn't have authentication module as it was initially created as an extension to the SDK. But there's a project based on this one that added auth functionality https://github.com/Drivemode/SpotifyApi

ok, but before trying that, will I then possibly face the same issues that was discussed above with a lean Jar etc? Are there other limitations you are aware of? (If I understand things correctly, the WEB API is available for commercial apps, while the android sdk is not, which makes it interesting to have the authentication module included in this api, or the other one you linked).

I strongly suspect you're right about lean library and think this other project builds as aar not jar which might be also an issue (?) Probably the author knows more :)

The API seems to contain all I need except the authentication. Couldn't you inject the authentication module in this api? It is not much code in the sdk tutorial (authentication tutorial tested and working today). https://developer.spotify.com/technologies/spotify-android-sdk/tutorial/
Regarding AAR: Yes, this is an unfortunate issue at least for NetBean based development. However, I could decode the AAR at least partly right into a JAR system for the Android SDK case.
The best of all for those of us who just use your library API but don't really need to build our local version, would be to have available a ready built JAR and (I suppose) AAR. Would that be possible?

This discussion is starting to touch multiple subjects ad it would be best to move it to separate issues.
I think both your suggestions are good and would make valuable additions to this project.

Yes agree. Invite me into such discussion via e.g<EMAIL_ADDRESS>as relevant. At the moment, I shall use authentication via Android SDK, the rest from kaaes api. Your help thus far was appreciated.


Additional categories for nutritional supplementation branch?

Looking at the nutritional supplementation branch, it seems like we've gotten a lot added through patterns, which is great! I am wondering if we would find it helpful to add subclass categories for some of these supplementation terms to fit under. For example, we have three terms related to vitamin B12 supplementation:
'methylcobalamin supplementation'
'hydroxocobalamin supplementation'
'cyanocob(III)alamin supplementation'
but we have no general B12 supplementation term as a parent class. As individuals may be recommended a therapeutic B12 supplementation, but no specific type, would we benefit from a broader parent term option like 'vitamin B12 supplementation'?
Similarly we could also create a 'B vitamin supplementation' term for about 8 terms to fall under, but not certain if we have a distinct enough use case for general B vitamin supplementation. We could also re-organize the individual amino acid supplementation under the 'amino acid supplementation' term, but again not necessarily convinced we need it, just wanted to throw it out.

Other supplementation terms we may consider adding from gene reviews includes:
citrin deficiency

[ ] sodium pyruvate supplementation

abetalipoproteinemia

[ ] essential fatty acid supplementation
[ ] essential fat soluble vitamin supplementation (need A, E and K still)

I agree that these should be added, but I am not entirely sure how to go about it.
The information about terms was taken from Table 5, which includes the level of granularity that I have added to MAxO.
When building, the pattern, I ended up using CHEBI because all of the terms required were there. (However, there is a possibility that FOODON would import some of these terms?  That may solve the problem?).  CHEBI does not have B12 terms as parents for these and FOODON does not have 'methylcobalamin, 'hydroxocobalamin','cyanocob(III)alamin' individually.  Maybe this should be a FOODON ticket?
This is the FOODON branch.  It does not have a Vitamin B super class.  I'd have to read up on them to know whether more general vitamin B is a recommended therapy.

Finally getting around to this ticket. (Sorry for the delay!) I am making a second food 'nutrition supplementation' pattern and added terms to the original chebi based 'nutrition supplementation' pattern. I have to manually add calcium citrate because it is in neither ontology. Also, for seeing all the amino acids as children of 'amino acid supplementation', you would need to turn on the ELK reasoner and then look at the 'inferred' hierarchy.  This will be added shortly, but will not be available until the next release in December. Thanks!


data binding occurs error in v0.8.3

When I use data binding, it gives me some errors,
/Users/yinchuandong/androidapp/androidstudio/itime_android/app/src/main/res/layout/activity_main
.xml:30: error: Error: No resource type specified (at 'onClick' with value
'@{tabBarVM.onTabBarClick(0)}')

This is the full log:
freeline.log.txt

@yinchuandong Could you provide these files located in /Users/yinchuandong/androidapp/androidstudio/itime_android/app/build/freeline/app/resource_dependencies.json and /Users/yinchuandong/androidapp/androidstudio/itime_android/app/build/freeline/databinding_path_cache.json

Hi, @lomanyong
These are the two files as you required. Wish you can address the problem asap. Thanks.
resources_dependencies.json.txt
databinding_path_cache.json.txt

@yinchuandong Do you have any configuration in freeline DSL like extraResourceDependencyPaths ?

@lomanyong Yes, I did,
This is my extraResourceDependencyPaths
freeline {
        extraResourceDependencyPaths = ['/Users/yinchuandong/androidapp/androidstudio/itime_android/app/src/main/res']
}

If I didn't configure it, there would be an error - "Public resource xxx not defined". Can you also come up with a solution to improve this as well?

@yinchuandong Just remove this extraResourceDependencyPaths config. Then execute command python freeline.py -f -d > freeline_build.log and email this log file to me.
I think you have the similar problem with issue #408 .
There are logs like "ERROR: Failure processing PNG image xxx" in the error output.

@lomanyong Hi, this is the build log without extraResourceDependencyPaths.
freeline_build.log.txt

@yinchuandong Check the resource files located in this directory: /Users/yinchuandong/androidapp/androidstudio/itime_android/app/build/freeline/freeline-databinding/app/5f3f6f4791eab42475a18c9e2bce69e8/res. These files were processed by databinding tool.
I guess there may be something wrong while processing.

@lomanyong Sorry for my late reply. I checked the directory. In freeline/xxx/5f3f6f4791eab42475a18c9e2bce69e8/res directory, there just are some xml drawable and animation resources, while all image resources are missing.

@yinchuandong Execute this command: java -jar freeline/release-tools/databinding-cli8.jar -p org.unimelb.itime -i /Users/yinchuandong/androidapp/androidstudio/itime_android/app/src/debug/res -o /Users/yinchuandong/androidapp/androidstudio/itime_android/app/build/freeline/freeline-databinding/app/3db7110e6c278caf8baa573b0a64a56e/res -d /Users/yinchuandong/androidapp/androidstudio/itime_android/app/build/freeline/freeline-databinding/merged_layoutinfo -c /Users/yinchuandong/androidapp/androidstudio/itime_android/app/build/freeline/freeline-databinding/app/3db7110e6c278caf8baa573b0a64a56e/java -l false -v 22 -s /Users/yinchuandong/android-sdks
Is there any error outputs?

@yinchuandong databinding processor will be stopped when the exception throws in freeline 0.8.4.

Sorry, I was too busy in last two weeks. My problem still exists. I assume that it is caused by the data binding processor, probably custom binding adapter, like Picasso library or some android selector drawable file. Unfortunately, I can not accurately address this issues because my project is really large.  So I didn't use freeline. If I have sufficient spare time, I will deeply research it.

@yinchuandong Could you provide any sample codes that can replay your problem?
Freeline with the version 0.8.4 will be aborted while the databinding process occurs any exceptions. You can also provide the error output as well.

@lomanyong
This is the binding adapter:

This is the layout image view:

there is an error:
process databinding error: Source '/Users/yinchuandong/androidapp/androidstudio/itime_android/app/src/main/res/drawable/drawable-xxhdpi' exists but is a directory
I am not sure the binding adapter is the cause of freeline building error. It is just my assumption.
These are the logs with and without extraResourceDependencyPaths configured respectively.
freeline_with_resource_path.log.txt
freeline_without_resource_path.log.txt


Request to add flixtor

Source name
Flixtor
Source link
https://flixtor.win/home
Source language
all
Other details
A site for viewing movies and series that does not contain pornography
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Due to getting a DMCA notice, we will not add any piracy sites as extensions.


Remove Things and Actions

Background
With opening up Weaviate for all kinds of use cases the distinction between Things and Actions no longer makes sense. Additionally from a UX perspective, always having to specify the semantic kind is an additional step the user has to do over and over.
Goals

[x] T/A are removed from the schema endpoint, as outlined in Point 4
[x] Data is served on the /v1/objects endpoint and /v1/things and /v1/actions are removed as outlined in Point 5
[x] In GraphQL Get {} and Aggregate {} the T/A level is removed as outlined in Point 6
[x] The short-form and long-form beacon when validated, parsed and resolved no longer contains T/A as outlined in Point 7 and Point 8
[x] In all internal places where we currently make a distinction between Things/Actions, the duplication is removed instead of thing/action one object can be labelled "object"

Notes

For any goswagger-related changes, always adapt openapi-specs/schema.json first, then run tools/gen-code-from-swagger.sh for the auto-generation to take effect.
Besides the API endpoints internally we are probably facing a lot of T/A logic in the usecases/kinds package (should probably be renamed to usecases/objects) as well as in adapters/repos/db where a lot the storobj explicitly distinguishes between T/A

Changes merged with master

Changes merged with master


hpack: 0.36.1 -> 0.37.0

The latest version of Haskell's hpack is 0.37.0. Increasingly .cabal files begin with a comment that causes Nixpkgs' hpack to reject them entirely:
-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack

$ hpack
shellwords.cabal was generated with a newer version of hpack, please upgrade and try again.

Unfortunately, hpack's --force option does not override this error; you need to remove the .cabal file in question manually, which can be annoying in repositories with many package.yaml files.
Using the latest version of hpack, which is provided by Nixpkgs but not set as the default for unclear reasons. hpack ==0.36.1 is listed as a constraint in
pkgs/development/configuration-hackage2nix/stackage.yaml, but pkgs/development/haskell-modules/configuration-common.nix makes sure to set hpack = self.hpack_0_37_0 for Stack itself.
See: pkgs/test/haskell/upstreamStackHpackVersion/default.nix

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@sternenseemann Do you know why hpack is pinned to 0.36.1? I'm not super clear on the hackage2nix machinery so there might be some context I'm missing.

We inherit the hpack version from Stackage which restricts hpack to a specific version range that doesn't cause brakage according to PVP. hpack's library only has few reverse dependencies so we can probably use the latest version by default to begin with, e.g.:
https://github.com/NixOS/nixpkgs/blob/3566ab7246670a43abd2ffa913cc62dad9cdf7d5/maintainers/scripts/haskell/update-stackage.sh#L58-L74

@sternenseemann Thanks! It looks like hpack has been upgraded to 0.37 in the latest Stackage LTS ("LTS 23.0 for ghc-9.8.4, published 4 days ago"). Should I run maintainers/scripts/haskell/update-stackage.sh and open a PR to haskell-updates?


Use Reflection instead of a Stacktrace for HttpClient Logger name

Hi guys, first of all thanks for sharing Klite!
I stumbled upon a minor potential for improvement in the way the name of a logger is determined in classes derived from TypedHttpClient.
The Kotlin Reflection API can provide you with the name of the instantiated class. You might want to consider the Java StackWalk API in case the change I propose is not providing the name you had in mind for the logger.
Both approaches would avoid constructing a Stacktrace which is typically considered a costly operation on the JVM.

Thanks! I used the StackWalker to actually get the name of the container class (usually it is a real client of some sort that does http requests)


Fail to build from sources with ld --as-needed

leveldb fails to build from sources with the linking flag '--as-needed' enabled.

The attached patch solves the issue (and set the correct GCC linking order).

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 29 Nov 2011 at 11:33
Attachments:

0101-as_needed.patch

I've rewritten the patch against the latest snapshot: 36a5f8e

Original comment by<EMAIL_ADDRESS>on 5 Dec 2011 at 5:17
Attachments:

0101-as_needed.patch

The bugref was wrong, attaching the revised patch.

Original comment by<EMAIL_ADDRESS>on 29 Nov 2011 at 11:36
Attachments:

0101-as_needed.patch

Any news on this bug?

Original comment by<EMAIL_ADDRESS>on 13 Oct 2012 at 4:17

Forgot to add $(LIBS) to the linking flags to the shared library.
The attached patch fixes it.

Original comment by<EMAIL_ADDRESS>on 13 Apr 2012 at 9:47
Attachments:

0101-as_needed.patch

Again, refreshed patch is attached.

Original comment by<EMAIL_ADDRESS>on 13 Apr 2012 at 12:14
Attachments:

0101-as_needed.patch

Fixed in 1.7.0.

Original comment by<EMAIL_ADDRESS>on 16 Oct 2012 at 11:35

Changed state: Fixed

Sorry, this got dropped on the floor.

Could you take a moment to e-sign the contributor license agreement
at http://code.google.com/legal/individual-cla-v1.0.html
so that I can incorporate your patches.  Email me when you have done so.

Thanks very much.
<EMAIL_ADDRESS>

Original comment by<EMAIL_ADDRESS>on 16 Oct 2012 at 4:45


Sql error when using filter order_grid filter backend

Describe the bug
Sql error when using filter order_grid filter backend
Used versions

Magento Version 2.4.5-p3:
Open source:
module version 1.6.5:

To Reproduce
Steps to reproduce the behavior:

Go to magento admin
Go to sales
Filter on Purchase Date
See error

[2023-07-26T12:00:06.054947+00:00] report.CRITICAL: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'created_at' in where clause is ambiguous in /data/web/magento2/vendor/magento/frame
work/DB/Statement/Pdo/Mysql.php:90
Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'created_at' in where clause is ambiguous, query was: SELECT main_table.*, datatrics_sales.status AS datatrics_status FROM sales_order_grid AS main_table
LEFT JOIN datatrics_sales ON main_table.entity_id = datatrics_sales.order_id WHERE  (((created_at >= '2023-07-24 22:00:00'))) AND (((created_at <= '2023-07-26 21:59:59'))) ORDER BY main_table.created_at DESC
Expected behavior
orders filterd by purchase date
Actual behavior
Sql error
Screenshots
NVT
Additional context
NVT

Hi @thokiller, thank you for opening this issue.
Happy to share that this was fixed in the latest version v1.6.8.
We refactored the grid collection by removing the created_at and joined the data from from the orders table due to an open issue in Magento 2.4.x, see https://github.com/magento/magento2/issues/36439

Hi @thokiller any update on this issue, can you confirm this issue has been fixed by updating to to >= v1.6.8?


If no columns defined for selection, get all columns

If no columns defined for selection, get all columns (SELECT * FROM)
booksWithInventories := make([]BooksWithInventories, 0, 0)
db.SelectFrom("books").
    LeftJoin("inventories", "inventories", godb.Q("inventories.book_id = books.id")).
    Do(&booksWithInventories)

No need to call ColumnsFromStruct(&booksWithInventories), if we want all columns in destination interface.

Hi Derkan,
Why not, but it needs a very small test, and a mention in the documentations of the Do method.
I don't see any trouble with the code. I could argue it's a breaking change in the public API but... seriously... not this time 😄
Sam.

Hi Sam,
You made my day! :-)
This time I was so confident that I'm not breaking public API, but caught again :-) Can you say which part is broken? I'll try to fix.


Example

I think it would be a good idea adding an example code. I'm having problems with the code exe and an example done by you could explain some parts of your code. Thanks.

I'll try to show some usage examples in README file when I'll find some free time.

I had added some sample usage in README. I hope this will help.


Security alert on cucumber-json-formatter-windows-amd64 release

Hello,
I downloaded https://github.com/cucumber/json-formatter/releases/download/v19.0.0/cucumber-json-formatter-windows-amd64 and our EDR flagged it as a threat.
After a virustotal.com analysis, it was flagged by 12 antivirus (cf below) :

Could anyone explain those alerts ?

Duplicate of https://github.com/cucumber/json-formatter/issues/23, https://github.com/cucumber/json-formatter/issues/20, https://github.com/cucumber/common/issues/1681, https://github.com/cucumber/common/issues/1556,  https://github.com/cucumber/common/issues/1974. TL;DR: It's a go executable. See https://go.dev/doc/faq#virus


Add convenience functions to set preferences

Adds the functions set_library_p4est! and set_library_sc! to conveniently set the preferences for custom libraries.

Looks like the new P4est_jll destroyed something :grimacing:
julia> using Pkg

julia> Pkg.add(["MPIPreferences", "P4est_jll", "MPI"])
[...]
julia> using MPIPreferences

julia> MPIPreferences.use_system_binary()
┌ Info: MPI implementation identified
│   libmpi = "libmpi"
│   version_string = "Open MPI v4.1.0, package: Debian OpenMPI, ident: 4.1.0, repo rev: v4.1.0, Dec 18, 2020\0"
│   impl = "OpenMPI"
│   version = v"4.1.0"
└   abi = "OpenMPI"
┌ Info: MPIPreferences changed
│   binary = "system"
│   libmpi = "libmpi"
│   abi = "OpenMPI"
│   mpiexec = "mpiexec"
│   preloads = Any[]
└   preloads_env_switch = nothing

and after restarting:
julia> using P4est_jll
julia> using MPI
[ Info: Precompiling MPI [da04e1cc-30fd-572f-bb4f-1f8673147195]

julia> MPI.Init()
--------------------------------------------------------------------------
It looks like opal_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during opal_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  opal_shmem_base_select failed
  --> Returned value -1 instead of OPAL_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

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

  ompi_mpi_init: ompi_rte_init failed
  --> Returned "Error" (-1) instead of "Success" (0)
--------------------------------------------------------------------------
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
[saola6:24126] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

Without using P4est_jll it works (of course) and the same, but with P4est_jll v2.8.1.+2, too. I think that's the problem behind at least some of the CI failures. Any ideas?

It's probably because of a mismatch between the OpenMPI versions (my local one and the one that is used in the OpenMPI build of P4est_jll), right?

Ok, the same happens with HDF5_jll. So that's probably not the problem...

There are some really weird issues:
mpiexec: Error: unknown option "-n"

for ubuntu-latest - P4EST_CUSTOM_MPI_CUSTOM - Julia 1 and
  ✗ P4est
  19 dependencies successfully precompiled in 13 seconds

ERROR: The following 1 direct dependency failed to precompile:

P4est [7d669430-f675-4ae7-b43e-fab78ec5a902]

Failed to precompile P4est [7d669430-f675-4ae7-b43e-fab78ec5a902] to "C:\\Users\\runneradmin\\.julia\\compiled\\v1.9\\P4est\\jl_16C0.tmp".

[1108] signal (22): SIGABRT
in expression starting at D:\a\P4est.jl\P4est.jl\src\LibP4est.jl:10

for windows-latest - P4EST_JLL_MPI_DEFAULT - Julia 1

Looks like P4est_jll doesn't use the right MPI version. After setting all Preferences (MPIPreferences and P4est preference) and restarting the REPL on Roci:
julia> using P4est

shell> ompi_info
                 Package: Debian OpenMPI
                Open MPI: 4.0.3
  Open MPI repo revision: v4.0.3
   Open MPI release date: Mar 03, 2020
                Open RTE: 4.0.3
  Open RTE repo revision: v4.0.3
   Open RTE release date: Mar 03, 2020
                    OPAL: 4.0.3
      OPAL repo revision: v4.0.3
       OPAL release date: Mar 03, 2020
                 MPI API: 3.1.0
            Ident string: 4.0.3
                  Prefix: /home/jlampert/.julia/artifacts/6f1138d9f7bcc8575ac98bb3ccbc47505c718c80
 Configured architecture: x86_64-pc-linux-gnu
          Configure host: lcy01-amd64-020
           Configured by: buildd
           Configured on: Wed Apr 15 13:14:35 UTC 2020
          Configure host: lcy01-amd64-020
[...]

which means that it still uses the OpenMPI version from the Artifact and not the system OpenMPI version. On the other hand after performing the same steps with HDF5:
julia> using HDF5

shell> ompi_info
                 Package: Debian OpenMPI
                Open MPI: 4.0.3
  Open MPI repo revision: v4.0.3
   Open MPI release date: Mar 03, 2020
                Open RTE: 4.0.3
  Open RTE repo revision: v4.0.3
   Open RTE release date: Mar 03, 2020
                    OPAL: 4.0.3
      OPAL repo revision: v4.0.3
       OPAL release date: Mar 03, 2020
                 MPI API: 3.1.0
            Ident string: 4.0.3
                  Prefix: /usr
 Configured architecture: x86_64-pc-linux-gnu
          Configure host: lcy01-amd64-020
           Configured by: buildd
           Configured on: Wed Apr 15 13:14:35 UTC 2020
          Configure host: lcy01-amd64-020
[...]

With HDF5.jl ompi_info reports to use the system MPI version located under /usr after setting the preference for the custom hdf5 library. In contrast, setting the preference for the p4est library doesn't change the MPI version that is used. I guess that is the problem at least for the failure on Ubuntu. https://github.com/open-mpi/ompi/issues/4557 indicates that the error message mpiexec: Error: unknown option "-n" is caused by a conflict of OMPI installations.

The kind of failure
  ✗ P4est
  19 dependencies successfully precompiled in 13 seconds

ERROR: The following 1 direct dependency failed to precompile:

P4est [7d669430-f675-4ae7-b43e-fab78ec5a902]

Failed to precompile P4est [7d669430-f675-4ae7-b43e-fab78ec5a902] to "C:\\Users\\runneradmin\\.julia\\compiled\\v1.9\\P4est\\jl_16C0.tmp".

[1108] signal (22): SIGABRT
in expression starting at D:\a\P4est.jl\P4est.jl\src\LibP4est.jl:10

for windows-latest - P4EST_JLL_MPI_DEFAULT - Julia 1
also happens in our CI tests of Trixi.jl. Do you have an idea what's causing this? If not, I would suggest rolling back the PR to P4est_jll to hotfix CI for now

We're seeing other, likely p4est-related issues also coming up for libtrixi (e.g., here). I wonder if something is severely broken with the latest JLL, though I can't understand what and why.
However, if this persists, we might need to consider to reverting the JLL and stripping OpenMPI from its build options, then fix it first locally, before recreating the JLL with OpenMPI enabled.

Yes, please. Can we proceed as follows to fix this?

Revert the P4est_jll build to make everything work again for now
Add explicit compat bopunds for P4est_jll.jl to P4est.jl, allowing only versions that we have tested (CompatHelper can help us updating if necessary)
Try to debug the P4est_jll build
Update P4est.jl to a new P4est_jll if possible


FTT-Transport update manual

This is a first draft of the FTT-Transport update manual.

A few questions:
@cormacmlynch --> Can you clarify Update Cost data#2 on the link to E3ME?
@aileenlam28 -->

Could you give an example link to a manufacturers website, so that people know what to look for when searching data from those websites?
Could you indicate who has access to Markline at the moment? So that if external people want to update with Markline, they know who to ask for help.
For "Update share data #4", is there a way to indicate that approximate data has been added?
Update the cost data #3: is there a more precise link? (maybe using webarchive for stability)
Could you indicate better when the end-years need to be updated in the Variable_Listing.xlsx? Is there also a country-specific end-year that needs updating?

Could you give an example link to a manufacturers website, so that people know what to look for when searching data from those websites? See Note 1 in the update.
Could you indicate who has access to Markline at the moment? So that if external people want to update with Markline, they know who to ask for help. See Note 2 in the update.
For "Update share data 4", is there a way to indicate that approximate data has been added? See Note 3 in the update.
Update the cost data 3: is there a more precise link? (maybe using webarchive for stability) Added links with examples
Could you indicate better when the end-years need to be updated in the Variable_Listing.xlsx? Is there also a country-specific end-year that needs updating? Did you mean the "history end-years" in the Variable_Listing.xlsx? If so, the end-years are currently the same for all countries.

Please see updates in the same branch.


Allow loading/fetching from ImageMap outside of loading

Crashes because it assumes it's batching regardless of load state.

4d9e74b got that stuff covered


docs: add kubernetes sigs to who's using Aya

This patch adds Kubernetes SIGs as official users of Aya, now that https://github.com/kubernetes-sigs/blixt is an official CNCF project under Kubernetes SIG Network.

/cc @astoycos @alessandrod @vadorovsky

Super nit can you use something like this instead

I think it would look better in the website rendering

Sure, done.

I would keep the list alphabetically sorted (to avoid treating some projects or companies as "more important", even if not intended). So before Red Hat and after Exein. :)

Done!


Not sure page content is correct

"Virtual machines in an existing virtual network can't be moved to a new subscription when you aren't moving all resources in the virtual network."
I have found other MS sources that would suggest this is wrong. Other sources suggest that "you should move RELATED (to the VM) resources with the VM", not everything in the VNet. This would make moving things in Azure a real problem.
Please review and update accordingly.  I hope it is not the other resources I have access that are wrong. I am afraid I do not have them to hand.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a89ac262-76f7-45fd-d1ab-3a8702167483
Version Independent ID: 5de7689c-dde8-6e0f-ceb4-b9c509dd57ef
Content: Move Azure VMs to new subscription or resource group - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/move-limitations/virtual-machines-move-limitations.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@Netspud2K Thanks for your comment. We will review the issue and get back to you shortly.

@Netspud2K - thanks for the question. I ran a test of having two VMs in a vnet. I tried moving one VM to a new subscription and it failed. I tried a couple of tests of moving different combination of resources with the VM but couldn't get it to work.
@cynthn - do you have any clarification about whether a VM can be moved to a new subscription without moving the vnet and all resources in the vnet? I am inclined to believe the documentation is correct as-is.

I added some text that the vnet and its dependent resources must also be moved, which is a little different than saying all resources in the vnet must be moved. The update should get published tomorrow.
#please-close


Upgrade to React 18

Regarding ReactDOM.unmountComponentAtNode, this goes hand-in-hand with ReactDOM.render. Per https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis, you should be able to replace those instances with root.unmount(). This might involve adding an instance property to class based components, in order to keep track of root.

As noted elsewhere, ReactDOM.findDOMNode is deprecated. In most cases, this can be replaced with a ref.
❯ rg findDOMNode -l
packages/libs/wdk-client/src/Components/InputControls/IndeterminateCheckbox.tsx
packages/libs/wdk-client/src/Components/Loading/Loading.tsx
packages/libs/wdk-client/src/Components/Overlays/Popup.tsx
packages/libs/wdk-client/src/Components/Display/Sticky.jsx
packages/libs/wdk-client/src/Controllers/LegacyParamController.tsx
packages/libs/wdk-client/src/Components/AttributeFilter/FieldList.jsx
packages/libs/wdk-client/src/Components/AttributeFilter/Histogram.jsx
packages/libs/wdk-client/src/Views/Answer/AnswerFilter.jsx
packages/libs/wdk-client/src/Views/Records/RecordUI.jsx

This looks great. Let's plan to merge after the 68b release. I will set a reminder to approve.

Let's get this up-to-date w/ the latest from main and plan to merge soon.


internal/lsp/source: show an original declaration and a value for variables and constants

This change improves the hover information for variables and constants by showing
both an original declaration and a value. The value is shown as an inline comment.
Two kinds of declarations are currently supported:

Basic literals of type int:

var x int64 = 0xff // 255
const x untyped int = 0b11 // 3
const x uint = 1_000_000 // 1000000

Binary expressions with bitwise operators:

var x uint = 0b10 | 0b1 // 3
const x untyped int = 10 << 20 // 10485760

This change also removes TestHoverIntLiteral in favor of marker tests
Fixes golang/go#47453

Hello! I'd like to check in to see how this PR is coming along. This would help my daily workflow a bunch!


Keep current configuration when globally enabling a feature flag

When globally enabling a feature flag, the existing configuration is deleted. It would be desirable to keep the current configuration to avoid losing the existing config when someone enables it globally by mistake or just like to recover the previous config.
What do you think?

The problem is its weird in practice. Say you enable a few actors individually and 30% of actors. Then you click enable. Something's wrong and you don't want it to be.
So you click disable. What is your expectation? Mine would be it is entirely off. I would not expect it to go back to previous state. If its not disable, then it means we have to add something new to rollback to previous state. Can you keep rolling back or just one rollback?
Either way you have to build things into the adapter level to store one or more rollback states. Then you have to add a rollback methods in all the adapters, DSLs, UI and API. It's a huge undertaking. I don't think it is as simple as just making disable go back to previous state (which also would break backwards compatibility).
Cloud Solution
To me this is something solved with an audit log and rollback. For www.flippercloud.io, this is what we did.
We have an audit list for each environment.

If you click "View or rollback" you can see what the state of configuration was at that point and easily roll back to it.

It feels awkward and breaks expectations to disable and go back to previous state. Having separate functionality makes the most sense to me. But I don't really want to maintain audit log and rollback for every single adapter, thus I whipped it together in cloud so I could just do it once.
Roll your own solution
Another option is to roll your own. If you instrument with ActiveSupport::Notifications and subscribe to the instrumentation , you can create audit logs.
require 'active_support/notifications'

class FlipperSubscriber
  def call(*args)
    event = ActiveSupport::Notifications::Event.new(*args)
    # do something here to serialize gates hash into your database
    puts event.inspect
  end

  ActiveSupport::Notifications.subscribe(/flipper/, new)
end

require 'flipper'
require 'flipper/adapters/instrumented'
adapter = Flipper::Adapters::Memory.new
flipper = Flipper.new(adapter, instrumenter: ActiveSupport::Notifications)
flipper.enable(:search)
flipper.enabled?(:search)

# events will start getting printed out

If you want to then rollback, those audit logs can reasonably store the state of configuration in the audit log (in postgres it could be a jsonb or in other databases just serialize json somewhere).
Getting the gates hash is possible by doing this:
flipper.adapter.get(flipper[feature.key]) # hash of gate key => value

You can serialize that in your data store. Rehydrating that gates hash into something useful is easy:
# A recreation of the flipper feature at this point in time.
adapter = Flipper::Adapters::Memory.new({
  feature.key => HashWithIndifferentAccess.new(gates_hash),
})
Flipper::Feature.new(feature.key, adapter)

Rolling back isn't too bad either as you can use some flipper internals:
# current config
local_gate_values = Flipper::GateValues.new(HashWithIndifferentAccess.new(flipper.adapter.get(flipper[feature.key])))

# config to rollback to
remote_gate_values = Flipper::GateValues.new(HashWithIndifferentAccess.new(feature_audit.gates_hash))

# sync them up
synchronizer = Flipper::Adapters::Sync::FeatureSynchronizer.new(flipper_feature, local_gate_values, remote_gate_values)
synchronizer.call

All that code is pulled from flipper cloud so it should be trustworthy and gives you an idea.
Wrap up
Any thoughts on any of that or strong feelings to the contrary? By no means do I assume I've thought of all the options here. 😄

Closing to keep tidy but happy to keep the conversation flowing.

Hi, thanks for your detailed response.
I was thinking in something simpler, in my case I am using the Active Record adapter, I did a couple of changes:
diff --git a/lib/flipper/adapters/active_record.rb b/lib/flipper/adapters/active_record.rb
index a433cbef..4c2c1fbb 100644
--- a/lib/flipper/adapters/active_record.rb
+++ b/lib/flipper/adapters/active_record.rb
@@ -127,7 +127,7 @@ module Flipper
       def enable(feature, gate, thing)
         case gate.data_type
         when :boolean
-          set(feature, gate, thing, clear: true)
+          set(feature, gate, thing, clear: false)
         when :integer
           set(feature, gate, thing)
         when :set
@@ -149,7 +149,7 @@ module Flipper
       def disable(feature, gate, thing)
         case gate.data_type
         when :boolean
-          clear(feature)
+          @gate_class.where(feature_key: feature.key, key: gate.key).destroy_all
         when :integer
           set(feature, gate, thing)
         when :set
(END)

This approach lets me enable/disable a FF without losing the individual actors or % configuration.
Of course, my approach would require changing it on several adapters too to keep it coherent, and maybe I am missing something important.
Many thanks for your help.


National Dex went missing

pokemonemerald_versionsav.zip
First of, I love you tool. It may well be the best fan-made application for a game I have ever used. Everything works so well and the amount of features is insane. Except, now I have encountered a Problem, that may or may not be due to Trigger's PC:
I tried to fill up my Living Dex. I moved Pokemon from 12 different save (3xE, 2xR, 2xS, 2xLG, 3xFR, mixed English and German) files to TPC. I wanted to complete it on one of the Emerald versions (english), so I moved all of the living Dex to said file. I started the game, and noticed that it had "forgotten" that I had the national Dex. I can't switch to in the Pokedex, the Prof also says 201 and that it's complete and finishing the League again doesn't activate it again whatsoever. I hope this is a fixable bug! But I assume it hard to replicate. I will attach the "corrupt" file + the corresponding game.
Thanks for the app, again it's so useful!
Do you take suggestions somewhere outside of ProjectPokemon? I have some more ideas, Maybe you can give me a way and the chance to tell you!
Regards,
Floowey

First you may wanna remove that first download for safety reasons. I've already got it so it doesn't need to be up anymore.
After taking a look, I can't say I'm 100% sure but I don't think this issue was caused by Trigger's PC. I can't find any code that changes the National Pokedex values like they were set to in the game. Have you used any other Pokemon Tools since you last had the National Pokedex? Have you used any cheats? What features have you used for this save in Trigger's PC?
Anyways I also reenabled the National Pokedex for your save. If this happens again then we'll likely have a case.
National Pokedex Fixed.zip
And sure suggest away. Just post something in the issues section and I'll assign it as a suggestion.

Also a heads up. Suggestions are always open but the tool actually isn't being worked on at the moment (with the exception of bug fixes). Any suggestion, unless it's minor will most likely be put off till I get back into working on Trigger's PC.

Oh right, I'm sorry. Didn't think about that, it's gone now!
No I don't believe  I did use any other tool on this version. The only cheat I usually have on is infinite PP, but I haven't had any problems with that.
Thanks for fixing that! That is so nice!
I'll just dump my ideas here then, if you happen to develop it further at some point..

I think what's missing is the lottery in RSE.
In a similar manner, I don't believe there is a way to view all the different ID's you have on a specific save file/in total.
Also, since it is so silly to access, maybe seeing the clock time on the PC couls be practical (if I didn't happen to miss it), for example for the eevolutions.
One should be able to learn tutor moves, across the versions
You have probably addressed it several times, but in my opinion some sort of creator or god mode wouldn't be so bad. It could be locked and in different levels, a genuine one that just makes it faster/easier to get to things (all allowed moves accessable, level, IV/EV) or (if even) a real cheat one, doing things that wouldn't be allowed usually..
Again, big thanks for fixing my gamefile! If only All developers were as supportive (looking at you niantic..)


[Feature request] Ignore speaking users name if only one user has TTS activated.

Is your feature request related to a problem? Please describe.
Currently if only one user has TTS enabled their name is spoken before the message is being said.
Describe the solution you'd like
If only one user has it enabled it would expedite the conversing with people who are not using the TTS to skip saying the users name if it's only one user who has TTS enabled. If more than one user has it enabled it should however say their name before hand.
Describe alternatives you've considered
None.
Additional context
None.

@Zelaf Currently, how the bot is set up, the bot only speaks the user's name if it's the first time they've spoken in the past 30 seconds, or if they were not the last person who spoke. It doesn't read the user's name otherwise. Because of this, I don't think this is an issue. But if you still have a problem with this, please comment again, and I will reopen the issue!


test_models: clean up log fallback

clean up https://github.com/commaai/openpilot/pull/30794 with fix for running test_models locally

@jnewb1 can you check this out? pytest.mark.skipif appears to always skip in CI, but works locally. When swapping to unittest.skipIf, there are some failures in CI (which are expected with the way you wrote the logic): https://github.com/commaai/openpilot/actions/runs/7392077124/job/20109992501

Let's revert https://github.com/commaai/openpilot/pull/30794 so we can re-write it the correct way

[x] test_car_model works locally on a non-ci bucket route (CI=0)

Ran 8 tests in 12.942s
OK (skipped=1)

[x] ci fails on a non-ci bucket route, but still runs the rest of the tests (CI=1)

AssertionError: False is not true : Route not on CI bucket. This is fine to fail for WIP car ports, just let us know and we can upload your routes to the CI bucket.

[x] test_models passes locally even with non-ci bucket route (CI=0)

80 passed, 56 skipped in 14.01s


Errors on bootstrap

Hey, I am mainly interested in the GraphQL Git API. I couldn't run a dev server however. When I run npm run bootstrap:
><EMAIL_ADDRESS>bootstrap ./citation
> lerna bootstrap

Lerna v2.0.0-beta.37
Bootstrapping 5 packages
Preinstalling packages
Installing external dependencies
NpmUtilities.installInDir     ("./citation-server"<EMAIL_ADDRESS>Command exited with status 1: npm install
Errored while running BootstrapCommand.execute
Command exited with status 1: npm install

npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "~/.nvm/versions/node/v6.3.1/bin/node" "~/.nvm/versions/node/v6.3.1/bin/npm" "run" "bootstrap"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>bootstrap: `lerna bootstrap`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>bootstrap script 'lerna bootstrap'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the citation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     lerna bootstrap
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs citation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls citation
npm ERR! There is likely additional logging output above.

As I am mainly interested in the citation-server I tried cd citation-server npm install and npm run build but I get:
$ npm install
...
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "~/.nvm/versions/node/v6.3.1/bin/node" "~/.nvm/versions/node/v6.3.1/bin/npm" "install"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! path ./node_modules/citation-react-renderer/lib/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod './node_modules/citation-react-renderer/lib/cli.js'
npm ERR! enoent ENOENT: no such file or directory, chmod './node_modules/citation-react-renderer/lib/cli.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     ./npm-debug.log

$ lib/cli.js
...
module.js:442
    throw err;
    ^

Error: Cannot find module '../build/Debug/nodegit.node'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (./node_modules/nodegit/dist/nodegit.js:18:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

I would prefer not having to run it in Docker.

Hey, I think you are our first public contact ;)
If I understand well your logs, in the first case, it misses a npm install to have lerna locally before using npm run bootstrap to basically run npm install on every modules. In the second logs, you can't run the server without the bootstrap as you need symlinks between each modules.

I could have sworn I did that but nuking citation-server/node_modules and npm install fixed it.  It now binds to localhost:4000 serving an empty page and the API seems to be on localhost:4000/graphql. Is there a Graph_i_QL client enabled? By the way, It still reports some errors:

><EMAIL_ADDRESS>nodemon:server .
> cd citation-demo && nodemon ./citation-server/lib/cli.js --watch ./citation-server/lib

[nodemon] 1.11.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: ./citation-server/lib/**/*
[nodemon] starting `node ./citation-server/lib/cli.js`
info: [Server] Server running at: http://x230:4000
info: [GitUpdater] Starting...
error: [NodeGit] Check return false following error Error: ENOENT: no such file or directory, access './citation-demo/work/master'
info: [GitUpdater] Repository https://github.com/aya-experience/citation-demo-content.git not ready at ./citation-demo/work/master, cloning...
info: [GitUpdater] https://github.com/aya-experience/citation-demo-content.git clone done
info: [NodeGit] With changes : false
info: [GitUpdater] End
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
info: [GitUpdater] Starting...
info: [NodeGit] With changes : false
info: [GitUpdater] End
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'
error: [GitUpdater] Gitasdb read object error Error: ENOENT: no such file or directory, scandir './citation-demo/work/master/Page/second'

Re: first public contact, I found your project by searching for git and graphql on npm. :)

Cool! At this point, you are where we are in development, Citation is currently under heavy dev.
I didn't plug a Graphiql client but it should be possible, I imagine.

Cool, I'll have a dig around, thanks very much for your help!


Minimal new feature for waitForSelector

    await agent.waitForElement(agent.document.querySelector("p.more"), {
        waitForVisible: false
   });

to
 await agent.waitForSelector("p.more", {
       waitForVisible: false
 });

Is easy to wait when is the first load and we dont have the document.

@ctaity, the agent.document should always exist, even before first load.

i kwon , but i think is more clear :D, and more selneium compatible.

Yes, it's more clear, and it's easier to write. I like it.

Just to collect in the same place, a user on discord suggested something like this might be nice (more like AwaitedDom)
recaptchaFrame.waitFroElement('div.recaptcha-checkbox-border').click()


docs: improve @fastify/swagger integration docs

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behaviour?
You can also link to an open issue here.
What is the new behaviour?
...
Does this PR introduce a breaking change?
What changes might users need to make in their application due to this PR?
Other information:
Please check if the PR fulfills these requirements:

[ ] Tests for the changes have been added
[ ] Docs have been added / updated
[ ] Relevant Changeset has been added

coverage: 100.0%. remained the same
when pulling 909c1b5796b92c691083b59502891a2e571fd3a7 on docs-fastify-swagger-integration
into 10978b69fc88a4b14f4ffa569a246a2509e9fe50 on master.


Fix low level api examples

This fixes the documentation of the low-level API in README.md and in the examples folder.
llama_init_from_file, for example, was replaced by llama_load_model_from_file in https://github.com/abetlen/llama-cpp-python/commit/952228407ebd68ef621ad747e3561c821d1c02d3

@jbochi thank you for the contribution!