[kforge-dev] plugin data id mismatch?
John Bywater
john.bywater at appropriatesoftwarefoundation.org
Mon Sep 19 14:18:59 UTC 2005
Tried to delete an svn service on a project on the recently upgraded test.kforge.net.
I'll change the kforge.plugin.svn code, but did the upgrade cause the database ids to be inconsistent with the filesystem directories?
J.
#####################################################
There's been an error:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/django-1.0.0-py2.3.egg/django/core/handlers/base.py", line 64, in get_response
response = callback(request, **param_dict)
File "/home/kforge/svn-kforge/trunk/core/src/kforge/django/apps/kui/views/service.py", line 255, in delete
def delete( request, project, plugin, service): return ServiceListView(request, project, plugin, service).delete()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/django/apps/kui/views/service.py", line 187, in delete
self.deleteService()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/django/apps/kui/views/service.py", line 211, in deleteService
deleteCommand.execute()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/command.py", line 495, in execute
service.delete()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/dom.py", line 970, in delete
super(Service, self).delete()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/dom.py", line 710, in delete
self.raiseDelete()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/dom.py", line 728, in raiseDelete
self.onDelete()
File "/home/kforge/svn-kforge/trunk/core/src/kforge/dom.py", line 980, in onDelete
self.notifyPlugins('DeleteService', self)
File "/home/kforge/svn-kforge/trunk/core/src/kforge/dom.py", line 720, in notifyPlugins
controller.notify(*args)
File "/home/kforge/svn-kforge/trunk/core/src/kforge/plugin/__init__.py", line 62, in notify
eventHandler(eventSender)
File "/home/kforge/svn-kforge/trunk/core/src/kforge/plugin/svn.py", line 32, in onDeleteService
self.utils.deleteRepository(repoPath)
File "/home/kforge/svn-kforge/trunk/core/src/kforge/plugin/svn.py", line 81, in deleteRepository
shutil.rmtree(fullPath)
File "/usr/lib/python2.3/shutil.py", line 142, in rmtree
raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 2] No such file or directory removing /home/kforge/kforgetest/var/plugin_data/svn/157
More information about the kforge-dev
mailing list