Opened 4 years ago
Closed 4 years ago
#3439 closed bug (Fixed)
Execute plugin fails to run on Windows, exception thrown
Reported by: | scudre | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.4 |
Component: | Plugin | Version: | 2.0.0 |
Keywords: | execute, windows | Cc: |
Description
Execute plugin fails to run on Windows. Issue is due to the migration from Python 2 to Python 3, and the different handling of strings and bytes. Following exception is thrown when attempting to execute a script:
Traceback (most recent call last): File "c:\users\chris\appdata\roaming\deluge\plugins\execute-1.3d-py3.8.egg\deluge_execute\core.py", line 139, in execute_commands cmd_args = [cmd_arg.replace('&', '^^^&') for cmd_arg in cmd_args] File "c:\users\chris\appdata\roaming\deluge\plugins\execute-1.3d-py3.8.egg\deluge_execute\core.py", line 139, in cmd_args = [cmd_arg.replace('&', '^^^&') for cmd_arg in cmd_args] TypeError: a bytes-like object is required, not 'str'
Change History (2)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Milestone: | needs verified → 2.0.4 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
Thanks! Fix merged: [9c90136f57b]
Note:
See TracTickets
for help on using tickets.
Pull request opened: https://github.com/deluge-torrent/deluge/pull/301