#6 new
Ferhat Ileri

Rescan error after updating to newest version in 2.2.x branch

Reported by Ferhat Ileri | May 8th, 2015 @ 12:10 PM | in Report a Bug

Hi,

We were using an older version in de 2.2.x branch and tryed out rhodecode v3 but installation was a bit buggy so we decided to use the newest version in the 2.2.x branch. We've had contact about the buggy installation of rhodecode v3 with John Farrell but we hadn't got enough time to test it so we updated the 2.2.x to 2.2.7.
After the update rescan doesn't work correctly We hope you guys can point out what the issue is. We get the following errors:

2015-04-24 17:00:10.694 INFO [rhodecode.model.scm] scanning for repositories in /mnt/projects/vhosts
Error - : 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
URL: http://172.16.20.101:5000/_admin/settings/mapping
File '/opt/rhodecode/store/zrl0zy56iy37ccnhyjddsil0adpi4z11-python2.7-WebError-0.10.3/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in call
app_iter = self.application(environ, sr_checker) File '/opt/rhodecode/store/mcq5i6yvqnnrxh99751j5w20lbssmb2c-python2.7-Beaker-1.6.4/lib/python2.7/site-packages/beaker/middleware.py', line 155 in call
return self.wrap_app(environ, session_start_response) File '/opt/rhodecode/store/ysgdnpf8cikxjwqbs21vqc5nbd4bik66-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/middleware.py', line 131 in call
response = self.app(environ, start_response) File '/opt/rhodecode/store/qmva89qidp13cgvrdzcaa8llr8mksxjk-python2.7-Pylons-1.0/lib/python2.7/site-packages/pylons/wsgiapp.py', line 107 in call
response = self.dispatch(controller, environ, start_response) File '/opt/rhodecode/store/qmva89qidp13cgvrdzcaa8llr8mksxjk-python2.7-Pylons-1.0/lib/python2.7/site-packages/pylons/wsgiapp.py', line 312 in dispatch
return controller(environ, start_response) File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/base.py', line 455 in call
return WSGIController.__call__(self, environ, start_response) File '/opt/rhodecode/store/qmva89qidp13cgvrdzcaa8llr8mksxjk-python2.7-Pylons-1.0/lib/python2.7/site-packages/pylons/controllers/core.py', line 211 in call
response = self._dispatch_call() File '/opt/rhodecode/store/qmva89qidp13cgvrdzcaa8llr8mksxjk-python2.7-Pylons-1.0/lib/python2.7/site-packages/pylons/controllers/core.py', line 162 in dispatch_call
response = self._inspect_call(func) File '/opt/rhodecode/store/qmva89qidp13cgvrdzcaa8llr8mksxjk-python2.7-Pylons-1.0/lib/python2.7/site-packages/pylons/controllers/core.py', line 105 in inspect_call
result = self._perform_call(func, args) File '/opt/rhodecode/store/qmva89qidp13cgvrdzcaa8llr8mksxjk-python2.7-Pylons-1.0/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in perform_call
return func(**args) File '', line 2 in settings_mapping
File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/auth.py', line 834 in __wrapper
return func(*fargs, **fkwargs) File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/controllers/admin/settings.py', line 210 in settings
mapping
filesystem
repos = ScmModel().repo_scan() File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/model/scm.py', line 280 in repo_scan
for name, path in get_filesystem_repos(repos_path, recursive=True): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in get_repos
for inner_scm in _get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in _get
repos
for inner
scm in get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in get_repos
for inner_scm in get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in _get_repos
for inner
scm in _get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in _get
repos
for inner_scm in _get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in _get
repos
for inner_scm in get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 262 in _get_repos
for inner_scm in _get_repos(rec_path): File '/opt/rhodecode/store/xpkhywlxbwb655w8403xdwmsc3103mad-python2.7-RhodeCodeEnterprise-2.2.7/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 241 in _get
repos
if os.path.isfile(os.path.join(p, dirpath)): File '/opt/rhodecode/store/ml27k6lrz2133cjx1xszlyxp2gg62lld-python-2.7.8/lib/python2.7/posixpath.py', line 80 in join
path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

CGI Variables

CONTENT_TYPE: 'application/x-www-form-urlencoded; charset="utf-8"' HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' HTTP_ACCEPT_ENCODING: 'gzip, deflate' HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8,nl;q=0.6' HTTP_CACHE_CONTROL: 'max-age=0' HTTP_CONNECTION: 'keep-alive' HTTP_COOKIE: 'mp_b5e6ddf58b2d02245a7a19005d1cec48_mixpanel=%7B%22distinct_id%22%3A%20%2214c94a49bb520b-026f0d42d-454a0828-1fa400-14c94a49bb6738%22%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2F172.16.20.101%3A8000%2F%22%2C%22%24initial_referring_domain%22%3A%20%22172.16.20.101%3A8000%22%7D; rhodecode=866893b69ccfbb880ded11963ca01da51b65a5f74ff00ce9ba7340d7bc58b0ffecb899af' HTTP_HOST: '172.16.20.101:5000' HTTP_ORIGIN: 'http://172.16.20.101:5000' HTTP_REFERER: 'http://172.16.20.101:5000/_admin/settings/mapping' HTTP_USER_AGENT: 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36' PATH_INFO: '/_admin/settings/mapping' RAW_URI: '/_admin/settings/mapping' REMOTE_ADDR: '10.10.20.10' REMOTE_PORT: '39731' REQUEST_METHOD: 'POST' SERVER_NAME: '0.0.0.0' SERVER_PORT: '5000' SERVER_PROTOCOL: 'HTTP/1.1' SERVER_SOFTWARE: 'gunicorn/19.1.1'

WSGI Variables

application: beaker.get_session: > beaker.session: {'rhodecode_user': {'user_id': 14, 'username': u'ncsystem', 'is_authenticated': True}, '_creation_time': 1429887454.508136, '_accessed_time': 1429887610.580683, 'flash': [('error', literal(u'You reached the maximum number of users (20) available with your licence key, please contact support to extend your licence'))]} gunicorn.socket: paste.registry: paste.throw_errors: True pylons.action_method: > pylons.controller: pylons.environ_config: {'cache': 'beaker.cache', 'session': 'beaker.session'} pylons.pylons: pylons.routes_dict: {'controller': u'admin/settings', 'action': u'settings_mapping'} routes.route: routes.url: webob._parsed_post_vars: (MultiDict([('rescan', 'Rescan Repositories')]), ) webob._parsed_query_vars: (GET([]), '') webob.adhoc_attrs: {'language': 'en-us', 'user': , 'errors': 'ignore'} webob.is_body_readable: True webob.is_body_seekable: False wsgi process: 'Multiprocess' wsgi._org_proto: 'http' wsgi.file_wrapper:

wsgiorg.routing_args: (, {'controller': u'admin/settings', 'action': u'settings_mapping'})

2015-04-24 17:00:12.016 INFO [rhodecode.RequestWrapper] IP: 10.10.20.10 Request to /_admin/settings/mapping time: 1.449s
2015-04-24 17:00:12.042 INFO [rhodecode.lib.base] IP: 10.10.20.10 User: accessed /_admin/settings/mapping
2015-04-24 17:00:12.044 INFO [rhodecode.RequestWrapper] IP: 10.10.20.10 Request to /_admin/settings/mapping time: 0.028s

Greetings,
Ferhat Ileri

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages