[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609022: marked as done (Receiving files does not work: s/bluedevilfilereceiverhelper/bluedevil/)



Your message dated Tue, 6 Jun 2017 16:26:01 +0200
with message-id <20170606142555.st4fli45vr6x4ya6@neoptolemo.gnuservers.com.ar>
and subject line Re: Bug#609022: Receiving files does not work: s/bluedevilfilereceiverhelper/bluedevil/
has caused the Debian Bug report #609022,
regarding Receiving files does not work: s/bluedevilfilereceiverhelper/bluedevil/
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
609022: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609022
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: bluedevil
Version: 1.0-0.1
Severity: normal

When I try to send files from my BlueTooth phone to my netbook running
Debian testing, it doesn't work in KDE, even when I enabled "Enable
receiving files" in "Receive files configuration".

This is an upstream bug, still both found in ~rc3 and final:

Running "dbus-monitor sender=org.kde.BlueDevil.Service" showed the
following message being sent to knotify:
> method call sender=:1.117 -> dest=org.kde.knotify serial=30 path=/Notify; interface=org.kde.KNotify; member=event
>  string "bluedevilIncomingFile"
>  string "bluedevilfilereceiverhelper"
>  array [ ]
>  string ""
>  string "HTC Desire PMHahn is sending you the file IMAG0042.jpg"
>  array of bytes [ ... ]
>  array [
>     string "Cancel"
>     string "Accept"
>     string "Save as..."
>  ]
>  int32 0
>  int64 0

Notice the second string specifying the sending application name being
"bluedevilfilereceiverhelper"!

$ qdbus org.kde.knotify /Notify | grep event
> method int org.kde.KNotify.event(QString event, QString fromApp, QVariantList contexts, QString title, QString text, QByteArray pixmap, QStringList actions, int timeout, qlonglong winId)

Running "strace -e t=file -s 4096 knotify4 --nofork" finally showed that
the following files are not found:
> ...
> stat64("/usr/share/desktop-base/profiles/kde-profile/share/config/bluedevilfilereceiverhelper.notifyrc", 0xbff5f03c) = -1 ENOENT (No such file or directory)
> stat64("/usr/share/kde4/apps/bluedevilfilereceiverhelper/bluedevilfilereceiverhelper.notifyrc", 0xbff5eedc) = -1 ENOENT (No such file or directory)
> stat64("/usr/share/kde4/config/bluedevilfilereceiverhelper.notifyrc", 0xbff5f03c) = -1 ENOENT (No such file or directory)

But the package "bluedevil" provides the necessary definition of the
"Event/bluedevilIncomingFile" type in the file
<file:/usr/share/kde4/apps/bluedevil/bluedevil.notifyrc>
which thus isn't found and used.



For testing I created the following symlink, after which the I was
successfully able to send files:
$ ln -s /usr/share/kde4/apps/bluedevil/bluedevil.notifyrc ~/.kde/share/config/bluedevilfilereceiverhelper.notifyrc


The message is generated in
<file:bluedevil-v1.0/src/daemon/helpers/filereceiver/openobex/serversession.cpp>:118
The appname is automatically retrieved here:
<http://api.kde.org/4.0-api/kdelibs-apidocs/kdeui/html/classKNotification.html#a11db3389218f37f37a4909893575232c>


You can simulate the message by running the following Python program:
#!/usr/bin/python
import dbus
knotify = dbus.SessionBus().get_object("org.kde.knotify", "/Notify")
r = knotify.event("bluedevilIncomingFile", "bluedevilfilereceiverhelper", [], "Title", "HTC Desire PMHahn is sending you the file IMAG0042.jpg", [], ["Cancel","Accept","Save as..."], 0, 0, dbus_interface="org.kde.KNotify")
print r

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Version: 2.0~rc1-44-gb7697a7-3

¡Hola!

This is a really old issue, sorry for not getting back to you sooner. I think this issue is obsolete as bluedevil has been rebumped first for the 2.0 release and later as part of its migration to KDE frameworks. As such, I'm closing this issue. Please, reopen if you can still reproduce the issue adding the corresponding extra information.

Happy hacking,
--
"Don't let what you cannot do interfere with what you can do."
-- Wooden's Rule
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: