got the issue, thought:
v = semantic_version.Version(get_current_version('frappe'))
should be:
v = semantic_version.Version(get_current_version('frappe', bench_path))
isn’t it?
UPDATE:
changing to get_current_version('frappe', bench_path) init will end successfully, but still getting yarn errors and on bench start keep getting honcho error:
$ bench start
11:18:15 system | watch.1 started (pid=1012)
11:18:15 system | worker_long.1 started (pid=1008)
11:18:15 system | socketio.1 started (pid=1016)
11:18:15 system | web.1 started (pid=1013)
11:18:15 system | schedule.1 started (pid=1014)
11:18:15 system | worker_short.1 started (pid=1017)
11:18:15 system | worker_default.1 started (pid=1015)
11:18:23 socketio.1 | listening on *: 9000
11:19:23 worker_long.1 | 11:19:23 RQ worker u'rq:worker:89109a053cde.1021.long' started, version 0.10.0
11:19:23 worker_short.1 | 11:19:23 RQ worker u'rq:worker:89109a053cde.1027.short' started, version 0.10.0
11:19:23 worker_short.1 | 11:19:23 *** Listening on short...
11:19:23 worker_long.1 | 11:19:23 *** Listening on long...
11:19:23 worker_long.1 | 11:19:23 Cleaning registries for queue: long
11:19:23 worker_short.1 | 11:19:23 Cleaning registries for queue: short
11:19:23 worker_default.1 | 11:19:23 RQ worker u'rq:worker:89109a053cde.1036.default' started, version 0.10.0
11:19:23 worker_default.1 | 11:19:23 *** Listening on default...
11:19:23 worker_default.1 | 11:19:23 Cleaning registries for queue: default
11:19:25 watch.1 |
11:19:25 watch.1 | > frappe@ watch /home/frappe/frappe-bench/apps/frappe
11:19:25 watch.1 | > rollup -c -w
11:19:25 watch.1 |
11:19:26 web.1 | * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
11:19:26 web.1 | * Restarting with inotify reloader
Traceback (most recent call last):
File "/usr/local/bin/honcho", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/honcho/command.py", line 287, in main
COMMANDS[args.command](args)
File "/usr/local/lib/python2.7/dist-packages/honcho/command.py", line 233, in command_start
manager.loop()
File "/usr/local/lib/python2.7/dist-packages/honcho/manager.py", line 116, in loop
self._printer.write(msg)
File "/usr/local/lib/python2.7/dist-packages/honcho/printer.py", line 61, in write
self.output.write(prefix + line + "\n")
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2728' in position 41: ordinal not in range(128)
running the site on chrome, still having issues with css and js, it seems package not loaded correctly:
https://discuss.frappe.io/uploads/default/original/2X/4/4045d663d7dfede28eaa871fbd706eb68b84a269.png