Note that there are some explanatory texts on larger screens.

plurals
  1. POMercurial largefiles not working on Windows Server 2008
    primarykey
    data
    text
    <p>I'm trying to get the largefiles extension working on a mercurial server under Windows Server 2008 / IIS 7.5 with the hgweb.wsgi script.</p> <p>When I clone a repo with largefiles locally (but using <code>https://domain/</code>, not a file system path) everything gets cloned fine, but when I try it on a different machine I get <code>abort: remotestore: largefile XXXXX is missing</code></p> <p>Here's the verbose output:</p> <pre><code>requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 177 changes to 177 files calling hook changegroup.lfiles: &lt;function checkrequireslfiles at 0x0000000002E00358&gt; updating to branch default resolving manifests getting .hglf/path/to.file ... 177 files updated, 0 files merged, 0 files removed, 0 files unresolved getting changed largefiles getting path/to.file:c0c81df934cd72ca980dd156984fa15987e3881d abort: remotestore: largefile c0c81df934cd72ca980dd156984fa15987e3881dis missing </code></pre> <p>Both machines have the extension working. I've tried disabling the firewall but that didn't help. Do I have to do anything to set up the extension besides adding it to mercurial.ini?</p> <p>Edit: If I delete the files from the server's <code>AppData\Local\largefiles\</code> directory, I get the same error when cloning on the server, unless I use a filesystem path to clone, in which case the files are added back to `AppData\Local\largefiles\'</p> <p>Edit 2: Here's the debug output and traceback:</p> <pre><code>177 files updated, 0 files merged, 0 files removed, 0 files unresolved getting changed largefiles using http://domain sending capabilities command getting largefiles: 0/75 lfile (0.00%) getting path/to.file:64f2c341fb3b1adc7caec0dc9c51a97e51ca6034 sending statlfile command Traceback (most recent call last): File "mercurial\dispatch.pyo", line 87, in _runcatch File "mercurial\dispatch.pyo", line 685, in _dispatch File "mercurial\dispatch.pyo", line 467, in runcommand File "mercurial\dispatch.pyo", line 775, in _runcommand File "mercurial\dispatch.pyo", line 746, in checkargs File "mercurial\dispatch.pyo", line 682, in &lt;lambda&gt; File "mercurial\util.pyo", line 463, in check File "mercurial\commands.pyo", line 1167, in clone File "mercurial\hg.pyo", line 400, in clone File "mercurial\extensions.pyo", line 184, in wrap File "hgext\largefiles\overrides.pyo", line 629, in hgupdate File "hgext\largefiles\lfcommands.pyo", line 416, in updatelfiles File "hgext\largefiles\lfcommands.pyo", line 398, in cachelfiles File "hgext\largefiles\basestore.pyo", line 80, in get File "hgext\largefiles\remotestore.pyo", line 56, in _getfile Abort: remotestore: largefile 64f2c341fb3b1adc7caec0dc9c51a97e51ca6034 is missing </code></pre> <p>The <code>_getfile</code> function throws an exception because the <code>statlfile</code> command returns that the file wasn't found. </p> <p>I've never used python myself, so I don't know what I'm doing while trying to debug this :D</p> <p>AFAIK the <code>statlfile</code> command gets executed on the server so I can't debug it from my local machine. I've tried running <code>python -m win32traceutil</code> on the server, but it doesn't show anything. I also tried setting <code>accesslog</code> and <code>errorlog</code> in the server's mercurial config file, but it doesn't generate them. </p> <p>I run hg through the hgweb.wsgi script, and I have no idea if/how I can get into the python debugger using that, but if I could get the debugger running on the server I could narrow down the problem...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload