-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Hi,
While we tried to run dex in the below format using profiling, we are getting "TypeError: expected string or buffer" error. Pls guide us on the same.
command used:
dex -p 'mongodb://adminUser:adminPwd#[email protected]:27017/admin' -n "MyDB.*"
Error:
Traceback (most recent call last):
File "/usr/bin/dex", line 233, in
main(sys.argv[1:])
File "/usr/bin/dex", line 206, in main
return md.analyze_profile()
File "/usr/lib/python2.6/site-packages/dex/dex.py", line 162, in analyze_profile
profile_parser)
File "/usr/lib/python2.6/site-packages/dex/dex.py", line 88, in _process_query
line_time = get_line_time(input)
File "/usr/lib/python2.6/site-packages/dex/parsers.py", line 51, in get_line_time
match = ts_rx.match(line)
TypeError: expected string or buffer
Pls note that, it is working fine when targeted to a log file.