#3278: argparserbase: exception when creating the pid file
-----------------------+-------------------
Reporter: DjLegolas | Type: bug
Status: new | Priority: major
Milestone: 2.0.4 | Component: Core
Version: 2.0.3 | Keywords:
-----------------------+-------------------
a user reported about a `TypeError`:
{{{
Jun 22 21:00:22 htpc deluged[21885]: Traceback (most recent call last):
Jun 22 21:00:22 htpc deluged[21885]: File "/usr/bin/deluged", line 11,
in <module>
Jun 22 21:00:22 htpc deluged[21885]: load_entry_point('deluge==2.0.3',
'console_scripts', 'deluged')()
Jun 22 21:00:22 htpc deluged[21885]: File "/usr/lib/python3.7/site-
packages/deluge/core/daemon_entry.py", line 87, in start_daemon
Jun 22 21:00:22 htpc deluged[21885]: options = parser.parse_args()
Jun 22 21:00:22 htpc deluged[21885]: File "/usr/lib/python3.7/site-
packages/deluge/argparserbase.py", line 250, in parse_args
Jun 22 21:00:22 htpc deluged[21885]: return
self._handle_ui_options(options)
Jun 22 21:00:22 htpc deluged[21885]: File "/usr/lib/python3.7/site-
packages/deluge/argparserbase.py", line 329, in _handle_ui_options
Jun 22 21:00:22 htpc deluged[21885]: _file.write('%d\n' % os.getpid())
Jun 22 21:00:22 htpc deluged[21885]: TypeError: a bytes-like object is
required, not 'str'
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3278>
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/048.d379701229346d108560be046200ae0b%40deluge-torrent.org.
For more options, visit https://groups.google.com/d/optout.