-python interpreter exceptions are now redirected to a file so

we can see messages related to indentation errors etc. File should
 be useful for devel purposes only.
-a merge with the 1.8.2 branch incorrectly changed the version string. Fixed.
This commit is contained in:
martin 2011-06-08 12:33:38 -04:00
parent ad3ef3ec30
commit 50ff1984f2
4 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
PRODUCT_ID=Airtime PRODUCT_ID=Airtime
PRODUCT_RELEASE=1.8.2 PRODUCT_RELEASE=1.9.0

View file

@ -12,6 +12,6 @@ exec 2>&1
export PYTHONPATH=${api_client_path} export PYTHONPATH=${api_client_path}
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr # Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
exec python -u ${media_monitor_path}${media_monitor_script} exec python -u ${media_monitor_path}${media_monitor_script} > /var/log/airtime/media-monitor/py-interpreter.log 2>&1
# EOF # EOF

View file

@ -13,6 +13,6 @@ export HOME="/var/tmp/airtime/pypo/"
export PYTHONPATH=${api_client_path}:$PYTHONPATH export PYTHONPATH=${api_client_path}:$PYTHONPATH
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr # Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
exec python -u ${pypo_path}${pypo_script} exec python -u ${pypo_path}${pypo_script} > /var/log/airtime/pypo/py-interpreter.log 2>&1
# EOF # EOF

View file

@ -18,6 +18,6 @@ export PYTHONPATH=${api_client_path}
#this line works: su ${recorder_user} -c "python -u ${recorder_path}${recorder_script}" #this line works: su ${recorder_user} -c "python -u ${recorder_path}${recorder_script}"
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr # Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
exec python -u ${recorder_path}${recorder_script} exec python -u ${recorder_path}${recorder_script} > /var/log/airtime/show-recorder/py-interpreter.log 2>&1
# EOF # EOF