2

When applying SUPEE-8788 on Magento 1.9.2.4 on OSX I get the following

sed: RE error: illegal byte sequence
Checking if patch can be applied/reverted successfully...
Patch was applied/reverted successfully.

Should I worry about the illegal byte sequence because it states it was applied successfully

0

3 Answers 3

3

Try running it like

LANG=C LC_CTYPE=C LC_ALL=C ./PATCH_SUPEE-8788_EE_1.13.0.1_v1.sh

This should force everything to work a bit nicer.

On OSX by default $LANG is defined like:

echo $LANG
en_GB.UTF-8
1

Try running this in the command line before running the patch

export LANG=C

It should fix it, you may need to run these as well, I tried all 3 and it worked after the one above

export LL_CTYPE=C

export LL_ALL=C

Taken from this thread https://stackoverflow.com/questions/11287564/getting-sed-error-illegal-byte-sequence-in-bash

1
  • Does it have any negative effect on the application of the patch though? It still seems to work..
    – Erfan
    Commented Oct 14, 2016 at 3:42
1

The above suggested fixes didn't work for me so I installed GNU sed from homebrew via brew install gnu-sed and changed the line in patch file to read

SED_BIN=which gsed

Not the answer you're looking for? Browse other questions tagged or ask your own question.