On 2012-05-22 11:10 , Geenz Spad wrote:
So, in the process of setting up a new build environment on OS X, I
seem to have come across a little problem that I've never encountered
before with regards to setting up autobuild.
Assuming I've added autobuild to my PATH variable, I always tend to
get the following error regardless of where autobuild is executed
(i.e., whether it's a directory containing proper autobuild packages
or not), and the parameters given to it (such as build, clean, etc.):
Geenzs-MacBook-Pro:~ geenz$ autobuild
WARNING:autobuild.common:extracting from
llbase-0.2.0-darwin-20100225.tar.bz2
Traceback (most recent call last):
File "/Users/geenz/Devel/autobuild/bin/autobuild", line 38, in <module>
from autobuild import autobuild_main
File "/Users/geenz/Devel/autobuild/autobuild/autobuild_main.py",
line 25, in <module>
import common
File "/Users/geenz/Devel/autobuild/autobuild/common.py", line 647,
in <module>
Bootstrap()
File "/Users/geenz/Devel/autobuild/autobuild/common.py", line 642,
in __init__
raise AutobuildError("invalid 'pathcheck' setting for '%s'" % name)
autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'llbase'
The same error crops up regardless of python version. Any ideas on
what's causing this, and how it can be fixed? First glance seems to
suggest that it's attempting to extract things from an archive that
may not even exist.
There is a bootstrap process that downloads and installs autobuild
dependencies the first time you run it.
Look for /var/tmp/<username>/install.cache and /var/tmp/<username>/autobuild
in the install.cache, there should be:
* llbase-0.2.0-darwin-20100225.tar.bz2
* boto-1.9b-common-20100414.tar.bz2
* argparse-1.1-common-20100415.tar.bz2
(the 'darwin' above will be 'windows' or 'linux' depending on the platform)
It may be that your initial bootstrap process ran into some problem.
You can force it to re-run by deleting both of those directories (it
would be interesting to know if those tar.bz2 files are there and if the
md5 hashes for them match the values in autobuild/common.py )
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges