Internet connection dropped - Airtime 1.9 RC2 install failed
  • While installing Airtime 1.9 RC2 on a fresh system our Internet connection dropped. The install failed as it was unable to install phing.

    Attempts at uninstalling and re-install continue to fail.
    xobilsrv:~$ airtime-check-system 
    CPU                            = Intel(R) Pentium(R) 4 CPU 2.40GHz
    Total RAM                      = 442968 kB
    Free RAM                       = 19892 kB
    OS                             = Ubuntu 11.04 Intel 80386
    AIRTIME_CONFIG_FILES           = OK
    POSTGRESQL_DATABASE            = OK
    sh: /usr/lib/airtime/airtime_virtualenv/bin/pip: not found
    PYTHON_KOMBU_VERSION           = FAILED
    sh: /usr/lib/airtime/airtime_virtualenv/bin/pip: not found
    PYTHON_POSTER_VERSION          = FAILED
    sh: /usr/lib/airtime/airtime_virtualenv/bin/pip: not found
    PYTHON_MUTAGEN_VERSION         = FAILED
    sh: /usr/lib/airtime/airtime_virtualenv/bin/pip: not found
    PYTHON_PYINOTIFY_VERSION       = FAILED
    RABBITMQ_SERVER                = OK
    AIRTIME_VERSION_URL            = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED              = YES
    AIRTIME_VERSION                = 1.9.0-RC2
    PLAYOUT_ENGINE_PROCESS_ID      = 
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
      -- WARNING! It looks like the playout engine is continually restarting.
    tail: no se puede abrir «/var/log/airtime/pypo/pypo.log» para lectura: No existe el fichero o el directorio
    LIQUIDSOAP_PROCESS_ID          = 
    LIQUIDSOAP_RUNNING_SECONDS     = 0
      -- WARNING! It looks like the Liquidsoap engine is continually restarting.
    tail: no se puede abrir «/var/log/airtime/pypo/ls_script.log» para lectura: No existe el fichero o el directorio
    MEDIA_MONITOR_PROCESS_ID       = 
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
      -- WARNING! It looks like the Media Monitor engine is continually restarting.
    tail: no se puede abrir «/var/log/airtime/media-monitor/media-monitor.log» para lectura: No existe el fichero o el directorio
    SHOW_RECORDER_PROCESS_ID       = 
    SHOW_RECORDER_RUNNING_SECONDS  = 0
      -- WARNING! It looks like the Show Recorder engine is continually restarting.
    tail: no se puede abrir «/var/log/airtime/media-monitor/show-recorder.log» para lectura: No existe el fichero o el directorio
    ICECAST_PROCESS_ID             = 2675
    
    There are no log files as the system is not yet running.

  • 18 Comments sorted by
  • Here are the errors when running the command ~$ sudo ./airtime-1.9.0/install_full/ubuntu/airtime-full-install
    *** Creating Vitualenv for Airtime ***
    New python executable in /usr/lib/airtime/airtime_virtualenv/bin/python2.6
    Also creating executable in /usr/lib/airtime/airtime_virtualenv/bin/python
    Installing distribute...........
      Complete output from command /usr/lib/airtime/airtime_virtu...on2.6 -c "#!python
    \"\"\"Bootstrap distribu...1:])
    " --always-copy -U distribute:
      Extracting in /tmp/tmp45aHh_
    Traceback (most recent call last):
      File "<string>", line 477, in <module>
      File "<string>", line 473, in main
      File "<string>", line 73, in _install
      File "/usr/lib/python2.6/tarfile.py", line 1658, in open
        raise ReadError("file could not be opened successfully")
    tarfile.ReadError: file could not be opened successfully
    ----------------------------------------
    ...Installing distribute...done.
    Traceback (most recent call last):
      File "/usr/lib/pymodules/python2.7/virtualenv.py", line 1499, in <module>
        main()
      File "/usr/lib/pymodules/python2.7/virtualenv.py", line 536, in main
        use_distribute=options.use_distribute)
      File "/usr/lib/pymodules/python2.7/virtualenv.py", line 626, in create_environment
        install_distribute(py_executable, unzip=unzip_setuptools)
      File "/usr/lib/pymodules/python2.7/virtualenv.py", line 367, in install_distribute
        _install_req(py_executable, unzip, distribute=True)
      File "/usr/lib/pymodules/python2.7/virtualenv.py", line 339, in _install_req
        cwd=cwd)
      File "/usr/lib/pymodules/python2.7/virtualenv.py", line 597, in call_subprocess
        % (cmd_desc, proc.returncode))
    OSError: Command /usr/lib/airtime/airtime_virtu...on2.6 -c "#!python
    \"\"\"Bootstrap distribu...1:])
    " --always-copy -U distribute failed with error code 1
    
    *** Installing Python Libraries ***
    sudo: /usr/lib/airtime/airtime_virtualenv/bin/pip: command not found
    
    *** Patching Python Libraries ***
    
       ---Applying Patches for mutagen---
    patching file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py
    Hunk #1 FAILED at 151.
    Hunk #2 FAILED at 172.
    2 out of 2 hunks FAILED -- saving rejects to file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py.rej
    patching file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py
    Hunk #1 FAILED at 209.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/mutagen/mp3.py.rej
    ./airtime-install: línea 33: /usr/lib/airtime/airtime_virtualenv/bin/activate: No existe el fichero o el directorio
    
    
  • Hi,

    Can you please tell me what version of OS you are running this on?
    Also the version of virtualenv?(virtualenv --version)

    Thank you.

    James
  • We found the issue.
    The issue was that virtualenv was always trying to download pip and setuptool. We fixed it by bundling those files within the Airtime and force virtualenv to use local files.

    If you want to test this, you can git checkout devel branch.

    Thank you.
  • Hi,

    We found some other potential bugs relating this issue. Can you please let us know which OS you are running this on and what version of virtualenv you have?(by typing virtualenv --version)

    Thank you.
  • Thanks James

    I've confirmed that the machine getting the error messages is running virtualenv 1.4.9.

    OS = Ubuntu 11.04 Intel 80386

    ~$ virtualenv --version 1.4.9

  • Why does it contunue to fail once I switch to a more reliable Internet connection? Even after running airtime-uninstall? Did it leave a corrupt file someplace?

    It did install on a different computer, one using the reliable Internet connection.
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    If you remove the directory "/usr/lib/airtime/airtime_virtualenv" and
    reinstall airtime, then it should start to work.




    On Tue, Aug 2, 2011 at 6:27 PM, Alan Pater <
    airtime-support@lists.sourcefabric.org> wrote:

    > **
    > Why does it contunue to fail once I switch to a more reliable Internet
    > connection? Even after running airtime-uninstall? Did it leave a corrupt
    > file someplace?
    >
    > It did install on a different computer, one using the reliable Internet
    > connection.
    >

  • /usr/lib/airtime does not exist. I searched the system for other left over directories, but nothing showed up.
  • Do you see any error messages? Can you please post error messages if you see
    any?
    Thank you :)

  • Same error messages as in the 2nd post. It's weird, there may be something on that machine that is getting in the way. But I removed and re-installed all the dependencies, uninstalled, re-downloaded and re-installed airtime, and get the same errors.

  • Hi Alan,

    Are you using latest devel branch? or 1.9.0-RC2?
    Thank you.
  • 1.9.0-RC2.

    If there was a tarball of the latest devel branch, I could try that, but I don't have the setup or experience for git.

  • If you have internet connection you shouldn't be getting errors like in the 2nd post. If you are sure that you have the internet connection but still getting the same error like in the 2nd post, please let me know a way to exam your machine(either by screen sharing with me or give me a way to connect to your machine. eg. ssh). Please contact me at james.moon@sourcefabric.org

    Upcoming release RC3 resolved this problem(erros when no internet connection), which will be released tonight.
  • It wouldn't have anything to do with the 2 versions of python (2.6 & 2.7) installed here would it? The errors seem to using python2.6 and one point and then python2.7 at another.

  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    The two versions of python problem should also be solved in RC3, I'm not sure if this is the cause of your problem currently, but it would be good to check how RC3 functions for you.
  • Great, I'll grab RC3 once it's available. Thanks muchly!
  • RC3 installed without giving any errors.

    Thanks guys!

  • Glad to hear that :)