#733: bloodhound_setup.py fails - "ImportError: No module named trac.util"
-------------------------+--------------------
Reporter: AlecTaylor | Owner: nobody
Type: defect | Status: new
Priority: blocker | Milestone:
Component: installer | Version:
Resolution: | Keywords:
-------------------------+--------------------
Comment (by astaric):
I run your script in a fresh ubuntu virtual machine, and it fails for me
as well.
The problem with the script is, that it executes all steps, even if one of
the intermidient steps fails. You can fix this by adding
{{{
set -e
}}}
before the first line. This way the script will stop execution if any of
the commands fail.
The reason for failure on my machine was, that I was running it as
{{{
sh script.sh
}}}
(sh does not have "source" command, while bash has). Could you add set -e
to the beginning of your script and see if it fails with the same error?
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/733#comment:15>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker