Message boards : Server programs : ./test/test_sanity.py fails
Message board moderation
Author | Message |
---|---|
Send message Joined: 8 Aug 06 Posts: 30 |
I'm trying to set up a BOINC server. This is what I get after ./test/test_sanity.py -- Testing framework sanity -------------------------------------------------- Traceback (most recent call last): File "./test/test_sanity.py", line 34, in <module> test_msg("framework sanity") File "/home/boincadm/boinc-v2/test/testbase.py", line 759, in test_msg test_init() File "/home/boincadm/boinc-v2/test/testbase.py", line 30, in test_init os.chdir(os.path.join(os.getenv('srcdir'),'test')) File "/usr/lib/python2.7/posixpath.py", line 68, in join elif path == '' or path.endswith('/'): AttributeError: 'NoneType' object has no attribute 'endswith' Exception thrown - bug in test scripts? ERRORS.COUNT: 1 Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/boincadm/boinc-v2/test/testbase.py", line 788, in osexit_test_done os._exit(test_done()) File "/home/boincadm/boinc-v2/test/testbase.py", line 772, in test_done if options.delete_testbed == 'always': AttributeError: Options instance has no attribute 'delete_testbed' Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/boincadm/boinc-v2/test/testbase.py", line 788, in osexit_test_done os._exit(test_done()) File "/home/boincadm/boinc-v2/test/testbase.py", line 772, in test_done if options.delete_testbed == 'always': AttributeError: Options instance has no attribute 'delete_testbed' This is how I tried to set up the server: apt-cache search "^language-pack-[a-z][a-z]$" sudo apt-get update sudo apt-get install language-pack-fi sudo apt-get upgrade sudo nano ~/.bash_profile ---- export LC_CTYPE="fi_FI.UTF-8" ---- sudo nano /etc/default/useradd ---- SHELL=/bin/bash HOME=/home ---- sudo useradd -d /home/boincadm -m boincadm sudo passwd boincadm sudo passwd root sudo nano /etc/sudoers ---- # User privilege specification root ALL=(ALL:ALL) ALL boincadm ALL=(ALL) ALL ---- su boincadm cd /home/boincadm sudo usermod -aG boincadm www-data sudo apt-get install git build-essential apache2 php5 mysql-server php5-gd php5-cli php5-mysql python-mysqldb libtool automake autoconf pkg-config libmysql++-dev libssl-dev git clone git://boinc.berkeley.edu/boinc-v2.git mysql -u root -p GRANT ALL ON *.* TO 'boincadm'@'localhost'; SELECT * FROM mysql.user WHERE user='boincadm'; EXIT cd boinc-v2 ./_autosetup ./configure --enable-server --disable-client --disable-manager make ./test/test_sanity.py |
Send message Joined: 4 Jul 12 Posts: 321 |
I saw your mail on boinc_projects, but I'm very busy this week. So here is it in short. Everything in test/ is old and deprecated. If make succeeds than you have a (somehow) working source and can run make_project with the appropriate options. Options are here: http://boinc.berkeley.edu/trac/wiki/MakeProject A more explainative tutorial-like description is in the cookbook: http://boinc.berkeley.edu/trac/wiki/CreateProjectCookbook This is for Debain based systems! You may have to change some commands for other distributions. Regards Christian |
Send message Joined: 8 Aug 06 Posts: 30 |
I saw your mail on boinc_projects, but I'm very busy this week. So here is it in short. Everything in test/ is old and deprecated. If make succeeds than you have a (somehow) working source and can run make_project with the appropriate options. Options are here: http://boinc.berkeley.edu/trac/wiki/MakeProject Thanks for the reply. I got it to work! It just works. :) |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.