Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

TASK: [ora | install python post-requirements] FAILED #181

Open
mercefan opened this issue Mar 26, 2014 · 0 comments
Open

TASK: [ora | install python post-requirements] FAILED #181

mercefan opened this issue Mar 26, 2014 · 0 comments

Comments

@mercefan
Copy link

When updating edx-ora or ease master. Writing the parts where errors have found: (I don't know how to write this in a short version, sorry) I would appreciate any help about what could I have wrong. Thank you.

TASK: [ora | install python post-requirements] ********************************
EXEC ['/bin/sh', '-c', 'mkdir -p /tmp/ansible-1395826674.68-100316796601152 && chmod a+rx /tmp/ansible-1395826674.68-100316796601152 && echo /tmp/ansible-1395826674.68-100316796601152']
REMOTE_MODULE pip requirements="/edx/app/ora/ora/requirements.txt" virtualenv="/edx/app/ora/venvs/ora" state=present
PUT /tmp/tmpntpcn7 TO /tmp/ansible-1395826674.68-100316796601152/pip
EXEC ['/bin/sh', '-c', 'chmod a+r /tmp/ansible-1395826674.68-100316796601152/pip']
EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=uagbkglrmwqyxzdqkziuvleqhjbcwfqn] password: " -u ora /bin/sh -c '"'"'echo SUDO-SUCCESS-uagbkglrmwqyxzdqkziuvleqhjbcwfqn; /usr
/bin/python /tmp/ansible-1395826674.68-100316796601152/pip'"'"''
EXEC ['/bin/sh', '-c', 'rm -rf /tmp/ansible-1395826674.68-100316796601152/ >/dev/null 2>&1']
failed: [localhost] => {"cmd": "/edx/app/ora/venvs/ora/bin/pip install -r /edx/app/ora/ora/requirements.txt", "failed": true, "item": ""}
msg: stdout: Requirement already satisfied (use --upgrade to upgrade): Django==1.4.3 in /edx/app/ora/venvs/ora/lib/python2.7/site-packages (from -r /edx/app/ora/ora/base_requirements.txt (line 1))
................................
Obtaining ease from git+https://github.com/edx/ease.git@5dbcad331f2c672f0a2dfe6e40e37573ca1c3052#egg=ease (from -r /edx/app/ora/ora/base_requirements.txt (line 16))
Updating /edx/app/ora/venvs/ora/src/ease clone (to 5dbcad331f2c672f0a2dfe6e40e37573ca1c3052)
Could not find a tag or branch '5dbcad331f2c672f0a2dfe6e40e37573ca1c3052', assuming commit.
Running setup.py egg_info for package ease

package init file 'ease/data/nltk_data/__init__.py' not found (or not a regular file)

.......................
building 'matplotlib.ft2font' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/edx/app/ora/venvs/ora/local/l
ib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/freetype2 -I/usr/include/python2.7 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.7/src/ft2font.o
x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.7/README.Bugs for instructions.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
...................................
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/edx/app/ora/venvs/ora/local/lib/p
ython2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/freetype2 -I/usr/include/python2.7 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.7/src/ft2font.o

x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1plus)

Please submit a full bug report,

with preprocessed source if appropriate.

See file:///usr/share/doc/gcc-4.7/README.Bugs for instructions.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 4


Rolling back uninstall of matplotlib
Cleaning up...
Command /edx/app/ora/venvs/ora/bin/python -c "import setuptools;file='/edx/app/ora/venvs/ora/build/matplotlib/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" i
nstall --record /tmp/pip-01z_JW-record/install-record.txt --single-version-externally-managed --install-headers /edx/app/ora/venvs/ora/include/site/python2.7 failed with error code 1 in /edx/app/ora/venv
s/ora/build/matplotlib
Storing complete log in /edx/app/ora/.pip/pip.log
................................
................................
................................
................................
Content of the end of the pip.log file:
...............
Replacing /edx/app/ora/venvs/ora/lib/python2.7/site-packages/pylab.pyc
Cleaning up...

Removing temporary dir /edx/app/ora/venvs/ora/build...
Command /edx/app/ora/venvs/ora/bin/python -c "import setuptools;file='/edx/app/ora/venvs/ora/build/matplotlib/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-01z_JW-record/install-record.txt --single-version-externally-managed --install-headers /edx/app/ora/venvs/ora/include/site/python2.7 failed with error code 1 in /edx/app/ora/venvs/ora/build/matplotlib

Exception information:
Traceback (most recent call last):
File "/edx/app/ora/venvs/ora/local/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/edx/app/ora/venvs/ora/local/lib/python2.7/site-packages/pip/commands/install.py", line 241, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/edx/app/ora/venvs/ora/local/lib/python2.7/site-packages/pip/req.py", line 1298, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/edx/app/ora/venvs/ora/local/lib/python2.7/site-packages/pip/req.py", line 625, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/edx/app/ora/venvs/ora/local/lib/python2.7/site-packages/pip/util.py", line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /edx/app/ora/venvs/ora/bin/python -c "import setuptools;file='/edx/app/ora/venvs/ora/build/matplotlib/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-01z_JW-record/install-record.txt --single-version-externally-managed --install-headers /edx/app/ora/venvs/ora/include/site/python2.7 failed with error code 1 in /edx/app/ora/venvs/ora/build/matplotlib

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant