Bug #430
xboa accelerator tools installs to wrong directory:
Added by Tunnell, Christopher over 12 years ago.
Updated about 10 years ago.
Description
example:
-bash-3.2$ pwd
/home/hep/tunnell/maus/third_party/home/hep/tunnell/maus/third_party/install/share/xboa
-bash-3.2$ ls
data doc
this is on the RAL machines.
- Target version changed from MAUS-v0.0.1 to Future MAUS release
Is this worth me trying to include xboa to the build system again?
I thought it's only the documentation and some sample files going to the wrong place - the code should install okay. There was some problem with setup.py so I hard coded the url of the share directory (which is what is going wrong).
If you look at setup.py
http://micewww.pp.rl.ac.uk/projects/x-boa/repository/entry/setup.py
There's:
sys.prefix+'/share/xboa/doc/'
sys.prefix+'/share/xboa/data/'
So the examples won't run properly and the docs will be hard to reach. But otherwise should be okay.
- Status changed from Open to Rejected
- % Done changed from 0 to 100
I can't reproduce this bug. I checked (i) that xboa installs to correct directory and (ii) that xboa.examples.Example_1 gets file from correct directory (in this case $MAUS_ROOT_DIR/third_party/install/share/xboa).
- Status changed from Rejected to Open
- % Done changed from 100 to 0
No, too easy. It's picking up the share directory of whoever last ran
python setup.py sdist
... reopened.
Excerpt, for example, from log of MAUS_trunk build on test server - note /var/lib/... .../third_party/var/lib/.../
creating /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var
...
creating /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/install/share/xboa/doc
copying README -> /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/install/share/xboa/doc/
...
copying doc/Common.html -> /var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/var/lib/jenkins/jobs/MAUS_trunk/workspace/third_party/install/share/xboa/doc/
code is installed okay though:
copying build/lib.linux-x86_64-2.7/xboa/core/Hitcore.so -> /var/lib/jenkins/jobs/MAUS_rogers/workspace/third_party/install/lib/python2.7/site-packages/xboa/core
...
copying build/lib.linux-x86_64-2.7/xboa/test/BunchTest.py -> /var/lib/jenkins/jobs/MAUS_rogers/workspace/third_party/install/lib/python2.7/site-packages/xboa/test
Fixed mysteriously as part of #1240
- Status changed from Open to Rejected
Also available in: Atom
PDF