Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use other commands of git rev-list #64

Open
Mannafee opened this issue Oct 27, 2022 · 0 comments
Open

Cannot use other commands of git rev-list #64

Mannafee opened this issue Oct 27, 2022 · 0 comments

Comments

@Mannafee
Copy link

Recreate the error:
in rst file
.. git_changelog::
:rev-list: 0.0.2 --merges

<--------------------log messages-------------------------->

Sphinx version: 5.3.0

Python version: 3.10.6 (CPython)

Docutils version: 0.17.1 release

Jinja2 version: 3.1.2

Last messages:

reading sources... [ 52%] dev_environment/dev_paradigms/code_style_guide

reading sources... [ 54%] dev_environment/dev_paradigms/definition_user_stories

reading sources... [ 56%] dev_environment/dev_paradigms/repository_workflow

reading sources... [ 58%] dev_environment/dev_paradigms/testing

reading sources... [ 60%] dev_environment/development_environment

reading sources... [ 63%] dev_environment/development_tools

reading sources... [ 65%] dev_environment/test_environment

reading sources... [ 67%] index

reading sources... [ 69%] release/0.0.0-notes

reading sources... [ 71%] release/0.0.1-notes

Loaded extensions:

sphinx.ext.mathjax (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\mathjax.py

sphinxcontrib.applehelp (1.0.2) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxcontrib\applehelp_init_.py

sphinxcontrib.devhelp (1.0.2) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxcontrib\devhelp_init_.py

sphinxcontrib.htmlhelp (2.0.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxcontrib\htmlhelp_init_.py

sphinxcontrib.serializinghtml (1.1.5) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxcontrib\serializinghtml_init_.py

sphinxcontrib.qthelp (1.0.3) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxcontrib\qthelp_init_.py

alabaster (0.7.12) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\alabaster_init_.py

sphinx_rtd_theme (unknown version) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx_rtd_theme_init_.py

sphinx.ext.autodoc.preserve_defaults (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\autodoc\preserve_defaults.py

sphinx.ext.autodoc.type_comment (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\autodoc\type_comment.py

sphinx.ext.autodoc.typehints (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\autodoc\typehints.py

sphinx.ext.autodoc (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\autodoc_init_.py

sphinx.ext.napoleon (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\napoleon_init_.py

sphinx.ext.intersphinx (5.3.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\ext\intersphinx.py

sphinxarg.ext (0.2.5) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxarg\ext.py

sphinx_git (unknown version) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx_git_init_.py

sphinxcontrib.autodoc_pydantic (1.8.0) from C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinxcontrib\autodoc_pydantic_init_.py

Traceback (most recent call last):
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\cmd\build.py", line 281, in build_main
app.build(args.force_all, args.filenames)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\application.py", line 347, in build
self.builder.build_update()
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\builders_init_.py", line 310, in build_update
self.build(to_build,
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\builders_init_.py", line 326, in build
updated_docnames = set(self.read())
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\builders_init_.py", line 433, in read
self.read_serial(docnames)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\builders_init
.py", line 454, in read_serial
self.read_doc(docname)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\builders_init
.py", line 510, in read_doc
publisher.publish()
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\core.py", line 217, in publish
self.document = self.reader.read(self.source, self.parser,
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\io.py", line 104, in read
self.parse()
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\readers_init_.py", line 78, in parse
self.parser.parse(self.input, document)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx\parsers.py", line 78, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 170, in run
results = StateMachineWS.run(self, input_lines, input_offset,
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\statemachine.py", line 239, in run
context, next_state, result = self.check_line(
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\statemachine.py", line 451, in check_line
return method(match, context, next_state)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 3008, in text
self.section(title.lstrip(), source, style, lineno + 1, messages)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 327, in section
self.new_subsection(title, lineno, messages)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 393, in new_subsection
newabsoffset = self.nested_parse(
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 281, in nested_parse
state_machine.run(block, input_offset, memo=self.memo,
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\statemachine.py", line 239, in run
context, next_state, result = self.check_line(
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\statemachine.py", line 451, in check_line
return method(match, context, next_state)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 2769, in underline
self.section(title, source, style, lineno - 1, messages)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 327, in section
self.new_subsection(title, lineno, messages)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 393, in new_subsection
newabsoffset = self.nested_parse(
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 281, in nested_parse
state_machine.run(block, input_offset, memo=self.memo,
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\statemachine.py", line 239, in run
context, next_state, result = self.check_line(
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\statemachine.py", line 451, in check_line
return method(match, context, next_state)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 2342, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 2354, in explicit_construct
return method(self, expmatch)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 2096, in directive
return self.run_directive(
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\docutils\parsers\rst\states.py", line 2146, in run_directive
result = directive_instance.run()
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx_git_init_.py", line 132, in run
markup = self.build_markup(commits)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\sphinx_git_init
.py", line 170, in _build_markup
for commit in commits:
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\git\objects\commit.py", line 426, in _iter_from_process_or_stream
finalize_process(proc_or_stream)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\git\util.py", line 419, in finalize_process
proc.wait(**kwargs)
File "C:\Users\imsh\AppData\Local\pypoetry\Cache\virtualenvs\steeringassistant-8j5Gf1jG-py3.10\lib\site-packages\git\cmd.py", line 559, in wait
raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git rev-list 0.0.1 --no-merges --
stderr: 'fatal: bad revision '0.0.1 --no-merges'
'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant