#3385: TypeError: a bytes-like object is required, not 'str'
----------------------------+---------------------
 Reporter:  fdge00          |       Type:  bug
   Status:  new             |   Priority:  minor
Milestone:  needs verified  |  Component:  Unknown
  Version:  2.0.3           |   Keywords:
----------------------------+---------------------
 Python 3.7
 libtorrent 1.2.5
 boost 1.72
 FreeBSD 11.3-RELEASE-p7 (FreeNAS.amd64)


 {{{
 Traceback (most recent call last):
   File "/home/deluge/.local/bin/deluged", line 11, in <module>
     load_entry_point('deluge==2.0.4.dev0', 'console_scripts', 'deluged')()
   File "/home/deluge/.local/lib/python3.7/site-
 packages/deluge-2.0.4.dev0-py3.7.egg/deluge/core/daemon_entry.py", line
 87, in start_daemon
     options = parser.parse_args()
   File "/home/deluge/.local/lib/python3.7/site-
 packages/deluge-2.0.4.dev0-py3.7.egg/deluge/argparserbase.py", line 250,
 in parse_args
     return self._handle_ui_options(options)
   File "/home/deluge/.local/lib/python3.7/site-
 packages/deluge-2.0.4.dev0-py3.7.egg/deluge/argparserbase.py", line 329,
 in _handle_ui_options
     _file.write('%d\n' % os.getpid())
 TypeError: a bytes-like object is required, not 'str'
 }}}

 changing the line to
 {{{
 _file.write(b'%d\n' % os.getpid())
 }}}
 allows it to get further, but then I get an OpenSSL error which I'll make
 another ticket for.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3385>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/045.54af1ea7bb0eef75f0245561a70886db%40deluge-torrent.org.

Reply via email to