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 upon entering settings by rightclick or after end of pomodoro #16

Closed
GoodKey opened this issue Jan 28, 2015 · 14 comments
Closed

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

GoodKey opened this issue Jan 28, 2015 · 14 comments

Comments

@GoodKey
Copy link

GoodKey commented Jan 28, 2015

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
Copy link

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.

@GoodKey GoodKey changed the title Crash upon entering settings by rightclick Crash upon entering settings by rightclick or after end of pomodoro Jan 28, 2015
@lukaszbanasiak
Copy link
Owner

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
Copy link
Owner

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
Copy link
Author

GoodKey commented Jan 28, 2015

Works for me.
Nevermind, it started crashing again.

@lukaszbanasiak
Copy link
Owner

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

@GoodKey
Copy link
Author

GoodKey commented Jan 28, 2015

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
#16 (comment).

@floatas
Copy link
Collaborator

floatas commented Jan 28, 2015

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
Copy link
Author

GoodKey commented Jan 28, 2015

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

@floatas
Copy link
Collaborator

floatas commented Jan 28, 2015

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

@lukaszbanasiak
Copy link
Owner

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

@GoodKey
Copy link
Author

GoodKey commented Jan 28, 2015

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
Copy link
Owner

@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:

  • System.Data.SqlServerCe.dll
  • System.Data.SqlServerCe.Entity.dll

and dirs:

  • amd64
  • x86

@floatas
Copy link
Collaborator

floatas commented Jan 29, 2015

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
Copy link
Collaborator

floatas commented Feb 25, 2015

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

@floatas floatas closed this as completed Feb 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants