stderr: Committer identity unknown #26

Closed
opened 2022-07-03 17:52:50 -04:00 by dachary · 4 comments

image

GitCommandError at /infra/create/loic/

Cmd('git') failed due to: exit code(128)
  cmdline: git commit --message=add VM loic --author=Dashboard Bot <bot@dashboard.hostea.org>
  stderr: 'Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.
![image](/attachments/ac25512f-a3d5-4b64-8a0e-ea448685b08e) ``` GitCommandError at /infra/create/loic/ Cmd('git') failed due to: exit code(128) cmdline: git commit --message=add VM loic --author=Dashboard Bot <bot@dashboard.hostea.org> stderr: 'Committer identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. ```
191 KiB
dachary changed title from stderr: 'Committer identity unknown to stderr: Committer identity unknown 2022-07-03 17:53:39 -04:00

Interesting, I have set author and it didn't throw any errors in neither my dev machine nor the CI.

I'll have to see how to set committer now.

Interesting, I have set `author` and it didn't throw any errors in neither my dev machine nor the CI. I'll have to see how to set committer now.
realaravinth self-assigned this 2022-07-04 02:21:41 -04:00
Poster
Owner

It is better to not set it globally as it would modify ~/.gitconfig.

  git config user.email "contact@hostea.org"
  git config user.name "Hostea"
It is better to not set it globally as it would modify `~/.gitconfig`. ``` git config user.email "contact@hostea.org" git config user.name "Hostea" ```
Poster
Owner

GitCommandError at /infra/create/personal/

Cmd('git') failed due to: exit code(128)
  cmdline: git commit --message=add VM personal --author=Dashboard Bot <bot@dashboard.hostea.org>
  stderr: 'Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <debian@hostea.org>) not allowed'

Request Method: 	GET
Request URL: 	https://hosteadashboard.hostea.org/infra/create/personal/
Django Version: 	4.0.3
Exception Type: 	GitCommandError
Exception Value: 	

Cmd('git') failed due to: exit code(128)
  cmdline: git commit --message=add VM personal --author=Dashboard Bot <bot@dashboard.hostea.org>
  stderr: 'Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <debian@hostea.org>) not allowed'

Exception Location: 	/srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 984, in execute
Python Executable: 	/srv/hosteadashboard/venv/bin/python3
Python Version: 	3.9.2
Python Path: 	

['/srv/hosteadashboard/dashboard',
 '/srv/hosteadashboard/venv/lib/python3.9/site-packages/git/ext/gitdb',
 '/usr/lib/python39.zip',
 '/usr/lib/python3.9',
 '/usr/lib/python3.9/lib-dynload',
 '/srv/hosteadashboard/venv/lib/python3.9/site-packages',
 '/srv/hosteadashboard/venv/lib/python3.9/site-packages/gitdb/ext/smmap']

Server time: 	Fri, 08 Jul 2022 10:21:30 +0000
Traceback Switch to copy-and-paste view

    /srv/hosteadashboard/venv/lib/python3.9/site-packages/django/core/handlers/exception.py, line 55, in inner

                        response = get_response(request)

         …
    Local vars
    /srv/hosteadashboard/venv/lib/python3.9/site-packages/django/core/handlers/base.py, line 197, in _get_response

                        response = wrapped_callback(request, *callback_args, **callback_kwargs)

         …
    Local vars
    /srv/hosteadashboard/venv/lib/python3.9/site-packages/django/contrib/auth/decorators.py, line 23, in _wrapped_view

                        return view_func(request, *args, **kwargs)

         …
    Local vars
    /srv/hosteadashboard/dashboard/infrastructure/views.py, line 54, in create_instance

            res = create_vm_if_not_exists(instance=instance)

         …
    Local vars
    /srv/hosteadashboard/dashboard/infrastructure/utils.py, line 84, in create_vm_if_not_exists

                (gitea_password, commit) = infra.add_vm(instance=instance)

         …
    Local vars
    /srv/hosteadashboard/dashboard/infrastructure/utils.py, line 324, in add_vm

                commit = self._commit(action="add", subdomain=subdomain)

         …
    Local vars
    /srv/hosteadashboard/dashboard/infrastructure/utils.py, line 228, in _commit

                return self.repo.git.commit(

         …
    Local vars
    /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 639, in <lambda>

                return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)

         …
    Local vars
    /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 1184, in _call_process

                return self.execute(call, **exec_kwargs)

         …
    Local vars
    /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 984, in execute

                    raise GitCommandError(redacted_command, status, stderr_value, stdout_value)

         …
    Local vars
``` GitCommandError at /infra/create/personal/ Cmd('git') failed due to: exit code(128) cmdline: git commit --message=add VM personal --author=Dashboard Bot <bot@dashboard.hostea.org> stderr: 'Committer identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for <debian@hostea.org>) not allowed' Request Method: GET Request URL: https://hosteadashboard.hostea.org/infra/create/personal/ Django Version: 4.0.3 Exception Type: GitCommandError Exception Value: Cmd('git') failed due to: exit code(128) cmdline: git commit --message=add VM personal --author=Dashboard Bot <bot@dashboard.hostea.org> stderr: 'Committer identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for <debian@hostea.org>) not allowed' Exception Location: /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 984, in execute Python Executable: /srv/hosteadashboard/venv/bin/python3 Python Version: 3.9.2 Python Path: ['/srv/hosteadashboard/dashboard', '/srv/hosteadashboard/venv/lib/python3.9/site-packages/git/ext/gitdb', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/srv/hosteadashboard/venv/lib/python3.9/site-packages', '/srv/hosteadashboard/venv/lib/python3.9/site-packages/gitdb/ext/smmap'] Server time: Fri, 08 Jul 2022 10:21:30 +0000 Traceback Switch to copy-and-paste view /srv/hosteadashboard/venv/lib/python3.9/site-packages/django/core/handlers/exception.py, line 55, in inner response = get_response(request) … Local vars /srv/hosteadashboard/venv/lib/python3.9/site-packages/django/core/handlers/base.py, line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) … Local vars /srv/hosteadashboard/venv/lib/python3.9/site-packages/django/contrib/auth/decorators.py, line 23, in _wrapped_view return view_func(request, *args, **kwargs) … Local vars /srv/hosteadashboard/dashboard/infrastructure/views.py, line 54, in create_instance res = create_vm_if_not_exists(instance=instance) … Local vars /srv/hosteadashboard/dashboard/infrastructure/utils.py, line 84, in create_vm_if_not_exists (gitea_password, commit) = infra.add_vm(instance=instance) … Local vars /srv/hosteadashboard/dashboard/infrastructure/utils.py, line 324, in add_vm commit = self._commit(action="add", subdomain=subdomain) … Local vars /srv/hosteadashboard/dashboard/infrastructure/utils.py, line 228, in _commit return self.repo.git.commit( … Local vars /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 639, in <lambda> return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) … Local vars /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 1184, in _call_process return self.execute(call, **exec_kwargs) … Local vars /srv/hosteadashboard/venv/lib/python3.9/site-packages/git/cmd.py, line 984, in execute raise GitCommandError(redacted_command, status, stderr_value, stdout_value) … Local vars ```
realaravinth started working 2022-07-08 09:27:12 -04:00
realaravinth stopped working 2022-07-08 09:35:10 -04:00
7min 58s
Poster
Owner
fixed by https://gitea.hostea.org/Hostea/dashboard/pulls/43
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Total Time Spent: 7 minutes 58 seconds
realaravinth
7 minutes 58 seconds
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hostea/dashboard#26
There is no content yet.