Skip to content

Conversation

@joshuali925
Copy link
Contributor

Thanks for the project. Found an issue when deployed on railway:

Steps:

  1. deploy reader on Railway with READER_APP_MONGOURI configured
  2. create reader account, add book source
  3. add book into library
  4. redeploy
  5. refresh reader page

Error (seems to only occur on Railway, didn't happen locally):

java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1023)
at com.htmake.reader.utils.VertExtKt.getStorage(VertExt.kt:193)
at com.htmake.reader.api.controller.BaseController.getUserStorage(BaseController.kt:220)
at com.htmake.reader.api.controller.BookController.getBookShelfBooks(BookController.kt:1804)
at com.htmake.reader.api.YueduApi$shelfUpdateJob$1.invokeSuspend(YueduApi.kt:469)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)

@hectorqin hectorqin merged commit 9e14ec3 into hectorqin:master Jul 31, 2022
@hectorqin
Copy link
Owner

ok, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants