hi, i read the onsip.org http://onsip.org getting started manual. i tried again with ser and rtpproxy but i received same errors... then i decided to try with mediaproxy: i downloaded ser-0.9.0 (emerged from gentoo portage) and mediaproxy-1.4.2. i followed this instructions: http://www.voip-info.org/wiki-MediaProxy but i cannot even start it (neither --help works)
$ /etc/init.d/mediaproxy start : bad interpreter: No such file or directory and: $ /usr/local/mediaproxy/mediaproxy.py : No such file or directory
i got ensured that EOL are not dos-style and i tried that a simple file called test.py (it just prints something) just to make sure that python works...
sorry, i understand it is not properly a ser problem but i don't know where else to ask... thank you so much!
On Sunday 20 November 2005 21:07, lo ™ wrote:
hi, i read the onsip.org http://onsip.org getting started manual. i tried again with ser and rtpproxy but i received same errors... then i decided to try with mediaproxy: i downloaded ser-0.9.0 (emerged from gentoo portage) and mediaproxy-1.4.2. i followed this instructions: http://www.voip-info.org/wiki-MediaProxy but i cannot even start it (neither --help works)
$ /etc/init.d/mediaproxy start
: bad interpreter: No such file or directory
It looks like the mediaproxy is looking for the python interpreter at the wrong place.
Nils
and: $ /usr/local/mediaproxy/mediaproxy.py
: No such file or directory
i got ensured that EOL are not dos-style and i tried that a simple file called test.py (it just prints something) just to make sure that python works...
sorry, i understand it is not properly a ser problem but i don't know where else to ask... thank you so much!
yes, i thought about that... but if i run test.py:
#!/usr/bin/env python print "test successful!"
in the same directory as mediaproxy.py it works! i have never worked with python
on debian: python-2.3.5-2 and it works successfully
on gentoo: python-2.4.2 and it doesn't work.
it could be the enviroment or that script in different enviroments... i guess.
thank you!
ok, i have a clue: i have just tried mediaproxy on a debian and it works! so, these are my questions: since python works (i tried it with test.py) and since i did everything i have to do is it possible that mediaproxy as a problem with no-debian distros? or with gentoo? and then, what can i do to solve my problem?
$ /etc/init.d/mediaproxy start : bad interpreter: No such file or directory and: $ /usr/local/mediaproxy/mediaproxy.py : No such file or directory
thakn you!
Did you compared the Python versions on both systems? Precompiled Python code is not compatible for different Python versions. Even not for minor versions like 2.2 vs 2.3.
Nils
On Wednesday 30 November 2005 21:49, lo ™ wrote:
ok, i have a clue: i have just tried mediaproxy on a debian and it works! so, these are my questions: since python works (i tried it with test.py) and since i did everything i have to do is it possible that mediaproxy as a problem with no-debian distros? or with gentoo? and then, what can i do to solve my problem?
$ /etc/init.d/mediaproxy start
: bad interpreter: No such file or directory
and: $ /usr/local/mediaproxy/mediaproxy.py
: No such file or directory
thakn you!