-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Problematic invocation: unknown argument '--debug' #51
Comments
Have you tried `--verbose` which is the `pandoc` equivalent?
<https://pandoc.org/MANUAL.html>
<https://heerdebeer.org/Software/markdown/pandocomatic/>
--
Ben
In tenebra solus sto
On December 18, 2024, GitHub ***@***.***> wrote:
Hello,
thanks again for this fantastic tool.
I have a few issue initialising it on my Mac M1:
the debug invocation is mysteriously buggy and prevents completely
the use of Scrivomatic...
=== ------------------------------------------------------ ===
=== Scrivomatic V1.0.36 Report @ 2024-12-18 19:16:16 +0100 ===
=== ------------------------------------------------------ ===
Running shell: /bin/zsh
Working directory: /Users/xxx/Downloads/testscrivomatic1.md
Initiating with Ruby 2.6.10
===------ Input Options: ------===
#<struct Scrivomatic::OPT input="testscrivomatic1.md", output=nil,
to=nil, yaml="pandocomatic.yaml", command="pandocomatic",
envpath="/Users/jlr/bin:/Users/jlr/.rbenv/shims:/Library/TeX/texbin:/opt/homebrew/bin:/usr/local/bin",
build=false, cleanup=false, verbose=true, dry_run=false,
open_log=true, data_dir=nil>
===------ Final ENV PATH: ------===
/Users/xxx/bin:/Users/xxx/.rbenv/shims:/Library/TeX/texbin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Scrivener.app/Contents/Resources/MultiMarkdown/bin
===------ TOOL PATHS: ------===
---pandoc: /opt/homebrew/bin/pandoc | V: 3.6
---ruby: /Users/xxx/.rbenv/shims/ruby | V: ruby 3.2.0 (2022-12-25
revision a528908271) [arm64-darwin24]
---pandocomatic: /Users/xxx/.rbenv/shims/pandocomatic | V: 2.0.1
---paru library: V: 1.4.1
---rbenv versions:
system
* 3.2.0 (set by /Users/xxx/.rbenv/version)
---rbenv: /opt/homebrew/bin/rbenv
---gem: /Users/xxx/.rbenv/shims/gem
---xelatex: /Library/TeX/texbin/xelatex
---latexmk: /Library/TeX/texbin/latexmk
… running pandocomatic, please wait …
===------ COMMAND OUTPUT: ------===
:: Running: /Users/xxx/.rbenv/shims/pandocomatic -c pandocomatic.yaml
--debug testscrivomatic1.md
::: Problematic invocation: unknown argument '--debug'.
:: exit status: pid 16758 exit 243
!!!---scrivomatic::runCommand() RETURN non-zero value:
/Users/xxx/.rbenv/shims/pandocomatic -c pandocomatic.yaml --debug
testscrivomatic1.md !!!
—
Reply to this email directly, view it on GitHub
<#51>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAA2SM3PXSSN62A3EWT55XD2GG6OJAVCNFSM6AAAAABT3KHT4GVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42DQNJQGE2TSNY>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
yes, even with --enable pandoc-verbose (the pandocomatic equivalent) |
Understood. Mind sharing the scrivomatic configuration? I'm asking
because it has a `--debug` in the call:
```
/Users/xxx/.rbenv/shims/pandocomatic -c pandocomatic.yaml --debug
```
--
Ben
In tenebra solus sto
On December 18, 2024, GitHub ***@***.***> wrote:
yes, even with --enable pandoc-verbose (the pandocomatic equivalent)
—
Reply to this email directly, view it on GitHub
<#51 (comment)-
2552228889>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAA2SMY74PVX4UB46NOCKG32GHMVLAVCNFSM6AAAAABT3KHT4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJSGIZDQOBYHE>.
You are receiving this because you commented.Message ID:
***@***.***>
|
thanks for your help! here is the configuration (it's the standard one)
|
Hi, pandocomatic V2.x has changed debug and added logging: https://github.com/htdebeer/pandocomatic/releases/tag/2.0.0 — scrivomatic hasn't yet been updated to handle these changes. Possibly reverting to < 2 would be a stop gap. I didn't have much time to test, but will definitely need to adjust scrivomatic's handling of logging (it currently tries to capture everything it can, but perhaps we can take advantage of pandocomatic doing this now), and adjust to pandocomatic's debug flag changes. I will try to have a look in the next couple of days. |
I just tested and I couldn't reproduce, though I have a slightly modified scrivomatic (I've switched to use pixi over rbenv, but this shouldn't impact pandocomatic directly). I'll release my current version and you can test. I am using |
Try V1.0.40, though I am cannot see any of Pandoc's verbose output itself, this may be a pandocomatic V2.0 issue? htdebeer/pandocomatic#118 |
Thanks! I will give it a try at the end of next week :-) |
OK, let me know if it works. Issue #118 was resolved (it was my mistake, not a pandocomatic problem) and so as long as you add |
Hello,
thanks again for this fantastic tool.
I have a few issue initialising it on my Mac M1:
the debug invocation is mysteriously buggy and prevents completely the use of Scrivomatic...
=== ------------------------------------------------------ ===
=== Scrivomatic V1.0.36 Report @ 2024-12-18 19:16:16 +0100 ===
=== ------------------------------------------------------ ===
Running shell: /bin/zsh
Working directory: /Users/xxx/Downloads/testscrivomatic1.md
Initiating with Ruby 2.6.10
===------ Input Options: ------===
#<struct Scrivomatic::OPT input="testscrivomatic1.md", output=nil, to=nil, yaml="pandocomatic.yaml", command="pandocomatic", envpath="/Users/xxx/bin:/Users/xxx/.rbenv/shims:/Library/TeX/texbin:/opt/homebrew/bin:/usr/local/bin", build=false, cleanup=false, verbose=true, dry_run=false, open_log=true, data_dir=nil>
===------ Final ENV PATH: ------===
/Users/xxx/bin:/Users/xxx/.rbenv/shims:/Library/TeX/texbin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Scrivener.app/Contents/Resources/MultiMarkdown/bin
===------ TOOL PATHS: ------===
---pandoc: /opt/homebrew/bin/pandoc | V: 3.6
---ruby: /Users/xxx/.rbenv/shims/ruby | V: ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin24]
---pandocomatic: /Users/xxx/.rbenv/shims/pandocomatic | V: 2.0.1
---paru library: V: 1.4.1
---rbenv versions:
system
---rbenv: /opt/homebrew/bin/rbenv
---gem: /Users/xxx/.rbenv/shims/gem
---xelatex: /Library/TeX/texbin/xelatex
---latexmk: /Library/TeX/texbin/latexmk
… running pandocomatic, please wait …
===------ COMMAND OUTPUT: ------===
:: Running: /Users/xxx/.rbenv/shims/pandocomatic -c pandocomatic.yaml --debug testscrivomatic1.md
::: Problematic invocation: unknown argument '--debug'.
:: exit status: pid 16758 exit 243
!!!---scrivomatic::runCommand() RETURN non-zero value: /Users/xxx/.rbenv/shims/pandocomatic -c pandocomatic.yaml --debug testscrivomatic1.md !!!
The text was updated successfully, but these errors were encountered: