Notices


Reply
Thread Tools
Posts: 29 | Thanked: 11 times | Joined on May 2012 @ The Netherlands
#2441
Originally Posted by kalafu View Post
I think some ppl will freeze some not with the Cepi version, I like his version as well, but i wanna find out the freeze problem come from.
First, for those who not freezed using PR1.3?
then for those who not freezed how to install Cepi version?
May be some other reason cause the freeze problem.
I'm on pr 1.3, installed Tarek's version and directly installed Cepi's version (.deb) on top of that. I have no freezes.

Only problem I have a.t.m. is that it sometimes won't start-up (displays splash screen, and nothing after that). I have to delete my .db file and lose my convo's in order for Wazapp to start working again. Anyone has a solution for that?

EDIT: i have a Mfe account and an other email account active, but no other IM/Chat services

Last edited by Ruudjepluus; 2012-08-23 at 09:34.
 

The Following User Says Thank You to Ruudjepluus For This Useful Post:
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#2442
if you can figure out the bug that make you crash, then you are fine.
by the way, there is new version, block option with some bugs fixed.
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 

The Following User Says Thank You to TMavica For This Useful Post:
Posts: 2 | Thanked: 6 times | Joined on Aug 2012
#2443
First post on these forums so be gentle

Whilst I'm no developer (hell, I can't figure out what I'd need to put in the build_armel.sh script to compile WazApp myself), I can read shell script / python / etc...

Firstly, I'd like to thank the devs for their efforts so far - truly fantastic, without WazApp my phone bill would be sky high

Secondly, those of you using Cepi's build will notice that when you get a text you get the Nokia notification at full blast - regardless of what volume settings you have on your phone.

I found this quite annoying... so I set about looking for a solution.... and it's actually fairly straightforward!

Notifications are handled by the notification.py script (thanks for keeping things obvious guys!). The key difference between the 0.26 release and Cepi's release is the line:

0.26:
Code:
def __init__(self,audio=False,vibra=True):
Cepi:
Code:
def __init__(self,audio=True,vibra=True):
This in itself is not a big deal, one is initialising with audio set to false, one with audio set to true... it's the next block of code that causes the loud noise:

Code:
		if audio:
			self.audio = QMediaPlayer(); 
			self.audio.setVolume(100);
		else:
			self.audio = False
If audio=True then set the volume to be 100%... that's going to hurt some eardrums.

A better solution would be some kind of 'getSystemVolume()' value instead of '100', but I've not looked into any Meego programming, so not sure how accessible the system stuff is... instead the duct-tape fix is just to set audio=True to audio=False, restart your phone (or kill/restart WazApp) and enjoy the quiet 'click' once again.

So... for those of you with terminal installed you'll need to run the following commands... oh and quick disclaimer 'if it bricks your phone, sets your house on fire or causes your wife to have an affair, don't come crying to me'. This fix worked for me. It should work for you too. If something breaks you can either copy the original file back (instructions later) or just re-install Wazapp.

Note: I'm assuming you know how to work terminal (ie, type a command, hit enter):

Do:
Code:
~ $ devel-su
Password: rootme [enter]

~ # cd /opt/waxmppplugin/bin/wazapp

~ # cp notifier.py notifier.py.old

~ # cat notifier.py.old | sed 's/audio=True/audio=False/' > notifier.py

~ # exit

~ $ exit
Undo:
Code:
~ $ devel-su
Password: rootme [enter]

~ # cd /opt/waxmppplugin/bin/wazapp

~ # cp notifier.py.old notifier.py

~ # exit

~ $ exit
All we're doing here is using sed (Stream EDitor) to replace 'audio=True' with 'audio=False'. We could choose to change the volume instead, but I'm just going back to the 0.26 functionality until I can figure out a better solution

Let me know if this works for you...

Mark

edit - OK, looks like what we actually want instead of 100 is messageRingtoneVolume from here.

Last edited by streetster; 2012-08-23 at 14:48.
 

The Following 6 Users Say Thank You to streetster For This Useful Post:
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#2444
In the line:
self.audio.setVolume(XXX);
replace XXX with something lower than 100 and you should get a quiet notification.
 

The Following 2 Users Say Thank You to knobtviker For This Useful Post:
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#2445
Hey guys
Is there anyone who knows about media uploading?
I've added poster to wazapp in my github and it uploads the file to mms.whatsapp.net, but I always get this error:
Code:
<key>error</key> <string>exists</string>
This is the main problem for sending media
If someone can help with this, them media sending will be done.

Check the source here: https://github.com/CepiPerez/wazapp

#tgalal: where are you?!
__________________
Filebox / FileCase for Maemo / Harmattan / Sailfish
FlowPlayer for Maemo / Harmattan / Sailfish
Whatsup for Harmattan / Sailfish
CallBlocker for Harmattan

Support my work:
Paypal / Bitcoin
 

The Following 5 Users Say Thank You to CepiPerez For This Useful Post:
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#2446
@Cepi, you try ask in Harmattan IRC
by the way, tgalal really seem disappear long time...
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#2447
@Cepi :
wrong server.
upload the files to bin-short.whatsapp.net port 5222 ( a socket connection)
once it is done, it will return a link, something like sefjw59345iw.jpg for example.
 

The Following 8 Users Say Thank You to knobtviker For This Useful Post:
Posts: 118 | Thanked: 16 times | Joined on Jan 2012 @ Nidderau,Hessen , Germany
#2448
now i encoutered some screenfreezes too and also about the volume thing a few people mentioned... just change the app/mediaplayer volume and you're fine (i'm using cepis .deb)
 
Posts: 239 | Thanked: 70 times | Joined on Oct 2010 @ Germany
#2449
do i have to delete .db if i install new cepi version? i still running his latest .deb and now want to install the newest version..

also would be nice to know which bugs are fixed...

Last edited by snooky; 2012-08-23 at 21:11.
 
Posts: 118 | Thanked: 16 times | Joined on Jan 2012 @ Nidderau,Hessen , Germany
#2450
Originally Posted by snooky View Post
do i have to delete .db if i install new cepi version? i still running his latest .deb and now want to install the newest version..

also would be nice to know which bugs are fixed...
can't you just install the latest .deb over the old one like in tgalals version ? in that case i'll wait for the next deb to be released when he is able to fix media sending.
 

The Following User Says Thank You to adio_89 For This Useful Post:
Reply

Tags
godoftool, harmattan, is-a-miracle, nokia n9, spacker_thread, tarekgalal, toddler_daycare, toolcoderus, wazapp, whatsapp


 
Forum Jump


All times are GMT. The time now is 01:46.