Winleafs icon indicating copy to clipboard operation
Winleafs copied to clipboard

Crash and Unable to Pair

Open livejamie opened this issue 4 years ago • 15 comments

I was doing screen mirroring last night and at some point it got stuck and crashed.

I left it overnight and there was no change.

I've tried reinstalling and repairing to no avail.

WInleafs can find my device but clicking pair doesn't do anything.

The official Android app seems to work fine.

log.zip

livejamie avatar Jul 15 '21 21:07 livejamie

Hey, thanks for the report, I will try looking into it this weekend

StijnOostdam avatar Jul 15 '21 21:07 StijnOostdam

What if you try to delete (or rename) your existing settings located at %appdata%/Winleafs? Maybe your device changed IP and Winleafs does not handle that correctly

StijnOostdam avatar Jul 18 '21 11:07 StijnOostdam

I renamed that file to settings.old and it's still the same behavior. WInleafs can find my device immediately but clicking pair does nothing.

livejamie avatar Jul 19 '21 20:07 livejamie

@livejamie Thanks for checking. I think the problem has something to do with the IP address of your panels, but I am not completely sure. I send you a test version via email (the email from your GitHub profile) with more logging, based on this commit https://github.com/winleafs/Winleafs/commit/58599c3d9ef83b684972c7f47ffda44df7af9185. Could you try that version without existing settings and post your logs here?

EDIT: file size is too large for both here and via email, I will search for a safe other way to send you the file

StijnOostdam avatar Jul 19 '21 20:07 StijnOostdam

Sure, feel free to toss it up on Google Drive

livejamie avatar Jul 19 '21 21:07 livejamie

https://github.com/winleafs/Winleafs/releases/tag/untagged-0aaff73d9eaf4d7856b9 You can download it here. Just to be sure: uninstall WInleafs before installing this version

StijnOostdam avatar Jul 19 '21 21:07 StijnOostdam

That link gives me a 404 error

livejamie avatar Jul 19 '21 23:07 livejamie

Does this link work for you? https://drive.google.com/file/d/167HhZvtMELBZyjtNJwr_e7gA_V8Ls7N_/view?usp=sharing

StijnOostdam avatar Jul 20 '21 18:07 StijnOostdam

Yeah

This is the log:

2021-07-20 15:11:35.2570|INFO|Winleafs.Wpf.Views.Setup.SetupWindow|Discovered following device: LEDE, IPs: 192.168.4.170,fe80::255:daff:fe59:f082%18, Port: 16021
2021-07-20 15:11:41.5516|INFO|Winleafs.Wpf.Views.Setup.SetupWindow|Selected following device: 192.168.4.170:16021

livejamie avatar Jul 20 '21 22:07 livejamie

Unless you're looking for something else from me?

livejamie avatar Jul 22 '21 12:07 livejamie

Sorry, busy schedule, I haven't had time to check it yet.

StijnOostdam avatar Jul 22 '21 12:07 StijnOostdam

@livejamie could you also send the expections that happen after those 2 lines?

StijnOostdam avatar Jul 24 '21 10:07 StijnOostdam

@livejamie could you also send the expections that happen after those 2 lines?

Nothing else shows up, is there something I need to do to make them show up?

livejamie avatar Jul 26 '21 17:07 livejamie

No, if there are exceptions they would be logged. So to reiterate:

  • you select the device
  • you hold the pair button on your device
  • you click pair
  • nothing happens

Correct?

Another question: which type of panels with which firmware version do you have?

StijnOostdam avatar Jul 26 '21 18:07 StijnOostdam

Correct,

I have the Nanoleaf Rhythm Edition, Triangles. 5.10.

It works in the Nanoleaf app on my Android phone.

livejamie avatar Jul 26 '21 18:07 livejamie