gedit git repo mirror issues

Asked by Ken VanDine on 2019-02-11

The git repository mirror for gedit fails to scan.

https://code.launchpad.net/~gnome3-team/gedit/+git/gedit

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
2019-02-15
Last query:
2019-02-15
Last reply:
2019-02-15
Colin Watson (cjwatson) said : #1

OK, looks like this is a bit more than just operational issues. Here's the traceback:

[2019-02-11 21:20:33 +0000] [14075] [ERROR] Error handling request
Traceback (most recent call last):
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 130, in handle
    self.handle_request(listener, req, client, addr)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 171, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/router.py", line 242, in __call__
    response = self.invoke_subrequest(request, use_tweens=True)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/router.py", line 217, in invoke_subrequest
    response = handle_request(request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/tweens.py", line 46, in excview_tween
    response = view_callable(exc, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/config/views.py", line 385, in viewresult_to_response
    result = view(context, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
    response = handler(request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request
    response = view_callable(context, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/config/views.py", line 596, in __call__
    return view(context, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view
    return view(context, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper
    return view(context, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/config/views.py", line 355, in rendered_view
    result = view(context, request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view
    response = view(request)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/env/local/lib/python2.7/site-packages/cornice/service.py", line 527, in wrapper
    response = view_()
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/turnip/api/views.py", line 33, in validate_path_decorator
    return func(self, self.repo_store, name)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/turnip/api/views.py", line 270, in collection_post
    commits = store.get_commits(repo_store, repo_name, commits)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/turnip/api/store.py", line 478, in get_commits
    commits.append(get_commit(repo_store, repo_name, commit, repo))
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/turnip/api/store.py", line 469, in get_commit
    return format_commit(git_object)
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/turnip/api/store.py", line 72, in format_commit
    'author': format_signature(git_object.author),
  File "/srv/turnip/payloads/919c62ee918fc2c35e6e410226f9d6f1f8fd39ba/turnip/api/store.py", line 82, in format_signature
    'name': signature.name,
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfa in position 3: invalid start byte

Could you press the "Create bug report" button on this question? We'll need to account for the commit with non-UTF-8 metadata here.

Best William Grant (wgrant) said : #2

The bugfix has been rolled out, and I've rescanned gedit successfully.

Ken VanDine (ken-vandine) said : #3

Thanks!

Ken VanDine (ken-vandine) said : #4

Thanks William Grant, that solved my question.