Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

BUG: Unexpected exception upon inserting a rule #19

Closed
wo-rasp opened this issue Oct 3, 2016 · 9 comments
Closed

BUG: Unexpected exception upon inserting a rule #19

wo-rasp opened this issue Oct 3, 2016 · 9 comments
Assignees
Labels
bug Crash or glitch or unexpected behavior that causes a problem within the app.
Milestone

Comments

@wo-rasp
Copy link

wo-rasp commented Oct 3, 2016

To use multiple Philips Dimmer Switches with the Bridge, the iOS App uploads a set of rules. With Windows, those rules have to be created manually.

I can enter all data and configuration information required, however when I press the button to create the rule, I get a pop-up message box: "Sorry but an unexpected exception occured. Please report the exception ....". I have no ther choice but to Press the OK button, and WinHue3 terminates.

After restart of the Hue3 app, i can edit the rule and everything works fine.

@wo-rasp wo-rasp closed this as completed Oct 3, 2016
@wo-rasp wo-rasp reopened this Oct 3, 2016
@Hyrules
Copy link
Owner

Hyrules commented Oct 3, 2016

can you give me a log of the application when the exception occurs i will take a look at it thanks.

@Hyrules Hyrules self-assigned this Oct 3, 2016
@wo-rasp
Copy link
Author

wo-rasp commented Oct 3, 2016

log 2016-09-25.zip

I have uploaded two log files with similar issues.
I currently use the following devices to control my bulbs:

  • 1 Gen2 Bridge
  • 3 white lamps (Eingang, Sekretaer, Buero).
  • 2 Dimmer Switches (Flur, Sekretaer).
  • 2 Lumia 620 (Wp8.1 with Huetro V2.3)
  • 1 Raspberry (pilight)
  • 1 PC (W10 with Winhue Beta 18)

All 3 Lamps are members of Group 1.
I use the dimmer switches as wall mounted devices to turn all lamps ON, OFF, DIM UP / DOWN (in increments of 30 Units)
The pi provides a standard WEB browser interface to give others access for controlling all lamps individually (without the need to register with the bridge)

@Hyrules Hyrules added the bug Crash or glitch or unexpected behavior that causes a problem within the app. label Oct 3, 2016
@Hyrules Hyrules added this to the beta 19 milestone Oct 3, 2016
@Hyrules
Copy link
Owner

Hyrules commented Oct 3, 2016

Yep can replicate it. I'll get you a fixed version tomorrow. I've almost finished fixing the bug.

@Hyrules
Copy link
Owner

Hyrules commented Oct 5, 2016

sorry i wasn't able to get you a fix yesterday. I got a weird bug while trying to fix this one it may take a couple more days to sort this out.

@Hyrules
Copy link
Owner

Hyrules commented Oct 5, 2016

Here you go try this and let me know if you still have the error.

@wo-rasp
Copy link
Author

wo-rasp commented Oct 6, 2016

Nope, it still throws an exception.

Wolfgang

Von: Hyrules [mailto:notifications@github.com]
Gesendet: Donnerstag, 6. Oktober 2016 00:30
An: Hyrules/WinHue3
Cc: wo-rasp; State change
Betreff: Re: [Hyrules/WinHue3] BUG: Unexpected exception upon inserting a rule (#19)

Here you go try this and let me know if you still have the error.

WinHue 3 BETA 19 Setup.zip https://github.com/Hyrules/WinHue3/files/512456/WinHue.3.BETA.19.Setup.zip


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub #19 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AG9MVzB4_NdmK5bWf9eYh1g_XVJbfGJBks5qxCTZgaJpZM4KMikc . https://github.com/notifications/beacon/AG9MV9XNYk8hoz78uaJqfmUbzKRFZpUEks5qxCTZgaJpZM4KMikc.gif

@wo-rasp
Copy link
Author

wo-rasp commented Oct 6, 2016

Hi,

I installed beta 19 without and started the program directly after install.

After a reboot of the machine it is working now.

The button “Create Schedule” that was previously (before the reboot) greyed out is now active as well and allows editing of schedules as well.

A minor issue:

When a new rule is created the field for Name: is populated with the string ‘newRule’.

However actually if this field is not populated manually, a popup box is shown:

One or more errors occurred while creating the object:

Type : 5, invalid / missing parameters in body at address /rules/name.

                                  <ok>

I think this is due to the fact that the field is actually empty.

Kind regards

Wolfgang

Von: Hyrules [mailto:notifications@github.com]
Gesendet: Donnerstag, 6. Oktober 2016 00:30
An: Hyrules/WinHue3
Cc: wo-rasp; State change
Betreff: Re: [Hyrules/WinHue3] BUG: Unexpected exception upon inserting a rule (#19)

Here you go try this and let me know if you still have the error.

WinHue 3 BETA 19 Setup.zip https://github.com/Hyrules/WinHue3/files/512456/WinHue.3.BETA.19.Setup.zip


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub #19 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AG9MVzB4_NdmK5bWf9eYh1g_XVJbfGJBks5qxCTZgaJpZM4KMikc . https://github.com/notifications/beacon/AG9MV9XNYk8hoz78uaJqfmUbzKRFZpUEks5qxCTZgaJpZM4KMikc.gif

@Hyrules
Copy link
Owner

Hyrules commented Oct 6, 2016

yes the text written in that field is just an watermark and not actually in the field. There is already a check in place when you create the rule but not if you empty an edited rule name I will correct that. Create Schedule is always greyed out unless you select an object that you can create a schedule on such as Light or group.

@Hyrules
Copy link
Owner

Hyrules commented Oct 6, 2016

This version should fix the rule name bug.

@Hyrules Hyrules closed this as completed Oct 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Crash or glitch or unexpected behavior that causes a problem within the app.
Projects
None yet
Development

No branches or pull requests

2 participants