1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #92 resolved

Repository Workbench crashes by UnicodeEncodeError when it launches

Hirokazu Moriguchi
created an issue

Hello ! I try to use a Repository Workbench of TortoiseHg 1.9 on Japanese Windows 7/XP. It crashed when I select [Hg Workbench] of Windows Explorer (right-click) context menu.



Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.7.3+46-9f707b297b0f). TortoiseHg version (1.9.1+153-f397755e871f) Command: --nofork workbench CWD: C:\Users\Public\Documents\hirokazu\webworkers Extensions loaded: fixfrozenexts Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] Windows version: (6, 1, 7600, 2, '') Processor architecture: x64 Traceback (most recent call last): File "tortoisehg\hgqt\run.pyo", line 453, in call File "tortoisehg\hgqt\workbench.pyo", line 664, in run File "tortoisehg\hgqt\workbench.pyo", line 48, in init File "tortoisehg\hgqt\reporegistry.pyo", line 229, in init File "tortoisehg\hgqt\reporegistry.pyo", line 27, in settingsfilename UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128)


=== Environment: === * tortoisehg-unstable-1.9.1667.3550 * Windows 7 and XP (Language: Japanese)

=== Additional information: === * The path of its repository contains acsii characters only. (doesn't contains non-ascii chars) * Log messages contains non-ascii characters. * I haven't seen the same message when I use a Repository Explorer of TortoiseHg 1.1.8.


Comments (6)

  1. Hirokazu Moriguchi reporter

    Maybe your profile path (%USERPROFILE%) contains non-ascii characters?

    Yes! It contains non-ascii characters as you say. My problem was solved with the latest build(tortoisehg-unstable-1.9.1712.3550). Repository Workbench launches normaly now.

    Thank you!

  2. Log in to comment