TimJuni / raspistillWeb

Little python web interface for raspistill to take photos with the RaspberryPi
GNU General Public License v3.0
20 stars 11 forks source link

Get stuck with installation #12

Open torstenhaase opened 9 years ago

torstenhaase commented 9 years ago

Hi Tim,

I get stuck with the installation in step 5. I can't initialize the database. It looks like SQLAlchemy is missing but I can't install it with apt-get:

pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: SQLAlchemy pi@raspberrypi ~/Development/env/raspistillWeb $ sudo apt-get install SQLAlchemy Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package SQLAlchemy

Thanks for your help Torsten

TimJuni commented 9 years ago

Hey Torsten,

could you try installing SQLAlchemy via pip? Just got into the raspistill directory and try: ../bin/pip install sqlalchemy

Cheers, Tim

TimJuni commented 9 years ago

But you did run the setup, right? ../bin/python setup.py develop

the setup should install sqlalchemy via pip

torstenhaase commented 9 years ago

Hi Tim,

yes I did but it didn�t work :( Installing Alchemy worked, I also had to install pyramid, exif-read, pyramid-mako, waitress and pyramid-debugtoolbar with the same procedure. Now I am waiting, so far it did not finish with the last install step and there are no more log entries. I leave it running and continue later. I�ll get back to you as soon as I�ll finish it.

Regards Torsten

Attached the complete install log:

pi@raspberrypi ~/Development/env $ git clone https://github.com/TimJuni/raspistillWeb.git Cloning into 'raspistillWeb'... remote: Counting objects: 302, done. remote: Compressing objects: 100% (15/15), done. remote: Total 302 (delta 3), reused 0 (delta 0), pack-reused 287 Receiving objects: 100% (302/302), 2.47 MiB | 914 KiB/s, done. Resolving deltas: 100% (162/162), done. pi@raspberrypi ~/Development/env $ cd raspistillWeb pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/python3 setup.py develop running develop running egg_info creating raspistillWeb.egg-info writing requirements to raspistillWeb.egg-info/requires.txt writing raspistillWeb.egg-info/PKG-INFO writing top-level names to raspistillWeb.egg-info/top_level.txt writing dependency_links to raspistillWeb.egg-info/dependency_links.txt writing entry points to raspistillWeb.egg-info/entrypoints.txt writing manifest file 'raspistillWeb.egg-info/SOURCES.txt' reading manifest file 'raspistillWeb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.rst' warning: no files found matching '.ico' under directory 'raspistillweb' warning: no files found matching '.png' under directory 'raspistillweb' warning: no files found matching '.gif' under directory 'raspistillweb' warning: no files found matching '.pt' under directory 'raspistillweb' warning: no files found matching '.mak' under directory 'raspistillweb' warning: no files found matching '.html' under directory 'raspistillweb' warning: no files found matching '_.xml' under directory 'raspistillweb' writing manifest file 'raspistillWeb.egg-info/SOURCES.txt' running build_ext Creating /home/pi/Development/env/lib/python3.2/site-packages/raspistillWeb.egg-link (link to .) Adding raspistillWeb 0.2 to easy-install.pth file Installing initialize_raspistillweb_db script to /home/pi/Development/env/bin

Installed /home/pi/Development/env/raspistillWeb Processing dependencies for raspistillWeb==0.2 Searching for zope.sqlalchemy Reading http://pypi.python.org/simple/zope.sqlalchemy/ Best match: zope.sqlalchemy 0.7.6 Downloading https://pypi.python.org/packages/source/z/zope.sqlalchemy/zope.sqlalchemy-0.7.6.zip#md5=0f5bf14679951e59007e090b6922688c Processing zope.sqlalchemy-0.7.6.zip Running zope.sqlalchemy-0.7.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5b0zi3/zope.sqlalchemy-0.7.6/egg-dist-tmp-_iv5dg Adding zope.sqlalchemy 0.7.6 to easy-install.pth file

Installed /home/pi/Development/env/lib/python3.2/site-packages/zope.sqlalchemy-0.7.6-py3.2.egg Searching for transaction Reading http://pypi.python.org/simple/transaction/ Best match: transaction 1.4.4 Downloading https://pypi.python.org/packages/source/t/transaction/transaction-1.4.4.tar.gz#md5=a6d6d6fa18e44d1644518bb7d61eac92 Processing transaction-1.4.4.tar.gz Running transaction-1.4.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-puwydh/transaction-1.4.4/egg-dist-tmp-gvpu7 warning: no previously-included files matching '.dll' found anywhere in distribution 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 '_.so' found anywhere in distribution warning: no previously-included files matching 'coverage.xml' found anywhere in distribution no previously-included directories found matching 'docs/_build' Adding transaction 1.4.4 to easy-install.pth file

Installed /home/pi/Development/env/lib/python3.2/site-packages/transaction-1.4.4-py3.2.egg Searching for SQLAlchemy Reading http://pypi.python.org/simple/SQLAlchemy/ Best match: SQLAlchemy 1.0.4 Downloading https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-1.0.4.tar.gz#md5=ad1a8a2064dd9c8e76d5692a8eb4e864 error: None pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: SQLAlchemy pi@raspberrypi ~/Development/env/raspistillWeb $ sudo apt-get update Get:1 http://raspberrypi.collabora.com wheezy Release.gpg [836 B] Get:2 http://archive.raspberrypi.org wheezy Release.gpg [490 B]
Get:3 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Get:4 http://archive.raspberrypi.org wheezy Release [15.4 kB]
Get:5 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Get:6 http://raspberrypi.collabora.com wheezy Release [7,493 B]
Get:7 http://archive.raspberrypi.org wheezy/main armhf Packages [129 kB]
Get:8 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6,903 kB] Get:9 http://raspberrypi.collabora.com wheezy/rpi armhf Packages [2,214 B]
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:10 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.6 kB] Get:11 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [49.3 kB] Get:12 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B] Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 7,147 kB in 37s (192 kB/s)
Reading package lists... Done pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: SQLAlchemy pi@raspberrypi ~/Development/env/raspistillWeb $ sudo apt-get install SQLAlchemy Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package SQLAlchemy pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pip install sqlalchemy Downloading/unpacking sqlalchemy Downloading SQLAlchemy-1.0.4.tar.gz (4.6Mb): 4.6Mb downloaded Running setup.py egg_info for package sqlalchemy

warning: no files found matching '*.jpg' under directory 'doc'
warning: no files found matching '*.mako' under directory 'doc'
warning: no files found matching 'distribute_setup.py'
warning: no files found matching 'sa2to3.py'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'

Installing collected packages: sqlalchemy Running setup.py install for sqlalchemy building 'sqlalchemy.cprocessors' extension gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/usr/include/python3.2mu -c lib/sqlalchemy/cextension/processors.c -o build/temp.linux-armv6l-3.2/lib/sqlalchemy/cextension/processors.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv6l-3.2/lib/sqlalchemy/cextension/processors.o -o build/lib.linux-armv6l-3.2/sqlalchemy/cprocessors.cpython-32mu.so building 'sqlalchemy.cresultproxy' extension gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/usr/include/python3.2mu -c lib/sqlalchemy/cextension/resultproxy.c -o build/temp.linux-armv6l-3.2/lib/sqlalchemy/cextension/resultproxy.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv6l-3.2/lib/sqlalchemy/cextension/resultproxy.o -o build/lib.linux-armv6l-3.2/sqlalchemy/cresultproxy.cpython-32mu.so building 'sqlalchemy.cutils' extension gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/usr/include/python3.2mu -c lib/sqlalchemy/cextension/utils.c -o build/temp.linux-armv6l-3.2/lib/sqlalchemy/cextension/utils.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv6l-3.2/lib/sqlalchemy/cextension/utils.o -o build/lib.linux-armv6l-3.2/sqlalchemy/cutils.cpython-32mu.so

warning: no files found matching '*.jpg' under directory 'doc'
warning: no files found matching '*.mako' under directory 'doc'
warning: no files found matching 'distribute_setup.py'
warning: no files found matching 'sa2to3.py'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'

Successfully installed sqlalchemy Cleaning up... pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pyramid-tm pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pip install pyramid-tm Downloading/unpacking pyramid-tm Downloading pyramid_tm-0.12.tar.gz Running setup.py egg_info for package pyramid-tm

Downloading/unpacking pyramid>=1.2dev (from pyramid-tm) Downloading pyramid-1.6a1.tar.gz (2.7Mb): 2.7Mb downloaded Running setup.py egg_info for package pyramid

Requirement already satisfied (use --upgrade to upgrade): transaction in /home/pi/Development/env/lib/python3.2/site-packages/transaction-1.4.4-py3.2.egg (from pyramid-tm) Requirement already satisfied (use --upgrade to upgrade): distribute in /home/pi/Development/env/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg (from pyramid>=1.2dev->pyramid-tm) Downloading/unpacking WebOb>=1.3.1 (from pyramid>=1.2dev->pyramid-tm) Downloading WebOb-1.4.1.tar.gz (671Kb): 671Kb downloaded Running setup.py egg_info for package WebOb

no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'

Downloading/unpacking repoze.lru>=0.4 (from pyramid>=1.2dev->pyramid-tm) Downloading repoze.lru-0.6.tar.gz Running setup.py egg_info for package repoze.lru

Downloading/unpacking zope.interface>=3.8.0 (from pyramid>=1.2dev->pyramid-tm) Downloading zope.interface-4.1.2.tar.gz (919Kb): 919Kb downloaded Running setup.py egg_info for package zope.interface

warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution

Downloading/unpacking zope.deprecation>=3.5.0 (from pyramid>=1.2dev->pyramid-tm) Downloading zope.deprecation-4.1.2.tar.gz (146Kb): 146Kb downloaded Running setup.py egg_info for package zope.deprecation

warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution

Downloading/unpacking venusian>=1.0a3 (from pyramid>=1.2dev->pyramid-tm) Downloading venusian-1.0.tar.gz (45Kb): 45Kb downloaded Running setup.py egg_info for package venusian

Downloading/unpacking translationstring>=0.4 (from pyramid>=1.2dev->pyramid-tm) Downloading translationstring-1.3.tar.gz Running setup.py egg_info for package translationstring

no previously-included directories found matching 'docs/_build'

Downloading/unpacking PasteDeploy>=1.5.0 (from pyramid>=1.2dev->pyramid-tm) Downloading PasteDeploy-1.5.2.tar.gz Running setup.py egg_info for package PasteDeploy

Installing collected packages: pyramid-tm, pyramid, WebOb, repoze.lru, zope.interface, zope.deprecation, venusian, translationstring, PasteDeploy Running setup.py install for pyramid-tm

Running setup.py install for pyramid

Installing ptweens script to /home/pi/Development/env/bin
Installing pdistreport script to /home/pi/Development/env/bin
Installing proutes script to /home/pi/Development/env/bin
Installing pshell script to /home/pi/Development/env/bin
Installing prequest script to /home/pi/Development/env/bin
Installing pviews script to /home/pi/Development/env/bin
Installing pcreate script to /home/pi/Development/env/bin
Installing pserve script to /home/pi/Development/env/bin

Running setup.py install for WebOb

no previously-included directories found matching '*.pyc'
no previously-included directories found matching '*.pyo'

Running setup.py install for repoze.lru

Skipping installation of /home/pi/Development/env/lib/python3.2/site-packages/repoze/__init__.py (namespace package)
Installing /home/pi/Development/env/lib/python3.2/site-packages/repoze.lru-0.6-py3.2-nspkg.pth

Running setup.py install for zope.interface

warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
building 'zope.interface._zope_interface_coptimizations' extension
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/usr/include/python3.2mu -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.linux-armv6l-3.2/src/zope/interface/_zope_interface_coptimizations.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv6l-3.2/src/zope/interface/_zope_interface_coptimizations.o -o build/lib.linux-armv6l-3.2/zope/interface/_zope_interface_coptimizations.cpython-32mu.so
Skipping installation of /home/pi/Development/env/lib/python3.2/site-packages/zope/__init__.py (namespace package)
Installing /home/pi/Development/env/lib/python3.2/site-packages/zope.interface-4.1.2-py3.2-nspkg.pth

Running setup.py install for zope.deprecation

warning: no previously-included files matching '*.dll' found anywhere in distribution
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 '*.so' found anywhere in distribution
Skipping installation of /home/pi/Development/env/lib/python3.2/site-packages/zope/__init__.py (namespace package)
Installing /home/pi/Development/env/lib/python3.2/site-packages/zope.deprecation-4.1.2-py3.2-nspkg.pth

