Note that there are some explanatory texts on larger screens.

plurals
  1. POwhat are the mercurial hgweb.cgi and python matching versions
    primarykey
    data
    text
    <p>Mercurial version is 1.9.1</p> <pre><code>C:\Inetpub\hgweb&gt;hg version Mercurial Distributed SCM (version 1.9.1) (see http://mercurial.selenic.com for more information) Copyright (C) 2005-2011 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. </code></pre> <p>and i'm trying to run the file "hgweb.cgi" located at mercurial</p> <p>tried with python 2.5, 2.7 and 3.2 but i'm still getting the magic number error.</p> <pre><code>C:\Inetpub\hgweb&gt;c:\Python25\python.exe hgweb.cgi Traceback (most recent call last): File "hgweb.cgi", line 15, in &lt;module&gt; from mercurial import demandimport; demandimport.enable() ImportError: Bad magic number in C:\Inetpub\hgweb\mercurial\__init__.pyc C:\Inetpub\hgweb&gt;c:\Python27\python.exe hgweb.cgi Traceback (most recent call last): File "hgweb.cgi", line 15, in &lt;module&gt; from mercurial import demandimport; demandimport.enable() ImportError: Bad magic number in C:\Inetpub\hgweb\mercurial\__init__.pyc C:\Inetpub\hgweb&gt;c:\Python32\python.exe hgweb.cgi Traceback (most recent call last): File "hgweb.cgi", line 15, in &lt;module&gt; from mercurial import demandimport; demandimport.enable() ImportError: Bad magic number in C:\Inetpub\hgweb\mercurial\__init__.pyc </code></pre> <p>What version should i use for python?</p> <blockquote> <p>Edit #2</p> </blockquote> <p>I re-copy the Library.zip contents located in mercurial near to hgweb.cgi and the exception is "No module named mercurial". but there's a folder named 'mercurial' and it contains pyo files. (Tried other python version 2.7, 3.2 and error is the same)</p> <p>details: </p> <pre><code>&lt;type 'exceptions.ImportError'&gt; Python 2.5.4: C:\Python25\python.exe Thu Aug 11 23:24:26 2011 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. C:\Inetpub\hgweb\hgweb.cgi in () 13 import cgitb; cgitb.enable() 14 15 from mercurial import demandimport; demandimport.enable() 16 from mercurial.hgweb import hgweb, wsgicgi 17 application = hgweb(config) mercurial undefined, demandimport undefined &lt;type 'exceptions.ImportError'&gt;: No module named mercurial args = ('No module named mercurial',) message = 'No module named mercurial' </code></pre> <blockquote> <h1>Edit 3</h1> </blockquote> <p>Installed python 2.6 </p> <p>And the new error is :</p> <pre><code>Traceback (most recent call last): File "C:\Inetpub\hgweb\hgweb.cgi ", line 17, in &lt;module&gt; application = hgweb(config) File "mercurial\hgweb\__init__.pyc", line 26, in hgweb File "mercurial\hgweb\hgwebdir_mod.pyc", line 62, in __init__ ||ƒSt|iƒ}|}xæ|oŞ|i|ƒ} | o™||id File "mercurial\hgweb\hgwebdir_mod.pyc", line 71, in refresh |||ƒS|it|ƒ|dd|ƒSWn&lt;tj File "mercurial\ui.pyc", line 43, in __init__ |iƒ|djotiidƒ}n|id|ƒdS(NtsectionstremapsIgnored: %s File "mercurial\demandimport.pyc", line 75, in __getattribute__ File "mercurial\demandimport.pyc", line 47, in _load _demandimportQs:" File "mercurial\scmutil.pyc", line 164, in &lt;module&gt; File "mercurial\scmutil.pyc", line 180, in opener (R÷tctx(smercurial\scmutil.pyctbadfn;s(R-(RRŸRØtbad(RRştoptsRRßR((R÷Rsmercurial\scmutil.pycRŸ3s File "mercurial\demandimport.pyc", line 75, in __getattribute__ File "mercurial\demandimport.pyc", line 47, in _load _demandimportQs:" File "mercurial\util.pyc", line 503, in &lt;module&gt; File "mercurial\demandimport.pyc", line 85, in _demandimport File "mercurial\windows.pyc", line 21, in &lt;module&gt; cCscy|iiƒSWnKtj File "mercurial\demandimport.pyc", line 75, in __getattribute__ File "mercurial\demandimport.pyc", line 47, in _load _demandimportQs:" File "mercurial\osutil.pyc", line 12, in &lt;module&gt; File "mercurial\osutil.pyc", line 10, in __load ImportError: DLL load failed: The specified module could not be found. </code></pre>
    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.
 

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