From: Marlon N. <mar...@gm...> - 2009-03-02 04:58:26
|
$ s3cmd -r la | awk 'print \x$4' awk: print \x$4 awk: ^ syntax error awk: print \x$4 awk: ^ backslash not last character on line !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the following lines to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Problem: IOError: [Errno 32] Broken pipe S3cmd: 0.9.9 Python: 2.5.2 (r252:60911, Jul 23 2008, 11:49:43) [GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] Traceback (most recent call last): File "/usr/bin/s3cmd", line 1562, in <module> main() File "/usr/bin/s3cmd", line 1542, in main cmd_func(args) File "/usr/bin/s3cmd", line 98, in cmd_buckets_list_all_all subcmd_bucket_list(s3, S3Uri("s3://" + bucket["Name"])) File "/usr/bin/s3cmd", line 146, in subcmd_bucket_list "uri": uri.compose_uri(bucket, object["Key"]), File "/usr/bin/s3cmd", line 31, in output sys.stdout.write(message + "\n") File "/usr/lib/python2.5/codecs.py", line 304, in write self.stream.write(data) IOError: [Errno 32] Broken pipe !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the above lines to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- -eom- |
From: Michal L. <mi...@lo...> - 2009-03-02 08:29:19
|
Hi Marlon, other than printing a less verbose message I can't do much, can I? Or have you got some other suggestion? Michal Marlon Nelson wrote: > $ s3cmd -r la | awk 'print \x$4' > awk: print \x$4 > awk: ^ syntax error > awk: print \x$4 > awk: ^ backslash not last character on line > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > An unexpected error has occurred. > Please report the following lines to: > s3t...@li... > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > Problem: IOError: [Errno 32] Broken pipe > S3cmd: 0.9.9 > Python: 2.5.2 (r252:60911, Jul 23 2008, 11:49:43) [GCC 3.4.4 (Gentoo > 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] > > Traceback (most recent call last): > File "/usr/bin/s3cmd", line 1562, in <module> > main() > File "/usr/bin/s3cmd", line 1542, in main > cmd_func(args) > File "/usr/bin/s3cmd", line 98, in cmd_buckets_list_all_all > subcmd_bucket_list(s3, S3Uri("s3://" + bucket["Name"])) > File "/usr/bin/s3cmd", line 146, in subcmd_bucket_list > "uri": uri.compose_uri(bucket, object["Key"]), > File "/usr/bin/s3cmd", line 31, in output > sys.stdout.write(message + "\n") > File "/usr/lib/python2.5/codecs.py", line 304, in write > self.stream.write(data) > IOError: [Errno 32] Broken pipe > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > An unexpected error has occurred. > Please report the above lines to: > s3t...@li... > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > |
From: Marlon N. <mar...@gm...> - 2009-03-02 12:43:37
|
oh... i thought a broken pipe was a normal condition that's usually ignored On Mon, Mar 2, 2009 at 3:29 AM, Michal Ludvig <mi...@lo...> wrote: > Hi Marlon, > > other than printing a less verbose message I can't do much, can I? Or > have you got some other suggestion? > > Michal > > Marlon Nelson wrote: >> $ s3cmd -r la | awk 'print \x$4' >> awk: print \x$4 >> awk: ^ syntax error >> awk: print \x$4 >> awk: ^ backslash not last character on line >> >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >> An unexpected error has occurred. >> Please report the following lines to: >> s3t...@li... >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >> >> Problem: IOError: [Errno 32] Broken pipe >> S3cmd: 0.9.9 >> Python: 2.5.2 (r252:60911, Jul 23 2008, 11:49:43) [GCC 3.4.4 (Gentoo >> 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] >> >> Traceback (most recent call last): >> File "/usr/bin/s3cmd", line 1562, in <module> >> main() >> File "/usr/bin/s3cmd", line 1542, in main >> cmd_func(args) >> File "/usr/bin/s3cmd", line 98, in cmd_buckets_list_all_all >> subcmd_bucket_list(s3, S3Uri("s3://" + bucket["Name"])) >> File "/usr/bin/s3cmd", line 146, in subcmd_bucket_list >> "uri": uri.compose_uri(bucket, object["Key"]), >> File "/usr/bin/s3cmd", line 31, in output >> sys.stdout.write(message + "\n") >> File "/usr/lib/python2.5/codecs.py", line 304, in write >> self.stream.write(data) >> IOError: [Errno 32] Broken pipe >> >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >> An unexpected error has occurred. >> Please report the above lines to: >> s3t...@li... >> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >> >> > > -- -eom- |
From: Marlon N. <mar...@gm...> - 2009-03-02 12:55:39
|
i haven't programmed much in the past 6 years the following seems to help with broken pipes... i don't know what problems it can cause, though import signal signal.signal(signal.SIGPIPE, signal.SIG_DFL) -- -eom- |