can't save stack - disk full?

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderator: Klaus

Post Reply
strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 146
Joined: Mon Jul 31, 2006 1:39 am
Contact:

can't save stack - disk full?

Post by strongbow » Wed Mar 29, 2023 5:42 am

Hi all

I am getting an error when attempting to save a stack as follows:

Can't save stack <myStackName> due to an error: Error writing stack (disk full?)

I have been working on this project for months and have occasionally seen this issue in the past, normally when I've attempted to save from a substack, but it's now happening every time when saving from the mainstack. Additionally, when attempting to "Save as..." from the menu or using the message box results in the same error.

I'm a little suspicious that it has something to do with some widgets, like the tree widget, which I'm using in multiple places. This *seemed* to occur when there was a lot of data in the tree but would work again when deleting the data from the tree widgets. Unfortunately that no longer works.

Any ideas??

Livecode 10.0.0 (dp4), Macbook Pro M1, MacOS 13.2.1. Plenty of disk space available.

cheers

Alan

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 146
Joined: Mon Jul 31, 2006 1:39 am
Contact:

Re: can't save stack - disk full?

Post by strongbow » Thu Mar 30, 2023 12:03 am

Ok, the tree widget remains the problem - there was one that I hadn't cleared which I presume was causing the problem.

So... if you get this error, try setting the arraydata of your tree widget(s) to empty and then try saving.

I wonder what the data limit is for tree widgets and their serialisation?

HTH someone else!

cheers, Alan

Post Reply