ValueError: Empty module name

vishal@vishal-K53SC:~/frappe-bench$ bench start
23:34:04 system | workerbeat.1 started (pid=14020)
23:34:04 system | web.1 started (pid=14019)
23:34:04 system | redis_socketio.1 started (pid=14018)
23:34:04 redis_socketio.1 | 14021:M 19 Jun 23:34:04.821 * Increased maximum number of open files to 10032 (it was originally set to 1024).
23:34:04 redis_socketio.1 | .
23:34:04 redis_socketio.1 | .-__ ''-._ 23:34:04 redis_socketio.1 | _.- . . ‘’-._ Redis 3.0.6 (00000000/0) 64 bit
23:34:04 redis_socketio.1 | .- .-```. ```\/ _.,_ ''-._ 23:34:04 redis_socketio.1 | ( ' , .-` | `, ) Running in standalone mode 23:34:04 redis_socketio.1 | |`-._`-...-` __...-.-.|'_.-'| Port: 12000 23:34:04 redis_socketio.1 | | -. ._ / _.-' | PID: 14021 23:34:04 redis_socketio.1 | -._ -._ -./ .-’ .-’
23:34:04 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 23:34:04 redis_socketio.1 | | -.
-._ _.-'_.-' | http://redis.io 23:34:04 redis_socketio.1 | -._ -._-..-'.-’ .-’
23:34:04 redis_socketio.1 | |-._-.
-.__.-' _.-'_.-'| 23:34:04 redis_socketio.1 | | -.
-._ _.-'_.-' | 23:34:04 redis_socketio.1 | -._ -._-.
.-‘.-’ .-’
23:34:04 redis_socketio.1 | -._ -..-’ _.-’
23:34:04 redis_socketio.1 | -._ _.-' 23:34:04 redis_socketio.1 | -.
.-’
23:34:04 redis_socketio.1 |
23:34:04 redis_socketio.1 | 14021:M 19 Jun 23:34:04.822 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
23:34:04 redis_socketio.1 | 14021:M 19 Jun 23:34:04.822 # Server started, Redis version 3.0.6
23:34:04 redis_socketio.1 | 14021:M 19 Jun 23:34:04.822 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
23:34:04 redis_socketio.1 | 14021:M 19 Jun 23:34:04.822 * The server is now ready to accept connections on port 12000
23:34:04 system | redis_cache.1 started (pid=14030)
23:34:04 system | watch.1 started (pid=14031)
23:34:04 system | longjob_worker.1 started (pid=14039)
23:34:04 system | async_worker.1 started (pid=14040)
23:34:04 system | socketio.1 started (pid=14029)
23:34:04 system | redis_queue.1 started (pid=14034)
23:34:04 redis_queue.1 | 14048:M 19 Jun 23:34:04.901 * Increased maximum number of open files to 10032 (it was originally set to 1024).
23:34:04 redis_queue.1 | .
23:34:04 redis_queue.1 | .-__ ''-._ 23:34:04 redis_queue.1 | _.- . . ‘’-.
Redis 3.0.6 (00000000/0) 64 bit
23:34:04 redis_queue.1 | .- .-```. ```\/ _.,_ ''-._ 23:34:04 redis_queue.1 | ( ' , .-` | `, ) Running in standalone mode 23:34:04 redis_queue.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 11000 23:34:04 redis_queue.1 | | -._ ._ / _.-' | PID: 14048 23:34:04 redis_queue.1 | -._ -._ -./ .-’ .-’
23:34:04 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 23:34:04 redis_queue.1 | | -.
-._ _.-'_.-' | http://redis.io 23:34:04 redis_queue.1 | -._ -._-..-'.-’ .-’
23:34:04 redis_queue.1 | |-._-.
-.__.-' _.-'_.-'| 23:34:04 redis_queue.1 | | -.
-._ _.-'_.-' | 23:34:04 redis_queue.1 | -._ -._-.
.-‘.-’ .-’
23:34:04 redis_queue.1 | -._ -..-’ _.-’
23:34:04 redis_queue.1 | -._ _.-' 23:34:04 redis_queue.1 | -.
.-’
23:34:04 redis_queue.1 |
23:34:04 redis_queue.1 | 14048:M 19 Jun 23:34:04.902 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
23:34:04 redis_queue.1 | 14048:M 19 Jun 23:34:04.902 # Server started, Redis version 3.0.6
23:34:04 redis_queue.1 | 14048:M 19 Jun 23:34:04.902 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
23:34:04 redis_queue.1 | 14048:M 19 Jun 23:34:04.902 * The server is now ready to accept connections on port 11000
23:34:04 system | worker.1 started (pid=14045)
23:34:04 redis_cache.1 | 14032:M 19 Jun 23:34:04.873 * Increased maximum number of open files to 10032 (it was originally set to 1024).
23:34:04 redis_cache.1 | .
23:34:04 redis_cache.1 | .-__ ''-._ 23:34:04 redis_cache.1 | _.- . . ‘’-.
Redis 3.0.6 (00000000/0) 64 bit
23:34:04 redis_cache.1 | .- .-```. ```\/ _.,_ ''-._ 23:34:04 redis_cache.1 | ( ' , .-` | `, ) Running in standalone mode 23:34:04 redis_cache.1 | |`-._`-...-` __...-.-.
|’_.-'| Port: 13000 23:34:04 redis_cache.1 | | -._ ._ / _.-' | PID: 14032 23:34:04 redis_cache.1 | -._ -._ -./ .-’ .-’
23:34:04 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 23:34:04 redis_cache.1 | | -.
-._ _.-'_.-' | http://redis.io 23:34:04 redis_cache.1 | -._ -._-..-'.-’ .-’
23:34:04 redis_cache.1 | |-._-.
-.__.-' _.-'_.-'| 23:34:04 redis_cache.1 | | -.
-._ _.-'_.-' | 23:34:04 redis_cache.1 | -._ -._-.
.-‘_.-’ _.-’
23:34:04 redis_cache.1 | -._ -..-’ _.-’
23:34:04 redis_cache.1 | -._ _.-' 23:34:04 redis_cache.1 | -.
.-’
23:34:04 redis_cache.1 |
23:34:04 redis_cache.1 | 14032:M 19 Jun 23:34:04.874 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
23:34:04 redis_cache.1 | 14032:M 19 Jun 23:34:04.874 # Server started, Redis version 3.0.6
23:34:04 redis_cache.1 | 14032:M 19 Jun 23:34:04.874 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
23:34:04 redis_cache.1 | 14032:M 19 Jun 23:34:04.874 * The server is now ready to accept connections on port 13000
23:34:07 workerbeat.1 | celery beat v3.1.23 (Cipater) is starting.
23:34:08 workerbeat.1 | Traceback (most recent call last):
23:34:08 workerbeat.1 | File “/usr/lib/python2.7/runpy.py”, line 174, in _run_module_as_main
23:34:08 workerbeat.1 | “main”, fname, loader, pkg_name)
23:34:08 workerbeat.1 | File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
23:34:08 workerbeat.1 | exec code in run_globals
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/apps/frappe/frappe/celery_app.py”, line 140, in
23:34:08 workerbeat.1 | app.start()
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/app/base.py”, line 201, in start
23:34:08 workerbeat.1 | app=self).execute_from_commandline(argv)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/celery.py”, line 793, in execute_from_commandline
23:34:08 workerbeat.1 | super(CeleryCommand, self).execute_from_commandline(argv)))
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/base.py”, line 311, in execute_from_commandline
23:34:08 workerbeat.1 | return self.handle_argv(self.prog_name, argv[1:])
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/celery.py”, line 785, in handle_argv
23:34:08 workerbeat.1 | return self.execute(command, argv)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/celery.py”, line 717, in execute
23:34:08 workerbeat.1 | ).run_from_argv(self.prog_name, argv[1:], command=argv[0])
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/base.py”, line 315, in run_from_argv
23:34:08 workerbeat.1 | sys.argv if argv is None else argv, command)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/base.py”, line 377, in handle_argv
23:34:08 workerbeat.1 | return self(*args, **options)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/base.py”, line 274, in call
23:34:08 workerbeat.1 | ret = self.run(*args, **kwargs)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/bin/beat.py”, line 79, in run
23:34:08 workerbeat.1 | return beat().run()
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/apps/beat.py”, line 81, in run
23:34:08 workerbeat.1 | self.init_loader()
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/apps/beat.py”, line 121, in init_loader
23:34:08 workerbeat.1 | self.app.loader.init_worker()
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/loaders/base.py”, line 128, in init_worker
23:34:08 workerbeat.1 | self.import_default_modules()
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/loaders/base.py”, line 116, in import_default_modules
23:34:08 workerbeat.1 | signals.import_modules.send(sender=self.app)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/utils/dispatch/signal.py”, line 166, in send
23:34:08 workerbeat.1 | response = receiver(signal=self, sender=sender, **named)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/amqp/utils.py”, line 42, in call
23:34:08 workerbeat.1 | self.set_error_state(exc)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/amqp/utils.py”, line 39, in call
23:34:08 workerbeat.1 | **dict(self.kwargs, **kwargs) if self.kwargs else kwargs
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/app/base.py”, line 330, in _autodiscover_tasks
23:34:08 workerbeat.1 | self.loader.autodiscover_tasks(packages, related_name)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/loaders/base.py”, line 252, in autodiscover_tasks
23:34:08 workerbeat.1 | related_name) if mod)
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/loaders/base.py”, line 273, in autodiscover_tasks
23:34:08 workerbeat.1 | return [find_related_module(pkg, related_name) for pkg in packages]
23:34:08 workerbeat.1 | File “/home/vishal/frappe-bench/env/local/lib/python2.7/site-packages/celery/loaders/base.py”, line 290, in find_related_module
23:34:08 workerbeat.1 | pkg_path = importlib.import_module(package).path
23:34:08 workerbeat.1 | File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
23:34:08 workerbeat.1 | import(name)
23:34:08 workerbeat.1 | ValueError: Empty module name
23:34:08 socketio.1 | listening on *: 9000
23:34:08 system | workerbeat.1 stopped (rc=1)
23:34:08 system | sending SIGTERM to redis_socketio.1 (pid 14018)
23:34:08 system | sending SIGTERM to watch.1 (pid 14031)
23:34:08 system | sending SIGTERM to redis_queue.1 (pid 14034)
23:34:08 system | sending SIGTERM to web.1 (pid 14019)
23:34:08 system | sending SIGTERM to async_worker.1 (pid 14040)
23:34:08 system | sending SIGTERM to socketio.1 (pid 14029)
23:34:08 system | sending SIGTERM to redis_cache.1 (pid 14030)
23:34:08 system | sending SIGTERM to worker.1 (pid 14045)
23:34:08 system | sending SIGTERM to longjob_worker.1 (pid 14039)
23:34:08 redis_queue.1 | 14048:signal-handler (1466359448) Received SIGTERM scheduling shutdown…
23:34:08 redis_socketio.1 | 14021:signal-handler (1466359448) Received SIGTERM scheduling shutdown…
23:34:08 system | web.1 stopped (rc=-15)
23:34:08 system | socketio.1 stopped (rc=-15)
23:34:08 system | watch.1 stopped (rc=-15)
23:34:08 redis_cache.1 | 14032:signal-handler (1466359448) Received SIGTERM scheduling shutdown…
23:34:08 system | async_worker.1 stopped (rc=-15)
23:34:08 system | longjob_worker.1 stopped (rc=-15)
23:34:08 redis_socketio.1 | 14021:M 19 Jun 23:34:08.429 # User requested shutdown…
23:34:08 redis_socketio.1 | 14021:M 19 Jun 23:34:08.429 # Redis is now ready to exit, bye bye…
23:34:08 system | redis_socketio.1 stopped (rc=-15)
23:34:08 system | worker.1 stopped (rc=-15)
23:34:08 redis_cache.1 | 14032:M 19 Jun 23:34:08.481 # User requested shutdown…
23:34:08 redis_cache.1 | 14032:M 19 Jun 23:34:08.481 # Redis is now ready to exit, bye bye…
23:34:08 system | redis_cache.1 stopped (rc=-15)
23:34:08 redis_queue.1 | 14048:M 19 Jun 23:34:08.511 # User requested shutdown…
23:34:08 redis_queue.1 | 14048:M 19 Jun 23:34:08.511 # Redis is now ready to exit, bye bye…
23:34:08 system | redis_queue.1 stopped (rc=-15)
vishal@vishal-K53SC