maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Yappari - A WhatsApp Client for the N900 ONLY (https://talk.maemo.org/showthread.php?t=84605)

mrbee 2013-09-29 21:08

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
The new version of Yappari came and it was nice, but when I restart my phone yappari seized to work. I have clicked on Yappari Icon severally without response. Please I need help

Liknus 2013-09-29 21:45

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377434)
I could try FCam API. I'll read the documentation to see if it's feasible.

In the mean time I need you all guys to vote for 1.1.40. Even if it still has that little bug of [voice note] instead of [image] when you send one (and should happen with video and audio too), let's vote so 1.1.40 can reach extras and people that are struggling to register can register easily and enjoy Yappari.

Vote here


I would vote.. But I can't for some reasongs log in... : (
Sorry!

Scorpius 2013-09-29 21:51

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by mrbee (Post 1377654)
The new version of Yappari came and it was nice, but when I restart my phone yappari seized to work. I have clicked on Yappari Icon severally without response. Please I need help

And where is the log?

Try first: rm -v /home/user/.yappari/chats.db

If it doesn't work then I need to see the log.

mrbee 2013-09-29 22:53

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377661)
And where is the log?

Try first: rm -v /home/user/.yappari/chats.db

If it doesn't work then I need to see the log.

i typed in the string in xterm and this is what I got:



BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ rm -v /home/user/.yappari/chats.db
rm: invalid option -- v
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) multi-call binary

Usage: rm [OPTION]... FILE...

~ $
Yappari does not start at all so where can I get the log please?

Scorpius 2013-09-29 23:03

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by mrbee (Post 1377672)
i typed in the string in xterm and this is what I got:



BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ rm -v /home/user/.yappari/chats.db
rm: invalid option -- v
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso31+0cssu0) multi-call binary

Usage: rm [OPTION]... FILE...

~ $
Yappari does not start at all so where can I get the log please?

You didn't read the first post entirely. You always have to read the first post entirely on every thread you're gonna post a comment.

Anyway that's weird, but try:

rm /home/user/.yappari/chats.db

Without the -v option (I thought BusyBox supported but Maemo SUCKS SO MUCH that it doesn't really surprise me)

NerdKnight 2013-09-29 23:56

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Several times I found Yappari eating the CPU, this happens when my n900 connects to a wifi router I have in bridge mode, that sometimes looses it's connection. In the log file I found the following lines repeating many times:
Code:

Connecting to c.whatsapp.net:443...
There was an IO error: Can't resolve server address (DNS problem?).
Connection closed.
Stopping timers.
Freeing up the connection.
Freeing up the socket.
Yappari will retry the connection in 10 seconds.


mrbee 2013-09-29 23:58

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377673)
You didn't read the first post entirely. You always have to read the first post entirely on every thread you're gonna post a comment.

Anyway that's weird, but try:

rm /home/user/.yappari/chats.db

Without the -v option (I thought BusyBox supported but Maemo SUCKS SO MUCH that it doesn't really surprise me)

Thanks so much Scorpious despite that I didn't read the 1st post you still help out. Now my Yappari is Back. I guess I will now find time to read everything. Thanks again

Scorpius 2013-09-30 00:33

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by NerdKnight (Post 1377677)
Several times I found Yappari eating the CPU, this happens when my n900 connects to a wifi router I have in bridge mode, that sometimes looses it's connection. In the log file I found the following lines repeating many times:
Code:

Connecting to c.whatsapp.net:443...
There was an IO error: Can't resolve server address (DNS problem?).
Connection closed.
Stopping timers.
Freeing up the connection.
Freeing up the socket.
Yappari will retry the connection in 10 seconds.


Normal. If Yappari detects a connection it will try to connect, but if your connection doesn't really work it'll retry forever eating your CPU. You should address your router problem, which may not support the N900 power saving mode, disconnecting it (this is a common problem, try leaving the N900 without the power saving setting to see if it loses the connection, if it doesn't then it's time to buy another router).

NerdKnight 2013-09-30 00:56

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377679)
Normal. If Yappari detects a connection it will try to connect, but if your connection doesn't really work it'll retry forever eating your CPU. You should address your router problem, which may not support the N900 power saving mode, disconnecting it (this is a common problem, try leaving the N900 without the power saving setting to see if it loses the connection, if it doesn't then it's time to buy another router).

Yeah It's an old router, this happens sometimes not regularly, but I think that yappari could use a bit less processor in this case, I notice this problem when the battery gets suddenly drained. Thanks for the quick reply, if I get more info about this I'll post it.

Scorpius 2013-09-30 01:15

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by NerdKnight (Post 1377682)
Yeah It's an old router, this happens sometimes not regularly, but I think that yappari could use a bit less processor in this case, I notice this problem when the battery gets suddenly drained. Thanks for the quick reply, if I get more info about this I'll post it.

I think I can't avoid it, Yappari doesn't do anything unusual, maybe it's the Qt framework or even the Maemo that uses a lot of battery when the connections are being initiated.

The thing is I don't think I can do anything about it.

If your router supports DD-WRT you should try that with at least kind of recent builds (>19000)

NerdKnight 2013-09-30 02:34

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377683)
I think I can't avoid it, Yappari doesn't do anything unusual, maybe it's the Qt framework or even the Maemo that uses a lot of battery when the connections are being initiated.

The thing is I don't think I can do anything about it.

If your router supports DD-WRT you should try that with at least kind of recent builds (>19000)

The router It's a linksys wrt-54g with DD-WRT build 15230M, don't worry about it, I'll find a way to workaround this.
I tried to reproduce this error removing the gateway from the routing table, but the app works as expected. I also look into the source of yappari and I think it may be Qt or Maemo related too. I let you know if I find something, thanks!

seanmcken 2013-09-30 04:02

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
1 Attachment(s)
helppppp, yappari isnt signing in, ive flashed my phone ystrday already, and thats a log file

Scorpius 2013-09-30 05:32

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by seanmcken (Post 1377697)
helppppp, yappari isnt signing in, ive flashed my phone ystrday already, and thats a log file

Your log shows you're trying too often to register. Just wait the time it tells you to wait and stop trying every minute. Leave it alone for like a day.

seanmcken 2013-09-30 06:29

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377715)
Your log shows you're trying too often to register. Just wait the time it tells you to wait and stop trying every minute. Leave it alone for like a day.

its done now, thnx

impeham 2013-09-30 08:04

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Scorpius - a question:
it happens very often to me that yappari stops sending messages (the "v" sign stays grey). when that happens, i have to open its main window and press the quit button and relaunch it - then the messages are working again (sometimes for just a short period of time).
It only happens to me when i'm on 3g network - never when i'm connected through wifi.

The 3G network is pretty stable - i don't have any disconnection issues with other applications.

is it possible to add a "reconnect" menu item to the the conversation windows to be used when this happens?

enne30 2013-09-30 09:32

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377434)
I could try FCam API. I'll read the documentation to see if it's feasible.

In the mean time I need you all guys to vote for 1.1.40. Even if it still has that little bug of [voice note] instead of [image] when you send one (and should happen with video and audio too), let's vote so 1.1.40 can reach extras and people that are struggling to register can register easily and enjoy Yappari.

Vote here

Another way would be a "sharing plug-in" like fMMS does... it's much simple selecting image to share from media gallery rather than "open file" menu.

Scorpius 2013-09-30 11:25

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by impeham (Post 1377741)
Scorpius - a question:
it happens very often to me that yappari stops sending messages (the "v" sign stays grey). when that happens, i have to open its main window and press the quit button and relaunch it - then the messages are working again (sometimes for just a short period of time).
It only happens to me when i'm on 3g network - never when i'm connected through wifi.

The 3G network is pretty stable - i don't have any disconnection issues with other applications.

is it possible to add a "reconnect" menu item to the the conversation windows to be used when this happens?

