Trouble in file sharing with kdeconnect-kde
vineet garg
grgvineet at gmail.com
Mon Mar 30 20:55:35 UTC 2015
Initially I was getting files written directly to root, but out of nowhere,
later it started working fine. Later I discovered that the files are not
complete, or I can say that they are sent complete but socket wasn't
reading full data, instead of 4096 bytes, it was reading some random number
of bytes.
These strange bugs always get in my way, but thanks for telling me that I
am not alone. I will dive in deeper to fine the root cause.
I don't think either that, that commit was causing it. But out of many
strange things I encountered yesterday, this was also one them :)
I will check this all again.
Thanks
On 31-Mar-2015 2:08 AM, "Albert Vaca" <albertvaka at gmail.com> wrote:
> This happens sometimes, I don't know the cause but I would say it's not
> related to the commit you pointed out, because it happened to me before. I
> have no idea why does it happen, but it's probably caused by a connection
> reset or something like this, that causes the socket to close. Do you say
> that the files are actually sent but they are not received correctly by the
> desktop client? That could be a hint to start investigating.
> On Mar 29, 2015 2:35 PM, "vineet garg" <grgvineet at gmail.com> wrote:
>
>> Now working fine. Still a mystery what happened.
>> But now every file is sent incomplete :( . Although I can see in the
>> Wireshark that the file sent completely reaches to destination.
>> Are these known or happening to me only?
>>
>> On Mon, Mar 30, 2015 at 1:49 AM, vineet garg <grgvineet at gmail.com> wrote:
>>
>>> Hi
>>> I was working on to show application icon from android in kde in
>>> notifications plugin.
>>> I found out that there is some problem with file transfers and I am not
>>> able to figure out why is this happening.
>>> After commit b06038e60ed2ec358f43282fd2c24a322c977568 (Prefer the usage
>>> of QUrl::toLocalFile to QUrl::path), it is trying to write the file
>>> directly on root.
>>> Link to the screenshot is provided below where we can see the
>>> destination of the file is "/filename".
>>> File transfer is working fine in previous
>>> commit(463aa0cbf9046a8f2c826b8b14552da0fbdd6e69).
>>>
>>> Screenshot :
>>> https://drive.google.com/file/d/0B7UrqqDErPX4ZDFIVkdnZnJPdEk/view?usp=sharing
>>>
>>>
>>
>> _______________________________________________
>> KDEConnect mailing list
>> KDEConnect at kde.org
>> https://mail.kde.org/mailman/listinfo/kdeconnect
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20150331/25e7ccca/attachment.html>
More information about the KDEConnect
mailing list