incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Schilder" <fsch...@users.sf.net>
Subject [allura:tickets] #6470 cannot edit subproject permissions [ss4716]
Date Tue, 23 Jul 2013 17:52:04 GMT
I have some more information.

This problem occurs only if

1) one creates a new svn tool
2) deletes the default group "Developers" from the write access box, so write access is now
empty
3) populates the repository with "svn inport" or the like

If one has at least one user group in the write access box, it is possible to change the access
later without problems. The error above seems to occur only if no-one is given write access
before importing a repository.

Best regards,
Frank



---

** [tickets:#6470] cannot edit subproject permissions [ss4716]**

**Status:** open
**Created:** Tue Jul 16, 2013 06:52 PM UTC by Chris Tsai
**Last Updated:** Wed Jul 17, 2013 03:37 PM UTC
**Owner:** nobody

[forge:site-support:#4716]

>I tried to add a group to the write permission box in the svn tool of the subproject "Toolbox
collection" of cocotools at path

>    https://sourceforge.net/p/cocotools/auto/admin/ep/permissions

>and get the error

>    Error 500
    We're sorry but we weren't able to process this request.

>A few days ago this was working fine.

>Best regards,
Frank

Tried making an edit to that myself (adding "Admin" to "Write"), and I got a 500 there as
well.

~~~~
 Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'name'
 URL: https://sourceforge.net/p/cocotools/auto/admin/ep/update
 File '/var/local/env-allura/lib/python2.7/site-packages/WebError-0.10.3_20130423-py2.7.egg/weberror/errormiddleware.py',
line 242 in next
   return self.app_iterator.next()
 File '/var/local/env-allura/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/registry.py',
line 409 in streaming_iter
   for item in self.application(environ, start_response):
 File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.7-py2.7.egg/ming/odm/middleware.py',
line 16 in __call__
   result = self.app(environ, start_response)
 File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 58 in __call__
   return self.app(environ, start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/EasyWidgets-0.2dev_20130603-py2.7.egg/ew/middleware.py',
line 65 in __call__
   result = self.app(environ, start_response)
 File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 171 in __call__
   return resp(environ, start_response)
 File '/var/local/allura/Allura/allura/config/middleware.py', line 193 in AlluraGlobalsMiddleware
   return app(environ, start_response)
 File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 139 in __call__
   return self._app(environ, session_start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py',
line 195 in __call__
   resp = req.get_response(self.app)
 File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py',
line 1053 in get_response
   application, catch_exc_info=False)
 File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py',
line 1022 in call_application
   app_iter = application(self.environ, start_response)
 File '/var/local/allura/Allura/allura/lib/custom_middleware.py', line 95 in __call__
   self.app, environ, catch_exc_info=True)
 File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/util.py',
line 48 in call_wsgi_application
   app_iter = application(environ, start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/Beaker-1.5.4-py2.7.egg/beaker/middleware.py',
line 152 in __call__
   return self.wrap_app(environ, session_start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py',
line 131 in __call__
   response = self.app(environ, start_response)
 File '/var/local/forge-classic/sfx/middleware.py', line 39 in __call__
   resp = request.get_response(self.app)
 File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py',
line 1053 in get_response
   application, catch_exc_info=False)
 File '/var/local/env-allura/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg/webob/request.py',
line 1022 in call_application
   app_iter = application(self.environ, start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/newrelic-1.11.0.55-py2.7-linux-x86_64.egg/newrelic/api/object_wrapper.py',
line 216 in __call__
   self._nr_instance, args, kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/newrelic-1.11.0.55-py2.7-linux-x86_64.egg/newrelic/api/error_trace.py',
line 61 in wrapper
   return wrapped(*args, **kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/wsgiapp.py',
line 107 in __call__
   response = self.dispatch(controller, environ, start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/wsgiapp.py',
line 312 in dispatch
   return controller(environ, start_response)
 File '/var/local/allura/Allura/allura/lib/base.py', line 46 in __call__
   response = super(WsgiDispatchController, self).__call__(environ, start_response)
 File '/var/local/env-allura/lib/python2.7/site-packages/newrelic-1.11.0.55-py2.7-linux-x86_64.egg/newrelic/api/object_wrapper.py',
line 216 in __call__
   self._nr_instance, args, kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/newrelic-1.11.0.55-py2.7-linux-x86_64.egg/newrelic/api/function_trace.py',
line 93 in literal_wrapper
   return wrapped(*args, **kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/newrelic-1.11.0.55-py2.7-linux-x86_64.egg/newrelic/api/object_wrapper.py',
line 216 in __call__
   self._nr_instance, args, kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/newrelic-1.11.0.55-py2.7-linux-x86_64.egg/newrelic/api/transaction_name.py',
line 39 in dynamic_wrapper
   return wrapped(*args, **kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/controllers/core.py',
line 211 in __call__
   response = self._dispatch_call()
 File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/controllers/core.py',
line 162 in _dispatch_call
   response = self._inspect_call(func)
 File '/var/local/env-allura/lib/python2.7/site-packages/Pylons-1.0-py2.7.egg/pylons/controllers/core.py',
line 105 in _inspect_call
   result = self._perform_call(func, args)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/controllers/dispatcher.py',
line 258 in _perform_call
   r = self._call(func, params, remainder=remainder)
 File '/var/local/allura/Allura/allura/lib/patches.py', line 93 in _call
   return old_controller_call(self, controller, *args, **kwargs)
 File '/var/local/env-allura/lib/python2.7/site-packages/TurboGears2-2.1.5-py2.7.egg/tg/controllers/decoratedcontroller.py',
line 120 in _call
   output = controller_callable(*remainder, **dict(params))
 File '<string>', line 2 in update
 File '/var/local/allura/Allura/allura/lib/patches.py', line 68 in without_trailing_slash
   return func(*args, **kwargs)
 File '/var/local/allura/Allura/allura/app.py', line 656 in update
   ', '.join(map(lambda id: model.ProjectRole.query.get(_id=ObjectId(id)).name, group_ids+del_group_ids)),
 File '/var/local/allura/Allura/allura/app.py', line 656 in <lambda>
   ', '.join(map(lambda id: model.ProjectRole.query.get(_id=ObjectId(id)).name, group_ids+del_group_ids)),
 AttributeError: 'NoneType' object has no attribute 'name'
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message