lukaszbanasiak / YAPA

Minimalistic desktop timer app for Pomodoro Technique users
MIT License
123 stars 23 forks source link

Crash upon entering settings by rightclick or after end of pomodoro #16

Closed GoodKey closed 9 years ago

GoodKey commented 9 years ago

When you install 1.2 run it and then right click to access settings the program crashes. It seems like it has to do with the time counter history, because that doesn't load.

As long as I don't go to settings the program seems to work fine. (It crashes after 1 pomodoro) I managed to change settings by manually editing the settings file.

After my first backwards counting pomodoro it crashed.

NelsonReis commented 9 years ago

I'm having the same issue, but couldn't find out what the problem was, even by replacing .exe, .sdf or .config files on my install folder with the ones from the source repo.

lukaszbanasiak commented 9 years ago

The same behavior on my computer at work. At home (laptop and vm) I didn't have this issue. When i run exe from Visual Studio Release folder I don't have this problem.

lukaszbanasiak commented 9 years ago

I changed the portable version. Please test this file https://github.com/lukaszbanasiak/YAPA/releases/download/v1.2.0/Portable.zip. This are files from directory mentioned above (Visual Studio Release folder).

GoodKey commented 9 years ago

Works for me. Nevermind, it started crashing again.

lukaszbanasiak commented 9 years ago

@GoodKey At what point? When you enter the settings, or when you finish pomodoro?

GoodKey commented 9 years ago

When I enter the settings. It has to do with the loading of the pomo history. (Perhaps also when finishing.) (The settings seem to have reset.)

On 28 January 2015 at 16:46, Łukasz Banasiak notifications@github.com wrote:

@GoodKey https://github.com/GoodKey At what point? When you enter the settings, or when you finish pomodoro?

— Reply to this email directly or view it on GitHub https://github.com/lukaszbanasiak/YAPA/issues/16#issuecomment-71856677.

floatas commented 9 years ago

Seems like permission issue, try to delete database (.sdf) file that was installed. Database is created automatically on first write and that file will be placed in AppData folder.

GoodKey commented 9 years ago

Deleted the database file from the portable version and that worked.

floatas commented 9 years ago

Can someone test install version too ? for me deleting that file fixed both versions.

lukaszbanasiak commented 9 years ago

If anyone can test the new installer? https://github.com/lukaszbanasiak/YAPA/releases/download/v1.2.0/Installer.exe

GoodKey commented 9 years ago

Will do. .... Crashed upon right click. Removing library now. .... ~~Can't find appdata folder... What should I do?~~ Found it. Deleted it. Didn't work. Is it possible that it has to do with the foreign characters you use in map names and such? Łukasz_Banasiak

For me downloading the portable version and then removing database file worked.

lukaszbanasiak commented 9 years ago

@floatas What files do I need also included in setup.exe to work pomodoro history? Default InstallShield are packing this files:

|   EntityFramework.dll
|   EntityFramework.SqlServer.dll
|   EntityFramework.SqlServerCompact.dll
|   WpfAnimatedGif.dll
|   Xceed.Wpf.Toolkit.dll
|   YAPA.exe
|   YAPA.exe.config
|
\---Resources
        ding.wav
        tick.wav

What about this files:

and dirs:

floatas commented 9 years ago

Seems like all files are needed, just like in portable version. New installer works fine at work, but probably because all tools are installed. Looks like good time to set up virtual machine without dev tools for testing.

floatas commented 9 years ago

Bug that made application to crash was fixed, if someone still has problems with it please reopen or create new issue.