-
Notifications
You must be signed in to change notification settings - Fork 259
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
Still can't pipe console output (#1065 not fixed) #1072
Comments
Can confirm on my system |
Better fix: make the existing fix apply to all platforms instead of only Windows.
|
can you raise a pull request? |
dragontamer8740
added a commit
to dragontamer8740/PixivUtil2
that referenced
this issue
Feb 5, 2022
Pull request in #1082 |
merged :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is basically re-opening #1065; the patch in 28a9895 did not fix the problem.
Prerequisites
Description
AttributeError: 'NoneType' object has no attribute 'set_title'
.The patch that closed #1065 did not actually fix the issue.
Steps to Reproduce
$ PixivUtil2 --help |cat
(on Unix)Expected behavior: help text should print to standard output.
Actual behavior:
Also, you have embedded xterm-specific escape sequences into the program. These sequences do not render correctly on anything but xterm. A real VT100 or VT220, or any number of other terminals, would exhibit undefined behavior.
Log file: [Attach the
pixivutil.log
file in the application folder, recommended to delete the old file, reproduce the issue, and upload the newly generated file here]Log file is blank.
Versions
Git master. Commit 3495f52.
Changing the function to:
Fixes the issue, and also makes it only attempt to set the title string with xterm escape codes on xterm and similar terminals.
The text was updated successfully, but these errors were encountered: