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

Error in Termux #74

Open
xronin01 opened this issue Dec 24, 2024 · 10 comments
Open

Error in Termux #74

xronin01 opened this issue Dec 24, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@xronin01
Copy link

Screenshot_20241224-154411

Pakku 0.24.1
Openjdk 17

@github-project-automation github-project-automation bot moved this to Ready🚀 in Pakku project Dec 24, 2024
@juraj-hrivnak juraj-hrivnak added the bug Something isn't working label Dec 25, 2024
@xronin01 xronin01 changed the title Errror in Termux Error in Termux Jan 1, 2025
@juraj-hrivnak
Copy link
Owner

@xronin01 Can you try it with this build?

@xronin01
Copy link
Author

xronin01 commented Jan 4, 2025

does not work on jdk 17 and 21

@xronin01
Copy link
Author

xronin01 commented Jan 4, 2025

termux does not have jdk 22
Screenshot_20250104-131524

@juraj-hrivnak
Copy link
Owner

does not work on jdk 17 and 21

It prints the same error?

@juraj-hrivnak
Copy link
Owner

Pakku should work on Java 8 and up

@xronin01
Copy link
Author

xronin01 commented Jan 4, 2025

Exception in thread "main" java.lang.UnsupportedOperationException: Cannot find terminal interface that supports raw mode. You need at least one of the :mordant-jvm-* modules on your classpath.
The :mordant module includes all of them as transitive dependencies.
If you're using :mordant-core instead, you need to add one or more manually. If you're using only :mordant-jvm-ffm, make sure you're running with JVM 22+, and are passing
--enable-native-access=ALL-UNNAMED as a JVM argument.

    at com.github.ajalt.mordant.internal.DumbTerminalInterface.enterRawMode(MppInternal.jvm.kt:173)
    at com.github.ajalt.mordant.input.RawModeKt.enterRawMode(RawMode.kt:19)
    at com.github.ajalt.mordant.input.ReceiveEventsKt.receiveEvents(ReceiveEvents.kt:16)
    at com.github.ajalt.mordant.input.InteractiveSelectListKt.interactiveSelectListString(InteractiveSelectList.kt:110)
    at teksturepako.pakku.cli.cmd.Init$run$1.invokeSuspend(Init.kt:75)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at teksturepako.pakku.cli.cmd.Init.run(Init.kt:19)
    at com.github.ajalt.clikt.core.CoreCliktCommandKt.parse(CoreCliktCommand.kt:107)
    at com.github.ajalt.clikt.core.CoreCliktCommandKt.main(CoreCliktCommand.kt:78)
    at com.github.ajalt.clikt.core.CoreCliktCommandKt.main(CoreCliktCommand.kt:90)
    at teksturepako.pakku.MainKt.main(Main.kt:33)

@juraj-hrivnak
Copy link
Owner

Should be fixed in https://github.com/juraj-hrivnak/Pakku/actions/runs/12612092161
It will use the simple prompt on Termux

@xronin01
Copy link
Author

xronin01 commented Jan 4, 2025

screen-20250104-141147.mp4

@juraj-hrivnak
Copy link
Owner

I see. Okay this will be harder to fix.

@juraj-hrivnak
Copy link
Owner

ajalt/mordant#247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready🚀
Development

No branches or pull requests

2 participants