--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3502>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3502#comment:1>
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>
* 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>
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>
* status: new => closed
* resolution: => Fixed
Comment:
Fixed: [8b0c8392b]
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3502#comment:5>