Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5575
Closed
Open
Created Jul 18, 2020 by alexrayne@alexrayne

thg crash build on win8 rus py3.8

hallow try to invoke setup.py build on my system: win8 rus py3.8

got this crash:

(venv.py38) D:\projects\hg\thg\thg.work>setup build
running build
running build_ui
running build_mo
creating locale
creating locale\ar
creating locale\ar\LC_MESSAGES
generating locale\ar\LC_MESSAGES\tortoisehg.mo from i18n/tortoisehg\ar.po
creating locale\bg
creating locale\bg\LC_MESSAGES
generating locale\bg\LC_MESSAGES\tortoisehg.mo from i18n/tortoisehg\bg.po
Traceback (most recent call last):
  File "D:\projects\hg\thg\thg.work\setup.py", line 780, in <module>
    setup(name=productname,
  File "c:\python38\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\python38\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "c:\python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\python38\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "c:\python38\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "D:\projects\hg\thg\thg.work\setup.py", line 66, in run
    self.make_file(pofile, mofile, _msgfmt, (pofile, mofile))
  File "c:\python38\lib\distutils\cmd.py", line 400, in make_file
    self.execute(func, args, exec_msg, level)
  File "c:\python38\lib\distutils\cmd.py", line 335, in execute
    util.execute(func, args, msg, dry_run=self.dry_run)
  File "c:\python38\lib\distutils\util.py", line 303, in execute
    func(*args)
  File "D:\projects\hg\thg\thg.work\setup.py", line 49, in _msgfmt
    modata = Msgfmt(pofile).get()
  File "D:\projects\hg\thg\thg.work\i18n\msgfmt.py", line 130, in get
    self.read()
  File "D:\projects\hg\thg\thg.work\i18n\msgfmt.py", line 146, in read
    for l in self.readPoData():
  File "c:\python38\lib\encodings\cp1251.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 815: character maps to <undefined>
(venv.py38) D:\projects\hg\thg\thg.work>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking