1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #799 resolved

Beta throws exception when clicking 'edit' for repository

valentijnscholten
created an issue

Module rhodecode.controllers.admin.repos:2 in edit Module rhodecode.lib.auth:609 in __wrapper

return func(fargs, fkwargs) Module rhodecode.controllers.admin.repos:495 in edit defaults = self.load_data(repo_name) Module rhodecode.controllers.admin.repos:122 in load_data .filter(RepositoryField.repository == db_repo).all() Module sqlalchemy.orm.query:2115 in all return list(self) Module rhodecode.lib.caching_query:83 in iter return Query.iter(self) Module sqlalchemy.orm.query:2227 in iter return self._execute_and_instances(context) Module sqlalchemy.orm.query:2242 in _execute_and_instances result = conn.execute(querycontext.statement, self._params) Module sqlalchemy.engine.base:1449 in execute params) Module sqlalchemy.engine.base:1584 in _execute_clauseelement compiled_sql, distilled_params Module sqlalchemy.engine.base:1698 in _execute_context context) Module sqlalchemy.engine.base:1691 in _execute_context context) Module sqlalchemy.engine.default:331 in do_execute cursor.execute(statement, parameters) OperationalError: (OperationalError) no such table: repositories_fields u'SELECT repositories_fields.repo_field_id AS repositories_fields_repo_field_id, repositories_fields.repository_id AS repositories_fields_repository_id, repositories_fields.field_key AS repositories_fields_field_key, repositories_fields.field_label AS repositories_fields_field_label, repositories_fields.field_value AS repositories_fields_field_value, repositories_fields.field_desc AS repositories_fields_field_desc, repositories_fields.field_type AS repositories_fields_field_type, repositories_fields.created_on AS repositories_fields_created_on \nFROM repositories_fields \nWHERE ? = repositories_fields.repository_id' (17,) CGI Variables CONNECTION_TYPE 'close' CONTENT_TYPE '; charset="utf-8"' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.3' HTTP_ACCEPT_ENCODING 'gzip,deflate,sdch' HTTP_ACCEPT_LANGUAGE 'nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4' HTTP_COOKIE 'rhodecode=*****' HTTP_HOST 'git.isaac.nl' HTTP_PROXY_HOST 'rhodecode' HTTP_REFERER 'https://git.isaac.nl/rhodecode/pangaea-nxg' HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22' HTTP_X_HOST 'git.isaac.nl' HTTP_X_REAL_IP '172.17.5.44' HTTP_X_URL_SCHEME 'https' PATH_INFO '/pangaea-nxg/edit' REMOTE_ADDR '172.17.5.44' REQUEST_METHOD 'GET' SCRIPT_NAME '/rhodecode' SERVER_NAME 'localhost' SERVER_PORT '5000' SERVER_PROTOCOL 'HTTP/1.0' SERVER_SOFTWARE 'waitress' WSGI Variables application <beaker.middleware.SessionMiddleware object at 0x4b8ba90> beaker.get_session <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x4b8ba90>> beaker.session {'_authentication_token': '947bc3abb08e2d62153c07b90fa75620dbc4847f', 'rhodecode_user': {'username': u'valentijn', 'is_authenticated': True, 'user_id': 3}, '_accessed_time': 1363619450.628139, '_creation_time': 1363367996.523934} paste.registry <paste.registry.Registry object at 0x521c250> paste.throw_errors True pylons.action_method <bound method ReposController.edit of <rhodecode.controllers.admin.repos.ReposController object at 0x54761d0>> pylons.controller <rhodecode.controllers.admin.repos.ReposController object at 0x54761d0> pylons.environ_config {'session': 'beaker.session', 'cache': 'beaker.cache'} pylons.pylons <pylons.util.PylonsContext object at 0x5344dd0> pylons.routes_dict {'action': u'edit', 'controller': u'admin/repos', 'repo_name': u'pangaea-nxg'} routes.route <routes.route.Route object at 0x4758350> routes.url <routes.util.URLGenerator object at 0x530e8d0> webob._parsed_query_vars (GET([]), '') webob.adhoc_attrs {'user': <AuthUser('id:3:valentijn|True')>, 'language': 'en-us'} wsgi process 'Multithreaded' wsgi._org_proto 'https' wsgi.file_wrapper <class 'waitress.buffers.ReadOnlyFileBasedBuffer'> wsgiorg.routing_args (<routes.util.URLGenerator object at 0x530e8d0>, {'action': u'edit', 'controller': u'admin/repos', 'repo_name': u'pangaea-nxg'})

On branch default it works fine.

Comments (2)

  1. Log in to comment