[Serusers] SER MediaProxy Phyton Problem

Tjapko ITS Consult@ncy itsc99 at cantv.net
Thu May 20 02:53:09 CEST 2004


This might be Bollucks but....

Sorry, I forgot to mention that I also changed the
/usr/rc.d/init.d/mediaproxy originally in the
/usr/local/etc/ser/mediaproxy/boot after a fresh install pointing towards
the correct directory where the proxy server and the media server really
are.

Tjapko.
  -----Original Message-----
  From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org]On
Behalf Of Tjapko ITS Consult at ncy
  Sent: Miércoles, 19 de Mayo de 2004 08:41 p.m.
  To: Ezequiel Colombo; serusers at lists.iptel.org
  Subject: RE: [Serusers] SER MediaProxy Phyton Problem


  Ezequiel,

  OK , maybe this time I can help you out. I had the same problem and
downloaded the 2.3.3 fresh from python.org.

  This solved my problem.

  I run on RH9. Maybe in short what I did today to make it all happen. To
install mediaproxy I took the latest source code from ser from cvs. I
installed it this time from the source and did not add the mediaproxy files
from the development ser to my current rpm install. The difference is that
it will put everything in /usr/local/ path. I changed my ser start file in
init.d to start the correct program.

  The mediaproxy.so is now present and in the correct directory.

  Than I took the latest Python 2.3.3 configured maked and installed it.

  Configured the ser.cfg according the examples and from than on everything
worked well penetrating nat's.

  I really hate installing from rpm,s and this caused all my previous
problems.

  Also don't really understand well why the install from rpm's is using a
different path. Than you have to wait for a new rpm each time a cvs update
is there. But as I already told you I sure am no linux guru. I just follow
the readme's and the installs.

  It is working great now.

  Tjapko.

    -----Original Message-----
    From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org]On
Behalf Of Ezequiel Colombo
    Sent: Miércoles, 19 de Mayo de 2004 04:14 p.m.
    To: serusers at lists.iptel.org
    Subject: [Serusers] SER MediaProxy Phyton Problem


    I cannot run the mediaproxy.py program from AG-MediaProxy software. The
script cannot import optparse module

    Starting SERMediaProxy server: mediaproxyTraceback (most recent call
last):
      File "/etc/ser/mediaproxy/mediaproxy.py", line 21, in ?
        from optparse import OptionParser
    ImportError: No module named optparse
    Traceback (most recent call last):
      File "/etc/ser/mediaproxy/proxydispatcher.py", line 35, in ?
        from optparse import OptionParser
    ImportError: No module named optparse


    I have the following rpm packages installed for python:

    python-2.2.1-17
    libxml2-python-2.4.23-1
    rpm404-python-4.0.4-8x.27
    python-tools-2.2.1-17
    python-optik-1.3-2
    rpm-python-4.1-1.06
    mod_python-3.0.0-10
    python-devel-2.2.1-17

    Thanks
    Ezequiel Colombo
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18/05/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040519/469692d1/attachment.htm>


More information about the sr-users mailing list