Opened 18 years ago
Closed 3 years ago
#963 closed defect (wontfix)
'Browse Source' doesn't work after installation
Reported by: | Owned by: | Lewis Baker | |
---|---|---|---|
Priority: | normal | Component: | PerforcePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Hi,
I have successfully installed PyPerforce and TracPerforce. Followed the instructions on the PerforcePlugin page and have set the repository_dir and repository_path to proper values. But still, when i click on the 'Browse Source' link on the trac-page, I get a page with an error -- "Unsupported version control system -perforce".
Did I miss anything during config?
-vikas
Attachments (0)
Change History (6)
comment:1 Changed 18 years ago by
comment:2 follow-up: 3 Changed 18 years ago by
I have also Problems: I got this error message:
Python Traceback Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/web_ui/browser.py", line 112, in process_request rev_or_latest = rev or repos.youngest_rev File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 210, in <lambda> youngest_rev = property(lambda x: x.get_youngest_rev()) File "/usr/local/lib/python2.5/site-packages/trac/versioncontrol/cache.py", line 218, in get_youngest_rev return self.youngest AttributeError: 'PerforceCachedRepository' object has no attribute 'youngest'
comment:3 Changed 17 years ago by
comment:4 Changed 17 years ago by
For those who might encounter this issue in the future (or these posters if they're still in need)... I had to run the service logged on as someone with above-average permissions.
For me, I had to do this for both a user-created TracD service and the Apache service. If you're using either of these configurations, you can enter 'services.msc' from the Start->Run dialog and find the service name, then select Properties, and its "Log On" tab. Change the radio button from "Local System Account" to the one below it and enter the account credentials.
I'm not sure if you need to give it an administrative user (which is what I did)... so users in the User or Power User group may still work.
comment:5 Changed 17 years ago by
I got this error before I had added a [components] section to trac.ini. Unfortunately the README doesn't mention this, so it is assumed knowledge when adding any plugins. This is supposed to be required for central plugin installs. For a local plugin install it shouldn't be needed, however I was unable to get that working at all (copying the generated egg file into the project plugins directory left me with the same message.
I also have problems after installation. I have confirmed that python does have a perforce module.
==============================================
Traceback (most recent call last):
TracError: Unsupported version control system "perforce"