1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #412 new

Error after removing large repository

phaase
created an issue

When trying to remove a large repository (~4G) via the web interface the remove operation finished without any error. However, the repository was still listed in the web interface and still existed on the file system. Clicking on the repository yields an 'Path not found error' (unfortunately I'm can't remember exactly). Trying to rescan the repository and activating the discard deleted repos button yielded also an error message. Trying to restart the rhodecode server was not possible, the server quits the restart process (see below for the rhodecode.log content). Deleting the removed repository manual from the file system solved the problem!

{{{

!plain

From rhodecode.log:

File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 2 29, in invoke filtered = context.next_context.create() File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 7 10, in create return self.object_type.invoke(self) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line 1 46, in invoke return fix_call(context.object, context.global_conf, context.local_conf) File "/usr/local/lib/python2.6/dist-packages/paste/deploy/util.py", line 56, i n fix_call val = callable(*args, kw) File "/usr/local/lib/python2.6/dist-packages/rhodecode/config/middleware.py", line 40, in make_app config = load_environment(global_conf, app_conf) File "/usr/local/lib/python2.6/dist-packages/rhodecode/config/environment.py", line 77, in load_environment repo2db_mapper(ScmModel().repo_scan(repos_path)) File "/usr/local/lib/python2.6/dist-packages/rhodecode/model/scm.py", line 184 , in repo_scan for name, path in get_filesystem_repos(repos_path, recursive=True): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 192 , in _get_repos for inner_scm in _get_repos(rec_path): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 192 , in _get_repos for inner_scm in _get_repos(rec_path): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 192 , in _get_repos for inner_scm in _get_repos(rec_path): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 192 , in _get_repos for inner_scm in _get_repos(rec_path): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 192 , in _get_repos for inner_scm in _get_repos(rec_path): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 192 , in _get_repos for inner_scm in _get_repos(rec_path): File "/usr/local/lib/python2.6/dist-packages/rhodecode/lib/utils.py", line 180 , in _get_repos if os.path.isfile(os.path.join(p, dirpath)): File "/usr/lib/python2.6/posixpath.py", line 70, in join path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 25: ordinal not in range(128) Removing PID file /var/www/rhodecode/rhodecode.pid

}}}

Comments (3)

  1. Log in to comment