[Deluge] #3502: Deluge won't start windows protected folder

10 views
Skip to first unread message

Deluge

unread,
Jan 30, 2022, 4:47:12 PM1/30/22
to delug...@googlegroups.com
#3502: Deluge won't start windows protected folder
----------------------------+-------------------
Reporter: Doadin | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Core
Version: develop | Keywords:
----------------------------+-------------------
Traceback (most recent call last):
File "deluge-debug-script.py", line 33, in <module>
File "deluge\ui\ui_entry.py", line 62, in start_ui
options = parser.parse_known_ui_args(sys.argv,
withhold=AMBIGUOUS_CMD_ARGS)
File "deluge\argparserbase.py", line 265, in parse_known_ui_args
File "deluge\argparserbase.py", line 293, in _handle_ui_options
File "deluge\log.py", line 158, in setup_logger
File "logging\__init__.py", line 1146, in __init__
File "logging\__init__.py", line 1175, in _open
FileNotFoundError: [Errno 2] No such file or directory:
'E:\\Documents\\deluge.log'
[26784] Failed to execute script 'deluge-debug-script' due to unhandled
exception!

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

Deluge

unread,
Jan 30, 2022, 4:49:08 PM1/30/22
to delug...@googlegroups.com
#3502: Deluge won't start when loging windows protected folder
---------------------+----------------------------
Reporter: Doadin | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Core | Version: develop
Resolution: | Keywords:
---------------------+----------------------------

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

Deluge

unread,
Jan 30, 2022, 5:18:36 PM1/30/22
to delug...@googlegroups.com
#3502: Deluge won't start when loging windows protected folder
---------------------+----------------------------
Reporter: Doadin | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Core | Version: develop
Resolution: | Keywords:
---------------------+----------------------------
Description changed by Cas:

Old description:

> Traceback (most recent call last):
> File "deluge-debug-script.py", line 33, in <module>
> File "deluge\ui\ui_entry.py", line 62, in start_ui
> options = parser.parse_known_ui_args(sys.argv,
> withhold=AMBIGUOUS_CMD_ARGS)
> File "deluge\argparserbase.py", line 265, in parse_known_ui_args
> File "deluge\argparserbase.py", line 293, in _handle_ui_options
> File "deluge\log.py", line 158, in setup_logger
> File "logging\__init__.py", line 1146, in __init__
> File "logging\__init__.py", line 1175, in _open
> FileNotFoundError: [Errno 2] No such file or directory:
> 'E:\\Documents\\deluge.log'
> [26784] Failed to execute script 'deluge-debug-script' due to unhandled
> exception!

New description:

{{{


Traceback (most recent call last):
File "deluge-debug-script.py", line 33, in <module>
File "deluge\ui\ui_entry.py", line 62, in start_ui
options = parser.parse_known_ui_args(sys.argv,
withhold=AMBIGUOUS_CMD_ARGS)
File "deluge\argparserbase.py", line 265, in parse_known_ui_args
File "deluge\argparserbase.py", line 293, in _handle_ui_options
File "deluge\log.py", line 158, in setup_logger
File "logging\__init__.py", line 1146, in __init__
File "logging\__init__.py", line 1175, in _open
FileNotFoundError: [Errno 2] No such file or directory:
'E:\\Documents\\deluge.log'
[26784] Failed to execute script 'deluge-debug-script' due to unhandled
exception!
}}}

--

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

Deluge

unread,
Jan 30, 2022, 5:19:44 PM1/30/22
to delug...@googlegroups.com
#3502: Deluge won't start when loging windows protected folder
---------------------+---------------------
Reporter: Doadin | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.6

Component: Core | Version: develop
Resolution: | Keywords:
---------------------+---------------------
Changes (by Cas):

* milestone: needs verified => 2.0.6


Comment:

How to replicate, what was the command argument you passed to deluge?

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

Deluge

unread,
Jan 30, 2022, 6:36:10 PM1/30/22
to delug...@googlegroups.com
#3502: Deluge won't start when loging windows protected folder
---------------------+---------------------
Reporter: Doadin | Owner:
Type: bug | Status: new

Priority: minor | Milestone: 2.0.6
Component: Core | Version: develop
Resolution: | Keywords:
---------------------+---------------------

Comment (by Doadin):

.\deluge-debug -L debug -l E:\Documents\deluge.log

Have the log dir be a protected windows folder and thats it. Windows
blocks access to the dir and so it fails. It will fail trying to write to
any protected folder. Should probably just pass on the error maybe and
maybe log to stdout and log a message saying access was blocked or
something.

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

Deluge

unread,
Feb 3, 2022, 5:47:15 PM2/3/22
to delug...@googlegroups.com
#3502: Deluge won't start when loging windows protected folder
---------------------+---------------------
Reporter: Doadin | Owner:
Type: bug | Status: closed

Priority: minor | Milestone: 2.0.6
Component: Core | Version: develop
Resolution: Fixed | Keywords:
---------------------+---------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed


Comment:

Fixed: [8b0c8392b]

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

Reply all
Reply to author
Forward
0 new messages