Bug 159584 - File-transfer is always "canceled" in Yahoo!
Summary: File-transfer is always "canceled" in Yahoo!
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Yahoo Plugin (show other bugs)
Version: 0.12.7
Platform: unspecified FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 00:12 UTC by mi+kde
Modified: 2009-03-20 17:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mi+kde 2008-03-20 00:12:48 UTC
Version:           0.12.7 (using 3.5.9, compiled sources)
Compiler:          Target: amd64-undermydesk-freebsd
OS:                FreeBSD (amd64) release 7.0-STABLE

So far I have never been able to receive a file from a Yahoo! contact. The dialog pops up, I type a new for the file (why is not there a default?) and hit "Accept".

The progress=bar appears for a short time and then I get a notice, that the sender has canceled the transmission, which is not true, of course.

The file-size is presented as 0, BTW...
Comment 1 Matt Rogers 2009-03-20 14:01:26 UTC
SVN commit 941719 by mattr:

Yahoo File Transfer fixups by John Groszko

Recieving works, but sending doesn't so far.

From the review request:

I'm trying to get Yahoo File Transfers working again, but I've gotten to
a point where I need input from someone with a fresh set of eyes or more
brains than me.

Receiving files works, but sending files does not. About 10k into the
transfer I see an unknown error code 16, and wireshark shows a bunch of
TCP Duplicate ACKs. The error looks like this in the debug log:

kopete(6494)/kopete (yahoo - raw protocol) SendFileTask::transmitData:
read: 1024  written:  1024
kopete(6494)/kopete (yahoo)
YahooAccount::slotFileTransferBytesProcessed: Transfer:  2  Bytes: 10240
kopete(6494)/kopete (yahoo - raw protocol) SendFileTask::transmitData:
kopete(6494)/kopete (yahoo - raw protocol) SendFileTask::connectFailed:
16 :  "an unknown/unexpected error has happened"

Some input/insight would be awesome, since I'd like to get this working
again...

Thanks for the patch John!
CCBUG: 159584

 M  +4 -3      filetransfernotifiertask.cpp  
 M  +6 -7      logintask.cpp  
 M  +169 -25   sendfiletask.cpp  
 M  +16 -1     sendfiletask.h  
 M  +2 -2      yahootypes.h  
 M  +4 -0      ymsgprotocol.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=941719
Comment 2 Matt Rogers 2009-03-20 17:02:07 UTC
SVN commit 941875 by mattr:

Yahoo File Transfer fixups by John Groszko

Recieving works, but sending doesn't so far.

From the review request:

I'm trying to get Yahoo File Transfers working again, but I've gotten to
a point where I need input from someone with a fresh set of eyes or more
brains than me.

Receiving files works, but sending files does not. About 10k into the
transfer I see an unknown error code 16, and wireshark shows a bunch of
TCP Duplicate ACKs. The error looks like this in the debug log:

kopete(6494)/kopete (yahoo - raw protocol) SendFileTask::transmitData:
read: 1024  written:  1024
kopete(6494)/kopete (yahoo)
YahooAccount::slotFileTransferBytesProcessed: Transfer:  2  Bytes: 10240
kopete(6494)/kopete (yahoo - raw protocol) SendFileTask::transmitData:
kopete(6494)/kopete (yahoo - raw protocol) SendFileTask::connectFailed:
16 :  "an unknown/unexpected error has happened"

Some input/insight would be awesome, since I'd like to get this working
again...

Thanks for the patch John!
BUG: 159584

 M  +4 -3      filetransfernotifiertask.cpp  
 M  +6 -7      logintask.cpp  
 M  +169 -25   sendfiletask.cpp  
 M  +16 -1     sendfiletask.h  
 M  +2 -2      yahootypes.h  
 M  +4 -0      ymsgprotocol.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=941875