I implemented an automatic reconnect based on XMPP pings like three releases ago. It should reconnect automatically if the servers are not responding and retry the messages.

If you quit you lose those messages and have to retype them again. Also a gray check doesn't necessarily means a disconnection, might be a slow connection. Just let it be.

salahkhani 2013-09-30 17:56

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
I would like to thank you alot for the new updates and new features it is all running well but the problem is only i cannot send pictures with more than 700kb it says "please wait it may take several minutes" and after long waiting it doesn't send it

salahkhani 2013-09-30 17:56

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
can you help me with it please thanks

Scorpius 2013-09-30 18:02

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by salahkhani (Post 1377833)
I would like to thank you alot for the new updates and new features it is all running well but the problem is only i cannot send pictures with more than 700kb it says "please wait it may take several minutes" and after long waiting it doesn't send it

I would have to test it to see if that's a new limitation on WhatsApp. I don't know when and if I can provide a solution to that.

In the meantime, well, just don't send pictures over 700 KB, right?

ginggs 2013-09-30 19:48

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377837)
I would have to test it to see if that's a new limitation on WhatsApp. I don't know when and if I can provide a solution to that.

I recall reading in the Wazapp thread that WhatsApp images now have a size limit of 512KB.

Scorpius 2013-09-30 19:53

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by ginggs (Post 1377864)
I recall reading in the Wazapp thread that WhatsApp images now have a size limit of 512KB.

Even PNG? I really doubt it, but I would have to test it.

ginggs 2013-09-30 20:16

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377868)
Even PNG? I really doubt it, but I would have to test it.

Ah, sounds like only JPEG has the restriction:
Quote:

Originally Posted by coderus (Post 1375203)
Media upload news:
WhatsApp servers have restrictions only for jpeg images bigger than 512KB
but you can upload 10MB or 20MB or more in png or gif format.


Scorpius 2013-09-30 21:00

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
I just sent an image of 1.2 MB without any problem at all. Here's the server response:
Code:

Reply: {"name":"99a09045a76d3d16438410016668954e954736bf.jpg","url":"https://mms836.whatsapp.net/d/Am46177dRskY4VM1dQLnbIHuadGG4QBOvJOH69hYNSHv.jpg","size":"1327417","mimetype":"image/jpeg","filehash":"rOD/wMBeC4foXQWa603jK0o5bL55oGdVCvIPwQUhiic=","type":"image","width":"2560","height":"1600"}
But I sent it to a dummy account and I don't really have a way to verify if it's actually received by the other party, but I would expect an error from the servers and I didn't get any.

EDIT: I connected the dummy account and I still don't see any restriction. I received all big images I sent.

Scorpius 2013-10-01 00:06

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by salahkhani (Post 1377834)
can you help me with it please thanks

I need to see your log. That image restriction definitely doesn't happen to me.

s4br0s0 2013-10-01 00:20

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Just send an jpg more than 600kb, send and recieve without problem (over wifi).

Greetings.

Leinad 2013-10-01 07:43

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Leinad (Post 1374725)
I'm not sure, if you "Yappari-Guys" are aware of it, but coderus and some others made a web service for registration:
http://whitesoft.dyndns.org:2222/whatsapp_sms

It works for Wazapp, so i'm pretty sure, it should also work for Yappari.

URL has changed: http://coderus.openrepos.net/whitesoft/whatsapp_sms

salahkhani 2013-10-01 12:12

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1377927)
I need to see your log. That image restriction definitely doesn't happen to me.

thanks dude but i have tried even my images comes jpg and put the camera to lowest resolution it is not sending even 600 kb

but other pictures less than 500 is sending so what is the solution??

handaxe 2013-10-01 12:59

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by salahkhani (Post 1378004)
thanks dude but i have tried even my images comes jpg and put the camera to lowest resolution it is not sending even 600 kb

but other pictures less than 500 is sending so what is the solution??

What about the log Scorpius (clearly) asked for? There is little point otherwise in responding....

salahkhani 2013-10-01 15:24

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
hey dude you mean that i should put my yappari log here???

Scorpius 2013-10-01 15:33

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by salahkhani (Post 1378040)
hey dude you mean that i should put my yappari log here???

Not here.

You first have to delete your log. Then start Yappari, reproduce the problem (that is, try to send a big image), wait it to fail or something, leave it there for like 10 minutes if it's stuck in the "please wait might take several minutes").

Then upload your log somewhere, pastebin, uppit.com, sendspace.com.

And then post there the link.

zeze1990 2013-10-02 00:57

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
there has been a fatal error synchronizing contacs. WhatsApp Servers down? Error=1

nose a q se deba pero cada momento me sale esto en mi yappari.!!

Scorpius 2013-10-02 01:32

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by zeze1990 (Post 1378115)
there has been a fatal error synchronizing contacs. WhatsApp Servers down? Error=1

nose a q se deba pero cada momento me sale esto en mi yappari.!!

Error=1 es "Remote host closed the connection" así que tiene algo que ver con tu conexión. Probablemente usando WiFi no te pase.

rruki 2013-10-02 10:30

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Hi Scorpius,
Got a problem with the Yappari not saving conversation. Has anyone else got this problem before?
Do you need my log?

Thank you,
rruki

Scorpius 2013-10-02 12:00

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by rruki (Post 1378181)
Hi Scorpius,
Got a problem with the Yappari not saving conversation. Has anyone else got this problem before?
Do you need my log?

Thank you,
rruki

Wrong permissions, happens to everybody because they mess with the root account when they shouldn't.

This has been addressed in the thread like a million times:

as root: chown -R user:users /home/user/.yappari

And don't use root unless it is strictly necessary (normal Unix rules).

salahkhani 2013-10-02 15:40

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Dear Scorpius can you check my log please

thanks

malkavian 2013-10-02 17:05

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
It would be better if you upload it to a server and send a link to Scorpius in a private message. Now everybody can see wich is your phone number and some of your contacts' ones.

Ofuscate the mobile numbers could be a good idea too.

Scorpius 2013-10-02 18:57

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
That was a disaster, you should have not posted your log here, I told you to upload somewhere else so please edit your post and delete it.

Anyway the error you're getting is:
Code:

{"error":"Invalid Media Type"}
That seems to be that even though you're uploading a file with extension .jpg, it's not a real JPEG file, and WhatsApp servers reject it because the format (whatever it is) is not supported.

To verify if it's a real JPEG file (example):
Code:

user:/home/user> file MyDocs/DCIM/20131001_001.jpg
MyDocs/DCIM/20131001_001.jpg: JPEG image data, EXIF standard

EDIT: If you don't have the file utility installed:
Code:

user:/home/user> sudo apt-get install file

salahkhani 2013-10-03 06:18

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1378258)
That was a disaster, you should have not posted your log here, I told you to upload somewhere else so please edit your post and delete it.

Anyway the error you're getting is:
Code:

{"error":"Invalid Media Type"}
That seems to be that even though you're uploading a file with extension .jpg, it's not a real JPEG file, and WhatsApp servers reject it because the format (whatever it is) is not supported.

To verify if it's a real JPEG file (example):
Code:

user:/home/user> file MyDocs/DCIM/20131001_001.jpg
MyDocs/DCIM/20131001_001.jpg: JPEG image data, EXIF standard

EDIT: If you don't have the file utility installed:
Code:

user:/home/user> sudo apt-get install file

Thanks alot my friend but i didn't understand anything sorry

can you simplify it a bit please and i have tried to copy and paste the code nothing happened and i have tried to send photos some of them have been sent "less than 500 kb" and some are not

even though i can receive from other party pictures but i can't receive audio files or records

any help please

murik 2013-10-03 07:02

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Scorpius, iphone users coudn't open any media files sent by me. this happens after last update


All times are GMT. The time now is 22:06.

vBulletin® Version 3.8.8