List Info

Thread: Trac SVN working with Perforce?




Trac SVN working with Perforce?
country flaguser name
United States
2007-06-13 18:26:45

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:Python24Libsite-packagestracwebmain.py", line 406, in dispatch_request

    dispatcher.dispatch(req)

  File "C:Python24Libsite-packagestracwebmain.py", line 237, in dispatch

    resp = chosen_handler.process_request(req)

  File "C:Python24Libsite-packagestracversioncontrolweb_uibrowser.py", line 112, in process_request

    rev_or_latest = rev or repos.youngest_rev

  File "c:Python24libsite-packagestracversioncontrolapi.py", line 211, in <lambda>

 &nbsp;  youngest_rev = property(lambda x: x.get_youngest_rev())

  File "C:Python24Libsite-packagestracversioncontrolcache.py", line 216, in get_youngest_rev

 &nbsp;  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 trac-usersgooglegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Re: Trac SVN working with Perforce?
user name
2008-01-03 10:12:01
Hi,
 
Sorry for the long response time :-(
I've submitted some new developments in perforceplugin to support Trac 0.10.4 and Trac 0.11b1
Maybe you could re-try the plugin.... and send me any comments, i will respond as fast as possible...
 
Regards,
 
Thomas
-----Original Message-----
From: trac-usersgooglegroups.com [mailto:trac-usersgooglegroups.com] On Behalf Of Rob Cecil
Sent: jeudi 14 juin 2007 01:27
To: trac-usersgooglegroups.com
Subject: [Trac] Trac SVN working with Perforce?

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:Python24Libsite-packagestracwebmain.py", line 406, in dispatch_request

 &nbsp;  dispatcher.dispatch(req)

  File "C:Python24Libsite-packagestracwebmain.py", line 237, in dispatch

 &nbsp;  resp = chosen_handler.process_request(req)

  File "C:Python24Libsite-packagestracversioncontrolweb_uibrowser.py", line 112, in process_request

 &nbsp;  rev_or_latest = rev or repos.youngest_rev

  File "c:Python24libsite-packagestracversioncontrolapi.py", line 211, in <lambda>

 &nbsp;  youngest_rev = property(lambda x: x.get_youngest_rev())

  File "C:Python24Libsite-packagestracversioncontrolcache.py", line 216, in get_youngest_rev

 &nbsp;  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 trac-usersgooglegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )