Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Launch, Win7 x64 #161

Closed
ReanimationXP opened this issue Mar 5, 2017 · 6 comments
Closed

Crash on Launch, Win7 x64 #161

ReanimationXP opened this issue Mar 5, 2017 · 6 comments
Labels
Bug Issues which are bug reports Confirmed Confirmed issues

Comments

@ReanimationXP
Copy link

References Notification creation I think. This happens with damn near every version, even ones which have worked. I suspect a restart would fix, but keeps happening.

Also Github wouldn't let me upload the zip you're generating. Even after trying a handful of evasion bullshit. Uploaded it here:

https://mega.nz/#!sNQjHbhS!5UIV1uG2dDuuD7CwB5NSIvYgtSyMd0wrZ0K9Vy0wnn4

@FireEmerald
Copy link
Contributor

FireEmerald commented Mar 5, 2017

Do you remember which kind of Notification (None,Windows,Sound,Toast,Custom) you had configured to show up if you changed your devices?

The error occurred because you are using Windows 7 and configured:
"NotificationSettings": 3 - which is Toast and Toast isn't available under Windows 7.

The easiest way to fix your problem is to delete the configuration file:
%AppData%\Roaming\SoundSwitch\SoundSwitchConfiguration.json

Edit:
Nevertheless @Belphemur there could be a small issue introduced in 0bc54a4.
I changed the order of the Notification DropDown menu items to be more sorted.

0bc54a4#diff-e5c0d47cc4eb7013b7b5cb73a9c1f456R18

I didn't noticed that these settings are serialized as integer values.

@Belphemur
Copy link
Owner

Belphemur commented Mar 5, 2017

@FireEmerald it surely that yes.

We need to either put them in the order they were or add a backward compatible setting in the configuration.

The easiest is to rechange the order in the enumerated.

I missed that change when reviewing the pull request.

@Belphemur Belphemur added Bug Issues which are bug reports Confirmed Confirmed issues labels Mar 5, 2017
@Belphemur
Copy link
Owner

@ReanimationXP is I'm sorry but for now you'll have to remove the %appdata%/SoundSwitch directory to start with a fresh configuration.

@Belphemur
Copy link
Owner

Belphemur commented Mar 5, 2017 via email

@FireEmerald
Copy link
Contributor

FireEmerald commented Mar 5, 2017

It would be better to assign each Enum a value which is used in the configuration instead of the code order. Then we could change the order without any problems.

@FireEmerald
Copy link
Contributor

FireEmerald commented Mar 5, 2017

The only file changes which lead to this crash is located here: NotificationTypeEnum.cs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues which are bug reports Confirmed Confirmed issues
Projects
None yet
Development

No branches or pull requests

3 participants