Hi,

 

I am trying to configure Trac with an existing perforce SCM.

 

Windows Vista

Python 2.4.4

PyProtocols-0.9.3-py2.4-win32.egg 

setuptools-0.6c6-py2.4.egg

trac-0.11dev_r5675-py2.4.egg

PyPerforce-0.3a1-py2.4-win32

Postgresql 8.2.1

Psycopg2

PerforcePlugin Trunk (0.4.4)

 

 

After I get Trac up, and wait for the initial hit when Trac  is caching
all the changelists into the Trac db, I click on the Browse Source tab
in the main wiki Page, and I get

 

AttributeError: 'PerforceCachedRepository' object has no attribute
'youngest'

 

I have tried various other combinations, including Trac 10.4 Stable,
Python 2.5.1, etc.

 

Here is the trace:

 

Traceback (most recent call last):

  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 406, in
dispatch_request

    dispatcher.dispatch(req)

  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 237, in
dispatch

    resp = chosen_handler.process_request(req)

  File
"C:\Python24\Lib\site-packages\trac\versioncontrol\web_ui\browser.py",
line 112, in process_request

    rev_or_latest = rev or repos.youngest_rev

  File "c:\Python24\lib\site-packages\trac\versioncontrol\api.py", line
211, in <lambda>

    youngest_rev = property(lambda x: x.get_youngest_rev())

  File "C:\Python24\Lib\site-packages\trac\versioncontrol\cache.py",
line 216, in get_youngest_rev

    return self.youngest

AttributeError: 'PerforceCachedRepository' object has no attribute
'youngest'

 

Thanks!

Rob Cecil


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to