Cannot read property 'style' of null

First, I already try to find solution on SO, but I think this is a bug.
I am using Angular2 application. (For backend I use ASP.NET core 1.1.) I also create SignIn button following official tutorial.
On successfully log in I re-route user to home page and then I get error. I get the same error if I logout from google account (in chrome).
The error is:

vendor.js:81139 Uncaught TypeError: Cannot read property 'style' of null
at G_ (cb=gapi.loaded_1:91)
at H_. (cb=gapi.loaded_1:94)
at Function. (cb=gapi.loaded_0:155)
at run (vendor.js:99289)
at runIfPresent (vendor.js:99318)
at onGlobalMessage (vendor.js:99358)
at ZoneDelegate.invokeTask (vendor.js:81259)
at Zone.runTask (vendor.js:81135)
at ZoneTask.invoke (vendor.js:81329)

and line with error is:
window.document.getElementById((c?"not_signed_in":"connected")+a.El).style.display="none";
Of course getElementById returns null, because I am no longer on Login page, and Angular remove html from DOM. Same happens if I log out from Google account. The user could be anywhere.
I read somewhere on SO, where tip for same error was

don't delete Google SignIn element, just set diplay to none

, but this is not possible here, since Angular2 remove element from DOM.
I think you should check first if element exists and then set style to whatever.

Hi @MaklaCof,
Thanks for the detailed reporting. It's an error that you can safely ignore, however I understand it is not the ideal behavior. The widget is not meant to be removed from the page after a sign in or sign out, but many Single Page Apps will do that.
An alternative I would propose is to use this: https://developers.google.com/identity/sign-in/web/build-button#building_a_button_with_a_custom_graphic so you can control more precisely the lifecycle of the button. It will also help you automatically sign in the user if they were previously signed in:
auth2 = gapi.auth2.init({...}).then(auth => {
  if (auth.isSignedIn.get()) {
    // User already signed in, no need for the button, directly route to the "signed-in" state.
  }
});

Does that help?

I will check it, but I can not ignore it. On successful login I do some work (some request are made to server, meni are reordered, some are hidden some are showed), but error in JavaScript stop executing this things.

Unfortunately it is not working. It raise the same error.
This is my updated code:
    ngAfterViewInit()
    {
        gapi.load("auth2", () =>
        {
            const auth = gapi.auth2.init({
                client_id: "**********"
            });

            if (auth.isSignedIn.get())
            {
                this.onGoogleLoginSuccess(auth.currentUser.get());
            }
            else
            {
                auth.attachClickHandler(this.el.nativeElement, {}, (user) =>
                {
                    this.onGoogleLoginSuccess(user);
                },
                    (error) =>
                    {
                        this.onGoogleLoginError(error);
                    });
            }

            /*gapi.signin2.render(
                this.googleLoginButtonId,
                {
                    onsuccess: (user) => { this.onGoogleLoginSuccess(user); },
                    onfailure: (error) => { this.onGoogleLoginError(error); },
                    scope: this.scopes.join(" ")
                });*/
        });
    }

    onGoogleLoginSuccess(user: gapi.auth2.GoogleUser)
    {
        this.isGoogleAccountVisible = true;
        const profile = user.getBasicProfile();
        this.googleAccount = profile.getEmail();
        const auth = user.getAuthResponse(true);
        this.authService.loginWithGoogle(new GoogleLoginModel(auth.access_token, profile.getName()))
            .subscribe((profile) => { this.getData(); });
    }

    onGoogleLoginError(error: string)
    {
        this.error = { code: eResponseErrorCodes.Error, message: error };
    }

    loginClick()
    {
        this.isGoogleAccountVisible = true;
        this.authService.login(new LoginUser(this.loginForm.value.email, this.loginForm.value.password))
            .subscribe((profile) =>
            {
                this.getData();
            },
            (err) =>
            {
                this.isGoogleAccountVisible = false;
                this.error = err;
            });
    }

    private async getData()
    {
        delete this.error;
        await this.usersService.readAndSave();
        this.isGoogleAccountVisible = false;
        delete this.googleAccount;
        this.router.navigate([""]);
    }

If I return to original problem:

The widget is not meant to be removed from the page after a sign in or sign out, but many Single Page Apps will do that.

I think you should really fix this. It is a little funny that Google (Angular2) is not working with himself (SignIn). It is not that hard to change this code:
window.document.getElementById((c?"not_signed_in":"connected")+a.El).style.display="none";
to this:
var t = window.document.getElementById((c?"not_signed_in":"connected")+a.El);
if (t) t.style.display="none";

Hi @MaklaCof,
Thanks for trying to implement what I recommended.
Are you saying this is still raising the same Uncaught TypeError: Cannot read property 'style' of null? I'm surprised as the method used now should not depend at all the same library gapi.signin2. Have you removed the HTML for the previous button? If there is still a button with the same class g-signin2 it will initialize as before.
I also see that we could avoid this error raised very easily, however, that does not fix the real issue here, being that the button/library state is not properly cleaned up by removing the button from the DOM. A more programmatic approach should be used within Angular framework instead of using the button widget.
Could you please make sure that gapi.signin2 is not initialized somehow in your code? On my end I will look at how properly fix the issue within the library itself.
Thanks!

Hi. Thank you.
I tried again and it works. I must have forget something in previous try. Not sure what.

Glad it worked!

I'm getting the same error on ReactJs.
The first time the page is loaded everything is Ok.
If I change from one page to another, the element is removed from the Dom, and when I go to the page with the button, gapi.signin2.render is called again.
But it seems that the events from the first call still alive, and that events show the error of "null".
If I repeat the process, the events still there, but this time twice.
It feels that what we're missing is a function to clean all events when the DOM is removed.

Hi @JordiOrriols, as I mentioned earlier, gapi,signin2 is unfortunately not designed to be used in a single page application, hence the issue you observe. For now, you can build a custom button which will help you control the lifecycle more precisely: https://developers.google.com/identity/sign-in/web/build-button#building_a_button_with_a_custom_graphic.
We could potentially implement a dispose() method that would dispose properly of all the listeners, method that you would call when the button is removed from DOM. Would that help?

This would help for sure. It would be great to have this method on the future!
Thank you!

If you search gapi Cannot read property 'style' of null in Google search, you will see how much pain we are suffering. Yes we can implement it ourself to fix the issue but it would be much better if Google can make it works with SPA

@tom10271 I apologize for the inconvenient. We are going to roll out a quick temporary fix while we work on a longer term solution for Single Page Application. I'll update this thread when it's deployed.

@tom10271 @JordiOrriols  The error should not be raised anymore now. Please let me know if that works for you!

Any update on this?  This bug make the google sign in button disappear completely.

@lapat what do you mean? In this bug's context, the framework used already remove the button from the DOM.

@TMSCH maybe I'm experiencing a different bug?  Google sign in button will randomly not show up on my site with this error:
b=gapi.loaded_2:20 Uncaught TypeError: Cannot read property 'style' of undefined
   at QG (https://apis.google.com//scs/apps-static//js/k=oz.gapi.en.8ggGBlnRYmw.O/m=signin2/exm=auth2,client/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCORPt1ErXTGopWn2el2oYFxRcgjyw/cb=gapi.loaded_2:20:434)
   at H_.S (https://apis.google.com//scs/apps-static//js/k=oz.gapi.en.8ggGBlnRYmw.O/m=signin2/exm=auth2,client/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCORPt1ErXTGopWn2el2oYFxRcgjyw/cb=gapi.loaded_2:22:72)
   at tW (https://apis.google.com//scs/apps-static//js/k=oz.gapi.en.8ggGBlnRYmw.O/m=signin2/exm=auth2,client/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCORPt1ErXTGopWn2el2oYFxRcgjyw/cb=gapi.loaded_2:23:32)
   at https://apis.google.com/js/platform.js?onload=onLoadCallback:50:615
   at https://apis.google.com/js/platform.js?onload=onLoadCallback:20:348
   at hb (https://apis.google.com/js/platform.js?onload=onLoadCallback:12:467)
   at b (https://apis.google.com/js/platform.js?onload=onLoadCallback:20:331)
   at G.(anonymous function).G.(anonymous function) (https://apis.google.com/js/platform.js?onload=onLoadCallback:20:421)
   at c (https://apis.google.com/js/platform.js?onload=onLoadCallback:20:388)
   at https://apis.google.com/js/platform.js?onload=onLoadCallback:20:352

Hmm this error should not happen anymore. Are you caching api.js or platform.js?

@TMSCH, should I be caching api.js or platform.js?  If so, how do I that?  Thanks man!  This bug is killing me.

You should not, no. I am just surprised that you're getting this error. I tried removing the button from DOM and then signing out, which should update its state, and it doesn't raise the error.
Could you explain in a bit more details what you mean by "Google sign in button will randomly not show up on my site with this error:"? How does that happen? Could you provide a minimal snippet of code that reproduces the issue?

@TMSCH thanks for your help man!
The code is copy and pasted from here:
Google sign in
I use it on my site:
coinflash
It appears that the error appears sometimes when a user signs off my site and then tries to sign back in or a user is directed to a page in my site and the 'sign-off' method is called even though the user is not signed in.  Although, even these steps will not reproduce the error.

@lapat did this error happen recently? i.e. after I pushed the fix 10 days ago?
I am not able to reproduce it in your app.

@TMSCH it's very hard to reproduce. I saw it happened yesterday on my friends Chrome on a Mac.  Maybe some browsers were caching the script?  I just added a random string to the end of the URL now to force it to always get latest JS file from google server:

You shouldn't have to add the random string, this endpoint doesn't set any cache headers.
If I don't have a way to reproduce it, I can't debug :(

@TMSCH okay let me try to reproduce and I'll hit you back up.  Thanks for being responsive and cool!

You're welcome :)

Hi @TMSCH so this bug is still showing up for my users.  I know you can't reproduce it but what would you recommend would be the way to fix it?  I don't think building a custom google sign in button would do it because it uses the same JS files, right?
Building a custom Google Sign-In button
Or maybe build my own HTML button that acts just like a Google sign in button?

I did just that:

        Prijava z Google računom

and code:
    public googleAuth: gapi.auth2.GoogleAuth;

    ngAfterViewInit()
    {
        this.initGapi();
    }

    private initGapi()
    {
        if ((<any>window).gapi)   //just if(gapi) is not enough. I still get error: gapi is not defined. If this will not fix error, another options is to remove async deffer when loading platform.js library.
        {
            gapi.load("auth2", () =>
            {
                this.zone.run(() =>
                {
                    this.googleAuth = gapi.auth2.init({
                        client_id: OpPISTransferedData.googleClientId
                    });

                    if (this.googleAuth.isSignedIn.get())
                    {
                        this.onGoogleLoginSuccess(this.googleAuth.currentUser.get());
                    }
                    else
                    {
                    }
                });
            });
        }
        else
            window.setTimeout(() => { this.initGapi(); }, 100);
    }

    public googleLoginHandler()
    {
        this.googleAuth.signIn()
            .then(user => this.onGoogleLoginSuccess(user), error => this.onGoogleLoginError(error));
    }

Hope it helps someone. There is just one problem. I am using Chrome, and reopen old tabs (settings). When I turn of my computer, and turn it on again and start Chrome, all my tabs are reopen, but sign in does not work (until I refresh the page). IT writes "window was closed by user".

@MaklaCof this is great, too bad about the 'window was closed by user' thing.  Did you have a disappearing button before you replaced your code with this?

Yes I need to prepare scenario and report a bug, but didn't find the time to do it.
I am not sure what you mean with disappearing button. I was having a problem with error in console, which is why I started the thread.

@MaklaCof thanks for providing a snippet to address the bug mentioned by @lapat. What do you mean by "IT write window was closed by user"? This is not an error coming from gapi.auth2 (popup_closed_by_user is).
@lapat, the option you propose (building your custom button) would work as it doesn't use gapi.signin2 which has the issue. Any chance you could provide a link to reproduce the issue?

so this just happened to me and my button has dissappeared I am using this html

then I have a javascript function onSignIn this was working until today.

Problem is still active, but it is not as easy as @MaklaCof  suggests. In my case problem appears during navigation through tabs. And apparently element ID is not there after ngAfterViewInit indeed. So, I just added waiting for the button to appear, like this:
	var btn = document.getElementById(btnId);
	if (!btn) {
		console.log('sso', 'wait for button started');
		var waitForRes;
		var waitFor = new Promise((res, rej) => {
			waitForRes = res;
		});
		this.ngZone.runOutsideAngular(()=>{
			var timer = setInterval(() => {
				btn = document.getElementById(btnId);
				console.log('sso', 'wait for button...', btn);
				if (btn != null) {
					clearInterval(timer);
					waitForRes();
				}
			}, 100);
		});
		await waitFor;
		console.log('sso', 'button is there!', btn);
	}

	mconsole.logx('sso', 'renderGoogle Loaded');
	gapi.signin2.render(btnId, { ...

Anyone have any idea how to implement something similar in React? There's a similar issue, and what I understand is that it is happening because React removes a certain element from DOM? but that element needs to stay in DOM?
My problem is more concerned with the recaptcha in firebase Auth with Phone.

If it's any help, I see this error periodically. Here's an example stack trace:
TypeError: Cannot read property 'style' of null
    at Array.<anonymous> (https://www.gstatic.com/recaptcha/releases/lz3oilnU_FqeO0ydN3CXU9RT/recaptcha__en.js:225:269)
    at UK.<anonymous> (https://www.gstatic.com/recaptcha/releases/lz3oilnU_FqeO0ydN3CXU9RT/recaptcha__en.js:83:305)

Haven't been able to reproduce locally yet, but I'll update if I do.


Expose serde feature

Which issue does this PR close?
Expose serde feature
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Given this doesn't gate functionality in DataFusion, what is the motivation for plumbing it through, as opposed to down streams just declaring this?

I'm not sure I would expect DataFusion to re-export the feature flags of arrow, but I'll defer to other maintainers


Remove install step because build does the install

:tada: This PR is included in version 0.4.0 :tada:
The release is available on:

GitHub release
v0.4.0

Your semantic-release bot :package::rocket:


feat: add signOut() behavior option

Adds the behavior option to the signOut method which can be used to control which sessions should be signed out of the account.
See:

https://github.com/supabase/gotrue/pull/1112

Excellent.
Was there any discussion about the behavior verbiage? I ask because it seems like scope would be a good fit here.

lets go with scope


Allow empty groups?

I've noticed that Cobalt errors when it encounters an empty group in a DTCG file. In my current setup, which uses Tokens Brücke to export DTCG from our Figma library's variables, I end up with an empty group. (FWIW, the reason we have an empty group is because our design system is still a work in progress, and we're scaffolding out groups before adding actual tokens into them.)
I've worked around this with a simple script that removes the offending group from the DTCG file, before it gets passed into Cobalt. However, I think it would be helpful if Cobalt was more permissive and just ignored empty groups rather than throwing an error. (or else this was downgraded to a warning)
It would simplify my setup a little. But I suspect it's a situation others might also encounter, so it could help others too.
FWIW, the DTCG spec doesn't say anything about empty groups, so Cobalt's approach is a valid interpretation. However, I'll raise an issue in the DTCG repo later to suggest amending the spec to be more specific about whether (or not?) empty groups are allowed.

However, I think it would be helpful if Cobalt was more permissive and just ignored empty groups rather than throwing an error. (or else this was downgraded to a warning)

Yeah I think just raising a warning and ignoring it is the right call. I think people should be aware they have empty groups in their tokens.json. But you’re right—it shouldn’t prevent generation IMO. I don’t think warning for groups that, say, have $description or $extensions but not tokens should generate any noise; only for truly empty groups ({}).
I never made an intentional decision to err on empty groups; I just really never thought to test for it. I could release a patch for this fairly quickly.

Sweet! Thanks for the quick response. If it helps, I could contribute a PR for this.

(btw, @james-nash is me too. I have separate GitHub accounts for work and personal stuff)

Sweet! Thanks for the quick response. If it helps, I could contribute a PR for this.

Would love a PR for this! Should be as simple as changing this line in core. Also selfishly would love for the great James Nash’s name to be a contributor to this project 🙂

(btw, @james-nash is me too. I have separate GitHub accounts for work and personal stuff)

Aha! I knew it! No wonder I had never seen you both in the same room before 😉

Cool, I'll have a go at making a PR tomorrow.

Aha! I knew it! No wonder I had never seen you both in the same room before 😉

"Never cross the streams" It's a miracle that the universe didn't implode! 🤪


Bug: Merging PR in GitHub without deleting branch causes trouble

If a CMS generated PR gets merged through GitHub without deleting the CMS branch, the editorial workflow keeps the card, but any attempt at publishing it fails.

@biilmann looking at GitHub's API docs, it seems we can check if a PR has been merged.
The only issue is that listUnpublishedEntries checks and returns objects from the refs API, not the PR API. We'd need to get a PR number from the returned ref in order to filter the list.

@biilmann after further investigation, it looks like we can find the appropriate PRs with a URL like the following:
https://api.github.com/search/issues?q=repo:Benaiah/netlify-cms-test-repo type:pr state:open head:cms/2017-02-24-yada-yada-yada
As you can see, the "head" parameter is unfortunately not exclusive - it searches for PRs that have a substring match on the "head" parameter. To successfully filter, we'd need to either take the first result (fragile) or figure out a way to restrict the search to only exact matches of the "head" parameter.
Our other option is to get unpublished branches from the list of PRs, not the other way around - this would likewise use the search API.
Thoughts?


Extract strings from the debug drawer

Quiets a bunch of lint warnings, and is probably A Good Thing

Sorry for sitting on this. I actually think this is a bad idea unless you have a bunch of developers that don't speak the same language (which seems exceedingly rare).
I'd rather just see the whole file suppress the warning.

Not a problem @JakeWharton, I'm amazed you have time at all to look at any of these!


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.19.195",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bd551e7c85939de2182010273450bfa78c3742fc"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "bd551e7c85939de2182010273450bfa78c3742fc",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "usb: dwc3: ep0: fix NULL pointer exception\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.19.195 by commit bd551e7c85939de2182010273450bfa78c3742fc. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000877


Connections 1.13 no api

Add support for the is_shared property and the custom_keys connection type.

API change check
API changes are not detected in this pull request.


Blog post: Tagless Final algebras and Streaming

Also added details about author since it's my first time writing a blog post here :)

Came here to share my thoughts and ended up learning quite a lot, thanks to all the reviewers that have taken the time to go through the article, awesome community :heart:

I've resolved the merge conflict in the authors file. Any other pending changes, or is this good to merge?

Thanks @larsrh ! No more changes from my side. @fthomas are you okay with the latest change suggested by you?

@gvolpe Yes, LGTM.

:shipit:

@gvolpe Please remember to subscribe to the comment thread: https://typelevel.org/blog/2018/05/09/tagless-final-streaming.html


[TASK] Register and transact on VAnchor similar to protocol-solidity

Task summary
We should have similar register functionality for the Substrate VAnchor similar to the Solidity VAnchor. This is used to be able to support shielded transfers to other accounts. The functionality is quite simple, we simple emit an event of a link between a Substrate address and a public key of the shielded account.
We should consider adding a new pallet into the mix here which actually stores this mapping for potential future use cases. The idea would be that the VAnchor has a trait method such as T::KeyStorage::register(origin, public_key) that gets called on the register extrinsic. It should default to doing nothing.
The motivation here is that we can build another pallet that simply stores registrations. It can provide this hook to the protocol-substrate.

The most basic implementation of this is to just emit an event of a public key bytes vector in an extrinsic.


startDeviceScan() responding

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed
[x] I checked all example applications mentioned in README file and they don't work for me.
[x] I followed every installation step mentioned in README file.

Setup problem
So I have everything setup properly( I guess). So what happens is, whenever I am trying to call startDeviceScan(), it is not being called or is stuck at something, no clue!
Context
Here's my code:
`constructor() {
    super()
    this.manager = new BleManager()
    this.state = {info: "", values: {}}

    this.scanAndConnect = this.scanAndConnect.bind(this);
  }

   info(message) {
    this.setState({info: message})
  }

  error(message) {
    this.setState({info: "ERROR: " + message})
  }

  updateValue(key, value) {
    this.setState({values: {...this.state.values, [key]: value}})
  }

   componentDidMount() {
    if (Platform.OS === 'ios') {
      this.manager.onStateChange((state) => {
        if (state === 'PoweredOn') this.scanAndConnect()
      })
    } else {
      this.scanAndConnect()
    }
async function requestLocationPermission()
{
  try {
    const granted = await PermissionsAndroid.request(
      PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
      {
        'title': 'Example App',
        'message': 'Example App access to your location '
      }
    )
    if (granted === PermissionsAndroid.RESULTS.GRANTED) {
      console.log("You can use the location")
      alert("You can use the location");
    } else {
      console.log("location permission denied")
      alert("Location permission denied");
    }
  } catch (err) {
    console.warn(err)
  }
}
requestLocationPermission();
  }

    scanAndConnect() {
      this.info("Start Scan");
      console.log("Scanning")
    this.manager.startDeviceScan(null,
                                 null, (error, device) => {
      this.info("Scanning...")
      console.log(device)

      if (error) {
        this.error(error.message, )
        return
      }

      if(device) console.log(device);
      if (device.id === 'F4:BC:DA:57:D7:CC' || device.name === 'JBL Flip 3 SE') {
        this.info("Connecting to JBL FLip")
        this.manager.stopDeviceScan()
        device.connect()
          .then((device) => {
            console.log("Yohooo");
            this.info("Discovering services and characteristics")
            return device.discoverAllServicesAndCharacteristics()
          }).catch(err => console.log(err));
          // .then((device) => {
          //   this.info("Setting notifications")
          //   return this.setupNotifications(device)
          // // })
          // .then(() => {
          //   this.info("Listening...")
          // }, (error) => {
          //   this.error(error.message)
          // })
      }
    });
  }
`

Here's my console log:
[Sun May 03 2020 01:36:31.321]  LOG      Running "nativeapp" with {"rootTag":131}
[Sun May 03 2020 01:36:31.323]  LOG      Scanning
[Sun May 03 2020 01:36:31.324]  LOG      You can use the location
[Sun May 03 2020 01:37:19.260]  LOG      Scanning
[Sun May 03 2020 01:37:19.640]  LOG      You can use the location
Here's the package.json :

{
  "name": "nativeapp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "@remobile/react-native-toast": "^1.0.7",
    "jshint": "^2.11.0",
    "react": "16.11.0",
    "react-native": "0.62.2",
    "react-native-ble-plx": "^2.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.9.6",
    "@babel/runtime": "^7.9.6",
    "@react-native-community/eslint-config": "^1.1.0",
    "babel-jest": "^25.5.1",
    "eslint": "^6.8.0",
    "jest": "^25.5.3",
    "metro-react-native-babel-preset": "^0.59.0",
    "react-test-renderer": "16.11.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

What platform do you test on? Where are native logs as per the issue template request?

What platform do you test on? Where are native logs as per the issue template request?

Hey,
I'm using OnePlus 6, Android 10 (OxygenOS version 10.3.1).
The logcat log is as follows:
2020-05-03 03:54:15.619 10605-10793/com.nativeapp I/ReactNativeJS: Scanning 2020-05-03 03:54:15.638 10605-10809/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON 2020-05-03 03:54:15.643 10605-10809/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON 2020-05-03 03:54:15.648 10605-10627/com.nativeapp D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=9 mScannerId=0 2020-05-03 03:54:58.157 10605-10624/com.nativeapp D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@9c7b867[MainActivity] 2020-05-03 03:54:58.159 10605-10605/com.nativeapp E/SensorManager: unregisterListenerImpl callingApp: com.nativeapp,callingPid:10605,callingUid:10426

Do you have permission for fine location granted? Are Location Services on?

Do you have permission for fine location granted? Are Location Services on?

Yes, fine location permissions are granted and are checked everytime the app refreshes, so that won't be an issue.

And what about Location Services (GPS)?

And what about Location Services (GPS)?

As per the docs, we were required to include this:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Also react native docs also state the same thing for geolocation services. Is anything else required?

Location Services. Top bar (usually), location switch — must be turned on. This is something different than Location Permission. Both are needed.
Afair the library should raise an error if it is off when starting the scan but I cannot be sure if it does on this new Android.

Yes, the location switch is on and the app is able to receive location services from the phone.
Even bluetooth services are properly received. startDeviceScan method return this error if I turn of bluetooth: BluetoothLE is powered off
Which means the library should be integrated fine. It's just that whenever bluetooth is on and it should be scanning for devices, the method doesn't show any logs.

Could you show native logs after you have set the log level to Verbose in the library?

2020-05-03 14:01:09.547 14709-14741/com.nativeapp D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@2f8f426[MainActivity]
2020-05-03 14:01:10.341 14709-14801/com.nativeapp I/ReactNativeJS: Scanning
2020-05-03 14:01:10.372 14709-16269/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON
2020-05-03 14:01:10.376 14709-14741/com.nativeapp D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=9 mScannerId=0
2020-05-03 14:01:21.136 14709-14709/com.nativeapp E/SensorManager: unregisterListenerImpl callingApp: com.nativeapp,callingPid:14709,callingUid:10426
2020-05-03 14:03:07.116 14709-14709/com.nativeapp E/SensorManager: registerListenerImpl sensorName:BMI160_ACCELEROMETER Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: com.nativeapp,callingPid:14709,callingUid:10426
2020-05-03 14:03:07.131 14709-17014/com.nativeapp W/unknown:ReconnectingWebSocket: Couldn't connect to "ws://localhost:8081/message?device=ONEPLUS%20A6000%20-%2010%20-%20API%2029&app=com.nativeapp&clientid=DevSupportManagerImpl", will silently retry
2020-05-03 14:03:07.133 14709-14771/com.nativeapp D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@2f8f426[MainActivity]
2020-05-03 14:03:12.283 14709-14801/com.nativeapp I/ReactNativeJS: Scanning
2020-05-03 14:03:12.299 14709-16269/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON
2020-05-03 14:03:12.303 14709-16269/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON
2020-05-03 14:03:12.309 14709-14771/com.nativeapp D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=9 mScannerId=0

This is the complete log with log level verbose

Nope. I mean, again, per issue template: setLogLevel. I see no native logs from the library in what you just pasted. Please set the library log level to verbose as well and then paste the logs.

Yeah so i did this,
this.manager.setLogLevel(LogLevel.Verbose);
I have pasted the complete log over here (since I have no idea what all information you are looking for). Thanks
2020-05-03 14:25:28.437 25031-25031/? I/com.nativeapp: Late-enabling -Xcheck:jni
2020-05-03 14:25:28.453 25031-25031/? E/com.nativeapp: Unknown bits set in runtime_flags: 0x8000
2020-05-03 14:25:28.628 25031-25031/com.nativeapp I/Perf: Connecting to perf service.
2020-05-03 14:25:28.633 25031-25031/com.nativeapp V/Font: Change font:2
2020-05-03 14:25:28.634 25031-25031/com.nativeapp V/Font: Default family:android.graphics.Typeface@1cdaafdc
2020-05-03 14:25:28.637 25031-25031/com.nativeapp D/SoLoader: init start
2020-05-03 14:25:28.637 25031-25031/com.nativeapp D/SoLoader: adding system library source: /vendor/lib
2020-05-03 14:25:28.637 25031-25031/com.nativeapp D/SoLoader: adding system library source: /system/lib
2020-05-03 14:25:28.637 25031-25031/com.nativeapp D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64 flags = 0]
2020-05-03 14:25:28.639 25031-25031/com.nativeapp D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.nativeapp/lib-main flags = 1]
2020-05-03 14:25:28.639 25031-25031/com.nativeapp D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
2020-05-03 14:25:28.639 25031-25031/com.nativeapp D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
2020-05-03 14:25:28.639 25031-25031/com.nativeapp D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64 flags = 0]
2020-05-03 14:25:28.639 25031-25031/com.nativeapp D/SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.nativeapp/lib-main flags = 1]
2020-05-03 14:25:28.640 25031-25031/com.nativeapp V/fb-UnpackingSoSource: locked dso store /data/user/0/com.nativeapp/lib-main
2020-05-03 14:25:28.641 25031-25031/com.nativeapp I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.nativeapp/lib-main
2020-05-03 14:25:28.641 25031-25031/com.nativeapp V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.nativeapp/lib-main
2020-05-03 14:25:28.641 25031-25031/com.nativeapp D/SoLoader: init finish: 4 SO sources prepared
2020-05-03 14:25:28.641 25031-25031/com.nativeapp D/SoLoader: init exiting
2020-05-03 14:25:28.650 25031-25031/com.nativeapp D/SoLoader: init exiting
2020-05-03 14:25:28.651 25031-25031/com.nativeapp D/SoLoader: About to load: libjscexecutor.so
2020-05-03 14:25:28.651 25031-25031/com.nativeapp D/SoLoader: libjscexecutor.so not found on /data/data/com.nativeapp/lib-main
2020-05-03 14:25:28.651 25031-25031/com.nativeapp D/SoLoader: libjscexecutor.so found on /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64
2020-05-03 14:25:28.651 25031-25031/com.nativeapp D/SoLoader: Not resolving dependencies for libjscexecutor.so
2020-05-03 14:25:28.659 25031-25031/com.nativeapp D/JavaScriptCore.Version: 245459.0.0
2020-05-03 14:25:28.660 25031-25031/com.nativeapp D/SoLoader: Loaded: libjscexecutor.so
2020-05-03 14:25:28.660 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.ctor()
2020-05-03 14:25:28.660 25031-25031/com.nativeapp D/SoLoader: init exiting
2020-05-03 14:25:28.679 25031-25031/com.nativeapp D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setUseSessionTickets(Z)V (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setHostname(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.682 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
2020-05-03 14:25:28.690 25031-25031/com.nativeapp E/SensorManager: registerListenerImpl sensorName:BMI160_ACCELEROMETER Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: com.nativeapp,callingPid:25031,callingUid:10426
2020-05-03 14:25:28.706 25031-25084/com.nativeapp D/SoLoader: About to load: libfbjni.so
2020-05-03 14:25:28.706 25031-25084/com.nativeapp D/SoLoader: libfbjni.so not found on /data/data/com.nativeapp/lib-main
2020-05-03 14:25:28.706 25031-25084/com.nativeapp D/SoLoader: libfbjni.so found on /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64
2020-05-03 14:25:28.706 25031-25084/com.nativeapp D/SoLoader: Not resolving dependencies for libfbjni.so
2020-05-03 14:25:28.707 25031-25084/com.nativeapp D/SoLoader: Loaded: libfbjni.so
2020-05-03 14:25:28.707 25031-25084/com.nativeapp D/SoLoader: About to load: libflipper.so
2020-05-03 14:25:28.708 25031-25084/com.nativeapp D/SoLoader: libflipper.so not found on /data/data/com.nativeapp/lib-main
2020-05-03 14:25:28.708 25031-25084/com.nativeapp D/SoLoader: libflipper.so found on /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64
2020-05-03 14:25:28.708 25031-25084/com.nativeapp D/SoLoader: Not resolving dependencies for libflipper.so
2020-05-03 14:25:28.713 25031-25084/com.nativeapp D/SoLoader: Loaded: libflipper.so
2020-05-03 14:25:28.727 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden field Landroid/view/View;->mKeyedTags:Landroid/util/SparseArray; (greylist, reflection, allowed)
2020-05-03 14:25:28.727 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden field Landroid/view/View;->mListenerInfo:Landroid/view/View$ListenerInfo; (greylist, reflection, allowed)
2020-05-03 14:25:28.727 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden field Landroid/view/View$ListenerInfo;->mOnClickListener:Landroid/view/View$OnClickListener; (greylist, reflection, allowed)
2020-05-03 14:25:28.731 25031-25031/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin Inspector
2020-05-03 14:25:28.731 25031-25031/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin React
2020-05-03 14:25:28.732 25031-25031/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin Databases
2020-05-03 14:25:28.734 25031-25031/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin Preferences
2020-05-03 14:25:28.734 25031-25031/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin CrashReporter
2020-05-03 14:25:28.737 25031-25031/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin Network
2020-05-03 14:25:28.741 25031-25098/com.nativeapp E/Perf: Fail to get file list com.nativeapp
2020-05-03 14:25:28.741 25031-25098/com.nativeapp E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2020-05-03 14:25:28.742 25031-25098/com.nativeapp E/Perf: Fail to get file list com.nativeapp
2020-05-03 14:25:28.742 25031-25098/com.nativeapp E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2020-05-03 14:25:28.784 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.createReactContextInBackground()
2020-05-03 14:25:28.784 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
2020-05-03 14:25:28.804 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2020-05-03 14:25:28.805 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2020-05-03 14:25:28.824 25031-25031/com.nativeapp V/ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
2020-05-03 14:25:28.832 25031-25031/com.nativeapp W/unknown:ReactNative: Packager connection already open, nooping.
2020-05-03 14:25:28.839 25031-25052/com.nativeapp D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@6f02cb2[MainActivity]
2020-05-03 14:25:28.840 25031-25099/com.nativeapp I/AdrenoGLES: QUALCOMM build                   : 35556ba, I9ca166462c
    Build Date                       : 08/07/19
    OpenGL ES Shader Compiler Version: EV<IP_ADDRESS>
    Local Branch                     :
    Remote Branch                    :
    Remote Branch                    :
    Reconstruct Branch               :
2020-05-03 14:25:28.840 25031-25099/com.nativeapp I/AdrenoGLES: Build Config                     : S P 8.0.8 AArch64
2020-05-03 14:25:28.843 25031-25099/com.nativeapp I/AdrenoGLES: PFP: 0x016ee187, ME: 0x00000000
2020-05-03 14:25:28.854 25031-25099/com.nativeapp W/Gralloc3: mapper 3.x is not supported
2020-05-03 14:25:28.884 25031-25031/com.nativeapp V/ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
2020-05-03 14:25:29.057 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()
2020-05-03 14:25:29.058 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.recreateReactContextInBackground()
2020-05-03 14:25:29.058 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
2020-05-03 14:25:29.059 25031-25109/com.nativeapp D/SoLoader: About to load: libreactnativejni.so
2020-05-03 14:25:29.060 25031-25109/com.nativeapp D/SoLoader: libreactnativejni.so not found on /data/data/com.nativeapp/lib-main
2020-05-03 14:25:29.060 25031-25109/com.nativeapp D/SoLoader: libreactnativejni.so found on /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64
2020-05-03 14:25:29.060 25031-25109/com.nativeapp D/SoLoader: Not resolving dependencies for libreactnativejni.so
2020-05-03 14:25:29.061 25031-25109/com.nativeapp D/SoLoader: Loaded: libreactnativejni.so
2020-05-03 14:25:29.061 25031-25109/com.nativeapp D/ReactNative: ReactInstanceManager.createReactContext()
2020-05-03 14:25:29.080 25031-25109/com.nativeapp D/ReactNative: Initializing React Xplat Bridge.
2020-05-03 14:25:29.082 25031-25109/com.nativeapp D/ReactNative: Initializing React Xplat Bridge before initializeBridge
2020-05-03 14:25:29.087 25031-25109/com.nativeapp D/ReactNative: Initializing React Xplat Bridge after initializeBridge
2020-05-03 14:25:29.087 25031-25109/com.nativeapp D/ReactNative: CatalystInstanceImpl.runJSBundle()
2020-05-03 14:25:29.088 25031-25111/com.nativeapp D/ReactNative: ReactInstanceManager.setupReactContext()
2020-05-03 14:25:29.088 25031-25111/com.nativeapp D/ReactNative: CatalystInstanceImpl.initialize()
2020-05-03 14:25:29.091 25031-25111/com.nativeapp D/ReactNative: ReactInstanceManager.attachRootViewToInstance()
2020-05-03 14:25:29.092 25031-25031/com.nativeapp W/unknown:ReactNative: Packager connection already open, nooping.
2020-05-03 14:25:29.114 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupViewManager
2020-05-03 14:25:29.115 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupShadowNode
2020-05-03 14:25:29.117 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeViewManager
2020-05-03 14:25:29.117 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeShadowNode
2020-05-03 14:25:29.118 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextViewManager
2020-05-03 14:25:29.118 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextShadowNode
2020-05-03 14:25:29.119 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.checkbox.ReactCheckBoxManager
2020-05-03 14:25:29.121 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
2020-05-03 14:25:29.124 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDialogPickerManager
2020-05-03 14:25:29.126 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
2020-05-03 14:25:29.126 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDropdownPickerManager
2020-05-03 14:25:29.127 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
2020-05-03 14:25:29.130 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
2020-05-03 14:25:29.131 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
2020-05-03 14:25:29.132 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
2020-05-03 14:25:29.133 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
2020-05-03 14:25:29.135 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager
2020-05-03 14:25:29.137 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
2020-05-03 14:25:29.138 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
2020-05-03 14:25:29.139 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
2020-05-03 14:25:29.140 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
2020-05-03 14:25:29.141 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewManager
2020-05-03 14:25:29.141 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewShadowNode
2020-05-03 14:25:29.142 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
2020-05-03 14:25:29.142 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
2020-05-03 14:25:29.143 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
2020-05-03 14:25:29.145 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
2020-05-03 14:25:29.146 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
2020-05-03 14:25:29.146 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
2020-05-03 14:25:29.146 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
2020-05-03 14:25:29.147 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
2020-05-03 14:25:29.150 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
2020-05-03 14:25:29.152 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
2020-05-03 14:25:29.154 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
2020-05-03 14:25:29.154 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
2020-05-03 14:25:29.156 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.viewpager.ReactViewPagerManager
2020-05-03 14:25:29.157 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
2020-05-03 14:25:29.158 25031-25111/com.nativeapp W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
2020-05-03 14:25:29.168 25031-25111/com.nativeapp D/SoLoader: About to load: libyoga.so
2020-05-03 14:25:29.168 25031-25111/com.nativeapp D/SoLoader: libyoga.so not found on /data/data/com.nativeapp/lib-main
2020-05-03 14:25:29.168 25031-25111/com.nativeapp D/SoLoader: libyoga.so found on /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64
2020-05-03 14:25:29.168 25031-25111/com.nativeapp D/SoLoader: Not resolving dependencies for libyoga.so
2020-05-03 14:25:29.169 25031-25111/com.nativeapp D/SoLoader: Loaded: libyoga.so
2020-05-03 14:25:29.183 25031-25111/com.nativeapp D/SoLoader: init exiting
2020-05-03 14:25:29.200 25031-25111/com.nativeapp I/flipper: flipper: FlipperClient::addPlugin Fresco
2020-05-03 14:25:29.251 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.createReactContextInBackground()
2020-05-03 14:25:29.251 25031-25031/com.nativeapp D/ReactNative: ReactInstanceManager.attachRootViewToInstance()
2020-05-03 14:25:29.282 25031-25110/com.nativeapp D/SoLoader: About to load: libreactnativeblob.so
2020-05-03 14:25:29.283 25031-25110/com.nativeapp D/SoLoader: libreactnativeblob.so not found on /data/data/com.nativeapp/lib-main
2020-05-03 14:25:29.283 25031-25110/com.nativeapp D/SoLoader: libreactnativeblob.so found on /data/app/com.nativeapp-O_7G3vjEaJGtU-Udc76n0Q==/lib/arm64
2020-05-03 14:25:29.283 25031-25110/com.nativeapp D/SoLoader: Not resolving dependencies for libreactnativeblob.so
2020-05-03 14:25:29.284 25031-25110/com.nativeapp D/SoLoader: Loaded: libreactnativeblob.so
2020-05-03 14:25:29.297 25031-25111/com.nativeapp I/WebViewFactory: Loading com.google.android.webview version 80.0.3987.149 (code 398714933)
2020-05-03 14:25:29.331 25031-25111/com.nativeapp I/cr_LibraryLoader: Loaded native library version number "80.0.3987.149"
2020-05-03 14:25:29.493 25031-25110/com.nativeapp I/ReactNativeJS: Running "nativeapp" with {"rootTag":1}
2020-05-03 14:25:29.553 25031-25110/com.nativeapp I/ReactNativeJS: Scanning
2020-05-03 14:25:29.558 25031-25031/com.nativeapp W/com.nativeapp: Accessing hidden field Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate; (greylist, reflection, allowed)
2020-05-03 14:25:29.568 25031-25111/com.nativeapp D/RxBle#ClientOperationQueue: QUEUED   ScanOperationApi21(189904923)
2020-05-03 14:25:29.570 25031-25130/com.nativeapp D/RxBle#ClientOperationQueue: STARTED  ScanOperationApi21(189904923)
2020-05-03 14:25:29.573 25031-25133/com.nativeapp I/RxBle#QueueOperation: Scan operation is requested to start.
2020-05-03 14:25:29.574 25031-25133/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON
2020-05-03 14:25:29.576 25031-25052/com.nativeapp D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
2020-05-03 14:25:29.580 25031-25130/com.nativeapp D/RxBle#ClientOperationQueue: FINISHED ScanOperationApi21(189904923) in 9 ms
2020-05-03 14:25:29.592 25031-25031/com.nativeapp D/OnePlusJankManager:  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.nativeapp/com.nativeapp.MainActivity--- jank level = 1
2020-05-03 14:25:29.600 25031-25110/com.nativeapp I/ReactNativeJS: You can use the location
2020-05-03 14:25:29.623 25031-25031/com.nativeapp V/FlingOptimizerScroller: FlingOptimizerOverScroller Init
2020-05-03 14:25:29.637 25031-25031/com.nativeapp V/ViewRootImpl: The specified message queue synchronization  barrier token has not been posted or has already been removed
2020-05-03 14:25:29.657 25031-25052/com.nativeapp D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@ed515c[MainActivity]
2020-05-03 14:25:29.666 25031-25031/com.nativeapp W/Choreographer: Already have a pending vsync event.  There should only be one at a time.

These are the interesting bits on Android:
2020-05-03 14:25:29.568 25031-25111/com.nativeapp D/RxBle#ClientOperationQueue: QUEUED   ScanOperationApi21(189904923)
2020-05-03 14:25:29.570 25031-25130/com.nativeapp D/RxBle#ClientOperationQueue: STARTED  ScanOperationApi21(189904923)
2020-05-03 14:25:29.573 25031-25133/com.nativeapp I/RxBle#QueueOperation: Scan operation is requested to start.
2020-05-03 14:25:29.574 25031-25133/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON
2020-05-03 14:25:29.576 25031-25052/com.nativeapp D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
2020-05-03 14:25:29.580 25031-25130/com.nativeapp D/RxBle#ClientOperationQueue: FINISHED ScanOperationApi21(189904923) in 9 ms

Scanning seems to start normally.
Could you check if nRF Connect application will show any devices?
I have several ideas:

Bluetooth stack on your phone has gone off. Try restarting the phone
You try to connect to a device that is not a BLE peripheral but a classic Bluetooth one

These are the interesting bits on Android:
2020-05-03 14:25:29.568 25031-25111/com.nativeapp D/RxBle#ClientOperationQueue: QUEUED   ScanOperationApi21(189904923)
2020-05-03 14:25:29.570 25031-25130/com.nativeapp D/RxBle#ClientOperationQueue: STARTED  ScanOperationApi21(189904923)
2020-05-03 14:25:29.573 25031-25133/com.nativeapp I/RxBle#QueueOperation: Scan operation is requested to start.
2020-05-03 14:25:29.574 25031-25133/com.nativeapp D/BluetoothAdapter: isLeEnabled(): ON
2020-05-03 14:25:29.576 25031-25052/com.nativeapp D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
2020-05-03 14:25:29.580 25031-25130/com.nativeapp D/RxBle#ClientOperationQueue: FINISHED ScanOperationApi21(189904923) in 9 ms

Scanning seems to start normally.
Could you check if nRF Connect application will show any devices?
I have several ideas:

Bluetooth stack on your phone has gone off. Try restarting the phone
You try to connect to a device that is not a BLE peripheral but a classic Bluetooth one
Your device is already connected to the phone so it is not advertising itself

Sorry for late reply, got caught up in work. Thanks a lot it worked. Turns out restarting the phone was all I needed to do. Closing the issue with this.


Suggestion: add before/after hooks

Currently on a project that I'm working on, we have implemented our custom transformers for data and we have logic to do something before transformation of each resource begin.
We use this to populate likes data for each home (user can like homes on our site). Before hook was made so we query likes table only once even if we are returning list of 20 homes per page...
This is part of our implemntation showing how we reuse one query data to populate a list of homes with user likes... So only two queries will happen. One that queries 20 homes, and one that queries likes of users for ids of homes in that 20 list.
class HomePopulator extends BasePopulator {

    async beforeHook(model, ctx, meta) {
        const currentUser = ctx.getUserId()
        // here we fetch all like metadata, using whereIn query (**thanks to before hook**)
        meta._likes = await HomeLike.query()
            .select(['home_id', 'type']) // we have likes, and type of like (happy smile, angry smile, etc...)
            .count('type as count')
            .whereIn('home_id', model.rows ? model.rows.map(o => o.id) : model.id)
            .groupBy(['home_id', 'type'])
        meta._likes = _.mapValues(_.groupBy(meta._likes, 'home_id'), value => _.map(value, i => _.pick(i, ['type', 'count'])))

        // also we are fetching data if currently logged in user already liked something from the list...
        meta._myLike = currentUser && await HomeLike.query()
            .whereIn('home_id', model.rows ? model.rows.map(o => o.id) : model.id)
            .where('user_id', currentUser)
        meta._myLike = _.keyBy(meta._myLike, 'home_id')

        return model
    }

     // this is almost identical logic as bumblebee transform...
    async populate(model, ctx, meta) {

        let payload = {
            id: model.id,
            slug: model.slug,
            title: model.title,
            // .... other key/values
        }

        // but here we can access before hook data, and connect data without queries...
        payload.likes = meta._likes[model.id]
        payload.myLike = meta._myLike[model.id] && meta._myLike[model.id].type

        return payload
    }
}

I don't quite get what your suggestion is. Are you requesting a method to define hooks that are called before and after a transform?

Exactly!
In my example... I'm returning list of homes to user together with like information. Currently to achive this with Bumblebee I would need to query like data for each house in the list.
By using before hook, we could do query that would gather information about likes for all homes that will pass through transformer. And then inside transform method we would reuse that information to assign this data to currently transformed instance without need to query like data for that information.
I hope I explained it well :) If not, I'll create better example for you later...

Going by your example, I'm not sure you really need a hook for this.
You do know all the data that is going to be transformed, since you are passing it to the transformer. Why cant you just attach the likes to a property on your model before passing it to the transformer.
I will think about it a bit more to decide if a hook system can come in use in other places. But it is going to be low in priority. Probably one or two releases out.
But feel free to submit a PR if you need this feature.

I will close this issue since there does not seem to be much demand for this feature.
If anyone still needs this, feel free to leave suggestions or submit a PR.


Web + Engine - Ability for user to control task dependencies being AND vs OR

The code has the ability to treat the dependencies as an

OR, i.e. as long as one path / edge is valid then the task will run
AND i.e. all paths / edges have to be valid

Couple of implementation options

Implement AND - all paths have to be valid. Tasks work as a join currently implemented
Implement OR - at least one path is valid code exists
Add an option for user to choose how it works.
Create a join system task and leverage the code.

Tekton treats a task as a JOIN with ALL depencies to be met


This media format is not supported

Hello, I'm using the generate(withImages) func to generate a 5 second audio-less video file using an image and then using that video in a merge command. However, when attempting to use the new video generated from an image I keep getting an error saying: "Cannot Open" "This media format is not supported". However, when I pull the video file from phone I can see that it generated correctly and plays without audio just fine on my mac. Here's the code I'm using to generate the audio-less video file from the image:
`
VideoGenerator.current.fileName = selectedStoryboardItem.name
VideoGenerator.current.maxVideoLengthInSeconds = 5
VideoGenerator.current.videoBackgroundColor = .black
VideoGenerator.current.shouldOptimiseImageForVideo = true
VideoGenerator.current.generate(withImages: [image], andAudios: [], andType: .single, { (progress) in
                }, success: { (videoURL) in
                    print("finished with url: \(videoURL)")
                    print("Docs Dir: \(self.documentsDirectory())")
                    DispatchQueue.main.async {
                        selectedStoryboardItem.vidoeURL = videoURL

                        self.updateStoryboardItems(with: selectedStoryboardItem)
                    }
                }) { (error) in
                    print("Failed to generate video from image with error: \(error)")
                }

`
And here's the code I'm using to generate the merge video:
`
VideoGenerator.mergeMovies(videoURLs: urls, andFileName: videoName, success: { (videoURL) in
DispatchQueue.main.async {
loadingView.removeFromSuperview()
            self.player.url = videoURL
        }
    }) { (error) in
        DispatchQueue.main.async {
            loadingView.removeFromSuperview()
            print("Failed to generate video with error: \(error)")

            let alert = UIAlertController(title: "Oops", message: error.localizedDescription, preferredStyle: .alert)
            alert.addAction(UIAlertAction(title: "OK", style: .cancel, handler: nil))
            self.present(alert, animated: true, completion: nil)
        }
    }

`
Here's the error I'm getting from the merge func while using the video generated from an image:
Failed to generate video with error: Error Domain=AVFoundationErrorDomain Code=-11822 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media format is not supported., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x6000004109c0 {Error Domain=NSOSStatusErrorDomain Code=-16976 "(null)"}}

@HomeSchoolDev Hello. Without having the videos you're using, giving me the code does about nothing, really.
You say you create a video using the merge method and then you merge that video with others? What about their video format?
Because the error you're given is pretty straight forward.
Are you trying to merge an audio-less video with ones that have audio? The library doesn't support that.  There could be a number of things that Apple doesn't support in a video format. Check and see if all the videos you're merging conform to those standards.
You said it yourself - "However, when I pull the video file from phone I can see that it generated correctly and plays without audio just fine on my mac." So if one of the videos is okay, maybe go over the rest and see if they conform to Apple's standards?

So I finally figured it out and it had nothing to do with the library. AVFoundation wasn't a fan of some of the images. Some worked and some didn't. I just wrote some code to scale the images to fit into a 1080p container and it worked perfectly.

@HomeSchoolDev Thank you for sharing! I'm happy to hear you solved it!

I am having this same issue when taking an image with the iphone camera, and merging it with audio recorded with AVAudioRecorder. Haven't gotten it to work so far.


should accept XQuartz as well as X11

From<EMAIL_ADDRESS>on 2013-06-07T15:28:41Z
After installing spyder-2.2.0.dmg and running it for the first time, it indicated that X11 must be installed.  However, I use XQuartz instead, which should work just as well for spyder.   However, I'm unable to bypass this check, and the app exits.
This is on MacOS 10.8 with XQuartz 2.7.4 (xorg-server 1.13.0)
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1435

From ccordoba12 on 2015-01-01T15:51:44Z
Fixed a long time ago :-)
Status: Fixed


Send welcome message when bot is added to slack

How can I send a welcome message when a bot is added to slack ? Is there any event triggered when bot is added ?

Perhaps one of the other activity types i.e. conversationUpdate?
https://docs.botframework.com/en-us/csharp/builder/sdkreference/activities.html

Will's correct, conversationUpdate is used for this notification.

No, I tried using conversationUpdate and contactRelationUpdate both activities, but It does not work.

conversationUpdate works only if you invite the bot into a group conversation. What I am looking for is different, I want to send a welcome message as soon as any one add my bot to his slack.

We don't currently have an event of that type.  In most channels, adding the bot to the service is the same as adding it to a group or individual chat.
How do you intend to use this differently?  Which slack channel would you expect the message would be sent to?

I want to send a message on this event. https://api.slack.com/events/bot_added

Thanks @somprabhsharma .  I'll add that to the list of things we're looking at for future extensions to the Bot Framework protocol/schema.  Right now we don't expose that event and it wouldn't map neatly into the other events we already have, though I can see use for it.

Hi there! I'm experiencing the same issue. As a possible fix can we get the API key when the bot is added to the Slack team at the authentication point? The Bot Framework could send the event i.e. "bot registered" with API key and bot Slack ID.

We will look at this as a feature request; however right now it's not in our API Schema or protocol so it would take multiple updates and not something we will do as a trivial change. Can you clarify more the scenario you're trying to solve by doing this (so I can reflect priority)?

Hey @jameslew - sure thing!
The scenario we're aiming to solve occurs when a user first installs the bot into their team.
The bot we've built operates via direct message instead of a channel - useful for having discrete conversations. However, beta testing has found that most users won't raise a Direct Message conversation unless the bot does so first.
Therefore, we need to know two things - when the bot is installed and which team member installed it -  then the bot can launch the on boarding dialogue. Without these, we don't have a native way to onboard users so user adoption is very low and it's impacting our submission to the Slack App Directory.
Hope that helps clarify - let me know if you need more detail!

Thanks @hughcameron I'll get that into the enhancement request.  I can certainly see the value there.

Did this ever get resolved @jameslew? I'm facing the same issue on Slack as well

I'm curious to know if this can be addressed using BotKit. Whilst support Botkit was deprecated in Bot Framework V3 it seems there have been some changes from Botkits side since then: https://github.com/howdyai/botkit/blob/master/readme-botframework.md - with contributions by @Stevenic
Are bots built Bot Framework able to leverage these updates?

So I'm guessing that this issue wasn't resolved @hughcameron?

Not at this stage @stanleycyang - the workaround we've set up is to redirect the user to a post-install page on our site that reiterates the activations instructions. The user needs to make the first move so we show them how. This post-install page is required for bots in the Slack App Directory anyway.
To set up the post-install page follow these steps (thanks to @dandriscoll): https://github.com/Microsoft/BotBuilder/issues/1316
Even if the bot were to introduce itself in future we'd take full advantage this step in the install journey - it's a great touchpoint to educate users.
If we ever find another way around I'll drop a note here!
Also, by way of background, we tried another method to get the bot to say 'hi' - it involved a double authentication. This wasn't a good solution - users found it odd and Slack outlined that it would open up a number of other problems. We quickly moved away from that solution.

That's pretty great - I'll take a look into it @hughcameron. My issue really is with deploying to the slack app directory. It's absolutely necessary to introduce the user to the bot on installation, that's why I'm really curious why it hasn't already been resolved. All the issues I saw relating to this were all closed but I didn't see any PR related to them.

@jameslew
Is it possible to add an optional http callback as part of the slack setup and the botframework server invokes the callback with the auth token granted by slack whenever someone installs the bot (i.e. after completing the oauth)?

Any progress on this issue... I there a way to Send welcome message... I am using Event subscription url...


Is it a real website?

I've asked that in the topic, becasue there is the same person in section "Nasza kadra".

Hello:))
No, it's not. Just demo page, but I think, I should change this because
it's confusing...
Nice to see first mail from my web app :D
pon., 17 cze 2024, 18:33 użytkownik Marek Bladowski <
@.***> napisał:

I've asked that in the topic, becasue there is the same person in section
"Nasza kadra".
—
Reply to this email directly, view it on GitHub
https://github.com/KaroLLain/praesterno/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNUUWI7Z44FY3O3FOMZS3LZH4FU7AVCNFSM6AAAAABJOLB4USVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TONZWGA4TQNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Does driver programs apply fill-in reduction reordering?

Looking through the test script and drivers like test_solve_phasis.F90 and spllt_omp_bench.F90, they don't seem to apply fill-in reduction reordering, right?
I do see calls to metis_order() (defined in spral?) and amd_order() (defined in hsl_ma87?) scattered around some other scripts, but not used in benchmark scripts
https://github.com/NLAFET/SpLLT/blob/08a181d9088daf4bf9b72856e705e0b0263bfe3b/drivers/run_ma87.f90#L182-L183
https://github.com/NLAFET/SpLLT/blob/08a181d9088daf4bf9b72856e705e0b0263bfe3b/spllt_test.F90#L353-L356

Ah, I just found that METIS ordering is by default called (implicitly) during analysis:
https://github.com/NLAFET/SpLLT/blob/08a181d9088daf4bf9b72856e705e0b0263bfe3b/src/spllt_analyse_mod.F90#L108-L109
https://github.com/NLAFET/SpLLT/blob/08a181d9088daf4bf9b72856e705e0b0263bfe3b/src/spllt_analyse_mod.F90#L129-L131
Then metis_order() is called inside analyse_double() of spral/ssid: https://github.com/ralna/spral/blob/ff6af4ff30010371224111314b3961ba16245d56/src/ssids/ssids.f90#L305-L315
A follow-up question: Is there a convinient way to check the number of entries on L? The fkeep%info%num_factor returned by spllt_analyse is 0.


Correction for raw affiliation Division of Developmental Biology; MRC National Institute for Medical Research; London UK

Correction needed for raw affiliation Division of Developmental Biology; MRC National Institute for Medical Research; London UK
raw_affiliation_name: Division of Developmental Biology; MRC National Institute for Medical Research; London UK
new_rors:
previous_rors: 04tnbqb63
works_examples: W2028208768;W1888665439;W2139971039
contact: 5d4b3ce8b695fd6198b56d2456bdbcf8:0f4572db70a36f3904eb5b46e6bf277c0b82b894 @ crick.ac.uk

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Ensure bitness and additional info for workspace envs is eventually shown

Context: interpreterInfo.py is not run for workspace envs until Select interpreter button is clicked. Hence workspace envs with incomplete info was being stored in cache.
Once we have the permission to run again, we ignore cache and trigger all of discovery again to get full info.

Codecov Report

Merging #15196 (007681f) into main (bdde1a1) will increase coverage by 0%.
The diff coverage is 20%.

@@          Coverage Diff           @@
##            main   #15196   +/-   ##
======================================
  Coverage     65%      65%
======================================
  Files        561      561
  Lines      26588    26617   +29
  Branches    3820     3830   +10
======================================
+ Hits       17310    17335   +25
- Misses      8572     8574    +2
- Partials     706      708    +2

Impacted Files
Coverage Δ

src/client/pythonEnvironments/legacyIOC.ts
32% <0%> (-1%)
:arrow_down:

src/client/pythonEnvironments/security.ts
18% <0%> (ø)

src/client/interpreter/interpreterService.ts
61% <100%> (ø)

...ient/pythonEnvironments/base/info/pythonVersion.ts
59% <0%> (-1%)
:arrow_down:

src/client/pythonEnvironments/base/info/index.ts
100% <0%> (ø)

src/client/pythonEnvironments/base/info/env.ts
72% <0%> (+4%)
:arrow_up:

Codecov Report

Merging #15196 (007681f) into main (bdde1a1) will increase coverage by 0%.
The diff coverage is 20%.

@@          Coverage Diff           @@
##            main   #15196   +/-   ##
======================================
  Coverage     65%      65%
======================================
  Files        561      561
  Lines      26588    26617   +29
  Branches    3820     3830   +10
======================================
+ Hits       17310    17335   +25
- Misses      8572     8574    +2
- Partials     706      708    +2

Impacted Files
Coverage Δ

src/client/pythonEnvironments/legacyIOC.ts
32% <0%> (-1%)
:arrow_down:

src/client/pythonEnvironments/security.ts
18% <0%> (ø)

src/client/interpreter/interpreterService.ts
61% <100%> (ø)

...ient/pythonEnvironments/base/info/pythonVersion.ts
59% <0%> (-1%)
:arrow_down:

src/client/pythonEnvironments/base/info/index.ts
100% <0%> (ø)

src/client/pythonEnvironments/base/info/env.ts
72% <0%> (+4%)
:arrow_up:


[core-rest-pipeline] Re-enable multipartPolicy-based formDataPolicy in browser

Packages impacted by this PR

@azure/core-rest-pipeline

Issues associated with this PR

https://github.com/Azure/azure-sdk-for-js/issues/28102
https://github.com/Azure/autorest.typescript/issues/2178
https://github.com/Azure/azure-sdk-for-js/issues/28355

Describe the problem that is addressed by this PR
This PR re-enables the multipartPolicy-based formDataPolicy in the browser. The browser implementation of multipartPolicy, as of https://github.com/Azure/azure-sdk-for-js/issues/28294, relies on creating Blobs and concatenating them into a larger Blob. This means that files from disk (provided by the user via an <input type="file"> element) are not loaded into memory.
I believe we're at the point where bringing this back is worthwhile. It gives us finer control over the wire format of the multipart request, which we want because:

It is a stepping stone to enable support for application/json parts in multipart/form-data requests.  Using the FormData-based policy for this is impossible because we can't set a content type without also setting a file name using FormData (leaving the file name unspecified results in the browser setting the file name to "blob" which isn't what we want)
It allows for customization of the multipart boundary, required for recorded tests to work

Doing this should fix a bug where files created using createFileFromStream don't work in the browser. We could fix this in the FormData-based policy, but if we do this we won't have to :)
As a follow-up to this PR I plan to add a flag to multipartPolicy to re-enable streaming support for customers who want to stream content (other than on-disk files, which are already supported) and are confident that their environment supports HTTP/2.
Are there test cases added in this PR?
I added further test cases to formDataPolicy to ensure that arrays are supported properly and to ensure that combining file fields and text fields also works.

API change check
API changes are not detected in this pull request.


Integrating with Hugging Face pretrained models

Could you please explain how to add a Hugging Face pretrained model to work with WhisperLive?

@mkatic007 that is indeed possible with both backends i.e. tensorrt as well as faster_whisper

TensorRT
This guide converts the original whisper models to TensorRT. Adjust accoridingly to convert huggingface pretrained whisper models.

faster_whisper
Faster whisper has a section in their readme which shows how you can convert hf model to ctranslate2. Once you have the model converted run the server with your custom model:

python3 run_server.py --port 9090 \
                      --backend faster_whisper
                      -fw "/path/to/custom/faster/whisper/model"


Solve markdown linter errors specific to #159

The MD003 heading style consistency error is caused by the (accidental) placement of a horizontal rule directly below a line of text, turning that text into a heading, which wasn't the intention.

Oops! Sorry I thought you'd already merged it.


Remove relation between 'toxin activity' and 'pathogenesis

Toxin activity should not be part_of pathogenesis.

https://github.com/geneontology/go-ontology/pull/17976


Load all audio and play it from the left to the right

Hello, I want to know how to load all audio file and play it from the left to the right, I'm using example/playlist file to testing. so, after the first file finish, it will automatically play the second file.
in the playlist example just one file load, and after it finishes it will load the second one.
here's what I have done ScreenShoot
because the noob me all audio is loaded, but they are playing together. I just want the second one to play after the first one finish.
Tips will be really appreciated.
Thanks.
The code for index.html and app.js

Basically, you need to trigger play() of the second wavesurfer from the finish event of the first one.
var wavesurfers = [ 0, 1, 2, 3, 4 ].map(function (index) {
    var surfer = WaveSurfer.create({ ... });
    surfer.on('finish', function () { wavesurfers[index + 1].play(); });
    return surfer;
});


bot wastes tokens by repeatedly asking for confirmation even tough I told it to proceed with his solution

Describe the bug
I told the bot to tell me the solution it will implement before writing any code. So that is what the bot did. Then, when it asked me if I wanted him to proceed with his solution I said yes. It then repeated the description of the solution, asking once again if I want it to proceed. That went on and on. My tokens were waisted this way. I think it just basically waisted 200K tokens on just repeating the solution in text without writing any code.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-eywyef
Steps to reproduce
Tell the bot this:
Please explain to me what is the issue and how you will fix it. Do not write any code before I agree with your solution.
Then iterate on the solution. At some point, it will repeat the solution and ask whether to proceed, ignoring you when you tell it to proceed.
Expected behavior
When the bot asks me if I want him to proceed with a solution and I say yes, I want the bot to proceed... Also, I would expect that asking to explain the solution before writing any code would not use tokens.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 69447488,
  "usedJSHeapSize": 64198144,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = tuxman
Chat ID = ed1272fbbf2f

Additional context
No response

true,
for error correction tokens should not be used.
also bolt trying different approaches and producing new errors is not helpful.
its better that bolt should scan the entire application in every 10th step and ensure the entire application is cleaned of unused code, dependency fixed and health for next step code generation


cdc: add CDC delegate

What have you changed?
Add CDC delegate it convert raft commands into change data event.
What is the type of the changes?

New feature (a change which adds functionality)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No.
Does this PR affect tidb-ansible?
No.

CI failed

PTAL, thanks!


Bumped up much needed versions

Bumped up versions of ops4j.pax.logging, google guava, jackson databind, jetty9, scala, owasp and removed unused version declarations, excluded unneeded io.netty and minor typo fixes.

I ran all "smoke" tests and they ran just fine.

That's already done by unit PRs on the way. Thanks anyway.

Is there something that is not in upcoming unit PRs, that can be merged by this PR?

Unfortunately, not really. Next time, you should check the Jira or ping me on Slack/e-mail.

Maybe netty update, but it's already up to date afair. Let me check this one.

@chughpiyush I extracted some of your changes in specific PRs and give credit to you (see #459 for instance).

Unfortunately, not really. Next time, you should check the Jira or ping me on Slack/e-mail.

Actually I don't have an apache account so I could not sign up on Slack, otherwise I wanted to inform someone before creating a pull request.

@chughpiyush I extracted some of your changes in specific PRs and give credit to you (see #459 #460 for instance).

That's great! But I really hoped that I could've trimmed this current PR to incorporate "unused properties" and "netty exclusion", to count towards my first (and hopefully not last) commit to the activemq project. Is it feasible now?

How do you guys communiate internally regarding who is working on which JIRA ticket and/or any other issues? I found IRC and Slack but could not join due to lack of apache id.

@chughpiyush we use Jira.


Not running on the Flutter version lesser than 3

Unable to run or install the latest version on the Flutter version lesser than 3

Hi @htsv,
In the next release, I will fix this.


iOS: includeMetadataChanges does not recieve isFromCache false after first run

Steps to reproduce
Create a snapshot query like this example:
final query = templateQuery
          .startAt([geoHash])
          .endAt(['$geoHash~'])
          .limit(geoHashFetchCount)
          .snapshots(includeMetadataChanges: true)
          .listen(
            (snapshot) {
              if (snapshot.metadata.isFromCache) {
                return;
              }
             else...

Expected results
The docs say the following about includeMetadataChanges:

Whether the snapshot was created from cached data rather than guaranteed up-to-date server data.
If you called DocumentReference. snapshots or Query. snapshots with includeMetadataChanges parameter set to true you will receive another snapshot with isFromCache equal to false once the client has received up-to-date data from the backend.

Actual results
On an Android device, this is true, and the snapshot is received twice, from the cache and then from server, but on iOS a cached followed by a server snapshot is only delivered the first time the query is executed, and if the same query is recreated later on the same data, a server snapshot is not received until the target data is updated. This was not the case in previous versions of the Firebase plugins or on Android, but it appeared in the latest version on iOS when I updated the plugins.
Code sample
Code sample
final query = templateQuery
          .startAt([geoHash])
          .endAt(['$geoHash~'])
          .limit(geoHashFetchCount)
          .snapshots(includeMetadataChanges: true)
          .listen(
            (snapshot) {
              if (snapshot.metadata.isFromCache) {
                return;
              }
             else... //This part is never reached if the query gets recreated on the same data, unless the data is updated

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.22631.3527], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc2)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.0)
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

This appears to be an issue with cloud_firestore. This should be reported on the flutterfire repository.
Closing from here as this plugin is not maintained on this repo.
Thank you