Java EE 更新工具 Python 解码错误

Java EE updatetool with Python Decoding Error

我目前正在阅读 Oracle 的 JavaEE 7 教程。安装 Glassfish 4 后,系统要求我使用 bin 目录中的 updatetool 更新教程示例。

nowak@machine:~/Java/glassfish4/bin$ ./updatetool 
Traceback (most recent call last):
  File "/home/nowak/Java/glassfish4/updatetool/bin/../vendor-packages/updatetool/main.py", line 431, in ?
    main(sys.argv[1:])
  File "/home/nowak/Java/glassfish4/updatetool/bin/../vendor-packages/updatetool/main.py", line 57, in main
    init_app_locale()
  File "/scratch/java_re/BUILD_AREA/workspace/updatecenter2.3-sustaining/uc2/build/dist/linux-i386/updatetool/vendor-packages/updatetool/common/boot.py", line 300, in init_app_locale
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 69: ordinal not in range(128)

我看到其他问题似乎是 64 位 Ubuntu 14.04 上缺少 32 位库。不幸的是,我的错误并没有告诉我缺少哪个库,就像在其他问题中一样。

如何进一步调试?

我 "resolved" 我的问题是用前面的 LANG=C 调用 updatetool 并安装一些其他缺少的库。

LANG=C /dir-to-javaee-skd/bin/updatetool