unknown terminal encoding: cp720 (OEM Arabic)

Asked by Muhammad Bashir Al-Noimi

I'm using Windows XP SP3 Arabic enabled.

Everytime I run Bazaar Explorer I got the following warning in console window:

bzr: warning: unknown terminal encoding cp720.
  Using encoding cp1256 instead.

How I can fix this issue?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Explorer Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Belchenko
Solved:
Last query:
Last reply:
Revision history for this message
Best Alexander Belchenko (bialix) said :
#1

You need to download cp720.py file from Python sources: http://svn.python.org/view/*checkout*/python/trunk/Lib/encodings/cp720.py?revision=74000&pathrev=74000 and then place this file to encodings package of your Python installation. E.g.
C:\Python25\Lib\encodings

If you're using standalone bzr.exe then put this file into C:\Program Files\Bazaar\lib\library.zip archive in folder "encodings".
The path to library.zip depends on where you have installed Bazaar.

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) said :
#2

Thanks.

This is unbelievable Bazzar must include this file in its distro. So is there any ability to add this file in the coming Bazaar distros?

Revision history for this message
Alexander Belchenko (bialix) said :
#3

M. Bashir Al-Noimi пишет:
> Question #90114 on Bazaar Explorer changed:
> https://answers.launchpad.net/bzr-explorer/+question/90114
>
> M. Bashir Al-Noimi posted a new comment:
> Thanks.
>
> This is unbelievable Bazzar must include this file in its distro. So is
> there any ability to add this file in the coming Bazaar distros?

Sorry, but Bazaar uses everything what present in standard Python
installation. Unfortunately cp720.py is not present in any of released
Python version yet. It's not Bazaar fault.

BTW, I've tried to add this file to Python 3 years ago. See my patch and
its history in Python bugtracker:

http://bugs.python.org/issue1616979

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) said :
#4

Thanks Alexander Belchenko, that solved my question.