Running setup.py install for venusian

Running setup.py install for translationstring

no previously-included directories found matching 'docs/_build'

Running setup.py install for PasteDeploy

Skipping installation of /home/pi/Development/env/lib/python3.2/site-packages/paste/__init__.py (namespace package)
Installing /home/pi/Development/env/lib/python3.2/site-packages/PasteDeploy-1.5.2-py3.2-nspkg.pth

Successfully installed pyramid-tm pyramid WebOb repoze.lru zope.interface zope.deprecation venusian translationstring PasteDeploy Cleaning up... pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: exifread pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pip install exifread Downloading/unpacking exifread Downloading ExifRead-2.1.1.tar.gz Running setup.py egg_info for package exifread

Installing collected packages: exifread Running setup.py install for exifread changing mode of build/scripts-3.2/EXIF.py from 644 to 755

changing mode of /home/pi/Development/env/bin/EXIF.py to 755

Successfully installed exifread Cleaning up... pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pyramid-mako pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pip install pyramid-mako Downloading/unpacking pyramid-mako Downloading pyramid_mako-1.0.2.tar.gz Running setup.py egg_info for package pyramid-mako

warning: no files found matching '*.*_tmpl' under directory 'pyramid_mako'
warning: no files found matching '*.ico' under directory 'pyramid_mako'
warning: no files found matching '*.png' under directory 'pyramid_mako'
warning: no files found matching '*.pot' under directory 'pyramid_mako'
warning: no files found matching '*.cfg' under directory 'pyramid_mako'
warning: no files found matching '*.mo' under directory 'pyramid_mako'
warning: no files found matching '*.po' under directory 'pyramid_mako'
warning: no files found matching '*.ini' under directory 'pyramid_mako'

Requirement already satisfied (use --upgrade to upgrade): pyramid in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid-mako) Downloading/unpacking Mako>=0.8 (from pyramid-mako) Downloading Mako-1.0.1.tar.gz (473Kb): 473Kb downloaded Running setup.py egg_info for package Mako

warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'

Requirement already satisfied (use --upgrade to upgrade): distribute in /home/pi/Development/env/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): WebOb>=1.3.1 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): repoze.lru>=0.4 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.8.0 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): zope.deprecation>=3.5.0 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): venusian>=1.0a3 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): translationstring>=0.4 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Requirement already satisfied (use --upgrade to upgrade): PasteDeploy>=1.5.0 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid->pyramid-mako) Installing collected packages: pyramid-mako, Mako Running setup.py install for pyramid-mako

warning: no files found matching '*.*_tmpl' under directory 'pyramid_mako'
warning: no files found matching '*.ico' under directory 'pyramid_mako'
warning: no files found matching '*.png' under directory 'pyramid_mako'
warning: no files found matching '*.pot' under directory 'pyramid_mako'
warning: no files found matching '*.cfg' under directory 'pyramid_mako'
warning: no files found matching '*.mo' under directory 'pyramid_mako'
warning: no files found matching '*.po' under directory 'pyramid_mako'
warning: no files found matching '*.ini' under directory 'pyramid_mako'

Running setup.py install for Mako deleting Mako.egg-info/requires.txt File "/home/pi/Development/env/lib/python3.2/site-packages/mako/ext/babelplugin.py", line 17 'comment-tags': u' '.join(comment_tags), ^ SyntaxError: invalid syntax

warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'
Installing mako-render script to /home/pi/Development/env/bin

Successfully installed pyramid-mako Mako Cleaning up... pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: waitress pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pip install waitress Downloading/unpacking waitress Downloading waitress-0.8.9.tar.gz (121Kb): 121Kb downloaded Running setup.py egg_info for package waitress

Requirement already satisfied (use --upgrade to upgrade): distribute in /home/pi/Development/env/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg (from waitress) Installing collected packages: waitress Running setup.py install for waitress

Installing waitress-serve script to /home/pi/Development/env/bin

Successfully installed waitress Cleaning up... pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini Traceback (most recent call last): File "../bin/initialize_raspistillweb_db", line 5, in from pkg_resources import load_entry_point File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 2708, in working_set.require(requires) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/home/pi/Development/env/local/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pyramid-debugtoolbar pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pip install pyramid-debugtoolbar Downloading/unpacking pyramid-debugtoolbar Downloading pyramid_debugtoolbar-2.3.tar.gz (3.0Mb): 3.0Mb downloaded Running setup.py egg_info for package pyramid-debugtoolbar

Requirement already satisfied (use --upgrade to upgrade): pyramid>=1.2dev in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): pyramid-mako>=0.3.1 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): repoze.lru in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid-debugtoolbar) Downloading/unpacking Pygments<=1.99 (from pyramid-debugtoolbar) Downloading Pygments-1.6.tar.gz (1.4Mb): 1.4Mb downloaded Running setup.py egg_info for package Pygments

Requirement already satisfied (use --upgrade to upgrade): distribute in /home/pi/Development/env/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg (from pyramid>=1.2dev->pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): WebOb>=1.3.1 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid>=1.2dev->pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.8.0 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid>=1.2dev->pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): zope.deprecation>=3.5.0 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid>=1.2dev->pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): venusian>=1.0a3 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid>=1.2dev->pyramid-debugtoolbar)

Am 31.05.2015 um 21:14 schrieb Tim Jungnickel notifications@github.com:

But you did run the setup, right? ../bin/python setup.py develop

the setup should install sqlalchemy via pip

� Reply to this email directly or view it on GitHub.

torstenhaase commented 9 years ago

Ok, I just wanted to leave when it finished. I finished the install. Attached is the last part of the log.

Regards Torsten

Requirement already satisfied (use --upgrade to upgrade): translationstring>=0.4 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid>=1.2dev->pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): PasteDeploy>=1.5.0 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid>=1.2dev->pyramid-debugtoolbar) Requirement already satisfied (use --upgrade to upgrade): Mako>=0.8 in /home/pi/Development/env/lib/python3.2/site-packages (from pyramid-mako>=0.3.1->pyramid-debugtoolbar) Installing collected packages: pyramid-debugtoolbar, Pygments Running setup.py install for pyramid-debugtoolbar

Running setup.py install for Pygments Skipping implicit fixer: buffer Skipping implicit fixer: idioms Skipping implicit fixer: set_literal Skipping implicit fixer: ws_comma

Installing pygmentize script to /home/pi/Development/env/bin

Successfully installed pyramid-debugtoolbar Pygments Cleaning up... pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/initialize_raspistillweb_db development.ini 2015-05-31 19:44:23,053 INFO [sqlalchemy.engine.base.Engine][MainThread] SELECT CAST('test plain returns' AS VARCHAR(60)) AS anon_1 2015-05-31 19:44:23,058 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,068 INFO [sqlalchemy.engine.base.Engine][MainThread] SELECT CAST('test unicode returns' AS VARCHAR(60)) AS anon_1 2015-05-31 19:44:23,072 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,099 INFO [sqlalchemy.engine.base.Engine][MainThread] PRAGMA table_info("models") 2015-05-31 19:44:23,103 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,110 INFO [sqlalchemy.engine.base.Engine][MainThread] PRAGMA table_info("timelapse") 2015-05-31 19:44:23,115 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,123 INFO [sqlalchemy.engine.base.Engine][MainThread] PRAGMA table_info("settings") 2015-05-31 19:44:23,127 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,156 INFO [sqlalchemy.engine.base.Engine][MainThread] CREATE TABLE models ( id INTEGER NOT NULL, filename TEXT, image_effect TEXT, exposure_mode TEXT, awb_mode TEXT, resolution TEXT, "ISO" INTEGER, exposure_time TEXT, date TEXT, timestamp TEXT, filesize INTEGER, PRIMARY KEY (id) )

2015-05-31 19:44:23,162 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,425 INFO [sqlalchemy.engine.base.Engine][MainThread] COMMIT 2015-05-31 19:44:23,431 INFO [sqlalchemy.engine.base.Engine][MainThread] CREATE UNIQUE INDEX my_index ON models (filename) 2015-05-31 19:44:23,434 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,520 INFO [sqlalchemy.engine.base.Engine][MainThread] COMMIT 2015-05-31 19:44:23,533 INFO [sqlalchemy.engine.base.Engine][MainThread] CREATE TABLE timelapse ( id INTEGER NOT NULL, filename TEXT, "timeStart" TEXT, image_effect TEXT, exposure_mode TEXT, awb_mode TEXT, "timeEnd" TEXT, PRIMARY KEY (id) )

2015-05-31 19:44:23,536 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,623 INFO [sqlalchemy.engine.base.Engine][MainThread] COMMIT 2015-05-31 19:44:23,637 INFO [sqlalchemy.engine.base.Engine][MainThread] CREATE TABLE settings ( id INTEGER NOT NULL, image_width INTEGER, image_height INTEGER, timelapse_interval INTEGER, timelapse_time INTEGER, exposure_mode TEXT, image_effect TEXT, awb_mode TEXT, "image_ISO" TEXT, image_rotation TEXT, PRIMARY KEY (id) )

2015-05-31 19:44:23,642 INFO [sqlalchemy.engine.base.Engine][MainThread]() 2015-05-31 19:44:23,732 INFO [sqlalchemy.engine.base.Engine][MainThread] COMMIT 2015-05-31 19:44:23,856 INFO [sqlalchemy.engine.base.Engine][MainThread] BEGIN (implicit) 2015-05-31 19:44:23,888 INFO [sqlalchemy.engine.base.Engine][MainThread] INSERT INTO models (filename, image_effect, exposure_mode, awb_mode, resolution, "ISO", exposure_time, date, timestamp, filesize) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 2015-05-31 19:44:23,891 INFO [sqlalchemy.engine.base.Engine]MainThread 2015-05-31 19:44:23,926 INFO [sqlalchemy.engine.base.Engine][MainThread] INSERT INTO timelapse (filename, "timeStart", image_effect, exposure_mode, awb_mode, "timeEnd") VALUES (?, ?, ?, ?, ?, ?) 2015-05-31 19:44:23,929 INFO [sqlalchemy.engine.base.Engine]MainThread 2015-05-31 19:44:23,963 INFO [sqlalchemy.engine.base.Engine][MainThread] INSERT INTO settings (image_width, image_height, timelapse_interval, timelapse_time, exposure_mode, image_effect, awb_mode, "image_ISO", image_rotation) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) 2015-05-31 19:44:23,966 INFO [sqlalchemy.engine.base.Engine][MainThread](800, 600, 4000, 20000,) 2015-05-31 19:44:23,987 INFO [sqlalchemy.engine.base.Engine][MainThread] COMMIT pi@raspberrypi ~/Development/env/raspistillWeb $ ../bin/pserve development.ini

Am 31.05.2015 um 21:14 schrieb Tim Jungnickel notifications@github.com:

But you did run the setup, right? ../bin/python setup.py develop

the setup should install sqlalchemy via pip

� Reply to this email directly or view it on GitHub.

torstenhaase commented 9 years ago

Hi Tim,

last post for today. Unfortunately the autostart didn't work :( attached as usual the log. Looks like a problem with the path but I have no time left for investigating. I'll try later.

Regards Torsten

pi@raspberrypi ~/Development/env/raspistillWeb $ sudo nano /etc/init.d/raspistillweb pi@raspberrypi ~/Development/env/raspistillWeb $ sudo chmod 755 /etc/init.d/raspistillweb pi@raspberrypi ~/Development/env/raspistillWeb $ sudo update-rc.d /etc/init.d/raspistillweb defaults update-rc.d: using dependency based boot sequencing update-rc.d: error: unable to read /etc/init.d//etc/init.d/raspistillweb

TimJuni commented 9 years ago

unable to read /etc/init.d//etc/init.d/raspistillweb

there are two // after the init.d

as you have said, its probably a path problem.

torstenhaase commented 9 years ago

Hi Tim, I found some time to test your software. The right command for starting it is:

pi@raspberrypi ~/Development/env/raspistillWeb $ sudo update-rc.d raspistillweb defaults update-rc.d: using dependency based boot sequencing insserv: warning: script 'raspistillweb' missing LSB tags and overrides

I just rebooted the pi and it does work!

Regards Torsten

torstenhaase commented 9 years ago

Hi Tim,

now that the autostart feature does work it would be great if you could shut down the pi from your web interface. Could you add a button for "reboot" and "shutdown"? That way you won't need to open a ssh connection for shutdown.

Thanks & Regards Torsten