Kodi Community Forum

Full Version: Linphone
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to install the Linphone 'Program' addon from the repo and getting a script-error

Can anyone confirm if this SIP phone works on XBMC? I am running a non-asterisk PBX and would like to try this out

Cheers
This addons is developed for XBMCbuntu versions, Eden and Frodo.
You need install Linphone core
dpkg -i http://saturn.postmet.com/pub/linphone_3.5.0-1_i386.deb

It works, I GUARANTEE IT
Hello,

I Xbian runs, I'd install Linphone on XBMC but I get an error.
I log into SSH with the following command:
sudo ssh [email protected]
password: raspberry

Then I type:
sudo dpkg-i http://saturn.postmet.com/pub/linphone_3.5.0-1_i386.deb

But I get an error:

dpkg: error processing http://saturn.postmet.com/pub/linphone_3.5.0-1_i386.deb (- install):
  can not access archive: No such file or directory
Errors Were Encountered while processing:
  http://saturn.postmet.com/pub/linphone_3.5.0-1_i386.deb

Yet the file is present on the server.

Thank you in advance.
No way. The static build linphone_3.5.0-1_i386.deb is for x86 or amd architecture. However you have Raspberry ARM. Try to use XBMCbuntu distributive.

Xbian have own repository and you can hack try
apt-get install linphone -y
and edit script.linphone/default.py lines 43 and 46 for correct path to linphonecsh executive

IMHO - Raspberry ARM doesn't enough performance of CPU.
I installed the package and it doesn't work for me, I'm running Ubuntu minimal install with xbmc

Still getting the same error Sad
Ubuntu minimal install - where? Which type of architecture? x86? amd? arm?

Try to
wget http://saturn.postmet.com/pub/linphone_3.5.0-1_i386.deb
and than
dpkg -i linphone_3.5.0-1_i386.deb
(2013-03-06, 18:51)[ded] Wrote: [ -> ]Ubuntu minimal install - where? Which type of architecture? x86? amd? arm?

Try to
wget http://saturn.postmet.com/pub/linphone_3.5.0-1_i386.deb
and than
dpkg -i linphone_3.5.0-1_i386.deb

x86
downloaded the file, installed. Then load up XBMC install the package and try and execute and its give script error
Take a look at .xbmc/temp/xbmc.log
12:33:33 T:2927622976 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: cannot concatenate 'str' and 'NoneType' objects
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/script.linphone/default.py", line 40, in <module>
import gui
File "/home/xbmc/.xbmc/addons/script.linphone/resources/lib/gui.py", line 28, in <module>
__cwd__ = '/home/'+SYSTEM_USER+'/.xbmc/addons/script.linphone'
TypeError: cannot concatenate 'str' and 'NoneType' objects
-->End of Python script error report<--

Linux xbmc 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
env |grep USER ??

Linux xbmc-desktop 3.5.0-23-lowlatency #22-Ubuntu SMP PREEMPT Mon Jan
xbmc@xbmc:~$ env |grep USER
USER=xbmc