Traceback (most recent call last):


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/app.py", line 56, in application

response = frappe.handler.handle()


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/handler.py", line 21, in handle

data = execute_cmd(cmd)


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/handler.py", line 52, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/__init__.py", line 922, in call

return fn(*args, **newargs)


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/desk/search.py", line 34, in search_widget

searchfield, start, page_length, filters, as_dict=as_dict)


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/__init__.py", line 922, in call

return fn(*args, **newargs)


 "/home/frappe/benches/bench-2017-08-21/apps/erpnext/erpnext/controllers/queries.py", line 241, in get_delivery_notes_to_be_billed

"fcond": get_filters_cond(doctype, filters, []),


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/desk/reportview.py", line 365, in get_filters_cond

query.build_filter_conditions(flt, conditions, ignore_permissions)


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/model/db_query.py", line 270, in build_filter_conditions

conditions.append(self.prepare_filter_condition(f))


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/model/db_query.py", line 323, in prepare_filter_condition

value = getdate(f.value).strftime("%Y-%m-%d")


 "/home/frappe/benches/bench-2017-08-21/apps/frappe/frappe/utils/data.py", line 41, in getdate

return parser.parse(string_date).date()


 "/home/frappe/benches/bench-2017-08-21/env/lib/python2.7/site-packages/dateutil/parser.py", line 1182, in parse

return DEFAULTPARSER.parse(timestr, **kwargs)


 "/home/frappe/benches/bench-2017-08-21/env/lib/python2.7/site-packages/dateutil/parser.py", line 556, in parse

res, skipped_tokens = self._parse(timestr, **kwargs)


 "/home/frappe/benches/bench-2017-08-21/env/lib/python2.7/site-packages/dateutil/parser.py", line 675, in _parse

l = _timelex.split(timestr)
# Splits the timestr into tokens


 "/home/frappe/benches/bench-2017-08-21/env/lib/python2.7/site-packages/dateutil/parser.py", line 192, in split

return list(cls(s))


 "/home/frappe/benches/bench-2017-08-21/env/lib/python2.7/site-packages/dateutil/parser.py", line 61, in __init__

'{itype}'.format(itype=instream.__class__.__name__))
TypeError: Parser must be a string or character stream, not list


Traceback (most recent call last):

 "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()

 "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)

 "/usr/lib/python2.7/site-packages/doubanfm/controller/main_controller.py", line 154, in _watchdog_time
self.view.display()

 "/usr/lib/python2.7/site-packages/doubanfm/views/main_view.py", line 58, in display
self.set_dal()

 "/usr/lib/python2.7/site-packages/doubanfm/views/main_view.py", line 27, in set_dal
dal = MainDal(self.data)

 "/usr/lib/python2.7/site-packages/doubanfm/dal/dal_main.py", line 40, in __init__
self.song_total_time = playingsong['length']
TypeError: 'NoneType' object has no attribute '__getitem__'