git clone https://github.com/frappe/frappe-bench cd frappe-bench ./scripts/install.sh migrate_3_to_4 /path/to/old/erpnext
New python executable in env/bin/python2.7Not overwriting existing python script env/bin/python (you must use env/bin/python2.7)Installing setuptools, pip...done.Error: Obtaining file:///root/setup_file/frappe-bench/apps/frappeRunning setup.py (path:/root/setup_file/frappe-bench/apps/frappe/setup.py) egg_info for package from file:///root/setup_file/frappe-bench/apps/frappewarning: 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/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): cssmin in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): dropbox in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): gunicorn in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): httplib2 in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): jinja2 in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): markdown2 in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): markupsafe in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): mysql-python in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): pygeoip in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): python-memcached in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): pytz==2013d in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): six in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): slugify in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): termcolor in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): werkzeug in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Requirement already satisfied (use --upgrade to upgrade): semantic-version in /root/setup_file/frappe-bench/env/lib/python2.7/site-packages (from frappe==4.0.0)Downloading/unpacking lxml (from frappe==4.0.0)Running setup.py (path:/root/setup_file/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.26Building against libxml2/libxslt in the following directory: /usr/lib/x86_64-linux-gnuwarning: no previously-included files found matching '*.py'Downloading/unpacking inlinestyler (from frappe==4.0.0)Downloading inlinestyler-0.1.7.tar.gzRunning setup.py (path:/root/setup_file/frappe-bench/env/build/inlinestyler/setup.py) egg_info for package inlinestylerDownloading/unpacking rauth>=0.6.2 (from frappe==4.0.0)Downloading rauth-0.7.0.tar.gzRunning setup.py (path:/root/setup_file/frappe-bench/env/build/rauth/setup.py) egg_info for package rauthDownloading/unpacking requests==1.2.3 (from frappe==4.0.0)Running setup.py (path:/root/setup_file/frappe-bench/env/build/requests/setup.py) egg_info for package requestsDownloading/unpacking celery (from frappe==4.0.0)Downloading/unpacking redis (from frappe==4.0.0)Running setup.py (path:/root/setup_file/frappe-bench/env/build/redis/setup.py) egg_info for package rediswarning: 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.0)Running setup.py (path:/root/setup_file/frappe-bench/env/build/selenium/setup.py) egg_info for package seleniumDownloading/unpacking urllib3 (from dropbox->frappe==4.0.0)Running setup.py (path:/root/setup_file/frappe-bench/env/build/urllib3/setup.py) egg_info for package urllib3Downloading/unpacking cssutils (from inlinestyler->frappe==4.0.0)Running setup.py (path:/root/setup_file/frappe-bench/env/build/cssutils/setup.py) egg_info for package cssutilsDownloading/unpacking kombu>=3.0.15,<4.0 (from celery->frappe==4.0.0)Downloading/unpacking billiard>=3.3.0.17,<3.4 (from celery->frappe==4.0.0)Running setup.py (path:/root/setup_file/frappe-bench/env/build/billiard/setup.py) egg_info for package billiardwarning: 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.0)Downloading/unpacking anyjson>=0.3.3 (from kombu>=3.0.15,<4.0->celery->frappe==4.0.0)Downloading anyjson-0.3.3.tar.gzRunning setup.py (path:/root/setup_file/frappe-bench/env/build/anyjson/setup.py) egg_info for package anyjsonInstalling collected packages: lxml, inlinestyler, rauth, requests, celery, redis, selenium, frappe, urllib3, cssutils, kombu, billiard, amqp, anyjsonRunning setup.py install for 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.26Building against libxml2/libxslt in the following directory: /usr/lib/x86_64-linux-gnubuilding 'lxml.etree' extensiongcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/root/setup_file/frappe-bench/env/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -wgcc: internal compiler error: Killed (program cc1)Please submit a full bug report,with preprocessed source if appropriate.See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.error: command 'gcc' failed with exit status 4Complete output from command /root/setup_file/frappe-bench/env/bin/python2.7 -c "import setuptools, tokenize;__file__=u'/root/setup_file/frappe-bench/env/build/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nFiMcL-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/setup_file/frappe-bench/env/include/site/python2.7:/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.26Building against libxml2/libxslt in the following directory: /usr/lib/x86_64-linux-gnurunning installrunning buildrunning build_pycreating buildcreating build/lib.linux-x86_64-2.7creating build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxmlcreating build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includescreating build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/htmlcopying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/htmlcreating build/lib.linux-x86_64-2.7/lxml/isoschematroncopying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematroncopying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxmlcopying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includescopying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includescreating build/lib.linux-x86_64-2.7/lxml/isoschematron/resourcescreating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rngcopying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rngcreating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xslcopying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xslcopying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xslcreating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1running build_extbuilding 'lxml.etree' extensioncreating build/temp.linux-x86_64-2.7creating build/temp.linux-x86_64-2.7/srccreating build/temp.linux-x86_64-2.7/src/lxmlgcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/root/setup_file/frappe-bench/env/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -wgcc: internal compiler error: Killed (program cc1)Please submit a full bug report,with preprocessed source if appropriate.See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.error: command 'gcc' failed with exit status 4----------------------------------------Cleaning up...Command /root/setup_file/frappe-bench/env/bin/python2.7 -c "import setuptools, tokenize;__file__=u'/root/setup_file/frappe-bench/env/build/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nFiMcL-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/setup_file/frappe-bench/env/include/site/python2.7 failed with error code 1 in /root/setup_file/frappe-bench/env/build/lxmlStoring debug log for failure in /root/.pip/pip.logTraceback (most recent call last):File "./scripts/virtualenv.py", line 2365, in <module>main()File "./scripts/virtualenv.py", line 829, in mainafter_install(options, home_dir)File "./scripts/virtualenv.py", line 2355, in after_installsubprocess.check_output('/'.join([home_dir, 'bin', 'pip install -e {}/'.format(app['name'])]), shell=True)File "/usr/lib/python2.7/subprocess.py", line 544, in check_outputraise CalledProcessError(retcode, cmd, output=output)subprocess.CalledProcessError: Command '/root/setup_file/frappe-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1
Executing erpnext.patches.4_0.split_email_settings in sdas
Traceback (innermost last):
File "/root/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 65, in execute_patch
frappe.get_attr(patchmodule + ".execute")()
File "/root/frappe-bench/apps/erpnext/erpnext/patches/4_0/split_email_settings.py", line 11, in execute
email_settings = frappe.get_doc("Email Settings")
File "/root/frappe-bench/apps/frappe/frappe/__init__.py", line 319, in get_doc
return frappe.model.document.get_doc(arg1, arg2)
File "/root/frappe-bench/apps/frappe/frappe/model/document.py", line 23, in get_doc
controller = get_controller(doctype)
File "/root/frappe-bench/apps/frappe/frappe/model/document.py", line 33, in get_controller
module = load_doctype_module(doctype)
File "/root/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 50, in load_doctype_module
return frappe.get_module(get_module_name(doctype, module, prefix))
File "/root/frappe-bench/apps/frappe/frappe/__init__.py", line 354, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named email_settings.email_settings
erpnext.patches.4_0.split_email_settings: failed: STOPPED
Traceback (most recent call last):
File "scripts/3to4.py", line 33, in <module>
migrate(args.site)
File "scripts/3to4.py", line 27, in migrate
latest()
File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 63, in new_fn
return fn(*args, **new_kwargs)
File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 368, in latest
frappe.modules.patch_handler.run_all()
File "/root/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 27, in run_all
raise PatchError(patch)
frappe.modules.patch_handler.PatchError: erpnext.patches.4_0.split_email_settings
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/361b6e0b-7fbf-43ae-9e75-3d863ddd4706%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5677ff0b-14f0-4243-a3e8-989b6bceabdf%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/361b6e0b-7fbf-43ae-9e75-3d863ddd4706%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsub...@googlegroups.com.