Whatpulse 2.6 requires a new database every restart

This has been happening ever since the update to the database version from 5 to 6 or whatever. For a while after I install the newer version, using the old database, it works just fine. Then after a few client restarts, be it manually, or through computer restarts, it just doesn’t want to start anymore, requiring me to delete the old database and .wpw files.

On the clients with the old database, 2.6b2 or older, if whatpulse refused to start for whatever reason, even telling me that the database is corrupted and can’t be restored, all I had to do was cut the .db and .db.backup files on the desktop, launch whatpulse in order to generate a new database, close whatpulse, then overlap the newly generated database with my old one, then it would continue to work flawlessly as if nothing had happened. On the newer clients this doesn’t work anymore, it wants a new database every time the client is restarted. I’ll stick with 2.6b2 until (if) this is fixed.

OS: Windows 7 Ultimate x64 bit
Winpcap is installed properly, whatpulse is running as administrator, the app.log can be found here: http://puu.sh/hLRve/c9f19b6719.log (I’ve already reinstalled 2.6b2 before uploading this)

I think I’m experiencing a very similar/the same problem after updating from 2.5 to 2.6.
After the first reboot after install, the program refuses to start. I don’t get any kind of error message though, nothing simply happens when I try to start WhatPulse.

(Windows 7 Pro 64-bit)

Having the same issue here with v2.6. 2.5 worked fine but the new version fails to start every time until I delete the db and wpw files. Does anybody know download links for the older versions?

I also have the same issue, but for me deleting wpw files without deleting db helped. Previous version worked fine.

[quote=“TehMoff, post:2, topic:14451”]
After the first reboot after install, the program refuses to start. I don’t get any kind of error message though, nothing simply happens when I try to start WhatPulse.[/quote]

Yeah, the exact same thing happens to me with 2.6, the error message I was talking about with the database corruption would happen extremely rarely with 2.5 or older versions after a blue screen for example, and it used to be easily fixable without losing the database.

2.6 won’t run at all on my PC but it works fine on my laptop.

Where can I download an older version of WhatPulse that I can use on my PC until things get sorted?

FFS… I just tried uninstalling and re-installing WhatPulse (I said that it shouldn’t delte my database like I usually do when re-installing this - it’s not the first time) and now I lost all my WhatPulse data from my PC… WTF happened? I had over 6 million keys and about 2-3 million clicks on here.

This is the last screenshot I have of any of my stats on my PC: https://i.imgur.com/0RhB8iH.png

Now it just looks like this: https://i.imgur.com/mm7Liz8.png

https://i.imgur.com/lCXRYMc.png

:frowning:

The same thing happened to my old data when I tried whatpulse 2.6b4, I’ve mentioned this exact issue during the beta feedback thread but it just got discarded as user error or something, nothing was done about it.

Ever since then I’ve been backing up my appdata whatpulse folder when updating to a new beta version to check if the issue was gone, it wasn’t but I stopped mentioning it since apparently my feedback is useless because my PC has some kind of bad voodoo that makes everything break.

Well I have the same problem, the only way that I can get it to start is by using a backup WPF file that was from the 2.5 version. It’s probably the same kind of crash that people are getting on linux and mac, although there’s no crash dump or error generated in the windows version, it just silently closes out.

There’s no error in the log file, but the last entry in it is on the WPF file when it is starting up.

14-05-2015 09:23:12.394  INFO "Starting WhatPulse 2.6..." 
14-05-2015 09:23:12.473 DEBUG Installed CrashRpt! 
14-05-2015 09:23:12.497 DEBUG Database file:  "O:/Users/xxxxx/AppData/Local/WhatPulse/whatpulse.db" 
14-05-2015 09:23:12.740 DEBUG Database check:  "ok" 
14-05-2015 09:23:12.741 DEBUG Opened database in:  244 ms 
14-05-2015 09:23:12.745 DEBUG Running WhatPulse as Administrator! :-) 
14-05-2015 09:23:12.745 DEBUG Encrypted file:  "O:/Users/xxxxx/AppData/Local/WhatPulse/whatpulse.wpw" 

Same problem here! Whatpulse doesnt work anymore after a restart. I moved back to 2.5 on my laptop

Can you share the installer for 2.5? :slight_smile: Can’t find it anywhere.

Okay, found it: http://amcdn.whatpulse.org/files/whatpulse-win-2.5.exe

Hi guys,

Could you run the client via cmd.exe? Cd to the client install directory and execute “whatpulse.exe --verbose” (minus quotes). Send the output to me.

Also, try this test version to see if that works: https://dl.dropboxusercontent.com/u/7766970/whatpulse-2.6.1-test.exe

Thanks!

Hi, I was having the same problem and that test file worked.
(threw him in the install dir and renamed him to whatpulse.exe and he is now working great)

Wasn’t able to do the cmd bit.

Thanks for support :slight_smile:

For the verbose message. And yes, that test build does work.

15-05-2015 16:57:28.216  INFO "Starting WhatPulse 2.6..." 
15-05-2015 16:57:28.435 DEBUG Installed CrashRpt! 
15-05-2015 16:57:28.452 DEBUG Database file:  "O:/Users/xxxxx/AppData/Local/WhatPulse/whatpulse.db" 
15-05-2015 16:57:28.720 DEBUG Database check:  "ok" 
15-05-2015 16:57:28.721 DEBUG Opened database in:  269 ms 
15-05-2015 16:57:28.723 TRACE Settings::setDefault( "stat_keyboard_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.723 TRACE Settings::setDefault( "stat_keyboard_heatmap_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.723 TRACE Settings::setDefault( "stat_mouse_heatmap_prune_3_months" , QVariant(bool, true) ) 
15-05-2015 16:57:28.723 TRACE Settings::setDefault( "stat_mouse_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.724 TRACE Settings::setDefault( "stat_mouse_heatmap_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.724 TRACE Settings::setDefault( "stat_input_applications_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.771 TRACE Settings::setDefault( "stat_net_interface_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.771 TRACE Settings::setDefault( "stat_net_application_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.771 TRACE Settings::setDefault( "stat_net_country_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.771 TRACE Settings::setDefault( "stat_net_uptime_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "stat_uptime_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "stat_boot_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "stat_application_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "stats_input_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "stats_net_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "stats_uptime_enable" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "online_send_applications" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "online_send_heatmaps" , QVariant(bool, true) ) 
15-05-2015 16:57:28.772 TRACE Settings::setDefault( "launch_on_start" , QVariant(bool, true) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "check_for_updates" , QVariant(bool, true) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "check_for_updates_include_beta" , QVariant(bool, false) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "work_offline" , QVariant(bool, false) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "proxy_system_enabled" , QVariant(bool, true) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "trayicon_blink_on_activity" , QVariant(bool, true) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "mainwindow_open_on_start" , QVariant(bool, true) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "linux_check_network_permissions" , QVariant(bool, true) ) 
15-05-2015 16:57:28.773 TRACE Settings::setDefault( "windows_run_as_administrator" , QVariant(bool, false) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "tray_doubleclick_pulse" , QVariant(bool, true) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "auto_pulse_keys_enabled" , QVariant(bool, true) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "auto_pulse_keys_unit" , QVariant(int, 50000) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_autostart" , QVariant(bool, false) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_ontop" , QVariant(bool, true) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_color_font" , QVariant(QString, "#ffffff") ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_font_size" , QVariant(int, 12) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_color_background" , QVariant(QString, "#000000") ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_transparancy" , QVariant(int, 50) ) 
15-05-2015 16:57:28.774 TRACE Settings::setDefault( "geek_window_doubleclick_close" , QVariant(bool, true) ) 
15-05-2015 16:57:28.775 TRACE Settings::setDefault( "geek_window_snap_to_grid" , QVariant(bool, true) ) 
15-05-2015 16:57:28.775 DEBUG Running WhatPulse as Administrator! :-) 
15-05-2015 16:57:28.775 DEBUG Encrypted file:  "O:/Users/xxxxx/AppData/Local/WhatPulse/whatpulse.wpw" 
15-05-2015 16:57:28.775 TRACE Settings::get( "login_via_facebook" )

When I reinstalled 2.6 in order to get the verbose log, I couldn’t get it to crash like it used to, no matter how many restarts I did. It only happened when I booted up the next day. The test build works for me too, but I thought it was an installer at first, lol

Here’s my verbose log:

[code]16-05-2015 11:19:31.060 INFO “Starting WhatPulse 2.6…”
16-05-2015 11:19:31.138 DEBUG Installed CrashRpt!
16-05-2015 11:19:31.154 DEBUG Database file: “C:/Users/Doug/AppData/Local/WhatPulse/whatpulse.db”
16-05-2015 11:19:31.232 DEBUG Database check: “ok”
16-05-2015 11:19:31.232 DEBUG Opened database in: 78 ms
16-05-2015 11:19:31.247 TRACE Query “exec()” took too much time!
16-05-2015 11:19:31.247 TRACE Time: 15 ms
16-05-2015 11:19:31.247 TRACE Query string: "-- INPUT –

CREATE TABLE IF NOT EXISTS keypresses (

"day" DATE NOT NULL,

    "hour" INTEGER NOT NULL DEFAULT 0,

    "count" INTEGER NOT NULL DEFAULT 0

)"
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_keyboard_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_keyboard_heatmap_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_mouse_heatmap_prune_3_months” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_mouse_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_mouse_heatmap_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_input_applications_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_net_interface_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_net_application_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_net_country_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_net_uptime_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_uptime_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_boot_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stat_application_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stats_input_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stats_net_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “stats_uptime_enable” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “online_send_applications” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “online_send_heatmaps” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “launch_on_start” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “check_for_updates” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “check_for_updates_include_beta” , QVariant(bool, false) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “work_offline” , QVariant(bool, false) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “proxy_system_enabled” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “trayicon_blink_on_activity” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “mainwindow_open_on_start” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “linux_check_network_permissions” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “windows_run_as_administrator” , QVariant(bool, false) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “tray_doubleclick_pulse” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “auto_pulse_keys_enabled” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “auto_pulse_keys_unit” , QVariant(int, 50000) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_autostart” , QVariant(bool, false) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_ontop” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_color_font” , QVariant(QString, “#ffffff”) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_font_size” , QVariant(int, 12) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_color_background” , QVariant(QString, “#000000”) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_transparancy” , QVariant(int, 50) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_doubleclick_close” , QVariant(bool, true) )
16-05-2015 11:19:31.247 TRACE Settings::setDefault( “geek_window_snap_to_grid” , QVariant(bool, true) )
16-05-2015 11:19:31.247 DEBUG Running WhatPulse as Administrator! :slight_smile:
16-05-2015 11:19:31.247 DEBUG Encrypted file: “C:/Users/Doug/AppData/Local/WhatPulse/whatpulse.wpw”
16-05-2015 11:19:31.247 TRACE Settings::get( “login_via_facebook” ) [/code]

I probably should have explained what to do with it. :wink: Great, this means it’s all connected to a single bug…expect a 2.6.1 very soon to update to.

2.6.1 has been posted, use the updater or http://whatpulse.org/downloads/

I don’t have access to my premium features in 2.6.1 when upgrading from 2.5 :S

Just press the “Refresh Status” button in the account tab. Also separate topic would’ve been best. :slight_smile:

Thanks, works now and will do next time :slight_smile: