maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [SCRIPT] Restart wazapp automatically upon crash! (https://talk.maemo.org/showthread.php?t=85258)

godofwar424 2012-07-09 15:42

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by chasetheangel (Post 1234365)
@GOW424

Just a feedback:

I think most of the crashes on Wazapp that Im using is/was caused by switching of connections from Wifi to 3g and vice versa. Some of this crashes, the UI just hanged without any activity. I tried the script and experienced while it tried to reconnect the hanged Wazapp, it comes to a loop of 'connecting', 'online', 'offline'. Is there anyway to make the script to completely shutdown the app before restart and connect?

BTW, I'm using the dev version. I've able to avoid the hanged Wazapp crash by staying on 3g all the time and completely disabling Wifi connection for it.

I don't think so, the scripts only function is to ensure Wazapp stays running, I have also had a couple of DEV version UI screw ups but that's the price to pay for using a DEV version.

This doesn't happen on the current release.

super-hero 2012-07-20 19:53

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
how do i undo this? i tried it, and now i get like random permanent freezes (When it decides to start) i have to restart the whole phone to get it working...

godofwar424 2012-07-20 22:54

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by super-hero (Post 1240452)
how do i undo this? i tried it, and now i get like random permanent freezes (When it decides to start) i have to restart the whole phone to get it working...

Then just use the original desktop file in my initial post.

eltoffer 2012-07-20 23:18

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Anyway to get splash screen?

godofwar424 2012-07-21 01:53

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by eltoffer (Post 1240536)
Anyway to get splash screen?

There probably is a way, but I honestly don't see the point, it is a useless feature that disappears when you swipe it away to try and do something else anyways.

super-hero 2012-07-21 04:02

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by godofwar424 (Post 1240524)
Then just use the original desktop file in my initial post.

Thanx man, i did that and deleted the .db file and it works now :)

Rabah_vip 2012-07-24 10:35

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by super-hero (Post 1240606)
Thanx man, i did that and deleted the .db file and it works now :)

hi where is the .db i want to try to delete it maybe it work with me so please help me

godofwar424 2012-07-24 18:11

Re: [SCRIPT] Restart wazapp automatically upon crash!
 
Quote:

Originally Posted by Rabah_vip (Post 1242137)
hi where is the .db i want to try to delete it maybe it work with me so please help me

/home/user/.wazapp

alberto.machado12 2012-07-26 12:53

Re: [SCRIPT] Process is running or not
 
Hi Guys, Let me say straight away that i am new to this but need to sort out my wazapp hanging.
I tried the scripts and when entering the code i get 'file not found" errors, could you please be a bit more specific as to where exactly to copy the files too as well as with the procedure to enter the script.:confused:
many thanks

[QUOTE=godofwar424;1232066]End result script works great here are the two scripts created from this idea! :)

INSTRUCTIONS!

Connect your N9 to your computer via USB and copy the waxmppplugin.desktop and wazapp.sh file onto your Device.

Now unplug the USB and open the Terminal, and type in the following. If any commands give a permissions error, try again as root.

Code:

cp /home/user/MyDocs/wazapp.sh /home/user/
cp /home/user/MyDocs/waxmppplugin.desktop /usr/share/applications/
chmod 755 /home/user/wazapp.sh
chmod 644 /usr/share/applications/waxmppplugin.desktop


If script 2 is place in /home/user/ and saved as wazapp.sh then using this .desktop file to replace the default one for Wazapp, you can achieve a Wazapp that will restart itself if it errors for any reason :)

If you Quit the app yourself, it will not restart until you do it manually :)

godofwar424 2012-07-26 18:53

Re: [SCRIPT] Process is running or not
 
Quote:

Originally Posted by alberto.machado12 (Post 1243247)
Hi Guys, Let me say straight away that i am new to this but need to sort out my wazapp hanging.
I tried the scripts and when entering the code i get 'file not found" errors, could you please be a bit more specific as to where exactly to copy the files too as well as with the procedure to enter the script.:confused:
many thanks

I need to know what part you get the error, post a terminal output or something


All times are GMT. The time now is 00:26.

vBulletin® Version 3.8.8