18 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
53
views
Gluon native app on Android 9 crashes with java.lang.UnsatisfiedLinkError: com.sun.javafx.font.FontConfigManager.getFontConfig
I have Compiled and Package a native apk for android using gluonfx using the following build.gradle config:
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.1.0'
id 'com....
0
votes
1
answer
152
views
TestFX and Monocle on RHEL not working in headless mode
I'm trying to run a simple TestFX application on RHEL 9.4.
It works fine in 'normal' mode, but for CI I need to also run in headless mode.
I'm using Java 1.8.0_431 and Monocle 1.8.0_20.
Running from a ...
1
vote
1
answer
596
views
monocle3 installation issues
I have R 4.2.1 and the latest R studio build 554 on a macOS Monterey.
I am trying to install monocle3 using the following :
BiocManager::install('monocle3')
I get a really long error message
...
0
votes
1
answer
2k
views
Can't install monocle3 in 4.2.1 R on Windows
trying to download monocle3: https://cole-trapnell-lab.github.io/monocle3/docs/installation/
receiving the error:
Installing package into ‘C:/Users/drnan/AppData/Local/R/win-library/4.2’
(as ‘lib’ is ...
1
vote
0
answers
141
views
How to parse deeply nested JSON in Scala with Monocle (Lens)
I've read an example on how to use monocle to parse some deeply jsons but the example its kind of straight forward, but I've a more difficulty one that
looks like this:
{
"products": {
&...
3
votes
1
answer
175
views
JavaFX Virtual keyboard blink
I develop an embedded JavaFX app for touch screen.
I have a problem with JavaFX vitrual keyboard. When it's displayed, the screen blink (more specially, it blink from keyboard to app quickly).
I run ...
1
vote
1
answer
793
views
Running JavaFx test on headless CI enviroment with Monocle fails
I'm trying to write test on for JavaFx, which will work on headless CI. When I run my tests in normal way, all tests work properly, but if I run them on CI they don't. It seems that FxRobot doesn't ...
0
votes
1
answer
281
views
Shapeless lenses strange behavior
I am trying to convert my case class into a sequence containing a lens for each field. I've created the following simplified example to highlight the problem that I am having.
The following code will ...
5
votes
1
answer
238
views
Scala Monocle - Cannot find method id in E
The class definition looks like this:
abstract class EntityWithIdHelper[E <: { def id: Int }] {
def idLens: Lens[E, Int] = GenLens[E](_.id)
...
How do you avoid this problem - Cannot find ...
Etam's user avatar
- 4,673
7
votes
1
answer
512
views
Modifying an attribute with Monocle Lenses using the value of another attribute
I have the following model
import monocle.macros.Lenses
import monocle.function.all._
import monocle.std.list._
@Lenses("_") case class Poll(pollChoices: List[PollChoice], totalVoteCount: Int)
@...
1
vote
2
answers
3k
views
Use Horizontal Scroll in Android WebView
I am currently using epublib-core to read epubs and display them in Android WebView with the following code -
webView.loadDataWithBaseURL(baseURL, new String(spineReferences.get(chapter/* <- int*/)...
0
votes
0
answers
397
views
Monocle ebook reader - how to load a book data object rather than sample text
I am trying to test monocle for a brief pdf, but I can't even get the super-basic sample to work with the index, content1 and content2 files. All that shows up in the body is the word "test" that's ...
4
votes
1
answer
717
views
Epub Reader Usage using Monocle
I need one conformation about using epub reader.how to give input as .epub file in monocle epub reader.I saw more samples in monocle github. But cannot identify which one will works.
I need to know ...
3
votes
1
answer
461
views
how to make next and previous button in monocle ebook reader using this codes?
I created this function for next and previous button, in other words there are 2 buttons in my html page and when i click next or previous the pages in the monocle will also move accordingly,
i read ...
0
votes
1
answer
394
views
pdf with 25mb size not readable in monocle reader
I just started using the monocle reader and tried using a pdf i downloaded before it has roughly 800 pages and 25mb file size, the problem now is that monocle returns with this error
TypeError: ...