SynBioDex/SBOLExplorer

Must be str, not bytes?

Closed this issue · 2 comments

See the log below. Seems the there is an error "Returning error must be str, not bytes”.

[2018-12-04 00:03:40.341655] SBOLExplorer started :)
[2018-12-04 00:03:59.857778] Successfully updated config
[2018-12-04 00:04:09.340867] Query for sequences
[2018-12-04 00:04:09.343321] endpoint: http://virtuoso:8890/sparql?
[2018-12-04 00:04:09.344588] Successfully updated config
[2018-12-04 00:04:11.949412] 10000
[2018-12-04 00:04:13.844276] 20000
[2018-12-04 00:04:15.346771] 30000
[2018-12-04 00:04:17.760149] 40000
[2018-12-04 00:04:19.691891] 48557
[2018-12-04 00:04:19.692059]

[2018-12-04 00:04:20.638954] Query for sequences complete
[2018-12-04 00:04:20.774183] Running uclust
[2018-12-04 00:10:52.403132] [ERROR] Returning error must be str, not bytes
[2018-12-04 01:19:54.443517] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 01:19:54.443739] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 01:53:14.480446] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 01:53:14.483564] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 02:12:28.426195] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 02:12:28.429793] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 02:15:49.531321] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 02:15:49.531496] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 02:17:02.641197] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'
[2018-12-04 02:17:02.643399] [ERROR] Returning error [Errno 2] No such file or d
irectory: 'dumps/uri2rank_dump'

Reminder: delete commented out code if fixed

Fixed in latest commit. Issue with not wrapping output in the str() function when logging.