Opened 16 years ago
Closed 15 years ago
#7334 closed defect (fixed)
tracmercurial problem
Reported by: | Owned by: | Noah Kantrowitz | |
---|---|---|---|
Priority: | normal | Milestone: | plugin - mercurial |
Component: | plugin/mercurial | Version: | 0.11rc2 |
Severity: | normal | Keywords: | setuptools |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Hello, I've installed trac 0.11rc2 tracmercurial 0.11 (TracMercurial-0.11.0.3-py2.4.egg file is in /usr/lib/python2.4/site-packages) Mercurial version is: 1.0 (i didnt have any problems with 0.10.4 with tracmercurial 0.10) but i cannot browse mercurial repos: I see this warning:
Warning: Can't synchronize with the repository (Unsupported version control system "hg". Check that the Python support libraries for "hg" are correctly installed.) Here's entry from my trac.log: 2008-06-14 00:06:21,245 Trac[loader] ERROR: Skipping "hg = tracext.hg.backend": (can't import "No module named tracext.hg.backend")
And here's specific lines from my trac.ini
[components] tracext.hg.* = enabled [trac] repository_dir = /home/arch/hgrepos/l10n repository_type = hg
Attachments (0)
Change History (9)
follow-up: 2 comment:1 by , 16 years ago
Description: | modified (diff) |
---|---|
Keywords: | hg added |
Version: | → 0.11rc2 |
comment:2 by , 16 years ago
Replying to eblot:
Notice the version field in the ticket description: you want to fill in when you file a ticket.
hum: fill it … file in; anyway, please use the version field.
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
sorry for acting like a newbie :(
i've solved my problem. Here's what i have done: i did a svn co to tracmercurial-0.11
python setup.py bdist_egg then: easy_install --always-unzip TracMercurial-0.11.0.3-py2.4.egg echo "__import__('pkg_resources').declare_namespace(__name__)" > /usr/lib/python2.4/site-packages/TracMercurial-0.11.0.3-py2.4.egg/tracext/__init__.py }} The problem is, a __init__.py is missing in tracext dir.
comment:4 by , 16 years ago
Milestone: | → 0.11.1 |
---|
comment:5 by , 16 years ago
Milestone: | 0.11.1 → not applicable |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Actually Noah fixed this some days ago.
comment:6 by , 16 years ago
Component: | version control → plugin/mercurial |
---|---|
Keywords: | setuptools added; hg removed |
Owner: | changed from | to
Status: | reopened → new |
comment:8 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Fixed? Believe it or not I just ran into the same problem, I'm installing from the multirepos branch at 8584, and there was no init.py in my tracext.
Thought you might want to know.
comment:9 by , 15 years ago
Milestone: | not applicable → mercurial-plugin |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Just verified again all the 3 versions of the plugin using tracext
, the tracext/__init__.{py,pyc}
files are in the .egg.
Replying to dolus@eventualis.org:
Notice the version field in the ticket description: you want to fill in when you file a ticket.