-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
strace outputs nothing when used in wgetpaste #25
Comments
please post the output of |
emerge --info wgetpaste:
wgetpaste -S:
|
Think I figured it out. It's not a problem with wgetpaste, it's that So if you were to do |
Found the correct terms, courtesy of the Gentoo forums. The output of strace goes to STDERR rather than STDOUT. So, the solution would be to use Closing issue, sorry for wasting your time! |
The manual redirect is not necessary. |
@Cogitri Could you re-open this issue? If not, I'll file a new one to track the issue. |
Oh, guess I wasn't as stupid as I thought |
'echo -e' is used to prepare data for dpaste. However if `echo -e "${content}"` is used, the content gets interpreted as well. This results in constructs such as '\0' getting misinterpreted as the byte 0x00. As a result, the interperted context can result in output not compatible with dpaste. fixes bug zlin#25
'echo -e' is used to prepare data for dpaste. However if `echo -e "${content}"` is used, the content gets interpreted as well. This results in constructs such as '\0' getting misinterpreted as the byte 0x00. As a result, the interperted context can result in output not compatible with dpaste. fixes bug zlin#25
'echo -e' is used to prepare data for dpaste. However if `echo -e "${content}"` is used, the content gets interpreted as well. This results in constructs such as '\0' getting misinterpreted as the byte 0x00. As a result, the interperted context can result in output not compatible with dpaste. fixes bug #25
When using strace in wgetpaste, wgetpaste returns "Apparently nothing was received. Perhaps the connection failed." Also tried with services other than dpaste and got similar results.
Verbose output returns
204 no content
.Example:
wgetpaste -c 'strace echo hello'
I'm using Gentoo.
The text was updated successfully, but these errors were encountered: