Code Monkey home page Code Monkey logo

Comments (12)

wiktor-k avatar wiktor-k commented on June 10, 2024 1

Okay, I think I have two issues running .2 on one of my devices (maybe the root cause is the same?):

One is unable to send, unfortunately the log during sending doesn't seem to contain anything interesting (no errors):

11-06 12:03:31.706 D/conversations(20122): app switched into background
11-06 12:03:33.674 D/conversations(20122): reInit(hasExtras=false)
11-06 12:03:33.676 D/conversations(20122): scrolledToBottomAndNoPending=true
11-06 12:03:33.676 D/conversations(20122): jump to first unread message
11-06 12:03:33.677 D/conversations(20122): guessMimeTypeFromUriAndMime(content://com.android.providers.media.documents/document/image%3A1000030252,null)
11-06 12:03:33.691 D/conversations(20122): mimeFromUri:image/jpeg
11-06 12:03:33.732 D/conversations(20122): app switched into foreground
11-06 12:03:33.732 D/conversations(20122): ConversationFragment.onBackendConnected()
11-06 12:03:35.203 D/conversations(20122): AxolotlService ([email protected]): Finding devices without session for [email protected]
11-06 12:03:35.204 D/conversations(20122): ConversationsActivity.commitAttachments() - attaching image to conversations. CHOOSE_IMAGE
11-06 12:03:35.230 D/conversations(20122): guessMimeTypeFromUriAndMime(content://com.android.providers.media.documents/document/image%3A1000030252,image/jpeg)
11-06 12:03:35.242 D/conversations(20122): mimeFromUri:image/jpeg
11-06 12:03:35.245 D/conversations(20122): attachImage: type=1
11-06 12:03:35.246 D/conversations(20122): copy image (content://com.android.providers.media.documents/document/image%3A1000030252) to private storage /storage/emulated/0/Pictures/Conversations/64d567b7-be5e-464d-bfa5-543d59e48d4f.jpg
11-06 12:03:35.247 D/conversations(20122): received uri permission for content://com.android.providers.media.documents/document/image%3A1000030252

And the UI shows the following issue:

conv

(Just to clear the obvious I'm not out of space, there are literally dozens of GB of free space)

The second issue, Android 14 sending to Android 13 device:

11-06 12:41:10.966 D/conversations(20122): creating file: /data/user/0/eu.siacs.conversations/cache/979b3bcc-4275-4f65-aeee-25879c7c1230
11-06 12:41:11.225 D/conversations(20122): [email protected]: unable to download file
11-06 12:41:11.225 D/conversations(20122): java.io.IOException: Operation not permitted
11-06 12:41:11.225 D/conversations(20122): 	at java.io.UnixFileSystem.createFileExclusively0(Native Method)
11-06 12:41:11.225 D/conversations(20122): 	at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)
11-06 12:41:11.225 D/conversations(20122): 	at java.io.File.createNewFile(File.java:1006)
11-06 12:41:11.225 D/conversations(20122): 	at eu.siacs.conversations.http.HttpDownloadConnection.decryptFile(Unknown Source:49)
11-06 12:41:11.225 D/conversations(20122): 	at eu.siacs.conversations.http.HttpDownloadConnection.decryptIfNeeded(Unknown Source:16)
11-06 12:41:11.225 D/conversations(20122): 	at eu.siacs.conversations.http.HttpDownloadConnection.-$$Nest$mdecryptIfNeeded(SourceFile:0)
11-06 12:41:11.225 D/conversations(20122): 	at eu.siacs.conversations.http.HttpDownloadConnection$FileDownloader.run(Unknown Source:12)
11-06 12:41:11.225 D/conversations(20122): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
11-06 12:41:11.225 D/conversations(20122): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
11-06 12:41:11.225 D/conversations(20122): 	at java.lang.Thread.run(Thread.java:1012)
11-06 12:41:11.225 D/conversations(20122): update unread count to 1

Btw this issue seems to be breaking "expected size" of a file as now it thinks the file is 16 bytes bigger (maybe because of this) and pressing the "download" button sends the wrong range value (16 bytes past the end of the file) which then triggers errors on the server side (e.g. my nginx returns 416).

Both of my devices contain the same version:

ver2

I hope this helps. ๐Ÿ‘‹

from conversations.

iNPUTmice avatar iNPUTmice commented on June 10, 2024

Thank you for your report.

We need the debug output that you can see by attaching your phone to a computer and running adb logcat -s conversations (during an attempt to send a file)

from conversations.

licaon-kter avatar licaon-kter commented on June 10, 2024

@kalon33 you made sure all permissions are granted? File/Media/whatever

from conversations.

licaon-kter avatar licaon-kter commented on June 10, 2024

@kalon33 tested beta.2 already?

from conversations.

licaon-kter avatar licaon-kter commented on June 10, 2024

@wiktor-k do you use Google Android 14 on Pixel phones and use multiple user profiles? If so maybe it's https://arstechnica.com/gadgets/2023/10/google-promises-a-rescue-patch-for-android-14s-ransomware-bug/ ?

from conversations.

wiktor-k avatar wiktor-k commented on June 10, 2024

Nope, it's stock Samsung Android on both of them. The one that's running Android 13 is Samsung A52s 5G.

from conversations.

wiktor-k avatar wiktor-k commented on June 10, 2024

Ugh, I was about to create a backup and test it with a fresh client but the file permissions apparently also prevent backups: ๐Ÿ˜ฑ

D conversations: unable to create backup
D conversations: java.io.FileNotFoundException: /storage/emulated/0/Download/Conversations/Backup/<redacted>.2023-11-07.ceb: open failed: EPERM (Operation not permitted)
D conversations: 	at libcore.io.IoBridge.open(IoBridge.java:574)
D conversations: 	at java.io.FileOutputStream.<init>(FileOutputStream.java:236)

(This is after pressing the "Backup" item in settings)

from conversations.

kalon33 avatar kalon33 commented on June 10, 2024

That's exactly the issue I get. Sorry for not having been able to send a log since I reported the issue, I have some problems wiring my phone on my computer to run adb.

from conversations.

licaon-kter avatar licaon-kter commented on June 10, 2024

@kalon33 look up "wireless adb" you can connect locally say to adb in Termux, no PC or cable needed ;)

from conversations.

kalon33 avatar kalon33 commented on June 10, 2024

It seems to have been fixed in 2.13.0-playstore. @wiktor-k is this also working for you?

from conversations.

iNPUTmice avatar iNPUTmice commented on June 10, 2024

Iโ€™m gonna be honest with you. My current best understanding of the issue is that if you ever installed 2.13.0-beta on a device that got upgraded from 11 or 12 to 13 it will be broken permanently until you reinstall.
2.13.0 didnโ€™t make any storage related changes over 2.13.0-beta.2. So unless the mere fact that the app got upgraded fixed anything I donโ€™t think 2.13.0 did it.

from conversations.

wiktor-k avatar wiktor-k commented on June 10, 2024

Yeah, I tried with the latest thing from Play Store and it did not work. I've uninstalled the app, withdrawn from the beta testing, installed stable (2.12) and it's working fine. Too bad that the messages could not have been backed up but such is life I guess ๐Ÿคทโ€โ™‚๏ธ

from conversations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.