anytype-kotlin icon indicating copy to clipboard operation
anytype-kotlin copied to clipboard

Error when loading picture

Open nojsja opened this issue 1 year ago • 4 comments

Have you read a contributing guide?

  • [X] I have read CONTRIBUTING.md
  • [X] I have searched the existing issues and didn't find any that were similar
  • [X] I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Loading picture error. image

Expected Behavior

Loading pictures as normal.

Steps To Reproduce

  1. Create an object from PC client.
  2. Upload an image to the object.
  3. Open the object in the android app and wait for picture loading end.

Environment

- OS: android 12
- Version: 0.23.17

Anything else?

No response

nojsja avatar Aug 09 '23 06:08 nojsja

I have the same bug, but after clicking on the error (a couple of times) it seems that the picture is locally stored on the phone.

marcelloh avatar Oct 13 '23 12:10 marcelloh

I've been having this issue as well and the picture never appears.

SyndicatedPillbug avatar Mar 27 '24 21:03 SyndicatedPillbug

I'm seeing the same issue here.

Anytype Android client version: is 0.32.29 OS version: GrapheneOS build 2024080600, Pixel 6 Pro

The process I'm following to reproduce: 1.) open an object on another Anytype client running on another device (in my case, Linux) 2.) attach an image file 3.) open Android Anytype client, load object with embedded image 4.) observe image not loading, with error text "Error while loading picture" in its place

I've noticed that when adding an image to an object with the Android client itself, the image loads correctly on the Android device, and syncs correctly with other devices.

avatar382 avatar Aug 14 '24 17:08 avatar382

Follow up:

Tried completely reinstalling Anytype on my Android device, this did not resolve the problem.

Trying to load image media files by navigating to All Objects Set -> Media and then selecting an image file results in the same "Error while loading picture" error.

However, if I navigate to All Objects Set -> Media and select a PDF file, it opens as expected with the PDF viewer installed on my phone.

Seems to suggest Anytype can pull attached files over the network, but image files simply don't get processed correctly?

avatar382 avatar Aug 14 '24 17:08 avatar382