- Mailing Lists
- Contributors
- Re: Git
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: Git
My recommendation would be to instead use Git inside a WSL2 Ubuntu environment.
Thanks
Daniel
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 user.name "NAME" & with git config --global user.email "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 setup.py 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\runpy.py", 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\runpy.py", 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\__main__.py", line 7, in <module>
File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\make_default_setup.py", line 402, in main
make_default_setup_addons_dir(
File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\make_default_setup.py", line 152, in make_default_setup_addons_dir
make_default_setup_addon(
File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\make_default_setup.py", 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
Nils
--
NICO SOLUTIONS - ENGINEERING & IT
Dr.-Ruckert-Str. 1G
28865 Lilienthal
Deutschland (Germany)
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
MANAGING PARTNER
M:
+351 919 991 307
E:
dreis@OpenSourceIntegrators.com
A:
Avenida da República 3000, Estoril Office B, 3º Escr.34,
2649-517 Cascais
by Daniel Reis - 03:22 - 12 Jul 2023
Reference
-
Git
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 user.name "NAME" & with git config --global user.email "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 setup.py 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\runpy.py", 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\runpy.py", 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\__main__.py", line 7, in <module>
File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\make_default_setup.py", line 402, in main
make_default_setup_addons_dir(
File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\make_default_setup.py", line 152, in make_default_setup_addons_dir
make_default_setup_addon(
File "C:\Users\ my_user \.cache\pre-commit\reposb6fkp7c\py_env-python3\lib\site-packages\setuptools_odoo\make_default_setup.py", 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
Nils
--
NICO SOLUTIONS - ENGINEERING & IT
Dr.-Ruckert-Str. 1G
28865 Lilienthal
Deutschland (Germany)
by Nils Coenen - 02:47 - 12 Jul 2023