Thanks guys. I was able to get it working. Appreciate it. On Jul 28, 12:26 pm, Olemis Lang <[email protected]> wrote: > On Mon, Jul 26, 2010 at 1:36 PM,Shane<[email protected]> wrote: > > Hi, > > :o) > > > > > I have Trac 0.12 hosted by Apache 2.2 using wsgi. Everything is > > working fine outside of the source browser. We use Mercurial here and > > I've been trying to get the TracMercurial plugin working with an > > instance I've created. I placed the plugin in the instance's plugin > > directory and modified a few items in the ini file. The plugin seems > > to load correctly, but when I access the trac instance, I receive the > > message "Warning: Can't synchronize with repository > > "(default)" (Unsupported version control system "hg": No module named > > mercurial). Look in the Trac log for more information." > > [...] > > What am I missing? > > Classic error on Windows. You have installed Hg , but (possibly) it is > not accessible in global site-packages (confirm that by issuing > `python -c import mercurial` from the command line) because MSI > package installs a frozen version (py2exe?) so stdlib et al are inside > library.zip file and not accessible from the outside . Possible > work-around , download source (sdist) package and execute > > {{{ > #!sh > > $ setup.py build_py > $ setup.py build_scripts > $ setup.py --skip-build > > ; Check ;o) > $ python -c "import mercurial" > > }}} > > Second alternative (/me never tried ;o) add library.zip to PYTHONPATH ... > > PS: You can just type > > {{{ > #!sh > > $ setup.py install > > }}} > > ... but that usually compiles C extensions , so you'll need MS VS 2k3 > or some other supported C compiler > > -- > Regards, > > Olemis. > > Blog ES:http://simelo-es.blogspot.com/ > Blog EN:http://simelo-en.blogspot.com/ > > Featured article: > Soluciones Olimpiadas de Matemática - IMO 2007 - Problema 4 > -http://soluciones-olimpiadas.blogspot.com/2010/07/imo-2007-problema-4...
-- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
