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
  • #4399
Closed
Open
Created Dec 21, 2015 by Bitbucket Importer@bitbucket_importerOwner

msi: Can't download archive (ZIP) file from Web Server

Created originally on Bitbucket by Anonymous

TortoiseHG 3.6.2. When I try to download repository as ZIP archive an exception occurs:

#!python

127.0.0.1 - - [21/Dec/2015 08:57:20] Exception happened during processing request '/archive/7d4462a5a56a.zip':
Traceback (most recent call last):
  File "mercurial\hgweb\server.pyo", line 80, in do_POST
  File "mercurial\hgweb\server.pyo", line 73, in do_write
  File "mercurial\hgweb\server.pyo", line 141, in do_hgweb
  File "mercurial\hgweb\hgweb_mod.pyo", line 281, in run_wsgi
  File "mercurial\hgweb\hgweb_mod.pyo", line 396, in _runwsgi
  File "mercurial\extensions.pyo", line 183, in closure
  File "hgext\largefiles\overrides.pyo", line 903, in hgwebarchive
  File "mercurial\hgweb\webcommands.pyo", line 1092, in archive
  File "mercurial\extensions.pyo", line 183, in closure
  File "hgext\largefiles\overrides.pyo", line 944, in overridearchive
  File "hgext\largefiles\overrides.pyo", line 938, in write
  File "mercurial\archival.pyo", line 243, in addfile
  File "zipfile.pyo", line 1246, in writestr
  File "mercurial\archival.pyo", line 192, in __getattr__
AttributeError: 'wsgirequest' object has no attribute 'seek'

May be this is a bug 4492. But TortoiseHG use Python 2.7.9 that not fixed this bug.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking