When calling this block it should return a list of bytes, it converts the image into bytes, the error indicates that the File_Path reference is empty, which is not the case because I did a debug and it has a path value, the image exists.
I think the problem occurs because I imported the blocks from an image, I am going to try to create them again manually. Notice that the texts and others will not look normal, like they exceed the lengths of the blocks or something like that
I rebuilt all the blocks and it still fails, above you can see the path file of the image.
I don’t understand it, on another screen everything works perfectly
Hi @Gaston definitely the extension is not getting access to the image, may be because permissions or something else. If possible send me your .aia so i can help you out.
Hello, my relevant blocks, referring to the process, are the ones published, on another screen I use practically the same ones, without special permissions other than Bluetooth and it works fine.
The image is stored in ASD, if I load it in an image component it loads, if I attach it to share it does too.
On screen1 I only have a login interface, on screen2 it is the problem and on screen3 everything works fine.
From both screen2 and screen3 I can access the created images, if I load them in an image component, the components to check files and paths return true.
What happens is really very strange, yesterday I spent all day looking for the problem and I still couldn’t solve it.
That in fact is very weird. Could be something related to blocks but is hard to tell if i couldn’t access the project to do a complete debug.
I tried to replicate this scenario and i have a similar error in fact, when the extension can’t access the image. But it makes no sense that the extension can get the image in one screen but not in another.
If you know how to use adb logcat to debug the app. PM me and we can figure this out.
For some reason that I still don’t know, the variable, despite having the correct path, gave an error, as if it were empty, the solution was after creating the image, pass the variable through starValue to another screen and print