Hello, On 01/23/2012 06:26 PM, melchiaros wrote: > Package: boinc-server-maker > Version: 7.0.11+dfsg-1 > Severity: important > > Dear Maintainer, > > Hi, I am trying to settup a BOINC-Server and have used for this boinc-server- > maker 7.0.7+dfsg-1 with the workflow described here:
I apologize for the delay. My initial reaction was that I would like you to install the Debian package directly. It was 7.0.8 that the server build saw some extra light, if I am not erroneous. > http://wiki.debian.org/BOINC/ServerGuide The right page. > After performing: > > sudo PYTHONPATH=$PYTHONPATH:/usr/share/pyshared/Boinc/ \ > /usr/share/boinc-server/tools/make_project \ > --url_base "$hosturl" --db_name "$dbprojectname" \ > --db_user boincadm --db_passwd "$pw" \ > --drop_db_first \ > --project_root "$installroot"/"$fileprojectname" \ > --srcdir /usr/share/boinc-server/ \ > "$fileprojectname" "$niceprojectname" That line above is somewhat unfortunate in several ways. For one, we should find ways not to use sudo. And secondly, the PYTHONPATH environment variable should possibly be adjusted once and for all and not just for that make_project invocation. So, there is some room for development here, not only because of the problem you experienced. Anyway. The above line just works for me, with a non-existing PYTHONPATH: $ env|grep PYTH $ sudo PYTHONPATH=$PYTHONPATH:/usr/share/pyshared/Boinc/ \ > /usr/share/boinc-server/tools/make_project \ > --url_base "$hosturl" --db_name "$dbprojectname" \ > --db_user boincadm --db_passwd "$pw" \ > --drop_db_first \ > --project_root "$installroot"/"$fileprojectname" \ > --srcdir /usr/share/boinc-server/ \ > "$fileprojectname" "$niceprojectname" Creating project 'BoincTestProject@Home' (short name 'boinctest'): PROJECT_ROOT = /var/tmp/boinc/boinctest/ URL_BASE = http://boincserver.dyndns.org/ HTML_USER_URL = http://boincserver.dyndns.org/boinctest/ HTML_OPS_URL = http://boincserver.dyndns.org/boinctest_ops/ CGI_URL = http://boincserver.dyndns.org/boinctest_cgi/ KEY_DIR = /var/tmp/boinc/boinctest/keys/ DB_NAME = boinctest DB_HOST = Project root already exists! Specify --delete_prev_inst --drop_db_first to clobber I was executing it only one or two weeks ago. The site gets up. > I got on terminal: > > Traceback (most recent call last): > File "/usr/share/boinc-server/tools/make_project", line 6, in <module> > import boinc_path_config > ImportError: No module named boinc_path_config Well, do you have it in the first place? It is part of the boinc-server-maker package $ dpkg -L boinc-server-maker |grep boinc_path_config /usr/share/pyshared/Boinc/boinc_path_config.py In deep principle, PYTHONPATH should not be required to be ever adjusted in the first place. Well, the reason most likely is that upstream does not separate anything out of the regular source tree and I on my side never cared enough to get it fixed. Help is welcome. I presume it is python-support hat creates this link $ ls -l /usr/lib/pymodules/python2.7/Boinc/boinc_path_config.py lrwxrwxrwx 1 root root 46 Jan 23 21:57 /usr/lib/pymodules/python2.7/Boinc/boinc_path_config.py -> /usr/share/pyshared/Boinc/boinc_path_config.py and which lets it disappear again upon removal $ sudo dpkg --purge boinc-server-maker (Reading database ... 238074 files and directories currently installed.) Removing boinc-server-maker ... dpkg: warning: while removing boinc-server-maker, directory '/usr/share/pyshared/Boinc' not empty so not removed. dpkg: warning: while removing boinc-server-maker, directory '/usr/share/boinc-server/py/Boinc' not empty so not removed. dpkg: warning: while removing boinc-server-maker, directory '/usr/share/boinc-server/tools' not empty so not removed. Processing triggers for python-support ... Processing triggers for man-db ... $ ls -l /usr/lib/pymodules/python2.7/Boinc/boinc_path_config.py ls: cannot access /usr/lib/pymodules/python2.7/Boinc/boinc_path_config.py: No such file or directory > Which stops the settup process. Ok. I hope to have given you some thoughts about how to continue. Please close the bug with an email to 657036-d...@bugs.debian.org as soon as you can. > I have to say that I am faking a bit. Indeed I am on Ubuntu12.04 with this > package and try it there, because MYSQL,Apache and Joomla is already up there. > Hope you a willing to help me out looking beside this (the debian package is > not altered by ubuntu developers). Yip. We are in close contact. I am only a bit crazy these days with a steady flow of updates for development versions. > If you like to look at my ubuntu report(do not think that they maintain on > this > package): > > https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/920554 same thing :) Please also get that resolved. When there is something coming to mind that you think the instructions should mention - tell me. Cheers, Steffen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org