[SOLVED] Cannot save from Turtle Blocks

Hello!

Thanks for the nice collection of software. I am using 3 computers with Endless to teach some kids maths.

Turtle Blocks is a crucial piece of software for this purpose. There is however something peculiar happening…

If I save any of my work, the saved file does not show up either on the file manager or via ls in the terminal.

Strangely enough, I can load the file into Turtle Blocks - BUT only till I exit. The “saves” are not persistent across multiple starts of the software.

Could you please tell me how to work around this? I am a long time Linux user, but am completely stumped.

Smells like a ram disk somewhere, but I give up…

Any help would be greatly appreciated. Thanks!

@anurup
Something that would help us a lot to understand the problem would be this:

  1. Open the application called ‘Terminal’
  2. In this application run the command:

eos-diagnostics

  1. The above command will create a file with the information of your system (example: eos-diagnostic-160614_111731_UTC + 0100.txt); Send us this file so we can analyze and see a possible solution

eos-diagnostic-180403_174457_UTC 0530.txt (809.7 KB)

Thanks Leandro!

P.S. Sorry about not sending the diagnostic file earlier. Posted from a phone and as a result missed the obvious. Thanks again!

Hi @anurup,

I don’t see anything unusual in the eos-diagnostic file. It’s possible that TurtleBlocks is saving it to a temporary directory, does it give you the option of specifying where you save it?

Hi @mhall119,

Thanks for your reply.

Well it does. By default it’s the home directory. But this is what is breaking my noodle - I can’t see it via terminal or the file manager. When, I try loading the file in the TurtleBlocks session, it loads fine. But if I exit TB, then its gone for good - like it was on volatile memory.

At no point can I see it via terminal or file manager - although through TB I can see it as a file in my home directory. Never been this stumped by such a simple process before.

Now, I don’t understand OSTree etc. so I am at a complete loss. I think you should easily be able to replicate the situation? Just save anything in TB…

Hi,

Did a little bit more digging around and now it seems that TB and Terminal are pointing to two different disk locations while referring to the same path? :weary:

What am I missing? Thanks!

Okay, now I see what’s going on. The package for TurtleBlocks hasn’t given it permission to access your real home directory, so it only sees a temporary fake one (this is intended to protect your files from a malicious program). Most programs will use the system file open/save dialogs which will work around this in a safe way, but it appears that TurtleBlocks doesn’t.

You can give it permanent access to your home directory by running the following command in a terminal:

flatpak override --filesystem=home org.sugarlabs.Turtleblocks

1 Like

Dear Michael,

Thanks a bunch. That worked like a charm!

1 Like