Ticket #143 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[Debian (Xfce)+FSO Milestone 3] No ring tone on incoming call although profile is "default"

Reported by: tobiasschoel@… Owned by: charlie
Priority: minor Milestone:
Component: framework/ophoned Version:
Keywords: Ringtone Incoming call Cc:

Description

No ring tone is played on incoming call. Profile is "default".

Change History

comment:1 Changed 3 years ago by mrmoku

I have it also. This is due to the frameworkd looking for the ringtone in /share/sounds instead of /usr/share/sounds. If you link /usr/share to /share (which is an ugly hack) it rings for me.

comment:2 follow-up: ↓ 5 Changed 3 years ago by david.lgj@…

I've got the same problem.

The cause seems to be that framework is installed under /var/lib/python-support/python2.5 which confuses config.py when it's trying to find installprefix.

installprefix just get's set to / as a default which in turn is used by subsystems/oeventsd/fso_actions.py on row 146:

    sound_path = os.path.join( installprefix, "share/sounds/", ring_tone ) 

As a quick fix I changed it to:

    sound_path = os.path.join( "/usr/share/sounds/", ring_tone ) 

comment:3 follow-up: ↓ 4 Changed 3 years ago by tobiasschoel@…

Still doesn't ring. Or do I have to reboot after this change?

comment:4 in reply to: ↑ 3 Changed 3 years ago by david.lgj@…

Replying to tobiasschoel@gmx.de:

Still doesn't ring. Or do I have to reboot after this change?

You need to restart frameworkd.

In a terminal write:

/etc/init.d/fso-frameworkd stop
/etc/init.d/fso-frameworkd start

Reboot should also work fine.

comment:5 in reply to: ↑ 2 Changed 3 years ago by luca@…

  • Status changed from new to closed
  • Resolution set to fixed

Please report Debian-only related issue to the Debian BTS as explained at (1).

Replying to david.lgj@gmail.com:

The cause seems to be that framework is installed under /var/lib/python-support/python2.5 which confuses config.py when it's trying to find installprefix.

This was fixed with commit cc335d477a7bbbf6fe2ff6d4c4c84c8963c4e833 (2), but I guess Joachim forgot to upload the package, done now.

(1)  http://wiki.debian.org/DebianOnFreeRunner
(2)  http://git.debian.org/?p=pkg-fso/fso-frameworkd.git;a=commitdiff;h=cc335d477a7bbbf6fe2ff6d4c4c84c8963c4e833

Note: See TracTickets for help on using tickets.