text:
uWSGI application not found error after install on Ubuntu 11.10

Installing on Ubuntu 11.10, after running the install script I can run /opt/panda/manage.py runserver and voila, I get a functional Panda instance running. But when I go to localhost on port 80, I get this error: "uWSGI error: Python application not found". Will start digging in the logs!

Crap, I lost track of this. Here's the log. I'm going to go ahead and try one more time presently.
+ echo 'PANDA installation beginning.'
PANDA installation beginning.
+ CONFIG_URL=https://raw.github.com/pandaproject/panda/master/setup_panda
+ echo 'DEPLOYMENT_TARGET="deployed"'
+ export DEPLOYMENT_TARGET=deployed
+ DEPLOYMENT_TARGET=deployed
+ apt-get --yes update
Ign http://us.archive.ubuntu.com oneiric InRelease
Ign http://us.archive.ubuntu.com oneiric-updates InRelease
Ign http://us.archive.ubuntu.com oneiric-backports InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Hit http://us.archive.ubuntu.com oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://us.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://security.ubuntu.com oneiric-security Release
Hit http://us.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://us.archive.ubuntu.com oneiric Release
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://us.archive.ubuntu.com oneiric-updates Release
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-backports Release
Hit http://us.archive.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric/restricted Sources
Hit http://us.archive.ubuntu.com oneiric/universe Sources
Hit http://us.archive.ubuntu.com oneiric/multiverse Sources
Hit http://us.archive.ubuntu.com oneiric/main i386 Packages
Hit http://us.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://us.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://us.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://us.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://us.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-updates/main Sources
Hit http://us.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://us.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com oneiric-backports/main Sources
Hit http://us.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://us.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://us.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://us.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://us.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com oneiric/main Translation-en
Hit http://us.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://us.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://us.archive.ubuntu.com oneiric/universe Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://us.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://us.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com oneiric-backports/universe Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Reading package lists...
+ apt-get --yes upgrade
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/10periodic -O /etc/apt/apt.conf.d/10periodic
2012-02-16 16:22:27 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/10periodic [230/230] -> "/etc/apt/apt.conf.d/10periodic" [1]
+ service unattended-upgrades restart
+ apt-get install --yes git openssh-server postgresql python2.7-dev libxml2-dev libxml2 libxslt1.1 libxslt1-dev nginx build-essential openjdk-6-jdk libpq-dev python-pip mercurial
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
git is already the newest version.
libxslt1-dev is already the newest version.
libxslt1.1 is already the newest version.
openssh-server is already the newest version.
python2.7-dev is already the newest version.
nginx is already the newest version.
python-pip is already the newest version.
libpq-dev is already the newest version.
libxml2 is already the newest version.
libxml2-dev is already the newest version.
openjdk-6-jdk is already the newest version.
postgresql is already the newest version.
mercurial is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ pip install uwsgi
Requirement already satisfied (use --upgrade to upgrade): uwsgi in /usr/local/lib/python2.7/dist-packages
Cleaning up...
+ ln -s /etc/init.d/ssh /etc/rc2.d/S20ssh
ln: creating symbolic link `/etc/rc2.d/S20ssh': File exists
+ ln -s /etc/init.d/ssh /etc/rc3.d/S20ssh
ln: creating symbolic link `/etc/rc3.d/S20ssh': File exists
+ ln -s /etc/init.d/ssh /etc/rc4.d/S20ssh
ln: creating symbolic link `/etc/rc4.d/S20ssh': File exists
+ ln -s /etc/init.d/ssh /etc/rc5.d/S20ssh
ln: creating symbolic link `/etc/rc5.d/S20ssh': File exists
+ wget -nv http://mirror.uoregon.edu/apache//lucene/solr/3.4.0/apache-solr-3.4.0.tgz -O /opt/apache-solr-3.4.0.tgz
2012-02-16 16:24:28 URL:http://mirror.uoregon.edu/apache//lucene/solr/3.4.0/apache-solr-3.4.0.tgz [83290310/83290310] -> "/opt/apache-solr-3.4.0.tgz" [1]
+ cd /opt
+ tar -xzf apache-solr-3.4.0.tgz
+ mv apache-solr-3.4.0 solr
+ cp -r solr/example solr/panda
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/solr.xml -O /opt/solr/panda/solr/solr.xml
2012-02-16 16:24:46 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/solr.xml [378/378] -> "/opt/solr/panda/solr/solr.xml" [1]
+ mkdir /opt/solr/panda/solr/pandadata
mkdir: cannot create directory `/opt/solr/panda/solr/pandadata': File exists
+ mkdir /opt/solr/panda/solr/pandadata/conf
mkdir: cannot create directory `/opt/solr/panda/solr/pandadata/conf': File exists
+ mkdir /opt/solr/panda/solr/pandadata/lib
mkdir: cannot create directory `/opt/solr/panda/solr/pandadata/lib': File exists
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/data_schema.xml -O /opt/solr/panda/solr/pandadata/conf/schema.xml
2012-02-16 16:24:46 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/data_schema.xml [3090/3090] -> "/opt/solr/panda/solr/pandadata/conf/schema.xml" [1]
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml -O /opt/solr/panda/solr/pandadata/conf/solrconfig.xml
2012-02-16 16:24:47 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml [4820/4820] -> "/opt/solr/panda/solr/pandadata/conf/solrconfig.xml" [1]
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/panda.jar -O /opt/solr/panda/solr/pandadata/lib/panda.jar
2012-02-16 16:24:47 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/panda.jar [1283/1283] -> "/opt/solr/panda/solr/pandadata/lib/panda.jar" [1]
+ mkdir /opt/solr/panda/solr/pandadata_test
mkdir: cannot create directory `/opt/solr/panda/solr/pandadata_test': File exists
+ mkdir /opt/solr/panda/solr/pandadata_test/conf
mkdir: cannot create directory `/opt/solr/panda/solr/pandadata_test/conf': File exists
+ mkdir /opt/solr/panda/solr/pandadata_test/lib
mkdir: cannot create directory `/opt/solr/panda/solr/pandadata_test/lib': File exists
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/data_schema.xml -O /opt/solr/panda/solr/pandadata_test/conf/schema.xml
2012-02-16 16:24:47 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/data_schema.xml [3090/3090] -> "/opt/solr/panda/solr/pandadata_test/conf/schema.xml" [1]
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml -O /opt/solr/panda/solr/pandadata_test/conf/solrconfig.xml
2012-02-16 16:24:47 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml [4820/4820] -> "/opt/solr/panda/solr/pandadata_test/conf/solrconfig.xml" [1]
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/panda.jar -O /opt/solr/panda/solr/pandadata_test/lib/panda.jar
2012-02-16 16:24:48 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/panda.jar [1283/1283] -> "/opt/solr/panda/solr/pandadata_test/lib/panda.jar" [1]
+ mkdir /opt/solr/panda/solr/pandadatasets
mkdir: cannot create directory `/opt/solr/panda/solr/pandadatasets': File exists
+ mkdir /opt/solr/panda/solr/pandadatasets/conf
mkdir: cannot create directory `/opt/solr/panda/solr/pandadatasets/conf': File exists
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/datasets_schema.xml -O /opt/solr/panda/solr/pandadatasets/conf/schema.xml
2012-02-16 16:24:48 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/datasets_schema.xml [2388/2388] -> "/opt/solr/panda/solr/pandadatasets/conf/schema.xml" [1]
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml -O /opt/solr/panda/solr/pandadatasets/conf/solrconfig.xml
2012-02-16 16:24:48 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml [4820/4820] -> "/opt/solr/panda/solr/pandadatasets/conf/solrconfig.xml" [1]
+ mkdir /opt/solr/panda/solr/pandadatasets_test
mkdir: cannot create directory `/opt/solr/panda/solr/pandadatasets_test': File exists
+ mkdir /opt/solr/panda/solr/pandadatasets_test/conf
mkdir: cannot create directory `/opt/solr/panda/solr/pandadatasets_test/conf': File exists
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/datasets_schema.xml -O /opt/solr/panda/solr/pandadatasets_test/conf/schema.xml
2012-02-16 16:24:48 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/datasets_schema.xml [2388/2388] -> "/opt/solr/panda/solr/pandadatasets_test/conf/schema.xml" [1]
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml -O /opt/solr/panda/solr/pandadatasets_test/conf/solrconfig.xml
2012-02-16 16:24:48 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/solrconfig.xml [4820/4820] -> "/opt/solr/panda/solr/pandadatasets_test/conf/solrconfig.xml" [1]
+ adduser --system --no-create-home --disabled-login --disabled-password --group solr
The system user `solr' already exists. Exiting.
+ chown -R solr:solr /opt/solr
+ touch /var/log/solr.log
+ chown solr:solr /var/log/solr.log
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/solr.conf -O /etc/init/solr.conf
2012-02-16 16:24:50 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/solr.conf [285/285] -> "/etc/init/solr.conf" [1]
+ initctl reload-configuration
+ service solr start
start: Job is already running: solr
+ adduser --system --no-create-home --disabled-login --disabled-password --group panda
The system user `panda' already exists. Exiting.
+ mkdir /var/run/uwsgi
mkdir: cannot create directory `/var/run/uwsgi': File exists
+ chown panda:panda /var/run/uwsgi
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/uwsgi.conf -O /etc/init/uwsgi.conf
2012-02-16 16:24:51 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/uwsgi.conf [385/385] -> "/etc/init/uwsgi.conf" [1]
+ initctl reload-configuration
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/nginx -O /etc/nginx/sites-available/panda
2012-02-16 16:24:51 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/nginx [239/239] -> "/etc/nginx/sites-available/panda" [1]
+ ln -s /etc/nginx/sites-available/panda /etc/nginx/sites-enabled/panda
ln: creating symbolic link `/etc/nginx/sites-enabled/panda': File exists
+ rm /etc/nginx/sites-enabled/default
rm: cannot remove `/etc/nginx/sites-enabled/default': No such file or directory
+ service nginx restart
Restarting nginx: nginx.
+ wget -nv https://raw.github.com/pandaproject/panda/master/setup_panda/pg_hba.conf -O /etc/postgresql/9.1/main/pg_hba.conf
2012-02-16 16:24:53 URL:https://raw.github.com/pandaproject/panda/master/setup_panda/pg_hba.conf [234/234] -> "/etc/postgresql/9.1/main/pg_hba.conf" [1]
+ service postgresql restart
 * Restarting PostgreSQL 9.1 database server
   ...done.
+ sudo -u postgres psql postgres
+ echo 'CREATE USER panda WITH PASSWORD '\''panda'\'';'
ERROR:  role "panda" already exists
+ sudo -u postgres createdb -O panda panda
createdb: database creation failed: ERROR:  database "panda" already exists
+ cd /opt
+ git clone git://github.com/pandaproject/panda.git panda
fatal: destination path 'panda' already exists and is not an empty directory.
+ cd /opt/panda
+ pip install -r requirements.txt
Downloading/unpacking git+https://github.com/onyxfish/django-ajax-uploader.git#egg=ajaxuploader (from -r requirements.txt (line 9))
  Cloning https://github.com/onyxfish/django-ajax-uploader.git to /tmp/pip-2cpisv-build
  Running setup.py egg_info for package from git+https://github.com/onyxfish/django-ajax-uploader.git#egg=ajaxuploader

Downloading/unpacking git+https://github.com/onyxfish/csvkit.git#egg=csvkit (from -r requirements.txt (line 10))
  Cloning https://github.com/onyxfish/csvkit.git to /tmp/pip-Y06O5d-build
  Running setup.py egg_info for package from git+https://github.com/onyxfish/csvkit.git#egg=csvkit

Downloading/unpacking git+https://github.com/toastdriven/django-tastypie.git@f51b94025#egg=tastypie (from -r requirements.txt (line 11))
  Cloning https://github.com/toastdriven/django-tastypie.git (to f51b94025) to /tmp/pip-fA2v7s-build
  Could not find a tag or branch 'f51b94025', assuming commit.
  Running setup.py egg_info for package from git+https://github.com/toastdriven/django-tastypie.git@f51b94025#egg=tastypie

Downloading/unpacking git+https://github.com/GoodCloud/django-longer-username.git@cdf0375ec5#egg=longerusername (from -r requirements.txt (line 17))
  Cloning https://github.com/GoodCloud/django-longer-username.git (to cdf0375ec5) to /tmp/pip-MdHW3r-build
  Could not find a tag or branch 'cdf0375ec5', assuming commit.
  Running setup.py egg_info for package from git+https://github.com/GoodCloud/django-longer-username.git@cdf0375ec5#egg=longerusername

Downloading/unpacking hg+https://bitbucket.org/ericgazoni/openpyxl/@134c257abd1e#egg=openpyxl (from -r requirements.txt (line 18))
  Cloning hg https://bitbucket.org/ericgazoni/openpyxl/ (to revision 134c257abd1e) to /tmp/pip-LrGgvC-build
  Running setup.py egg_info for package from hg+https://bitbucket.org/ericgazoni/openpyxl/@134c257abd1e#egg=openpyxl

    warning: no files found matching '*.xml' under directory 'src/openpyxl/tests/test_data'
    warning: no files found matching '*.rels' under directory 'src/openpyxl/tests/test_data'
    warning: no files found matching '*.xlsx' under directory 'src/openpyxl/tests/test_data'
    warning: no files found matching 'CREDITS'
Downloading/unpacking hg+https://bitbucket.org/bkroeze/django-keyedcache/@fa1f452a53f7#egg=django-keyedcache (from -r requirements.txt (line 20))
  Cloning hg https://bitbucket.org/bkroeze/django-keyedcache/ (to revision fa1f452a53f7) to /tmp/pip-FPerem-build
  Running setup.py egg_info for package from hg+https://bitbucket.org/bkroeze/django-keyedcache/@fa1f452a53f7#egg=django-keyedcache

Downloading/unpacking hg+https://bitbucket.org/bkroeze/django-livesettings/@a413c0205048#egg=django-livesettings (from -r requirements.txt (line 21))
  Cloning hg https://bitbucket.org/bkroeze/django-livesettings/ (to revision a413c0205048) to /tmp/pip-R8c8m3-build
  Running setup.py egg_info for package from hg+https://bitbucket.org/bkroeze/django-livesettings/@a413c0205048#egg=django-livesettings
    zip_safe flag not set; analyzing archive contents...

    Installed /tmp/pip-R8c8m3-build/setuptools_hg-0.4-py2.7.egg

Downloading/unpacking django==1.3 (from -r requirements.txt (line 1))
  Running setup.py egg_info for package django

Downloading/unpacking fabric==1.2.2 (from -r requirements.txt (line 2))
  Running setup.py egg_info for package fabric

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no files found matching 'fabfile.py'
Downloading/unpacking psycopg2==2.4.1 (from -r requirements.txt (line 3))
  Running setup.py egg_info for package psycopg2

    warning: no files found matching '*.html' under directory 'doc'
    warning: no files found matching '*.js' under directory 'doc'
    warning: no files found matching '*' under directory 'doc/html'
    no previously-included directories found matching 'doc/src/_build'
    warning: no files found matching 'MANIFEST'
Downloading/unpacking django-celery==2.3.3 (from -r requirements.txt (line 4))
  Running setup.py egg_info for package django-celery

    no previously-included directories found matching 'bin/*.pyc'
    no previously-included directories found matching 'tests/*.pyc'
    no previously-included directories found matching 'docs/*.pyc'
    no previously-included directories found matching 'contrib/*.pyc'
    no previously-included directories found matching 'djcelery/*.pyc'
    no previously-included directories found matching 'docs/.build'
    no previously-included directories found matching 'examples/*.pyc'
Downloading/unpacking kombu-sqlalchemy==1.1.0 (from -r requirements.txt (line 5))
  Running setup.py egg_info for package kombu-sqlalchemy

    warning: no files found matching '*' under directory 'djkombu'
Downloading/unpacking python-dateutil==1.5.0 (from -r requirements.txt (line 6))
  Running setup.py egg_info for package python-dateutil

Downloading/unpacking lxml==2.3.1 (from -r requirements.txt (line 7))
  Running setup.py egg_info for package lxml
    Building lxml version 2.3.1.
    Building without Cython.
    Using build configuration of libxslt 1.1.26
    Building against libxml2/libxslt in the following directory: /usr/lib

Requirement already satisfied (use --upgrade to upgrade): httplib2==0.7.1 in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 8))
Downloading/unpacking django-compressor==1.1 (from -r requirements.txt (line 12))
  Running setup.py egg_info for package django-compressor

Downloading/unpacking BeautifulSoup==3.2.0 (from -r requirements.txt (line 13))
  Running setup.py egg_info for package BeautifulSoup

Downloading/unpacking sphinx==1.0.7 (from -r requirements.txt (line 14))
  Running setup.py egg_info for package sphinx

    no previously-included directories found matching 'doc/_build'
Downloading/unpacking requests==0.8.3 (from -r requirements.txt (line 15))
  Running setup.py egg_info for package requests

Downloading/unpacking south==0.7.3 (from -r requirements.txt (line 16))
  Running setup.py egg_info for package south

Downloading/unpacking xlrd==0.7.1 (from -r requirements.txt (line 19))
  Running setup.py egg_info for package xlrd

Downloading/unpacking boto==2.0 (from -r requirements.txt (line 22))
  Running setup.py egg_info for package boto

Downloading/unpacking argparse==1.2.1 (from csvkit==0.4.2->-r requirements.txt (line 10))
  Running setup.py egg_info for package argparse

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
Downloading/unpacking sqlalchemy==0.6.6 (from csvkit==0.4.2->-r requirements.txt (line 10))
  Running setup.py egg_info for package sqlalchemy

    warning: no files found matching '*.jpg' under directory 'doc'
    no previously-included directories found matching 'doc/build/output'
Downloading/unpacking mimeparse (from django-tastypie==0.9.11->-r requirements.txt (line 11))
  Running setup.py egg_info for package mimeparse

Requirement already satisfied (use --upgrade to upgrade): pycrypto>=1.9 in /usr/lib/python2.7/dist-packages (from fabric==1.2.2->-r requirements.txt (line 2))
Downloading/unpacking paramiko>=1.7.6 (from fabric==1.2.2->-r requirements.txt (line 2))
  Running setup.py egg_info for package paramiko

Downloading/unpacking django-picklefield (from django-celery==2.3.3->-r requirements.txt (line 4))
  Downloading django-picklefield-0.1.9.tar.gz
  Running setup.py egg_info for package django-picklefield

Downloading/unpacking celery>=2.3.1 (from django-celery==2.3.3->-r requirements.txt (line 4))
  Running setup.py egg_info for package celery

    no previously-included directories found matching 'tests/*.pyc'
    no previously-included directories found matching 'docs/*.pyc'
    no previously-included directories found matching 'contrib/*.pyc'
    no previously-included directories found matching 'celery/*.pyc'
    no previously-included directories found matching 'examples/*.pyc'
    no previously-included directories found matching 'bin/*.pyc'
    no previously-included directories found matching 'docs/.build'
    no previously-included directories found matching 'docs/graffles'
    no previously-included directories found matching '.tox/*'
Downloading/unpacking kombu (from kombu-sqlalchemy==1.1.0->-r requirements.txt (line 5))
  Running setup.py egg_info for package kombu

Downloading/unpacking django-appconf>=0.4 (from django-compressor==1.1->-r requirements.txt (line 12))
  Downloading django-appconf-0.4.1.tar.gz
  Running setup.py egg_info for package django-appconf

    Installed /opt/panda/build/django-appconf/versiontools-1.8.3-py2.7.egg

Downloading/unpacking Pygments>=0.8 (from sphinx==1.0.7->-r requirements.txt (line 14))
  Running setup.py egg_info for package Pygments

Downloading/unpacking Jinja2>=2.2 (from sphinx==1.0.7->-r requirements.txt (line 14))
  Running setup.py egg_info for package Jinja2

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking docutils>=0.5 (from sphinx==1.0.7->-r requirements.txt (line 14))
  Running setup.py egg_info for package docutils

    warning: no files found matching 'MANIFEST'
    warning: no previously-included files matching '.cvsignore' found under directory '*'
    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*~' found under directory '*'
    warning: no previously-included files matching '.DS_Store' found under directory '*'
Downloading/unpacking anyjson>=0.3.1 (from celery>=2.3.1->django-celery==2.3.3->-r requirements.txt (line 4))
  Downloading anyjson-0.3.1.tar.gz
  Running setup.py egg_info for package anyjson

Downloading/unpacking amqplib>=1.0 (from kombu->kombu-sqlalchemy==1.1.0->-r requirements.txt (line 5))
  Running setup.py egg_info for package amqplib

Installing collected packages: django, fabric, psycopg2, django-celery, kombu-sqlalchemy, python-dateutil, lxml, django-compressor, BeautifulSoup, sphinx, requests, south, xlrd, boto, ajaxuploader, argparse, sqlalchemy, csvkit, mimeparse, django-tastypie, longerusername, openpyxl, django-keyedcache, django-livesettings, paramiko, django-picklefield, celery, kombu, django-appconf, Pygments, Jinja2, docutils, anyjson, amqplib
  Running setup.py install for django
    changing mode of build/scripts-2.7/django-admin.py from 644 to 755

    changing mode of /usr/local/bin/django-admin.py to 755
  Running setup.py install for fabric

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no files found matching 'fabfile.py'
    Installing fab script to /usr/local/bin
  Running setup.py install for psycopg2
    building 'psycopg2._psycopg' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/psycopgmodule.c -o build/temp.linux-i686-2.7/psycopg/psycopgmodule.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/green.c -o build/temp.linux-i686-2.7/psycopg/green.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/pqpath.c -o build/temp.linux-i686-2.7/psycopg/pqpath.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/utils.c -o build/temp.linux-i686-2.7/psycopg/utils.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/bytes_format.c -o build/temp.linux-i686-2.7/psycopg/bytes_format.o -Wdeclaration-after-statement
    psycopg/bytes_format.c: In function ‘Bytes_Format’:
    psycopg/bytes_format.c:114:24: warning: variable ‘orig_args’ set but not used [-Wunused-but-set-variable]
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/connection_int.c -o build/temp.linux-i686-2.7/psycopg/connection_int.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/connection_type.c -o build/temp.linux-i686-2.7/psycopg/connection_type.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/cursor_int.c -o build/temp.linux-i686-2.7/psycopg/cursor_int.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/cursor_type.c -o build/temp.linux-i686-2.7/psycopg/cursor_type.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/lobject_int.c -o build/temp.linux-i686-2.7/psycopg/lobject_int.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/lobject_type.c -o build/temp.linux-i686-2.7/psycopg/lobject_type.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/notify_type.c -o build/temp.linux-i686-2.7/psycopg/notify_type.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/xid_type.c -o build/temp.linux-i686-2.7/psycopg/xid_type.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_asis.c -o build/temp.linux-i686-2.7/psycopg/adapter_asis.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_binary.c -o build/temp.linux-i686-2.7/psycopg/adapter_binary.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_datetime.c -o build/temp.linux-i686-2.7/psycopg/adapter_datetime.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_list.c -o build/temp.linux-i686-2.7/psycopg/adapter_list.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_pboolean.c -o build/temp.linux-i686-2.7/psycopg/adapter_pboolean.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_pdecimal.c -o build/temp.linux-i686-2.7/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_pfloat.c -o build/temp.linux-i686-2.7/psycopg/adapter_pfloat.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/adapter_qstring.c -o build/temp.linux-i686-2.7/psycopg/adapter_qstring.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/microprotocols.c -o build/temp.linux-i686-2.7/psycopg/microprotocols.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/microprotocols_proto.c -o build/temp.linux-i686-2.7/psycopg/microprotocols_proto.o -Wdeclaration-after-statement
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.1 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090102 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/typecast.c -o build/temp.linux-i686-2.7/psycopg/typecast.o -Wdeclaration-after-statement
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/psycopg/psycopgmodule.o build/temp.linux-i686-2.7/psycopg/green.o build/temp.linux-i686-2.7/psycopg/pqpath.o build/temp.linux-i686-2.7/psycopg/utils.o build/temp.linux-i686-2.7/psycopg/bytes_format.o build/temp.linux-i686-2.7/psycopg/connection_int.o build/temp.linux-i686-2.7/psycopg/connection_type.o build/temp.linux-i686-2.7/psycopg/cursor_int.o build/temp.linux-i686-2.7/psycopg/cursor_type.o build/temp.linux-i686-2.7/psycopg/lobject_int.o build/temp.linux-i686-2.7/psycopg/lobject_type.o build/temp.linux-i686-2.7/psycopg/notify_type.o build/temp.linux-i686-2.7/psycopg/xid_type.o build/temp.linux-i686-2.7/psycopg/adapter_asis.o build/temp.linux-i686-2.7/psycopg/adapter_binary.o build/temp.linux-i686-2.7/psycopg/adapter_datetime.o build/temp.linux-i686-2.7/psycopg/adapter_list.o build/temp.linux-i686-2.7/psycopg/adapter_pboolean.o build/temp.linux-i686-2.7/psycopg/adapter_pdecimal.o build/temp.linux-i686-2.7/psycopg/adapter_pfloat.o build/temp.linux-i686-2.7/psycopg/adapter_qstring.o build/temp.linux-i686-2.7/psycopg/microprotocols.o build/temp.linux-i686-2.7/psycopg/microprotocols_proto.o build/temp.linux-i686-2.7/psycopg/typecast.o -lpq -o build/lib.linux-i686-2.7/psycopg2/_psycopg.so

    warning: no files found matching '*.html' under directory 'doc'
    warning: no files found matching '*.js' under directory 'doc'
    warning: no files found matching '*' under directory 'doc/html'
    no previously-included directories found matching 'doc/src/_build'
    warning: no files found matching 'MANIFEST'
  Running setup.py install for django-celery
    changing mode of build/scripts-2.7/djcelerymon from 644 to 755

    no previously-included directories found matching 'bin/*.pyc'
    no previously-included directories found matching 'tests/*.pyc'
    no previously-included directories found matching 'docs/*.pyc'
    no previously-included directories found matching 'contrib/*.pyc'
    no previously-included directories found matching 'djcelery/*.pyc'
    no previously-included directories found matching 'docs/.build'
    no previously-included directories found matching 'examples/*.pyc'
    changing mode of /usr/local/bin/djcelerymon to 755
    Installing djcelerymon script to /usr/local/bin
  Running setup.py install for kombu-sqlalchemy

    warning: no files found matching '*' under directory 'djkombu'
  Found existing installation: python-dateutil 1.4.1
    Uninstalling python-dateutil:
      Successfully uninstalled python-dateutil
  Running setup.py install for python-dateutil

  Running setup.py install for lxml
    Building lxml version 2.3.1.
    Building without Cython.
    Using build configuration of libxslt 1.1.26
    Building against libxml2/libxslt in the following directory: /usr/lib
    building 'lxml.etree' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-i686-2.7/src/lxml/lxml.etree.o -w
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-i686-2.7/lxml/etree.so
    building 'lxml.objectify' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/lxml/lxml.objectify.c -o build/temp.linux-i686-2.7/src/lxml/lxml.objectify.o -w
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-i686-2.7/src/lxml/lxml.objectify.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-i686-2.7/lxml/objectify.so

  Running setup.py install for django-compressor

  Running setup.py install for BeautifulSoup

  Running setup.py install for sphinx

    no previously-included directories found matching 'doc/_build'
    Installing sphinx-build script to /usr/local/bin
    Installing sphinx-quickstart script to /usr/local/bin
    Installing sphinx-autogen script to /usr/local/bin
  Running setup.py install for requests

  Running setup.py install for south

  Running setup.py install for xlrd
    changing mode of build/scripts-2.7/runxlrd.py from 644 to 755

    changing mode of /usr/local/bin/runxlrd.py to 755
  Running setup.py install for boto
    changing mode of build/scripts-2.7/sdbadmin from 644 to 755
    changing mode of build/scripts-2.7/elbadmin from 644 to 755
    changing mode of build/scripts-2.7/cfadmin from 644 to 755
    changing mode of build/scripts-2.7/s3put from 644 to 755
    changing mode of build/scripts-2.7/fetch_file from 644 to 755
    changing mode of build/scripts-2.7/launch_instance from 644 to 755
    changing mode of build/scripts-2.7/list_instances from 644 to 755
    changing mode of build/scripts-2.7/taskadmin from 644 to 755
    changing mode of build/scripts-2.7/kill_instance from 644 to 755
    changing mode of build/scripts-2.7/bundle_image from 644 to 755
    changing mode of build/scripts-2.7/pyami_sendmail from 644 to 755
    changing mode of build/scripts-2.7/lss3 from 644 to 755
    changing mode of build/scripts-2.7/cq from 644 to 755
    changing mode of build/scripts-2.7/route53 from 644 to 755

    changing mode of /usr/local/bin/bundle_image to 755
    changing mode of /usr/local/bin/cq to 755
    changing mode of /usr/local/bin/list_instances to 755
    changing mode of /usr/local/bin/cfadmin to 755
    changing mode of /usr/local/bin/s3put to 755
    changing mode of /usr/local/bin/route53 to 755
    changing mode of /usr/local/bin/taskadmin to 755
    changing mode of /usr/local/bin/lss3 to 755
    changing mode of /usr/local/bin/fetch_file to 755
    changing mode of /usr/local/bin/elbadmin to 755
    changing mode of /usr/local/bin/kill_instance to 755
    changing mode of /usr/local/bin/sdbadmin to 755
    changing mode of /usr/local/bin/launch_instance to 755
    changing mode of /usr/local/bin/pyami_sendmail to 755
  Running setup.py install for ajaxuploader

  Running setup.py install for argparse

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
  Running setup.py install for sqlalchemy

    warning: no files found matching '*.jpg' under directory 'doc'
    no previously-included directories found matching 'doc/build/output'
  Running setup.py install for csvkit
    changing mode of build/scripts-2.7/in2csv from 644 to 755
    changing mode of build/scripts-2.7/csvcut from 644 to 755
    changing mode of build/scripts-2.7/csvsql from 644 to 755
    changing mode of build/scripts-2.7/csvclean from 644 to 755
    changing mode of build/scripts-2.7/csvstat from 644 to 755
    changing mode of build/scripts-2.7/csvlook from 644 to 755
    changing mode of build/scripts-2.7/csvjoin from 644 to 755
    changing mode of build/scripts-2.7/csvstack from 644 to 755
    changing mode of build/scripts-2.7/csvsort from 644 to 755
    changing mode of build/scripts-2.7/csvgrep from 644 to 755
    changing mode of build/scripts-2.7/csvjson from 644 to 755

    changing mode of /usr/local/bin/in2csv to 755
    changing mode of /usr/local/bin/csvclean to 755
    changing mode of /usr/local/bin/csvgrep to 755
    changing mode of /usr/local/bin/csvsort to 755
    changing mode of /usr/local/bin/csvjoin to 755
    changing mode of /usr/local/bin/csvstat to 755
    changing mode of /usr/local/bin/csvlook to 755
    changing mode of /usr/local/bin/csvstack to 755
    changing mode of /usr/local/bin/csvcut to 755
    changing mode of /usr/local/bin/csvjson to 755
    changing mode of /usr/local/bin/csvsql to 755
  Running setup.py install for mimeparse

  Running setup.py install for django-tastypie

  Running setup.py install for longerusername

  Running setup.py install for openpyxl

    warning: no files found matching '*.xml' under directory 'src/openpyxl/tests/test_data'
    warning: no files found matching '*.rels' under directory 'src/openpyxl/tests/test_data'
    warning: no files found matching '*.xlsx' under directory 'src/openpyxl/tests/test_data'
    warning: no files found matching 'CREDITS'
  Running setup.py install for django-keyedcache

  Running setup.py install for django-livesettings

  Running setup.py install for paramiko

  Running setup.py install for django-picklefield

  Running setup.py install for celery

    no previously-included directories found matching 'tests/*.pyc'
    no previously-included directories found matching 'docs/*.pyc'
    no previously-included directories found matching 'contrib/*.pyc'
    no previously-included directories found matching 'celery/*.pyc'
    no previously-included directories found matching 'examples/*.pyc'
    no previously-included directories found matching 'bin/*.pyc'
    no previously-included directories found matching 'docs/.build'
    no previously-included directories found matching 'docs/graffles'
    no previously-included directories found matching '.tox/*'
    Installing celeryctl script to /usr/local/bin
    Installing celeryd script to /usr/local/bin
    Installing camqadm script to /usr/local/bin
    Installing celeryev script to /usr/local/bin
    Installing celeryd-multi script to /usr/local/bin
    Installing celerybeat script to /usr/local/bin
  Running setup.py install for kombu

  Running setup.py install for django-appconf

  Running setup.py install for Pygments

    Installing pygmentize script to /usr/local/bin
  Running setup.py install for Jinja2

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
  Running setup.py install for docutils
    changing mode of build/scripts-2.7/rst2html.py from 644 to 755
    changing mode of build/scripts-2.7/rst2s5.py from 644 to 755
    changing mode of build/scripts-2.7/rst2latex.py from 644 to 755
    changing mode of build/scripts-2.7/rst2xetex.py from 644 to 755
    changing mode of build/scripts-2.7/rst2man.py from 644 to 755
    changing mode of build/scripts-2.7/rst2xml.py from 644 to 755
    changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755
    changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755
    changing mode of build/scripts-2.7/rst2odt.py from 644 to 755
    changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755

    warning: no files found matching 'MANIFEST'
    warning: no previously-included files matching '.cvsignore' found under directory '*'
    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*~' found under directory '*'
    warning: no previously-included files matching '.DS_Store' found under directory '*'
    changing mode of /usr/local/bin/rst2pseudoxml.py to 755
    changing mode of /usr/local/bin/rst2man.py to 755
    changing mode of /usr/local/bin/rst2xetex.py to 755
    changing mode of /usr/local/bin/rst2html.py to 755
    changing mode of /usr/local/bin/rst2s5.py to 755
    changing mode of /usr/local/bin/rstpep2html.py to 755
    changing mode of /usr/local/bin/rst2xml.py to 755
    changing mode of /usr/local/bin/rst2odt.py to 755
    changing mode of /usr/local/bin/rst2odt_prepstyles.py to 755
    changing mode of /usr/local/bin/rst2latex.py to 755
  Running setup.py install for anyjson

  Running setup.py install for amqplib

Successfully installed django fabric psycopg2 django-celery kombu-sqlalchemy python-dateutil lxml django-compressor BeautifulSoup sphinx requests south xlrd boto ajaxuploader argparse sqlalchemy csvkit mimeparse django-tastypie longerusername openpyxl django-keyedcache django-livesettings paramiko django-picklefield celery kombu django-appconf Pygments Jinja2 docutils anyjson amqplib
Cleaning up...
+ mkdir /var/log/panda
mkdir: cannot create directory `/var/log/panda': File exists
+ touch /var/log/panda/panda.log
+ chown -R panda:panda /var/log/panda
+ mkdir /var/lib/panda
mkdir: cannot create directory `/var/lib/panda': File exists
+ mkdir /var/lib/panda/uploads
mkdir: cannot create directory `/var/lib/panda/uploads': File exists
+ mkdir /var/lib/panda/exports
mkdir: cannot create directory `/var/lib/panda/exports': File exists
+ mkdir /var/lib/panda/media
mkdir: cannot create directory `/var/lib/panda/media': File exists
+ chown -R panda:panda /var/lib/panda
+ sudo -u panda -E python manage.py syncdb --noinput
Syncing...
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table django_site
Creating table south_migrationhistory
Creating table celery_taskmeta
Creating table celery_tasksetmeta
Creating table djcelery_intervalschedule
Creating table djcelery_crontabschedule
Creating table djcelery_periodictasks
Creating table djcelery_periodictask
Creating table djcelery_workerstate
Creating table djcelery_taskstate
Creating table livesettings_setting
Creating table livesettings_longsetting
Creating table panda_category
Creating table panda_taskstatus
Creating table panda_dataset_categories
Creating table panda_dataset
Creating table panda_dataupload
Creating table panda_export
Creating table panda_notification
Creating table panda_relatedupload
Creating table panda_userprofile
Installing custom SQL ...
Installing indexes ...
No fixtures found.

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.messages
 > django.contrib.admin
 > django.contrib.sites
 > django.contrib.staticfiles
 > south
 > djcelery
 > compressor
 > livesettings
 > panda

Not synced (use migrations):
 - longerusername
 - tastypie
(use ./manage.py migrate to migrate these)
+ sudo -u panda -E python manage.py migrate --noinput
Running migrations for longerusername:
 - Migrating forwards to 0001_initial.
 > longerusername:0001_initial
 - Loading initial data for longerusername.
No fixtures found.
Running migrations for tastypie:
 - Migrating forwards to 0001_initial.
 > tastypie:0001_initial
 - Loading initial data for tastypie.
No fixtures found.
+ sudo -u panda -E python manage.py loaddata panda/fixtures/init_panda.json
Installed 8 object(s) from 1 fixture(s)
+ sudo -u panda -E python manage.py collectstatic --noinput
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/gis/move_vertex_off.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/gis/move_vertex_on.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/inline-restore-8bit.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/inline-restore.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/default-bg-reverse.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector-search.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_success.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/arrow-up.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector-removeall.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/inline-delete-8bit.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector-remove.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tool-right_over.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/changelist-bg.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/deleted-overlay.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon-unknown.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/chooser_stacked-bg.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tool-right.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_changelink.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon-yes.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tooltag-arrowright_over.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_clock.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/nav-bg-grabber.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/changelist-bg_rtl.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_deletelink.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/inline-delete.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tooltag-add.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_error.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_addlink.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_alert.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_searchbox.png'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tool-left.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tooltag-add_over.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/default-bg.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector-addall.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector_stacked-remove.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tool-left_over.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/nav-bg-reverse.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector-add.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/arrow-down.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/chooser-bg.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/selector_stacked-add.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/tooltag-arrowright.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon-no.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/icon_calendar.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/nav-bg.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/img/admin/inline-splitter-bg.gif'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/dashboard.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/rtl.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/widgets.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/login.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/changelists.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/forms.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/base.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/css/ie.css'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/calendar.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/prepopulate.min.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/core.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/SelectFilter2.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/SelectBox.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/LICENSE-JQUERY.txt'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/timeparse.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/inlines.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/dateparse.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/inlines.min.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/urlify.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/compress.py'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/jquery.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/actions.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/getElementsBySelector.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/collapse.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/jquery.min.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/collapse.min.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/prepopulate.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/jquery.init.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/actions.min.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/admin/RelatedObjectLookups.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/admin/ordering.js'
Copying '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/js/admin/DateTimeShortcuts.js'
Copying '/opt/panda/panda/static/panda_user_change_form.js'
Copying '/opt/panda/client/static/img/desc.gif'
Copying '/opt/panda/client/static/img/no-sort.gif'
Copying '/opt/panda/client/static/img/progress.png'
Copying '/opt/panda/client/static/img/ajax-loader.gif'
Copying '/opt/panda/client/static/img/glyphicons-halflings.png'
Copying '/opt/panda/client/static/img/asc.gif'
Copying '/opt/panda/client/static/img/panda_and_ire.png'
Copying '/opt/panda/client/static/img/glyphicons-halflings-white.png'
Copying '/opt/panda/client/static/css/reset.css'
Copying '/opt/panda/client/static/css/fileuploader.css'
Copying '/opt/panda/client/static/css/bootstrap.css'
Copying '/opt/panda/client/static/css/panda.css'
Copying '/opt/panda/client/static/css/loading.gif'
Copying '/opt/panda/client/static/js/application.js'
Copying '/opt/panda/client/static/js/utils.js'
Copying '/opt/panda/client/static/js/SpecRunner.html'
Copying '/opt/panda/client/static/js/models/datasets.js'
Copying '/opt/panda/client/static/js/models/data_uploads.js'
Copying '/opt/panda/client/static/js/models/tasks.js'
Copying '/opt/panda/client/static/js/models/users.js'
Copying '/opt/panda/client/static/js/models/related_uploads.js'
Copying '/opt/panda/client/static/js/models/categories.js'
Copying '/opt/panda/client/static/js/models/notifications.js'
Copying '/opt/panda/client/static/js/models/data.js'
Copying '/opt/panda/client/static/js/spec/mock_xhr_responses.js'
Copying '/opt/panda/client/static/js/spec/models/datasets.js'
Copying '/opt/panda/client/static/js/spec/models/tasks.js'
Copying '/opt/panda/client/static/js/spec/routers/index.js'
Copying '/opt/panda/client/static/js/spec/views/not_found.js'
Copying '/opt/panda/client/static/js/spec/views/root.js'
Copying '/opt/panda/client/static/js/lib/fileuploader.js'
Copying '/opt/panda/client/static/js/lib/jasmine-sinon.js'
Copying '/opt/panda/client/static/js/lib/jquery.tablesorter.js'
Copying '/opt/panda/client/static/js/lib/jasmine-jquery.js'
Copying '/opt/panda/client/static/js/lib/json2.js'
Copying '/opt/panda/client/static/js/lib/bootstrap.js'
Copying '/opt/panda/client/static/js/lib/backbone.js'
Copying '/opt/panda/client/static/js/lib/jquery.cookie.js'
Copying '/opt/panda/client/static/js/lib/underscore.js'
Copying '/opt/panda/client/static/js/lib/moment.js'
Copying '/opt/panda/client/static/js/lib/sinon-1.2.0.js'
Copying '/opt/panda/client/static/js/lib/backbone-tastypie.js'
Copying '/opt/panda/client/static/js/lib/bootbox.js'
Copying '/opt/panda/client/static/js/lib/jquery-1.7.1.js'
Copying '/opt/panda/client/static/js/lib/jasmine-1.1.0/jasmine_favicon.png'
Copying '/opt/panda/client/static/js/lib/jasmine-1.1.0/jasmine-html.js'
Copying '/opt/panda/client/static/js/lib/jasmine-

Durrr, that's not all of the log...however the issue seems to be having had installed uwsgi already, which needed to be restarted.
+ service uwsgi start
start: Job is already running: uwsgi

Closing as a duplicate of #440, which, if implemented, could account for restarting already running services.

repo: pandaproject/panda


text:
Fix table-short-captions

Support for Pandoc 2.10 is not working, and all the tests are broken too, they do not check anything.
This PR also fixes Pandoc 2.10 support, and also fixes the tests to ensure they do run (and updates them to the changes introduced by  7a49118).
Commit 6e1b2cc introduced support for Pandoc 2.10 but it doesn't work because it treats the new Table.caption.long object as the pre 2.10 Table.caption object, but they are completely different lists. Table.caption.long is a list of Blocks, where each block has a content key which is a List of inlines (or it should be, a test would be needed for more complex captions?). The pre 2.10 Table.caption is a List of inlines, so they cannot share the same code to be manipulated.
This PR fixes it by just splitting the code into two different functions. They do follow the same structure, but it is better to keep them separated, otherwise it would require too many ifs, or code that is not clear.
For pre 2.10 Table.caption just keep the code as it is. For the new Table.caption.long, ensure the outer list of Blocks is taken into account when searching for the inline Span with the short caption.
Now all test do run and all pass, with pre and post Pandoc 2.10 (nix-run-version is a helper that allows  me to use nixpkgs releases to run different versions of a command)
Before this PR (well, not really, this PR also fixes the tests to see them failing. Before the last commit fixing 2.10 support):
nix-run-version 19.09 pandoc make && echo "no errors"
pandoc 2.7.3
Compiled with pandoc-types 1.17.6, texmath 0.11.2.2, skylighting 0.8.2
no errors

$ nix-run-version 20.09 pandoc make && echo "no errors"
pandoc 2.10.1
Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
Output does not contain `\def\pandoctableshortcapt{}  % .unlisted`.
make: *** [test] Error 1

With this PR:
$ nix-run-version 19.09 pandoc make && echo "no errors"
pandoc 2.7.3
Compiled with pandoc-types 1.17.6, texmath 0.11.2.2, skylighting 0.8.2
no errors

$ nix-run-version 20.09 pandoc make && echo "no errors"
pandoc 2.10.1
Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
no errors

$ nix-run-version unstable pandoc make && echo "no errors"
pandoc 2.11.2
Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3,
citeproc 0.2, ipynb 0.1.0.1
no errors

@blake-riley please review.

Agh, it works with every Pandoc version I tried on my Mac. I need to figure out why the CI is failing.

Rebased to fix the CI ($(</dev/stdin) was not working so I went back to $(cat -)).

source: gharchive/pull-request

repo: pandoc/lua-filters

license: MIT

license_type: permissive

license_source: github-api


text:
LuaState.checkRef > u.act will be NullReference

i dont know why,but throw this Exception in sometimes.

i think it is a bug，maybe delegate had been gced

source: gharchive/issue

authors: chiuan pangweiwei

repo: pangweiwei/slua

license: mit

license_source: bigquery


text:
[Question]: gnet.run()时提示错误:gnet engine is stopping with error: kevent add|clear:function not implemented

Actions I've taken before I'm here

[X] I've thoroughly read the documentations about this problem but still have no answer.
[X] I've searched the Github Issues/Discussions but didn't find any similar problems that have been solved.
[X] I've searched the internet for this problem but didn't find anything helpful.

Questions with details
我想用gnet跑一个基于tcp的socket服务端.
实现了onboot,open,close,shutdown,traffic 接口.
启动时提示错误:gnet engine is stopping with error: kevent add|clear:function not implemented
Code snippets (optional)
package Client

import (
	"context"
	"fmt"
	"mt_server/Common"
	"mt_server/Game"
	"mt_server/Logs"
	"sync/atomic"
	"time"

	"github.com/panjf2000/gnet/v2"
)

var (
	MtServerListener *MTServer
)

type MTServer struct {
	gnet.BuiltinEventEngine
	eng          gnet.Engine
	protoAddr    string
	multicore    bool
	connected    int32
	disconnected int32
}

func (s *MTServer) OnBoot(eng gnet.Engine) (action gnet.Action) {
	Logs.InfoF("BINDING PORT [%d]", Game.ConfigObj.Port)
	s.eng = eng
	return
}

func (s *MTServer) OnOpen(c gnet.Conn) (out []byte, action gnet.Action) {
	atomic.AddInt32(&s.connected, 1)
	atomic.AddInt32(&Common.SocketConnectPlayer, 1)
	Game.InitDescriptor(c)
	return
}

func (s *MTServer) OnClose(c gnet.Conn, err error) (action gnet.Action) {
	atomic.AddInt32(&s.disconnected, 1)
	atomic.AddInt32(&s.connected, -1)
	atomic.AddInt32(&Common.SocketConnectPlayer, -1)
	c.Flush()
	SocketClose(c)
	return
}

func (s *MTServer) OnTraffic(c gnet.Conn) (action gnet.Action) {
	l := c.InboundBuffered()
	data, _ := c.Peek(l)
	RecvBroadcast <- Common.MsgID{Conn: c, Packet: data}
	return
}

func (s *MTServer) OnShutdown(eng gnet.Engine) {
	Game.CloseAllDescriptor()
}

func InitMtServer() {
	multicore := true
	MtServerListener = &MTServer{
		protoAddr: fmt.Sprintf("tcp://:%d", Game.ConfigObj.Port),
		multicore: multicore,
	}

	err := gnet.Run(MtServerListener, MtServerListener.protoAddr, gnet.WithMulticore(multicore))
	if err != nil {
		Logs.ErrorF("server exits with error: %v", err)
	}
}

func ListenClose() {
	ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
	gnet.Stop(ctx, MtServerListener.protoAddr)
	cancel()
}

补充一下，系统是freebsd

请用这个模板开一个新的 issue，现在必要的信息太少。


text:
Render documentation by default

Unless it is configured otherwise, have Grove render documentation by default. This minimizes the need for configuration and gives the user the best experience right out of the box.

I thought about doing this but after surveying our 20 to 30 repos, I realized that documentation would be generated on far fewer than half of them, hence the default.
I didn't want a bunch of repos with empty elm-docs directories.
If you don't like this for your situation, you can configure Grove globally to generate documents by default and then turn them off explicitly on a case by case basis.

Ya I have it globally configured to create documentation.
It seems our case would be a good one for using the --local --docs=off option instead of having that be the default.
In the general case, developers will use the Elm documentation format since the compiler requires placeholders at least. Since those will be there by default, it makes sense to render them by default.
I'm sure now that we have this tool, moving forward documenting in the code will be our default. Long term I think it makes sense.

Having function specific documentation is helpful for libraries. But as things get more complicated, API documentation is less and less useful. A great example can be seen at nodegit.
At first the documentation seems really nice. But it's just API docs. And when I starting using this library in Grove I found it sorely lacking.
What I needed for this library was how to use these functions together to accomplish larger goals. The example code they provided and their own source code was more useful to me than these extensive function by function docs.
Once I had that as a resource, I nearly stopped looking at the API docs.
This is why I don't plan to automatically create docs for elm-slate (when I finally get around to documenting it). It's just too complicated to expect that API docs are going to be useful. I expect that the documentation will consist of conceptual documentation, examples and most important, a few reference implementations.

authors: alexgig cscalfani

repo: panosoft/elm-grove

license: Unlicense


text:
File descriptor from content URI isn't closed when disposed

Describe the bug
.close isn't called (or .use isn't used) when the file descriptor (here from a content URI) is not needed anymore when using supersampling.
Affected platforms
Select of the platforms below:

[x] Android
[x] Desktop

Versions

zoomimage version: 1.1.0-alpha01
Kotlin version: 2.0.0-RC1
Compose version(s)):1.6.8

Running Devices

Samsung Galaxy A12; One UI Core 4.1; arm64

Code sample
// Create a ZoomImage with a zoomState and set the subsampling
zoomState.subsampling.setImageSource(Uri.parse("content://..."))

Reproduction step

Create an image with subsampling using a content URI
Zoom
Unzoom

Error/stacktrace
Details

StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
	at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1987)
	at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:336)
	at android.os.ParcelFileDescriptor.finalize(ParcelFileDescriptor.java:1069)
	at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:339)
	at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:324)
	at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:300)
	at java.lang.Daemons$Daemon.run(Daemons.java:145)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.Throwable: Explicit termination method 'close' not called
	at dalvik.system.CloseGuard.openWithCallSite(CloseGuard.java:288)
	at dalvik.system.CloseGuard.open(CloseGuard.java:257)
	at android.os.ParcelFileDescriptor.(ParcelFileDescriptor.java:206)
	at android.os.ParcelFileDescriptor$2.createFromParcel(ParcelFileDescriptor.java:1129)
	at android.os.ParcelFileDescriptor$2.createFromParcel(ParcelFileDescriptor.java:1120)
	at android.os.storage.IStorageManager$Stub$Proxy.openProxyFileDescriptor(IStorageManager.java:3577)
	at android.os.storage.StorageManager.openProxyFileDescriptor(StorageManager.java:2141)
	at android.os.storage.StorageManager.openProxyFileDescriptor(StorageManager.java:2202)
	at fr.theskyblockman.lifechest.vault.EncryptedContentProvider.openFile(EncryptedContentProvider.kt:159)
	at android.content.ContentProvider.openAssetFile(ContentProvider.java:2138)
	at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:2314)
	at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:2381)
	at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:562)
	at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2034)
	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1849)
	at android.content.ContentResolver.openInputStream(ContentResolver.java:1525)
	at com.github.panpf.zoomimage.subsampling.ContentImageSource$openSource$2.invokeSuspend(AndroidImageSource.kt:101)
	at com.github.panpf.zoomimage.subsampling.ContentImageSource$openSource$2.invoke(Unknown Source:8)
	at com.github.panpf.zoomimage.subsampling.ContentImageSource$openSource$2.invoke(Unknown Source:4)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
	at com.github.panpf.zoomimage.subsampling.ContentImageSource.openSource-IoAF18A(AndroidImageSource.kt:99)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper$getOrCreateDecoder$2.invokeSuspend(BitmapFactoryDecodeHelper.kt:80)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper$getOrCreateDecoder$2.invoke(Unknown Source:8)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper$getOrCreateDecoder$2.invoke(Unknown Source:4)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper.getOrCreateDecoder(BitmapFactoryDecodeHelper.kt:79)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper.access$getOrCreateDecoder(BitmapFactoryDecodeHelper.kt:25)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper$decodeRegion$2.invokeSuspend(BitmapFactoryDecodeHelper.kt:47)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper$decodeRegion$2.invoke(Unknown Source:8)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper$decodeRegion$2.invoke(Unknown Source:4)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
	at com.github.panpf.zoomimage.subsampling.internal.BitmapFactoryDecodeHelper.decodeRegion(BitmapFactoryDecodeHelper.kt:39)
	at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$decode$tileBitmap$1.invokeSuspend(TileDecoder.kt:57)
	at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$decode$tileBitmap$1.invoke(Unknown Source:8)
	at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$decode$tileBitmap$1.invoke(Unknown Source:4)
	at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$useDecoder$2.invokeSuspend(TileDecoder.kt:75)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
        at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$decode$tileBitmap$1.invoke(Unknown Source:8)
        at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$decode$tileBitmap$1.invoke(Unknown Source:4)
        at com.github.panpf.zoomimage.subsampling.internal.TileDecoder$useDecoder$2.invokeSuspend(TileDecoder.kt:75)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
        at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)

This is indeed turned off by use, so this may be a false positive of StrictMode
https://github.com/panpf/zoomimage/blob/6bf40159f1dbc1e21ba8dd9b28900349c4c3fa30/zoomimage-core/src/androidMain/kotlin/com/github/panpf/zoomimage/subsampling/internal/BitmapFactoryDecodeHelper.kt#L80

This seems quite strange, I have never seen a false positive from StrictMode before.
I use my own ContentProvider so I could listen for when a file is opened and closed, when I initialized the ZoomImage I see a giant wall of events (the fd attached to the URI is opened more than 75 times in less than 300ms!) which could be (and probably is) the cause of StrictMode's error, I believe this should be treated a little bit better, here I use ProxyFileDescriptor so the OS is under a bit more strain than with a normal content URI but this seems abusive to not keep a ParcelFileDescriptor around as it does not store any state anyways (I do, but only for optimization)

For convenience I also add the Composable I use with ZoomImage:
@Composable
fun InteractiveImage(
    modifier: Modifier = Modifier,
    bitmap: ImageBitmap,
    uri: Uri?,
    subsample: Boolean = true,
    fileName: String,
    isFullscreen: Boolean,
    contentScale: ContentScale = ContentScale.Fit,
    onClick: () -> Unit,
) {
    val context = LocalContext.current
    val zoomState: ZoomState = rememberZoomState()
    LaunchedEffect(context, zoomState, uri, subsample) {
        if (subsample) {
            zoomState.subsampling.setImageSource(ImageSource.fromContent(context, uri!!))
        }
    }

    val painter = remember {
        BitmapPainter(bitmap)
    }

    Box(
        contentAlignment = Alignment.Center,
        modifier = if (isFullscreen) Modifier.background(Color.Black) else Modifier
    ) {
        ZoomImage(
            painter = painter,
            contentDescription = stringResource(R.string.image_alt_text, fileName),
            modifier = modifier
                .fillMaxSize(),
            contentScale = contentScale,
            onTap = {
                onClick()
            },
            zoomState = zoomState
        )
    }
}

I have reproduced the problem of opening files multiple times in a short period of time. This is caused by the failure of concurrency control. I am working hard to fix this problem.
I have not reproduced the LeakedClosableViolation problem reported by StrictMode on the simulator of API 31. Can you give me more precise development environment information or give me a sample code that can be reproduced on the simulator?

I use my own content URIs which depending on the context of my app enables me to read a file I encrypted earlier. In my class who's implementing ContentProvider I essentially have this method (some values need to be tweaked to make it work in another environment) :
override fun openFile(uri: Uri, mode: String): ParcelFileDescriptor? {
    if (mode != "r") {
        throw UnsupportedOperationException("Only reading is supported")
    }

    val file = getFile(uri) ?: return null // Set a File object here to test

    val storageManager = context?.getSystemService(Context.STORAGE_SERVICE) as StorageManager?
        ?: throw SecurityException("No storage manager")

    val handlerThread = HandlerThread("BackgroundFileReader")
    handlerThread.start()
    val randomAccessFile =
        RandomAccessFile(file, "r")
    return storageManager.openProxyFileDescriptor(
        ParcelFileDescriptor.MODE_READ_ONLY, EncryptedProxyFileDescriptorCallback(
            file,
            randomAccessFile,
            handlerThread
        ), Handler(handlerThread.looper)
    )
}

class EncryptedProxyFileDescriptorCallback(
    private val file: File,
    private val randomAccessFile: RandomAccessFile,
    private val handlerThread: HandlerThread
) : ProxyFileDescriptorCallback() {
    override fun onGetSize(): Long {
        return file.length()
    }

    override fun onRead(offset: Long, size: Int, data: ByteArray?): Int {
        if (data == null) return if (offset + size > file.size) (file.size - offset).toInt() else size
        randomAccessFile.seek(offset)
        val result = randomAccessFile.read(data, 0, size)

        return result
    }

    init {
        Log.d("EncryptedContentProvider", "Initializing file")
    }

    override fun onRelease() {
        Log.d("EncryptedContentProvider", "Releasing file")
        handlerThread.quitSafely()
        randomAccessFile.close()
    }
}

This is the ContentProvider for the URI I have as an argument in https://github.com/panpf/zoomimage/issues/29#issuecomment-2228105630
I heavily edited the code to accept clear files, normally I run decryption on the relevant part of the file which adds more latency/processing time. I use quite large files (around 5000x8000) to do my tests.
This piece of code is part of a relatively large app running all the latest versions of Kotlin, Jetpack Compose and AGP, also it does not have any networking involved.

Version 1.1.0-alpha03 attempts to optimize this issue, please retest

I have retested with 1.1.0-alpha03, the file descriptor is now only created 4 times when the image is opened and the subsampling is initialized, which is a totally acceptable behavior. Now, the StrictMode error is gone. Bug fixed.

This is good news

authors: panpf theskyblockman

repo: panpf/zoomimage


text:
Update Composer dependencies (2019-04-14-00-03)

Loading composer repositories with package information
Updating dependencies
Writing lock file
Generating optimized autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles

Visual regression test passed!
View the visual regression test report


text:
Update Posts “technologyvshumantrafficking”

Automatically generated by Netlify CMS

👷 Deploy Preview for rangitoto-reporter processing.
🔨 Explore the source changes: 14f4034e313ddec9f71b90fb1be1dd1467420fb1
🔍 Inspect the deploy log: https://app.netlify.com/sites/rangitoto-reporter/deploys/60fd2de1d46c3a00073a97db

repo: pantryfight/rangitoto-reporter


text:
Logically dead code in requests auth.py

https://github.com/pantsbuild/pex/blob/a2b6d0a645824e5ed20e422f34482b60e0e7cdd6/pex/vendor/_vendored/pip/pip/_vendor/requests/auth.py#L223
Line 175, entdig = None
Line 222, if entdig: cannot be true
Line 223 is never reached

Closing as wont fix as explained in #844.

authors: huornlmj jsirois

repo: pantsbuild/pex


text:
ExEx that registers an RLPx subprotocol

Similar to https://github.com/paradigmxyz/reth/issues/7130, but integrated in as an ExEx.
This should include a custom RLPx protocol, for example, broadcasting decoded logs or similar over p2p.

May I get this @shekhirin ?

authors: loocapro shekhirin

repo: paradigmxyz/reth-exex-examples


text:
OOM and MerkleExecute Error While Syncing

Describe the bug
I've been trying to sync a new reth node (with Lighthouse) but am running into issues syncing the node and having it killed by OOM errors.
Issues:

Process is repeatedly killed when syncing due to OOM memory
When running MerkleExecute, a validation error is encountered at the end of the checkpoint stage checkpoint, which doesn't kill the process but doesn't seem to advance beyond
Upon restart, the node will randomly reset to a 98.3% checkpoint in AccountHashing even after its shutdown and restarted at a later checkpoint
The prior stages are synced far from the current head

Setup:
i5-1235U Mini PC, 32 GB memory, 4 TB SSD
Ubuntu 22.04.3 LTS
reth 0.1.0-alpha.10 + lighthouse 4.2.0
Troubleshooting Steps:
I've tried restarting this process several times including gracefully exiting along the way to try and advance the check pointing but had issues above. I increased swap space from 2 GB to 16 GB. I also tried shutting off Lighthouse to try and finish pipelining nodes. I've also monitored the resource usage and see only ~20% memory and swap usage when reth is running.
Logs:
[1] OOM Errors from grep -i oom /var/log/syslog
Nov  4 18:44:04 rethship kernel: [613255.141797] tokio-runtime-w invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
Nov  4 18:44:04 rethship kernel: [613255.141824]  oom_kill_process+0x108/0x1c0
Nov  4 18:44:04 rethship kernel: [613255.141829]  __alloc_pages_may_oom+0x117/0x1e0
Nov  4 18:44:04 rethship kernel: [613255.141958] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Nov  4 18:44:04 rethship kernel: [613255.141976] [    636]   108   636     3707      192    65536      128          -900 systemd-oomd
Nov  4 18:44:04 rethship kernel: [613255.142266] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-a346d30d-cd63-4709-ac50-8f1a2cbcceeb.scope,task=reth,pid=981137,uid=1000
Nov  4 18:44:04 rethship kernel: [613255.142326] Out of memory: Killed process 981137 (reth) total-vm:4376905076kB, anon-rss:27667340kB, file-rss:128kB, shmem-rss:0kB, UID:1000 pgtables:2043212kB oom_score_adj:0
Nov  4 18:44:04 rethship systemd[1]: user@1000.service: A process of this unit has been killed by the OOM killer.
Nov  4 18:44:04 rethship systemd[1728]: vte-spawn-a346d30d-cd63-4709-ac50-8f1a2cbcceeb.scope: A process of this unit has been killed by the OOM killer.
Nov  4 18:44:06 rethship kernel: [613257.682761] oom_reaper: reaped process 981137 (reth), now anon-rss:204kB, file-rss:128kB, shmem-rss:0kB

[2] See node logs below
[3] Logs upon restart
2023-11-05T01:27:13.175346Z  WARN consensus::engine: Pipeline sync progress is inconsistent first_stage_checkpoint=18200983 inconsistent_stage_id=AccountHashing inconsistent_stage_checkpoint=17933127
2023-11-05T01:27:13.181836Z  INFO reth::node::events: Executing stage pipeline_stages=1/13 stage=Headers from=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.183994Z  INFO execute{stage=Headers}: sync::stages::headers: Target block already reached checkpoint=100.0% target=Hash(0x7f0f336dafd02579116db16639213ad274de6802821e640e7a2ca951b4ac0e5e)
2023-11-05T01:27:13.184061Z  INFO reth::node::events: Stage finished executing pipeline_stages=1/13 stage=Headers block=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184069Z  INFO reth::node::events: Executing stage pipeline_stages=2/13 stage=TotalDifficulty from=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184073Z  INFO reth::node::events: Stage finished executing pipeline_stages=2/13 stage=TotalDifficulty block=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184106Z  INFO reth::node::events: Executing stage pipeline_stages=3/13 stage=Bodies from=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184735Z  INFO reth::node::events: Stage finished executing pipeline_stages=3/13 stage=Bodies block=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184748Z  INFO reth::node::events: Executing stage pipeline_stages=4/13 stage=SenderRecovery from=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184757Z  INFO reth::node::events: Stage finished executing pipeline_stages=4/13 stage=SenderRecovery block=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184763Z  INFO reth::node::events: Executing stage pipeline_stages=5/13 stage=Execution from=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184904Z  INFO execute{stage=MerkleUnwind}: sync::stages::merkle::unwind: Stage is always skipped
2023-11-05T01:27:13.184914Z  INFO reth::node::events: Stage finished executing pipeline_stages=5/13 stage=Execution block=18200983 checkpoint=100.0% eta=unknown
2023-11-05T01:27:13.184919Z  INFO reth::node::events: Executing stage pipeline_stages=6/13 stage=MerkleUnwind from=18200983 checkpoint=18200983 eta=unknown
2023-11-05T01:27:13.184922Z  INFO reth::node::events: Stage finished executing pipeline_stages=6/13 stage=MerkleUnwind block=18200983 checkpoint=18200983 eta=unknown
2023-11-05T01:27:13.184974Z  INFO reth::node::events: Executing stage pipeline_stages=7/13 stage=AccountHashing from=17933127 checkpoint=98.3% eta=unknown
2023-11-05T01:27:16.176960Z  INFO reth::cli: Status connected_peers=1 stage=AccountHashing checkpoint=98.3% eta=unknown
2023-11-05T01:27:41.177238Z  INFO reth::cli: Status connected_peers=16 stage=AccountHashing checkpoint=98.3% eta=unknown

Steps to reproduce
Unsure
Node logs
2023-11-04T22:21:41.943424Z  INFO reth::node::events: Stage committed progress pipeline_stages=9/13 stage=MerkleExecute block=17933127 checkpoint=99.9% eta=4s
2023-11-04T22:21:43.101493Z  INFO reth::node::events: Stage committed progress pipeline_stages=9/13 stage=MerkleExecute block=17933127 checkpoint=99.9% eta=3s
2023-11-04T22:21:45.066253Z  INFO reth::cli: Status connected_peers=84 stage=MerkleExecute checkpoint=99.9% eta=1s
2023-11-04T22:21:45.408990Z  INFO reth::node::events: Stage committed progress pipeline_stages=9/13 stage=MerkleExecute block=17933127 checkpoint=100.0% eta=0s
2023-11-04T22:21:46.032948Z  WARN execute{stage=MerkleExecute}: sync::stages::merkle: Failed to verify block state root target_block=18200983 got=0x823da0e726af6e6c62fd9d0a2f8cc6270a83019cbf59a6bce386f5ba9642c3f2 expected=SealedHeader { header: Header { parent_hash: 0xf2f6cb468c897676ebc423d3e71ec1765913222a72dce83ac0b6d85ddcced07c, ommers_hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347, beneficiary: 0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97, state_root: 0xbb09e5726aac4165aae76903a03f697650d4f86c9db65bfd6f8590fca9b1eb2a, transactions_root: 0xede23d510c6e60afb89e493dc41e012828c4604409f611ee2d3bbbe5b9bf9f2d, receipts_root: 0x7a32d6f19103688a4c176357e25dae09a29aef103c9a52d7f3a5bd40892500cd, withdrawals_root: Some(0x5549b704ab4127950b498748eab9700556a86712c262808ad13226db078de894), logs_bloom: 0x2a619118d0c498000b83060ac900122c6e92008118901c4538556025788140e400c614629018682106105748075237a31a421418aa070a091a3e042000740c03e6aa4019432288e64928acea4e2eb06a902606222cc68222bac02210862028b0a6e000926a9e10930faae186c04089545431821914210534a600459ca8d0090010c04023e88609b120c42f9002b011614080681129549058a4d480499a1001388aa6ed6840d82c84881e10959a589436a28404a26613561ab0a300ea08842005384c204305821404d8692155109f1254020e1caa8d000812592ac8425041a0c02452f2504c50921a2cd46608684593a398009030010ba066702c88309029c8f0, difficulty: 0x0_U256, number: 18200983, gas_limit: 29970705, gas_used: 29967592, timestamp: 1695501911, mix_hash: 0x7c474df647faacac2251c724cc264942e3a0aab0e8d7657126ad3e1c75dfa3a1, nonce: 0, base_fee_per_gas: Some(6881759407), blob_gas_used: None, excess_blob_gas: None, parent_beacon_block_root: None, extra_data: Bytes(0x546974616e2028746974616e6275696c6465722e78797a29) }, hash: 0x7f0f336dafd02579116db16639213ad274de6802821e640e7a2ca951b4ac0e5e }
2023-11-04T22:21:46.035592Z ERROR execute{stage=MerkleExecute}: sync::pipeline: Stage encountered a validation error: Block state root (0x823da0e726af6e6c62fd9d0a2f8cc6270a83019cbf59a6bce386f5ba9642c3f2) is different from expected: (0xbb09e5726aac4165aae76903a03f697650d4f86c9db65bfd6f8590fca9b1eb2a) stage=MerkleExecute bad_block=18200983
2023-11-04T22:22:10.066552Z  INFO reth::cli: Status connected_peers=85 stage=MerkleExecute checkpoint=100.0% eta=unknown
2023-11-04T22:22:35.066721Z  INFO reth::cli: Status connected_peers=85 stage=MerkleExecute checkpoint=100.0% eta=unknown
[...]
2023-11-04T23:43:25.067648Z  INFO reth::cli: Status connected_peers=97 stage=MerkleExecute checkpoint=100.0% eta=unknown
2023-11-04T23:43:50.081770Z  INFO reth::cli: Status connected_peers=96 stage=MerkleExecute checkpoint=100.0% eta=unknown
./run_reth.sh: line 4: 981137 Killed                  RUST_LOG=info /home/user/dev/reth/target/release/reth node --http --http.api debug,eth,net,trace,txpool,web3,rpc --http.addr 192.168.1.248

Platform(s)
Linux (x86)
What version/commit are you on?
reth 0.1.0-alpha.10 (a60dbfdd)
What database version are you on?
Current database version: 1
Local database version: 1
What type of node are you running?
Archive (default)
What prune config do you use, if any?
N/A
If you've built Reth from source, provide the full command you used
cargo build --release
Code of Conduct

[X] I agree to follow the Code of Conduct

Hi folks - has this been encountered again?

Hey @gakonst! Yeah, I keep hitting this OOM error. Happy to help triage.

I ended up clearing my state and resyncing, and I haven't had the issue again. But it definitely seems like there's some bug lurking in here. I'll leave this open for others to add in.

Following @theforager's suggestion, I also cleared the state and resynced. My node is now tracking the tip. Thanks!

I'm considering this fixed with https://github.com/paradigmxyz/reth/pull/7364 - users who upgraded from beta.4 or earlier will have to change their config like we recommend in the release notes:
https://github.com/paradigmxyz/reth/releases/tag/v0.2.0-beta.5
[stages.merkle]
-clean_threshold = 50000
+clean_threshold = 5000

authors: ChrisTorresLugo Rjected gakonst theforager

repo: paradigmxyz/reth


text:
reuse alloy eips constants

Resolves #6489

sorry for blocking the issue for so long 😅
I'm a rust-newbie trying to figure this out on the fly,
it's taking me some time to getting familiar with this code base (& rust itself)
very sorry for the inconvenience

all good :)
this is not critical, so no rush
happy to help

authors: ThreeHrSleep i-m-aditya mattsse


text:
KeyNotFoundException is thrown when Project Settings property is used for the first time .

Describe the bug
In my extension testing I observed that when using useProjectSettings hook the values displayed on the very first load are not coming from the projectSettings.json file, instead coming from the placeholders on the hook initialization.
To Reproduce
Steps to reproduce the behavior:

Set up projectSettings.json with the below information

  "paranextExtTesting.highlightColor_projectSetting_TC13": {
        "label": "%paranextExtTesting.highlightColor%",
        "description": "%paranextExtTesting.highlightColorDescription%",
        "default": "Aqua",
        "includeProjectTypes": ["ParatextStandard"],
        "excludeProjectTypes": null
      },

On the webview use the PAPI useProjectSettings hook

 const [projectColor, setProjectColorInternally] = useProjectSetting(
    'ParatextStandard',
    'b4c501ad2538989d6fb723518e92408406e232d3',
    'paranextExtTesting.highlightColor_projectSetting_TC13',
    'Green',
  );

You will find below exception in the main.log and warning in console.log

[2024-05-20 17:21:00.390] [warn]  Tried to retrieve data immediately for Setting with selector "paranextExtTesting.highlightColor_projectSetting_TC13", but it threw. Error: System.Collections.Generic.KeyNotFoundException: The given key 'paranextExtTesting.highlightColor_projectSetting_TC13' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Paranext.DataProvider.Projects.ParatextProjectDataProvider.GetProjectSetting(String jsonKey) in C:\Repos\paranext-core\c-sharp\Projects\ParatextProjectDataProvider.cs:line 222
   at Paranext.DataProvider.Projects.ProjectDataProvider.HandleRequest(String functionName, JsonArray args) in C:\Repos\paranext-core\c-sharp\Projects\ProjectDataProvider.cs:line 83

The UI displays the values from the hook instead of defaults from the projectSettings.json

Expected behavior
Default values from the projectSettings.json should be displayed on the UI

Matt and I discussed and decided to fix a couple things and leave one other thing for the moment. Hopefully we'll get to the other thing before long:

(Fixed) Paratext project settings throw instead of getting the default
(Fixed) Paratext project settings updates don't go out properly
Paratext project settings don't support numbers or objects #906

repo: paranext/paranext-core