On Mon, Jun 9, 2014 at 12:00 PM, Rohit Waghchaure
<
ro...@indictranstech.com> wrote:
> Hi,
>
> At the time of installation, when i enter command ./scripts/install.sh
> single
cadencewatch.com cadencewatch
> I got a following error:
>
> ro...@cadencewatches:~/frappe/frappe-bench# ./scripts/install.sh single
>
cadencewatch.com cadencewatch
> New python executable in env/bin/python2.7
> Not overwriting existing python script env/bin/python (you must use
> env/bin/python2.7)
> Installing setuptools, pip...done.
> Error: Obtaining file:///root/frappe/frappe-bench/apps/frappe
> Running setup.py (path:/root/frappe/frappe-bench/apps/frappe/setup.py)
> egg_info for package from file:///root/frappe/frappe-bench/apps/frappe
>
> warning: no files found matching '*.json'
> warning: no previously-included files matching '*.pyc' found under
> directory '*'
> Requirement already satisfied (use --upgrade to upgrade): chardet in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): cssmin in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): dropbox in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): gunicorn in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): httplib2 in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): jinja2 in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): markdown2 in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Requirement already satisfied (use --upgrade to upgrade): markupsafe in
> /root/frappe/frappe-bench/env/lib/python2.7/site-packages (from
> frappe==4.0.1)
> Downloading/unpacking mysql-python (from frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/mysql-python/setup.py) egg_info
> for package mysql-python
>
> Downloading/unpacking pygeoip (from frappe==4.0.1)
> Downloading pygeoip-0.3.1-py2.py3-none-any.whl
> Downloading/unpacking python-dateutil (from frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/python-dateutil/setup.py) egg_info
> for package python-dateutil
>
> Downloading/unpacking python-memcached (from frappe==4.0.1)
> Downloading python-memcached-1.53.tar.gz
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/python-memcached/setup.py)
> egg_info for package python-memcached
>
> warning: no files found matching '*.rst'
> warning: no files found matching '*.txt'
> warning: no files found matching 'MakeFile'
> warning: no previously-included files matching '*.pyc' found anywhere in
> distribution
> warning: no previously-included files matching '.gitignore' found
> anywhere in distribution
> warning: no previously-included files matching '.DS_Store' found
> anywhere in distribution
> Downloading/unpacking pytz==2013d (from frappe==4.0.1)
> Running setup.py (path:/root/frappe/frappe-bench/env/build/pytz/setup.py)
> egg_info for package pytz
>
> warning: no files found matching '*.pot' under directory 'pytz'
> warning: no previously-included files found matching 'test_zdump.py'
> Downloading/unpacking six (from frappe==4.0.1)
> Downloading six-1.7.2-py2.py3-none-any.whl
> Downloading/unpacking slugify (from frappe==4.0.1)
> Downloading slugify-0.0.1.tar.gz
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/slugify/setup.py) egg_info for
> package slugify
>
> Downloading/unpacking termcolor (from frappe==4.0.1)
> Downloading termcolor-1.1.0.tar.gz
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/termcolor/setup.py) egg_info for
> package termcolor
>
> Downloading/unpacking werkzeug (from frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/werkzeug/setup.py) egg_info for
> package werkzeug
>
> warning: no files found matching '*' under directory
> 'werkzeug/debug/templates'
> warning: no files found matching '*' under directory 'tests'
> warning: no previously-included files matching '*.pyc' found under
> directory 'docs'
> warning: no previously-included files matching '*.pyo' found under
> directory 'docs'
> warning: no previously-included files matching '*.pyc' found under
> directory 'tests'
> warning: no previously-included files matching '*.pyo' found under
> directory 'tests'
> warning: no previously-included files matching '*.pyc' found under
> directory 'examples'
> warning: no previously-included files matching '*.pyo' found under
> directory 'examples'
> no previously-included directories found matching 'docs/_build'
> Downloading/unpacking semantic-version (from frappe==4.0.1)
> Downloading semantic_version-2.3.0.tar.gz
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/semantic-version/setup.py)
> egg_info for package semantic-version
>
> no previously-included directories found matching 'docs/_build'
> Downloading/unpacking lxml (from frappe==4.0.1)
> Running setup.py (path:/root/frappe/frappe-bench/env/build/lxml/setup.py)
> egg_info for package lxml
> /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
> distribution option: 'bugtrack_url'
> warnings.warn(msg)
> Building lxml version 3.3.5.
> Building without Cython.
> Using build configuration of libxslt 1.1.28
>
> warning: no previously-included files found matching '*.py'
> Downloading/unpacking inlinestyler (from frappe==4.0.1)
> Downloading inlinestyler-0.1.7.tar.gz
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/inlinestyler/setup.py) egg_info
> for package inlinestyler
>
> Downloading/unpacking rauth>=0.6.2 (from frappe==4.0.1)
> Downloading rauth-0.7.0.tar.gz
> Running setup.py (path:/root/frappe/frappe-bench/env/build/rauth/setup.py)
> egg_info for package rauth
>
> Downloading/unpacking requests==1.2.3 (from frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/requests/setup.py) egg_info for
> package requests
>
> Downloading/unpacking celery (from frappe==4.0.1)
> Downloading/unpacking redis (from frappe==4.0.1)
> Running setup.py (path:/root/frappe/frappe-bench/env/build/redis/setup.py)
> egg_info for package redis
>
> warning: no previously-included files found matching '__pycache__'
> warning: no previously-included files matching '*.pyc' found under
> directory 'tests'
> Downloading/unpacking selenium (from frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/selenium/setup.py) egg_info for
> package selenium
>
> Downloading/unpacking urllib3 (from dropbox->frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/urllib3/setup.py) egg_info for
> package urllib3
>
> Downloading/unpacking cssutils (from inlinestyler->frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/cssutils/setup.py) egg_info for
> package cssutils
>
> Downloading/unpacking kombu>=3.0.15,<4.0 (from celery->frappe==4.0.1)
> Downloading/unpacking billiard>=3.3.0.17,<3.4 (from celery->frappe==4.0.1)
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/billiard/setup.py) egg_info for
> package billiard
>
> warning: no files found matching '*.py' under directory 'Lib'
> Downloading/unpacking amqp>=1.4.5,<2.0 (from
> kombu>=3.0.15,<4.0->celery->frappe==4.0.1)
> Downloading/unpacking anyjson>=0.3.3 (from
> kombu>=3.0.15,<4.0->celery->frappe==4.0.1)
> Downloading anyjson-0.3.3.tar.gz
> Running setup.py
> (path:/root/frappe/frappe-bench/env/build/anyjson/setup.py) egg_info for
> package anyjson
>
> Installing collected packages: mysql-python, pygeoip, python-dateutil,
> python-memcached, pytz, six, slugify, termcolor, werkzeug, semantic-version,
> lxml, inlinestyler, rauth, requests, celery, redis, selenium, frappe,
> urllib3, cssutils, kombu, billiard, amqp, anyjson
> Running setup.py install for mysql-python
> building '_mysql' extension
> x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
> -O2 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,5,'final',1)
> -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c
> _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -fno-omit-frame-pointer -g
> -pipe -Wno-uninitialized -g -static-libgcc -fno-omit-frame-pointer
> -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
> In file included from _mysql.c:44:0:
> /usr/include/mysql/my_config.h:439:0: warning: "HAVE_WCSCOLL" redefined
> [enabled by default]
> #define HAVE_WCSCOLL
> ^
> In file included from /usr/include/python2.7/pyconfig.h:3:0,
> from /usr/include/python2.7/Python.h:8,
> from _mysql.c:29:
> /usr/include/x86_64-linux-gnu/python2.7/pyconfig.h:908:0: note: this is
> the location of the previous definition
> #define HAVE_WCSCOLL 1
> ^
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g
> -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
> build/temp.linux-x86_64-2.7/_mysql.o -lmysqlclient_r -lpthread -lz -lm -lssl
> -lcrypto -ldl -o build/lib.linux-x86_64-2.7/_mysql.so
> /usr/bin/ld: cannot find -lssl
> /usr/bin/ld: cannot find -lcrypto
> collect2: error: ld returned 1 exit status
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> Complete output from command /root/frappe/frappe-bench/env/bin/python2.7
> -c "import setuptools,
> tokenize;__file__=u'/root/frappe/frappe-bench/env/build/mysql-python/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-CaA68M-record/install-record.txt
> --single-version-externally-managed --compile --install-headers
> /root/frappe/frappe-bench/env/include/site/python2.7:
> running install
>
> running build
>
> running build_py
>
> creating build
>
> creating build/lib.linux-x86_64-2.7
>
> copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
>
> creating build/lib.linux-x86_64-2.7/MySQLdb
>
> copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
>
> copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
>
> copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
>
> copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
>
> copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
>
> copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
>
> creating build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/__init__.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/CR.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/FIELD_TYPE.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/ER.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/FLAG.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/REFRESH.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> copying MySQLdb/constants/CLIENT.py ->
> build/lib.linux-x86_64-2.7/MySQLdb/constants
>
> running build_ext
>
> building '_mysql' extension
>
> creating build/temp.linux-x86_64-2.7
>
> x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
> -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,5,'final',1)
> -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/python2.7 -c
> _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -fno-omit-frame-pointer -g
> -pipe -Wno-uninitialized -g -static-libgcc -fno-omit-frame-pointer
> -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
>
> In file included from _mysql.c:44:0:
>
> /usr/include/mysql/my_config.h:439:0: warning: "HAVE_WCSCOLL" redefined
> [enabled by default]
>
> #define HAVE_WCSCOLL
>
> ^
>
> In file included from /usr/include/python2.7/pyconfig.h:3:0,
>
> from /usr/include/python2.7/Python.h:8,
>
> from _mysql.c:29:
>
> /usr/include/x86_64-linux-gnu/python2.7/pyconfig.h:908:0: note: this is the
> location of the previous definition
>
> #define HAVE_WCSCOLL 1
>
> ^
>
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
> -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g
> -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
> build/temp.linux-x86_64-2.7/_mysql.o -lmysqlclient_r -lpthread -lz -lm -lssl
> -lcrypto -ldl -o build/lib.linux-x86_64-2.7/_mysql.so
>
> /usr/bin/ld: cannot find -lssl
>
> /usr/bin/ld: cannot find -lcrypto
>
> collect2: error: ld returned 1 exit status
>
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
>
> ----------------------------------------
> Cleaning up...
> Command /root/frappe/frappe-bench/env/bin/python2.7 -c "import setuptools,
> tokenize;__file__=u'/root/frappe/frappe-bench/env/build/mysql-python/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-CaA68M-record/install-record.txt
> --single-version-externally-managed --compile --install-headers
> /root/frappe/frappe-bench/env/include/site/python2.7 failed with error code
> 1 in /root/frappe/frappe-bench/env/build/mysql-python
> Storing debug log for failure in /root/.pip/pip.log
>
> Traceback (most recent call last):
> File "./scripts/virtualenv.py", line 2365, in <module>
> main()
> File "./scripts/virtualenv.py", line 829, in main
> after_install(options, home_dir)
> File "./scripts/virtualenv.py", line 2355, in after_install
> subprocess.check_output('/'.join([home_dir, 'bin', 'pip install -e
> {}/'.format(app['name'])]), shell=True)
> File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
> raise CalledProcessError(retcode, cmd, output=output)
> subprocess.CalledProcessError: Command
> '/root/frappe/frappe-bench/env/bin/pip install -e frappe/' returned non-zero
> exit status 1
>
>
> I tried to resolve the issue but unable to fix it, please provide me the
> solution
>
> Thanks and Regards
> Rohit
>
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at
http://pastebin.com or
http://gist.github.com and send
> only the URL via email
> 3. For sending images, use
http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/erpnext-developer-forum/a153625e-8c01-4c87-857c-5c5333e0298b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.