I am attempting a new install. I am new to mariadb so this may be a database setup problem.
I am running on Debian 8 unstable. I am trying to install for development purpose, not production.
Where can I find out more about the error shown in this terminal output?
learn@kalinisan:~$ bench init frappe-bench
Already using interpreter /usr/bin/python
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-53ciO7-build
Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/learn/bench-repo/bench/cli.py”, line 56, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 664, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 644, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/learn/bench-repo/bench/cli.py”, line 161, in init
no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch)
File “/home/learn/bench-repo/bench/utils.py”, line 56, in init
setup_env(bench=path)
File “/home/learn/bench-repo/bench/utils.py”, line 87, in setup_env
exec_cmd(‘./env/bin/pip -q install https://github.com/frappe/MySQLdb1/archive/MySQLdb-1.2.5-patched.tar.gz’, cwd=bench)
File “/home/learn/bench-repo/bench/utils.py”, line 79, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘./env/bin/pip -q install https://github.com/frappe/MySQLdb1/archive/MySQLdb-1.2.5-patched.tar.gz’ returned non-zero exit status 1
---------------------------end of terminal output-------------
The following is the bench-repo install terminal output:
root@kalinisan:/home/learn# pip install -e /home/learn/bench-repo
Obtaining file:///home/learn/bench-repo
Running setup.py (path:/home/learn/bench-repo/setup.py) egg_info for package from file:///home/learn/bench-repo
file bench.py (for module bench) not found
Downloading/unpacking Click (from bench==0.1)
Downloading click-4.0-py2.py3-none-any.whl (62kB): 62kB downloaded
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/lib/python2.7/dist-packages (from bench==0.1)
Downloading/unpacking virtualenv (from bench==0.1)
Downloading virtualenv-13.1.0-py2.py3-none-any.whl (1.7MB): 1.7MB downloaded
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from bench==0.1)
Downloading/unpacking honcho (from bench==0.1)
Downloading honcho-0.6.6-py2.py3-none-any.whl
Downloading/unpacking semantic-version (from bench==0.1)
Downloading semantic_version-2.4.2.tar.gz
Running setup.py (path:/tmp/pip-build-jFWdJD/semantic-version/setup.py) egg_info for package semantic-version
no previously-included directories found matching 'docs/_build'
Downloading/unpacking GitPython==0.3.2.RC1 (from bench==0.1)
Downloading GitPython-0.3.2.RC1.tar.gz (313kB): 313kB downloaded
Running setup.py (path:/tmp/pip-build-jFWdJD/GitPython/setup.py) egg_info for package GitPython
/usr/lib/python2.7/dist-packages/setuptools/dist.py:294: UserWarning: The version specified (‘0.3.2 RC1’) is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
“details.” % self.metadata.version
warning: no files found matching 'README'
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/lib/python2.7/dist-packages (from jinja2->bench==0.1)
Downloading/unpacking gitdb>=0.5.1 (from GitPython==0.3.2.RC1->bench==0.1)
Downloading gitdb-0.6.4.tar.gz (400kB): 400kB downloaded
Running setup.py (path:/tmp/pip-build-jFWdJD/gitdb/setup.py) egg_info for package gitdb
Downloading/unpacking smmap>=0.8.5 (from gitdb>=0.5.1->GitPython==0.3.2.RC1->bench==0.1)
Downloading smmap-0.9.0.tar.gz
Running setup.py (path:/tmp/pip-build-jFWdJD/smmap/setup.py) egg_info for package smmap
Installing collected packages: Click, virtualenv, honcho, semantic-version, GitPython, bench, gitdb, smmap
Running setup.py install for semantic-version
no previously-included directories found matching 'docs/_build'
Running setup.py install for GitPython
/usr/lib/python2.7/dist-packages/setuptools/dist.py:294: UserWarning: The version specified (‘0.3.2 RC1’) is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
“details.” % self.metadata.version
warning: no files found matching 'README'
Running setup.py develop for bench
file bench.py (for module bench) not found
Creating /usr/local/lib/python2.7/dist-packages/bench.egg-link (link to .)
Adding bench 0.1 to easy-install.pth file
Installing bench script to /usr/local/bin
Installed /home/learn/bench-repo
Running setup.py install for gitdb
building ‘gitdb._perf’ extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Igitdb -I/usr/include/python2.7 -c gitdb/_fun.c -o build/temp.linux-x86_64-2.7/gitdb/_fun.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Igitdb -I/usr/include/python2.7 -c gitdb/_delta_apply.c -o build/temp.linux-x86_64-2.7/gitdb/_delta_apply.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/gitdb/_fun.o build/temp.linux-x86_64-2.7/gitdb/_delta_apply.o -o build/lib.linux-x86_64-2.7/gitdb/_perf.so
Running setup.py install for smmap
Successfully installed Click virtualenv honcho semantic-version GitPython bench gitdb smmap
Cleaning up…
root@kalinisan:/home/learn# exit
-------------------- end of terminal output ---------------------
Thanks in advance.