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

importing translation files #2871

Open
door43app opened this issue Feb 20, 2023 · 0 comments
Open

importing translation files #2871

door43app opened this issue Feb 20, 2023 · 0 comments

Comments

@door43app
Copy link

Notes

importing translation files

Environment

Environment Key Value
version 11.0
build 176
UDID 2a5d7454c861e079
Android Release 7.0
Android SDK 24
Brand TECNO
Device TECNO-P904
Stack trace
======
java.lang.IllegalStateException: Fragment ImportDialog{36be0ee} not attached to Activity
	at android.app.Fragment.getResources(Fragment.java:814)
	at com.door43.translationstudio.ui.home.ImportDialog.showImportResults(ImportDialog.java:500)
	at com.door43.translationstudio.ui.home.ImportDialog.onFinished(ImportDialog.java:482)
	at org.unfoldingword.tools.taskmanager.SimpleTaskWatcher$1.run(SimpleTaskWatcher.java:158)
	at android.os.Handler.handleCallback(Handler.java:836)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loop(Looper.java:203)
	at android.app.ActivityThread.main(ActivityThread.java:6251)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

Log history

2/20/23 6:35 PM  E/importDialog: Could not import RC
org.unfoldingword.resourcecontainer.errors.InvalidRCException: Missing package.json file
	at org.unfoldingword.resourcecontainer.ResourceContainer.load(ResourceContainer.java:173)
	at com.door43.translationstudio.ui.home.ImportDialog.onActivityResult(ImportDialog.java:315)
	at android.app.Activity.dispatchActivityResult(Activity.java:6993)
	at android.app.ActivityThread.deliverResults(ActivityThread.java:4174)
	at android.app.ActivityThread.handleSendResult(ActivityThread.java:4221)
	at android.app.ActivityThread.-wrap20(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loop(Looper.java:203)
	at android.app.ActivityThread.main(ActivityThread.java:6251)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

2/20/23 6:35 PM  E/importDialog: Could not import RC
org.unfoldingword.resourcecontainer.errors.InvalidRCException: Missing package.json file
	at org.unfoldingword.resourcecontainer.ResourceContainer.load(ResourceContainer.java:173)
	at com.door43.translationstudio.ui.home.ImportDialog.onActivityResult(ImportDialog.java:315)
	at android.app.Activity.dispatchActivityResult(Activity.java:6993)
	at android.app.ActivityThread.deliverResults(ActivityThread.java:4174)
	at android.app.ActivityThread.handleSendResult(ActivityThread.java:4221)
	at android.app.ActivityThread.-wrap20(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loop(Looper.java:203)
	at android.app.ActivityThread.main(ActivityThread.java:6251)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

2/19/23 12:19 PM  E/com.door43.translationstudio.services.BroadcastListenerService: Broadcast listener encountered an exception
java.nio.channels.ClosedByInterruptException
	at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:203)
	at sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:391)
	at sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:176)
	at sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:225)
	at com.door43.translationstudio.network.BroadcastListenerRunnable.run(BroadcastListenerRunnable.java:64)
	at java.lang.Thread.run(Thread.java:761)

2/19/23 7:24 AM  E/DownloadSourcesDialog: Download failed: en_jhn_ulb
2/19/23 7:24 AM  E/DownloadResourceContainersTask: Bible Words download Helps Failed: en_bible_tw
java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:341)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:196)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:356)
	at java.net.Socket.connect(Socket.java:616)
	at com.android.okhttp.internal.Platform.connectSocket(Platform.java:113)
	at com.android.okhttp.Connection.connectSocket(Connection.java:221)
	at com.android.okhttp.Connection.connect(Connection.java:197)
	at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:392)
	at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130)
	at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:356)
	at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:273)
	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:474)
	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:422)
	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:538)
	at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
	at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java)
	at org.unfoldingword.tools.http.Request.openConnection(Request.java:134)
	at org.unfoldingword.tools.http.Request.download(Request.java:162)
	at org.unfoldingword.door43client.API.downloadFutureCompatibleResourceContainer(API.java:405)
	at org.unfoldingword.door43client.API.downloadResourceContainer(API.java:361)
	at org.unfoldingword.door43client.Door43Client.download(Door43Client.java:122)
	at com.door43.translationstudio.tasks.DownloadResourceContainersTask.downloadHelps(DownloadResourceContainersTask.java:175)
	at com.door43.translationstudio.tasks.DownloadResourceContainersTask.downloadTranlationWords(DownloadResourceContainersTask.java:142)
	at com.door43.translationstudio.tasks.DownloadResourceContainersTask.start(DownloadResourceContainersTask.java:97)
	at org.unfoldingword.tools.taskmanager.ManagedTask.run(ManagedTask.java:78)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:761)

2/18/23 9:05 PM  E/importDialog: Could not import RC
org.unfoldingword.resourcecontainer.errors.InvalidRCException: Missing package.json file
	at org.unfoldingword.resourcecontainer.ResourceContainer.load(ResourceContainer.java:173)
	at com.door43.translationstudio.ui.home.ImportDialog.onActivityResult(ImportDialog.java:315)
	at android.app.Activity.dispatchActivityResult(Activity.java:6993)
	at android.app.ActivityThread.deliverResults(ActivityThread.java:4174)
	at android.app.ActivityThread.handleSendResult(ActivityThread.java:4221)
	at android.app.ActivityThread.-wrap20(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loop(Looper.java:203)
	at android.app.ActivityThread.main(ActivityThread.java:6251)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

2/18/23 8:50 AM  E/importDialog: Could not import RC
org.unfoldingword.resourcecontainer.errors.InvalidRCException: Missing package.json file
	at org.unfoldingword.resourcecontainer.ResourceContainer.load(ResourceContainer.java:173)
	at com.door43.translationstudio.ui.home.ImportDialog.onActivityResult(ImportDialog.java:315)
	at android.app.Activity.dispatchActivityResult(Activity.java:6993)
	at android.app.ActivityThread.deliverResults(ActivityThread.java:4174)
	at android.app.ActivityThread.handleSendResult(ActivityThread.java:4221)
	at android.app.ActivityThread.-wrap20(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loop(Looper.java:203)
	at android.app.ActivityThread.main(ActivityThread.java:6251)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)

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

No branches or pull requests

1 participant