[Deluge] #3439: Execute plugin fails to run on Windows, exception thrown

5 views
Skip to first unread message

Deluge

unread,
Nov 14, 2020, 11:45:03 PM11/14/20
to delug...@googlegroups.com
#3439: Execute plugin fails to run on Windows, exception thrown
----------------------------+------------------------------
Reporter: scudre | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Plugin
Version: 2.0.0 | Keywords: execute, windows
----------------------------+------------------------------
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'
}}}

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

Deluge

unread,
Nov 14, 2020, 11:49:55 PM11/14/20
to delug...@googlegroups.com
#3439: Execute plugin fails to run on Windows, exception thrown
---------------------+------------------------------
Reporter: scudre | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Plugin | Version: 2.0.0
Resolution: | Keywords: execute, windows
---------------------+------------------------------

Comment (by scudre):

Pull request opened: https://github.com/deluge-torrent/deluge/pull/301

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3439#comment:1>

Deluge

unread,
Jan 29, 2021, 1:22:24 PM1/29/21
to delug...@googlegroups.com
#3439: Execute plugin fails to run on Windows, exception thrown
---------------------+------------------------------
Reporter: scudre | Owner:
Type: bug | Status: closed
Priority: minor | Milestone: 2.0.4
Component: Plugin | Version: 2.0.0
Resolution: Fixed | Keywords: execute, windows
---------------------+------------------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed
* milestone: needs verified => 2.0.4


Comment:

Thanks! Fix merged: [9c90136f57b]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3439#comment:2>

Reply all
Reply to author
Forward
0 new messages