Contributors mailing list archives

Browse archives



Nils Coenen
- 12/07/2023 14:42:27

Dear Contributors,

i know… this topic maybe don´t belong here… But i´ll give it a try… I do have the following problem:


Switched from mac to a Win PC a while ago with my dev enviroment. Everything was working great and the performance boost is quite addictive ;P

But something happened now and i dont know what exactly.


So here is my bottleneck right now.  For some reason (which i dont know) i am not able to patch the code anymore when migrating a module.


So the format patch…

git format-patch --keep-subject --stdout origin/16.0..origin/15.0 -- MODULE | git am -3 –keep“

… will not apply and i get the following error:


fatal: empty ident name (for <>) not allowed

Applying: From 9db567da369584bfa55d85bb9e42f167ae4135ea Mon Sep 17 00:00:00 2001


So the git am got stuck and when i look at the author-script in the rebase-apply folder, there is nothing for GIT_AUTHOR_NAME='', GIT_AUTHOR_EMAIL='', GIT_AUTHOR_DATE=''

I already set the name and email in gitconfig (local & global) with git config --global "NAME" & with git config --global "EMAIL" but the behaviour is the same.


In addition, i dont know where it gets this line from: From 9db567da369584bfa55d85bb9e42f167ae4135ea Mon Sep 17 00:00:00 2001


When i enter the name and email in the author script file and continue the am… -> Applying: From 9db567da369584bfa55d85bb9e42f167ae4135ea Mon Sep 17 00:00:00 2001

But i guess the reference is totally wrong!


Has anybody an idea, what happens here and why it doesnt pull the name & Email properly?


I addition the pre-commit makes trouble as well.

Generate the default for an addons directory fails with the error:

- hook id: setuptools-odoo-make-default

- exit code:


Traceback (most recent call last):

  File "c:\users\my_user\appdata\local\programs\python\python38\lib\", line 194, in _run_module_as_main

    return _run_code(code, main_globals, None,

  File "c:\users\my_user\appdata\local\programs\python\python38\lib\", line 87, in _run_code

    exec(code, run_globals)

  File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\Scripts\setuptools-odoo-make-default.EXE\", line 7, in <module>

  File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\", line 402, in main


  File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\", line 152, in make_default_setup_addons_dir


  File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\", line 122, in make_default_setup_addon

    os.symlink(os.path.relpath(addon_dir, odoo_addons_path), link_path)

OSError: [WinError 1314] Dem Client fehlt ein erforderliches Recht: '..\\..\\..\\..\\MODULE' -> '.\\setup\\MODULE\\odoo\\addons\\MODULE'


So i guess there is eaither a problem with symlink (if necessary), access rights on my local drive or Visual Studio Issue. Futhermore i get:

************* Module MODULE

MODULE\views\file1.xml:1: [W7930(file-not-used), ]  not used from manifest

MODULE\views\file2.xml:1: [W7930(file-not-used), ]  not used from manifest

************* Module MODULE


And some further files listed that dont really exist n the format-pached files….

Already checked a lot of infos from the web, but nothing worked out.


Is anybody aware of whats going on here or rather can help me to sort this out?

I wanted to give it a try this way, before performing more and more tests or before decide to use my old enviroment and setup the new system from scratch.


Any helpful hint is much appreciated


All the best




28865 Lilienthal 
Deutschland (Germany) 


  • Avatar

    Re: Git

    Nils Coenen
    - 12/07/2023 15:58:58 - 0
  • Avatar

    Re: Git

    ClosingAp Open Source Integrators Europe, LDA, Daniel Reis
    - 12/07/2023 15:17:42 - 0