Jake Bunce
Well-known member
Hi,
I'm getting the 'Sed' related error while exporting posts. "sed: couldn't write 225 items to stdout: Broken pipe".
Does any one know what does it mean?
Here is the output
- ################################################
- ### XenForo Big Board vB3/vB4 -> XF Importer ###
- ### Original version created by Shawn Hogan ###
- ### Modified by Slavik and Jake Bunce ###
- ### Version Number: 1.2.0 ###
- ################################################
- 1 - Posts
- 2 - Users
- 3 - Threads
- 4 - Private Messages
- 5 - Avatars
- 6 - Attachments
- 7 - Forums
- 8 - Miscellaneous
- 9 - Everything
- Make Selection [1-9]: 1
- exporting posts...
- postsWarning: Using a password on the command line interface can be insecure.
- sed: couldn't write 225 items to stdout: Broken pipe
Try emptying this setting in the Export script:
Code:
// USE THIS SETTING TO SPECIFY AN EXTRA PIPE FOR ALL OUTPUT RECORDS
// EXAMPLE IS TO PIPE OUTPUT THROUGH iconv IF CHARACTER ENCODING CHANGES ARE NEEDED
// '| iconv -f LATIN1 -t UTF8'
public static $extraOutCommand = '| iconv -f LATIN1 -t UTF8';
A broken pipe isn't necessarily caused by iconv, but removing it has fixed this problem for me before.