bitdowntoc icon indicating copy to clipboard operation
bitdowntoc copied to clipboard

Command line exceptions

Open roasterdave opened this issue 2 months ago • 0 comments

This appears to be a regression. Windows command lines like these worked properly in v2.2.0

>bitdowntoc_windows.exe --help >bitdowntoc_windows.exe >bitdowntoc_windows.exe test.md

Exception in thread "main" java.util.ServiceConfigurationError: com.github.ajalt.mordant.terminal.TerminalInterfaceProvider: Provider com.github.ajalt.mordant.terminal.terminalinterface.jna.TerminalInterfaceProviderJna not found
        at [email protected]/java.util.ServiceLoader.fail(ServiceLoader.java:593)
        at [email protected]/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1219)
        at [email protected]/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228)
        at [email protected]/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
        at [email protected]/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
        at [email protected]/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
        at com.github.ajalt.mordant.internal.MppInternal_jvmKt.getStandardTerminalInterface(MppInternal.jvm.kt:189)
        at com.github.ajalt.mordant.internal.MppInternalKt.<clinit>(MppInternal.kt:61)
        at com.github.ajalt.mordant.terminal.Terminal.<init>(Terminal.kt:59)
        at com.github.ajalt.clikt.core.MordantContextKt.getTerminal(MordantContext.kt:13)
        at com.github.ajalt.clikt.output.MordantHelpFormatter.getTheme(MordantHelpFormatter.kt:45)
        at com.github.ajalt.clikt.output.MordantHelpFormatter.styleUsageTitle(MordantHelpFormatter.kt:124)
        at com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage(MordantHelpFormatter.kt:69)
        at com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage(MordantHelpFormatter.kt:21)
        at com.github.ajalt.clikt.output.AbstractHelpFormatter.collectHelpParts(AbstractHelpFormatter.kt:37)
        at com.github.ajalt.clikt.output.MordantHelpFormatter.formatHelp$lambda$0(MordantHelpFormatter.kt:56)
        at com.github.ajalt.mordant.table.TableDslKt.verticalLayout(TableDsl.kt:370)
        at com.github.ajalt.clikt.output.MordantHelpFormatter.formatHelp(MordantHelpFormatter.kt:54)
        at com.github.ajalt.clikt.core.BaseCliktCommand.getFormattedHelp(BaseCliktCommand.kt:279)
        at com.github.ajalt.clikt.core.BaseCliktCommand.echoFormattedHelp(BaseCliktCommand.kt:292)
        at com.github.ajalt.clikt.core.CoreCliktCommandKt.main(CoreCliktCommand.kt:113)
        at com.github.ajalt.clikt.core.CoreCliktCommandKt.main(CoreCliktCommand.kt:90)
        at ch.derlin.bitdowntoc.MainKt.main(main.kt:155)

roasterdave avatar Nov 10 '25 21:11 roasterdave