openpyxl for python で、とある xlsx を load_workbook() したところ、以下のエラー
C:\Users\end0t\python310\lib\site-packages\openpyxl\reader\drawings.py:63:
UserWarning: wmf image format is not supported so the image is being dropped
# ifdef MB_CUR_MAX/* We only handle single-byte locales (outside of UTF-8 ones; so if * this locale requires more than one byte, there are going to be * problems. */DEBUG_Lv(PerlIO_printf(Perl_debug_log,
"%s:%d: check_for_problems=%d, MB_CUR_MAX=%d\n",
__FILE__, __LINE__, check_for_problems, (int) MB_CUR_MAX));
if ( check_for_problems && MB_CUR_MAX > 1
&& ! PL_in_utf8_CTYPE_locale
/* Some platforms return MB_CUR_MAX > 1 for even the "C" * locale. Just assume that the implementation for them (plus * for POSIX) is correct and the > 1 value is spurious. (Since * these are specially handled to never be considered UTF-8 * locales, as long as this is the only problem, everything * should work fine */
&& strNE(newctype, "C") && strNE(newctype, "POSIX"))
{
multi_byte_locale = TRUE;
}
# endif
# ifdef MB_CUR_MAX/* We only handle single-byte locales (outside of UTF-8 ones); so if this * locale requires more than one byte, there are going to be BIG problems. * */if (MB_CUR_MAX > 1 && ! PL_in_utf8_CTYPE_locale
/* Some platforms return MB_CUR_MAX > 1 for even the "C" locale. * Just assume that the implementation for them (plus for POSIX) is * correct and the > 1 value is spurious. (Since these are * specially handled to never be considered UTF-8 locales, as long * as this is the only problem, everything should work fine */
&& ! isNAME_C_OR_POSIX(newctype))
{
DEBUG_L(PerlIO_printf(Perl_debug_log,
"Unsupported, MB_CUR_MAX=%d\n", (int) MB_CUR_MAX));
Perl_ck_warner_d(aTHX_ packWARN(WARN_LOCALE),
"Locale '%s' is unsupported, and may crash the"" interpreter.\n",
newctype);
}
# endif