-
Notifications
You must be signed in to change notification settings - Fork 40
Adding lights to a group throws error #42
Comments
Cannot reproduce the problem what are the steps you took to make this bug happen ? |
Fresh install of WinHue Beta 23. |
I still cannot reproduce the error. Can you give me your bridge API version it's located in the Bridge Settings button under the General Settings. You should be at 1.15.0 or more if it's not the case you need to upgrade your bridge firmware. That might be the cause of the exception. I'll have to dig more. |
I can confirm I'm at 1.15.0. I'm also running Windows 7. It looks like I have .NET 4.6.1. I've tried running as administrator, running in compatibility. Reinstalling. Nothing seems to be working. I can generate logs every time, so if you needed anymore, just lemme know! |
No problem. I'm looking into this right now. I have added some kind of failsafe but i don't understand why you get an null object. |
Can you try this version and send me the log file after you create a group. I want to see what happens. I have added some logging. It will not fix the problem. Might give you another error instead of an exception. |
Thanks for the assistance. |
ok this gives me more clues on what is null... now why... Try this version : |
removed for safety (Hyrules) |
I know why you have the error. As for why this variable is null god know... and this one ? |
Can you also send me a screenshot of your WinHue window ? I want to check if I see anything suspicious. |
HueLib2 unknown error seems to pop up a lot, at the bottom or in the log files. |
Gees know I know why. This is not normal. You shouldn't have a blank Window at all. There should be at least some Lights and default groups and sensors. Did you pair your bridge with WinHue ? |
definitely something odd... I'm looking at the last log. |
Yes I did. Is there a settings window you'd like to see of the two paired? |
Well there is the pairing windows but all I need is in the log. There seems to be a problem deserializing the Data store for the bridge. That is why the window is blank. |
try this in your browser and send me the result : It will send me a full dump of your bridge. I suggest you put it in a text file. |
removed by hyrules ( thanks) |
Thanks I will try to debug with it. I'll see why it does not work. |
Merci! Good luck! |
Speak french ? I'm from Quebec so oui merci :) |
I am an Australian immigrant living in New Brunswick so I am forced to learn a little bit of french. Practice makes perfect |
Then Welcome to Canada / Bienvenue au Canada ! I hope I can find this bug for you soon so you can enjoy WinHue. |
I think I have it fixed : |
WOAH. Look at all those new things that weren't there before. I'll keep this thread alive for a couple of days. |
Great ! Sure keep it there for a few. Nice to know it's now fixed. |
Popping in to say the beta 24 fixed the exact same issue for me |
Couldn't find a way to contact you directly, but you don't have a couple of libraries included by default in the repo. Things like the UPnP handler etc. Any plans on adding those? |
You're right the package folder is not synched with the repo. I will add it later tonight. |
If you look at the dev branch there is now a package folder. Libraries should be in it. |
Having some trouble specifically with AvalonEdit. How'd you get the project to recognize it? |
you have to add a reference to ICSharpCode.AvalonEdit.dll in WinHue. |
try nuget : https://www.nuget.org/packages/AvalonEdit |
No such luck. |
What is the error message you get ? |
I pitch myself in as having the same issue. Blank main screen of the program, HueLib2.UnknownError at the bottom, and crash on creating any group (the 'create a group' has all my lights available). I just saw the Beta24 linked above and tried it out. Looks like it fixed the issue for me as well, a lot of things on the main screen now and just playing with a light or two worked. Thank you for your work with this tool - it is looking very good. |
Sorry but an unexpected occurred. Please report the exception on the support website so the developer can fix the issues. Please include the most recent log located in the logs folder.
Here is the most recent log:
The text was updated successfully, but these errors were encountered: