*bench init --frappe-branch master --frappe-path https://gitee.com/lbyong/frappe.git frappe-bench
WARN: Command not being executed in bench directory
$ /home/sandymax/.local/bin/virtualenv -q env -p python3
$ ./env/bin/pip install -q -U -e frappe-bench/apps/frappe
*ERROR: frappe-bench/apps/frappe is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).*
INFO:bench.app:Getting app frappe
$ git clone[ https://gitee.com/lbyong/frappe.git](http://) --branch master --depth 1 --origin upstream
Cloning into 'frappe'...
remote: Enumerating objects: 2331, done.Preformatted text
remote: Counting objects: 100% (2331/2331), done.
remote: Compressing objects: 100% (2190/2190), done.
remote: Total 2331 (delta 340), reused 841 (delta 95), pack-reused 0
Receiving objects: 100% (2331/2331), 11.48 MiB | 7.68 MiB/s, done.
Resolving deltas: 100% (340/340), done.
warning: unable to access '/home/sandymax/.config/git/attributes': Permission denied
INFO:bench.app:installing frappe
$ frappe-bench/env/bin/pip install -q -U -e frappe-bench/apps/frappe
ERROR: Exception:
Traceback (most recent call last):
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 425, in _error_catcher
yield
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/lib/python3.6/http/client.py", line 459, in read
n = self.readinto(b)
File "/usr/lib/python3.6/http/client.py", line 503, in readinto
n = self.fp.readinto(b)
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.6/ssl.py", line 1012, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.6/ssl.py", line 874, in read
return self._sslobj.read(len, buffer)
File "/usr/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 188, in _main
status = self.run(options, args)
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 185, in wrapper
return func(self, options, args)
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 333, in run
reqs, check_supported_wheels=not options.target_dir
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 412, in prepare_linked_requirement
hashes=hashes,
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 198, in unpack_url
hashes=hashes,
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 124, in get_http_url
link, downloader, temp_dir.path, hashes
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 220, in _download_http_url
for chunk in download.chunks:
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_internal/network/utils.py", line 39, in response_chunks
decode_content=False,
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "/home/sandymax/erpnext/frappe-bench/env/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Updating node packages...
$ yarn install
*Error: EACCES: permission denied, open '/home/sandymax/.config/yarn'*
at Object.fs.openSync (fs.js:646:18)
at fs.readFileSync (fs.js:551:33)
at /usr/share/yarn/lib/cli.js:101331:58
at Array.map (<anonymous>)
at parseRcPaths (/usr/share/yarn/lib/cli.js:101329:78)
at Object.findRc (/usr/share/yarn/lib/cli.js:101343:10)
at getRcConfigForCwd (/usr/share/yarn/lib/cli.js:56915:74)
at /usr/share/yarn/lib/cli.js:92694:56
at Generator.next (<anonymous>)
at step (/usr/share/yarn/lib/cli.js:310:30)
$ bench build
Usage: bench [OPTIONS] COMMAND [ARGS]...
Try "bench --help" for help.
Error: No such command "build".
INFO:bench.utils:setting up backups
SUCCESS: Bench frappe-bench initialized