Nicolai Hess, el 17 de diciembre a las 22:44 me escribiste:
> Hi Leandro,
>
> can you install syslog
> http://wiki.maemo.org/Documentation/devtools/maemo5/syslog
> and post the syslog file here or in the bugreport.
This is the only message printed when an incoming message notification
fails to sound:
Dec 17 23:46:37 Nokia-N900 hildon-sv-notification-daemon[1488]: GLIB WARNING ** default - Unable to open file descriptor 'messaging_snd_title_1': No such file or directory (2)
For that incoming message, the related notification daemon dbus calls are at
the end of the e-mail (1). Note the Stop request and the that the sound file is
not a real file.
Doing an strace on hildon-sv-notification-daemon while receiving this
notification confirms that is trying to open that filei (which obviously
doesn't exist).
open("messaging_snd_title_1", O_RDONLY) = -1 ENOENT (No such file or directory)
So it seems to be more than one problem, as the alarms use a valid sound file,
and I still get no sound or vibration and no error messages are printed in the
syslog. Just these too (that look OK):
Dec 17 23:49:01 Nokia-N900 systemui-tklock[1417]: Method call received from: :1.42, iface: com.nokia.system_ui.request, method: alarm_open
Dec 17 23:49:01 Nokia-N900 systemui-tklock[1417]: Method call received from: :1.14, iface: com.nokia.system_ui.request, method: tklock_close
> Can you tried to change the alarmtone or use a file from your
> medialibrary as ringtone/alarmtone.
Yes, doesn't work for the alarm, but I just tried with IM and it worked.
What's funny is that the dbus call looks the same! (2) But this time
I don't get the syslog message.
OK. Using strace again with the working sound, I saw by chance another
problem:
1488 access("/home/user/.local/share/sounds/chat-msg_in_bg.wav.wav", F_OK) = -1 ELOOP (Too many levels of symbolic links)
1488 access("/home/user/.local/share/sounds/chat-msg_in_bg.wav.decoded", F_OK) = -1 ELOOP (Too many levels of symbolic links)
1488 access("/home/user/.local/share/sounds/chat-msg_in_bg_4.wav.wav", F_OK) = -1 ELOOP (Too many levels of symbolic links)
1488 access("/home/user/.local/share/sounds/chat-msg_in_bg_4.wav.decoded", F_OK) = -1 ELOOP (Too many levels of symbolic links)
1488 open("/usr/share/sounds/chat-msg_in_bg_4.wav", O_RDONLY) = 9
And:
# ls -ld /home/user/.local/share/sounds
lrwxrwxrwx 1 user users 52 Dec 10 03:21 /home/user/.local/share/sounds -> /home/user/.local/share/sounds/ringtoned/silence.wav
OK, that's totally broke, there is
a /home/user/.local/share/sounds.ringtoned though, so I changed the
symlink to point there and voila! I can use the defult IM sound again!
That directory also contained ALL the alarm sounds, AND the custom
ringtones I tried with the alarm. OK, I have a ringtoned package
installed (and I never used), so I guess is time to talk to the author
of ringtoned. What's weird is that I installed that package long ago
(Oct 30) and never had any problem and the package wasn't upgraded or
anything, so I don't know what triggered this problem.
Anyway, thanks for the suggestion of installing syslogd! :)
(1) RECEIVED IM NOTIFICATION (Not working)
==========================================
method call sender=:1.24 -> dest=org.freedesktop.Notifications serial=1414 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string ""
uint32 0
string "general_chat"
string "Leandro Lucarella"
string "d"
array [
]
array [.
dict entry(
string "urgency"
variant byte 1
)
dict entry(
string "vibra"
variant string "PatternIncomingMessage"
)
dict entry(
string "sound-file"
variant string "messaging_snd_title_1"
)
dict entry(
string "category"
variant string "chat-message"
)
dict entry(
string "persistent"
variant byte 1
)
]
int32 -1
method return sender=:1.28 -> dest=:1.24 reply_serial=1414
uint32 27
method call sender=:1.28 -> dest=com.nokia.HildonSVNotificationDaemon serial=235 path=/com/nokia/HildonSVNotificationDaemon; interface=com.nokia.HildonSVNotificationDaemon; member=PlayEvent
array [.
dict entry(
variant byte 1
)
dict entry(
string "vibra"
variant string "PatternIncomingMessage"
)
dict entry(
string "sound-file"
variant string "messaging_snd_title_1"
)
dict entry(
string "category"
variant string "chat-message"
)
dict entry(
string "persistent"
variant byte 1
)
dict entry(
string "time"
variant int64 1324162963
)
]
string ":1.24"
method call sender=:1.17 -> dest=org.maemo.Playback.Manager serial=234 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=RequestState
object path "/org/maemo/playback2"
string "Play"
string "1488"
string ""
method return sender=:1.3 -> dest=:1.17 reply_serial=234
string "Play"
method return sender=:1.17 -> dest=:1.28 reply_serial=235
int32 29
signal sender=:1.17 -> dest=(null destination) serial=236 path=/org/maemo/playback2; interface=org.freedesktop.DBus.Properties; member=Notify
string "org.maemo.Playback"
string "State"
string "Play"
method call sender=:1.17 -> dest=org.maemo.Playback.Manager serial=237 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=RequestState
object path "/org/maemo/playback2"
string "Stop"
string "1488"
string ""
method return sender=:1.3 -> dest=:1.17 reply_serial=237
string "Stop"
signal sender=:1.17 -> dest=(null destination) serial=238 path=/org/maemo/playback2; interface=org.freedesktop.DBus.Properties; member=Notify
string "org.maemo.Playback"
string "State"
string "Stop"
(2) RECEIVED IM NOTIFICATION (working)
======================================
method call sender=:1.24 -> dest=org.freedesktop.Notifications serial=1547 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string ""
uint32 0
string "general_chat"
string "Leandro Lucarella"
string "d"
array [
]
array [.
dict entry(
string "urgency"
variant byte 1
)
dict entry(
string "vibra"
variant string "PatternIncomingMessage"
)
dict entry(
string "sound-file"
variant string "messaging_snd_title_1"
)
dict entry(
string "category"
variant string "chat-message"
)
dict entry(
string "persistent"
variant byte 1
)
]
int32 -1
method return sender=:1.28 -> dest=:1.24 reply_serial=1547
method call sender=:1.28 -> dest=com.nokia.HildonSVNotificationDaemon serial=264 path=/com/nokia/HildonSVNotificationDaemon; interface=com.nokia.HildonSVNotificationDaemon; member=PlayEvent
array [.
dict entry(
string "urgency"
variant byte 1
)
dict entry(
string "vibra"
variant string "PatternIncomingMessage"
)
dict entry(
string "sound-file"
variant string "messaging_snd_title_1"
)
dict entry(
string "category"
variant string "chat-message"
)
dict entry(
string "persistent"
variant byte 1
)
dict entry(
string "time"
variant int64 1324163718
)
]
string ":1.24"
method call sender=:1.17 -> dest=org.maemo.Playback.Manager serial=313 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=RequestState
object path "/org/maemo/playback2"
string "Play"
string "1488"
string ""
method return sender=:1.3 -> dest=:1.17 reply_serial=313
string "Play"
method return sender=:1.17 -> dest=:1.28 reply_serial=264
int32 41
signal sender=:1.17 -> dest=(null destination) serial=315 path=/org/maemo/playback2; interface=org.freedesktop.DBus.Properties; member=Notify
string "org.maemo.Playback"
string "State"
string "Play"
(2 seconds pause aprox)
method call sender=:1.17 -> dest=org.maemo.Playback.Manager serial=316 path=/org/maemo/Playback/Manager; interface=org.maemo.Playback.Manager; member=RequestState
object path "/org/maemo/playback2"
string "Stop"
string "1488"
string ""
method return sender=:1.3 -> dest=:1.17 reply_serial=316
string "Stop"
signal sender=:1.17 -> dest=(null destination) serial=317 path=/org/maemo/playback2; interface=org.freedesktop.DBus.Properties; member=Notify
string "org.maemo.Playback"
string "State"
string "Stop"
--
Leandro Lucarella (AKA luca)
http://llucax.com.ar/ ----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
TRABAJADORAS DEL SEXO ADHIEREN AL PARO...
-- Crónica TV
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers