Error when search for anything from Search bar


I get this below exception whenever I try to search for something from the search bar. I am unable to do “Report this issue” as my emails are not working too :frowning:

Could you share the complete traceback? The last line usually indicates the cause.

Thanks for your quick revert: Here you go.

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 52, in execute_cmd
return, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 913, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 29, in get_help
return HelpDatabase().search(text)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 86, in search
select title, intro, path from help where match(content) against (%s) limit 10’‘’, (‘%’+words+‘%’, words))
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 142, in sql
self._cursor.execute(query, values)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 50, in defaulterrorhandler
raise errorvalue
ProgrammingError: (1146, “Table ‘’ doesn’t exist”)

Try a bench migrate.

1 Like

Super its resolved…thanks so much for your timely help

Would you also be able to help me with my outgoing email issue? Its nagging me for a while now :frowning:

{‘retry’: 0, ‘log’: <function log at 0x7fc96b170c80>, ‘site’: u’site1.local’, ‘event’: u’all’, ‘method_name’: u’pull_from_email_account’, ‘method’: <function pull_from_email_account at 0x7fc96b0bd500>, ‘user’: u’Administrator’, ‘kwargs’: {‘email_account’: u’Operations’}, ‘async’: True, ‘job_name’: u’pull_from_email_account|Operations’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 66, in execute_job
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/”, line 698, in pull_from_email_account
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/”, line 249, in receive
email_server = self.get_incoming_server(in_receive=True, email_sync_rule=email_sync_rule)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/”, line 163, in get_incoming_server
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/”, line 44, in connect
return self.connect_imap()
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/”, line 52, in connect_imap
self.imap = Timed_IMAP4_SSL(, timeout=frappe.conf.get(“pop_timeout”))
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/”, line 550, in init
self._super.init(self, *args, **kwargs)
File “/usr/lib/python2.7/”, line 1166, in init
IMAP4.init(self, host, port)
File “/usr/lib/python2.7/”, line 173, in init, port)
File “/usr/lib/python2.7/”, line 1178, in open
self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
File “/usr/lib/python2.7/”, line 933, in wrap_socket
File “/usr/lib/python2.7/”, line 601, in init
File “/usr/lib/python2.7/”, line 830, in do_handshake
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/rq/”, line 51, in handle_death_penalty
‘value ({0} seconds)’.format(self._timeout))
JobTimeoutException: Job exceeded maximum timeout value (300 seconds)

Help us with the context of the error (when does it occur, screenshots of input data) in addition to the traceback. Probably this should also constitute a new thread, to be discoverable by others facing the same issue. This thread can then be closed as resolved.