Edgewall Software

Ticket #7334 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

tracmercurial problem

Reported by: dolus@… Owned by: nkantrowitz
Priority: normal Milestone: not applicable
Component: plugin/mercurial Version: 0.11rc2
Severity: normal Keywords: setuptools
Cc:

Description (last modified by eblot) (diff)

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

Change History

in reply to: ↑ description ; follow-up: ↓ 2   Changed 5 months ago by eblot

  • keywords hg added
  • version set to 0.11rc2
  • description modified (diff)

Replying to dolus@eventualis.org:

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)

Notice the version field in the ticket description: you want to fill in when you file a ticket.

in reply to: ↑ 1   Changed 5 months ago by eblot

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.

  Changed 5 months ago by dolus@…

  • status changed from new to closed
  • resolution set to fixed

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.

  Changed 5 months ago by Piotr Kuczynski <piotr.kuczynski@…>

  • milestone set to 0.11.1

  Changed 5 months ago by cboos

  • status changed from closed to reopened
  • resolution fixed deleted
  • milestone changed from 0.11.1 to not applicable

Actually Noah fixed this some days ago.

  Changed 5 months ago by cboos

  • keywords setuptools added; hg removed
  • owner changed from cboos to nkantrowitz
  • status changed from reopened to new
  • component changed from version control to plugin/mercurial

  Changed 5 months ago by cboos

  • status changed from new to closed
  • resolution set to fixed

Fixed in [7217:7218].

Add/Change #7334 (tracmercurial problem)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from nkantrowitz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.