-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PixivUtil2 Crashes When Output is Piped #1065
Comments
3 tasks
This did not fix the issue.
|
dragontamer8740
added a commit
to dragontamer8740/PixivUtil2
that referenced
this issue
Feb 5, 2022
Nandaka
pushed a commit
that referenced
this issue
Feb 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Description
When using PixivUtil2, and the output is piped or tee-d in the shell, the program crashes with the following traceback:
This appears to be due to trying to set the terminal window title when piped. If we modify the
set_console_title
function like this, it works fine:Steps to Reproduce
python PixivUtil2.py --help | tee log.txt
Expected behavior: The code should run normally.
Actual behavior: The application crashes.
Log file: Log is blank.
Versions
PixivDownloader2 version 20211104
The text was updated successfully, but these errors were encountered: