Modify

Opened 16 years ago

Closed 3 years ago

#2202 closed defect (wontfix)

Traceback after trying to access p4 repository.

Reported by: anonymous Owned by: Lewis Baker
Priority: normal Component: PerforcePlugin
Severity: critical Keywords:
Cc: Trac Release: 0.10

Description

I have done the following:

1) Installed perforceplugin_trunk-r2798.zip with setup.py install 2) Created a new database.

trac-admin /var/trac initenv

(All values were defaults apart from repo type and dir)

3) Made the following additions to /var/conf/trac.ini

[trac]
repository_dir = p4://UUUU:XXXXXX@perforce:1666/?unicode=0
repository_type = perforce


[components]
p4trac.* = enabled

[perforce]
port = perforce:1666
user = UUUU
password = XXXXXX
unicode = 0

4) Started the server

tracd --port 8000 /var/trac

5) Connected web browser, and attempted to browse source (There is a long delay).

6) Received traceback

Python Traceback


Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in 
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 191, in 
dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 263, in 
_pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 
73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 277, in sync
    self.updateCache(fromChange=youngestStored+1)
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 248, in 
updateCache
    self.storeChangesInDB(changes)
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 199, in 
storeChangesInDB
    for path, kind, action, base_path, base_rev in cs.get_changes():
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 1114, in 
get_changes
    otherNode.change)
  File "build/bdist.linux-i686/egg/p4trac/repos.py", line 683, in 
_get_change
    self._nodePath.rev)
NoSuchNode

Note: My P4 server version is P4D/LINUX26X86/2006.1/102189 My Trac version is 0.10.4

I have also attempted to do the same with a virgin, freshly created P4 repository on the local machine and this worked OK.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lewis Baker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.