Opened 5 years ago

Closed 5 years ago

#3278 closed bug (Fixed)

argparserbase: exception when creating the pid file

Reported by: DjLegolas Owned by:
Priority: major Milestone: 2.0.4
Component: Core Version: 2.0.3
Keywords: Cc:

Description

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'

Change History (1)

comment:1 Changed 5 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Fixed: [1b4ac88ce]

Note: See TracTickets for help on using tickets.