Alejandro Moya
11/13/2023, 12:53 AMAlejandro Moya
11/13/2023, 12:54 AMkevin.cianfarini
11/13/2023, 12:58 AMColton Idle
11/13/2023, 3:36 PMNon-fatal Exception: java.io.IOException: canceled due to retrofit2. HttpException: HTTP 503
at okhttp3. internal.connection. RealCall$AsyncCall. run (RealCall. kt : 530)
at java. util. concurrent. ThreadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145)
at java. util. concurrent. ThreadPoolExecutor$Worker. run (ThreadPoolExecutor. java: 644)
at java. lang. Thread. run (Thread. java: 1012)
but im confused on how to take anything actionable from that. There's literally no other information. Is there someway to update the app so that I can get a stacktrace to a callsite in the app code?Nabil
11/15/2023, 1:31 PMFIN
flag to indicate if this is the final fragment in a message.
The onMessage
callback in WebSocketListener doesn’t mention if the returned payload is the defragmented message or no?Colton Idle
11/16/2023, 10:15 PMTlaster
11/17/2023, 7:53 AMAlejandro Rios
11/18/2023, 8:18 PMs3rius
11/19/2023, 5:24 PMSQLiteException: [SQLITE_ERROR] SQL error or missing database (cannot start a transaction within a transaction)
. This probably happens because the tested object ends up creating two non-related coroutines which both call db.transaction { ... }
. And particularly in the test environment there's a good chance they run at exactly the same time.
So if someone could help me out with these questions it'd be great:
• Does this only happen with the InMemory JdbcSqliteDriver driver, or potentially also with the regular JdbcSqliteDriver and Android drivers?
• What are my options to handle this scenario? The easiest I can think of is a single-threaded Dispatcher that I use for all database transactions.Richard Glen
11/20/2023, 7:08 AMNacho Ruiz Martin
11/20/2023, 12:36 PMNOT NULL
in the past and now I’m altering it within a migration with:
ALTER TABLE X
ALTER COLUMN Y DROP NOT NULL;
I have
deriveSchemaFromMigrations.set(true)
in my gradle file.
Still, the generated data class and inserts are not marking those fields as nullable.
I have tried to run generateDatabaseInterface
with no luck.
This is PostgreSQL, btw.
Any idea why this could be happening? 🙇Tech
11/20/2023, 2:31 PMapi
will hold all my SQLDelight queries and models and I want app1 and app2 to stay in sync with that.
I was trying to find an article or something explaining how to properly do this but just haven't really found much, and I'm not sure if the official docs say how to do this either.Richard Glen
11/21/2023, 3:08 AMPaul Woitaschek
11/21/2023, 8:11 AMvanniktech
11/22/2023, 6:45 PMThomas Skovsgaard
11/23/2023, 10:15 AMFailed to resolve: com.squareup.okio:okio-nodefilesystem:3.6.0
I have no problem with the core com.squareup.okio:okio:3.6.0
Shabinder Singh
11/23/2023, 12:42 PMaishwaryabhishek3
11/24/2023, 10:13 AMRafs
11/24/2023, 12:25 PMRichard Glen
11/25/2023, 4:38 AMUnexpected column alias parent {}: []
Tim Malseed
11/26/2023, 11:48 PMColton Idle
11/27/2023, 5:51 PMJason Zhao
11/27/2023, 11:39 PMbuild.gradle.kts
. But always exactly one of the two drivers gets detected.
Here is the erroring code (just trying to make a R2DBC connection pool):
pooledConnectionFactory = ConnectionFactories.get(
ConnectionFactoryOptions.builder()
.option(ConnectionFactoryOptions.DRIVER, "pool")
.option(ConnectionFactoryOptions.PROTOCOL, "postgresql")
.option(ConnectionFactoryOptions.HOST, config.host)
.option(ConnectionFactoryOptions.PORT, config.port)
.option(ConnectionFactoryOptions.USER, config.username)
.option(ConnectionFactoryOptions.PASSWORD, config.password)
.option(ConnectionFactoryOptions.DATABASE, config.database)
.build()
)
This is the error (in this case it found "pool" but didn't find "postgresql"):
Exception in thread "DefaultDispatcher-worker-2" java.lang.IllegalArgumentException: Could not find delegating driver [postgresql]
I have a really unusual setup though. The project is a multi-module KMP project, and the module I am building compiles to a Minecraft plugin (Spigot API) which loads after the game server itself, so that might be a potential issue. The module that has the R2DBC dependencies is different from the Minecraft module which is being compiled.
Both of the dependencies do show in the compiled JAR file as shown in the image below.
Anyone know what is wrong with my setup and how to get both drivers to be detected?Jason Zhao
11/29/2023, 10:55 PMwithContext(<http://Dispatchers.IO|Dispatchers.IO>)
instead because of how little support/testing seems to have been done (another example is how the BYTEA data type still doesn't work after I reported it a few months ago).Slackbot
11/30/2023, 2:43 PMMatt Nelson
12/01/2023, 7:03 PM2.0.1
👀alec
12/01/2023, 7:20 PMalec
12/01/2023, 7:49 PMalec
12/01/2023, 7:49 PMalec
12/01/2023, 7:49 PM