Hello pratik,
On local machine(ubuntu 14.10), when i try to setup bench with “sudo bash setup_frappe.sh”; its not making a “frappe-bench” directory. Error log…
nescode@nccorplap001:~$ git clone https://github.com/frappe/bench bench-repo
Cloning into 'bench-repo'...
remote: Counting objects: 744, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 744 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (744/744), 147.79 KiB | 85.00 KiB/s, done.
Resolving deltas: 100% (479/479), done.
Checking connectivity... done.
nescode@nccorplap001:~$ sudo pip install -e bench-repo
Obtaining file:///home/nescode/bench-repo
Running setup.py (path:/home/nescode/bench-repo/setup.py) egg_info for package from file:///home/nescode/bench-repo
file bench.py (for module bench) not found
Requirement already satisfied (use --upgrade to upgrade): Click in /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): honcho in /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): semantic-version in /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): GitPython==0.3.2.RC1 in /usr/local/lib/python2.7/dist-packages (from bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/local/lib/python2.7/dist-packages (from jinja2->bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): gitdb>=0.5.1 in /usr/local/lib/python2.7/dist-packages (from GitPython==0.3.2.RC1->bench==0.1)
Requirement already satisfied (use --upgrade to upgrade): smmap>=0.8.3 in /usr/local/lib/python2.7/dist-packages (from gitdb>=0.5.1->GitPython==0.3.2.RC1->bench==0.1)
Installing collected packages: bench
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 .)
bench 0.1 is already the active version in easy-install.pth
Installing bench script to /usr/local/bin
Installed /home/nescode/bench-repo
Successfully installed bench
Cleaning up...
nescode@nccorplap001:~$ bench init frappe-bench && frappe-bench
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/home/nescode/bench-repo/bench/cli.py", line 34, in cli
change_dir()
File "/home/nescode/bench-repo/bench/cli.py", line 66, in change_dir
os.chdir(dir_path)
OSError: [Errno 2] No such file or directory: '/home/nescode/frappe-bench'
nescode@nccorplap001:~$ cd ~
nescode@nccorplap001:~$ bench init frappe-bench
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/home/nescode/bench-repo/bench/cli.py", line 34, in cli
change_dir()
File "/home/nescode/bench-repo/bench/cli.py", line 66, in change_dir
os.chdir(dir_path)
OSError: [Errno 2] No such file or directory: '/home/nescode/frappe-bench'
nescode@nccorplap001:~$
Sunil