LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
Klaus
- Posts: 14192
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Thu Feb 07, 2019 9:17 pm
Hi Larry,
hm, too funky, running out of ideas...
Please check if the sourcestack is really available where we think it is:
Code: Select all
...
## Stack to copy:
put specialfolderpath("resources") & "/Giving_Main.livecode" into tSourceStack
answer (there is a file tSourceStack)
## Should read -> TRUE
...
-
jacque
- VIP Livecode Opensource Backer

- Posts: 7390
- Joined: Sat Apr 08, 2006 8:31 pm
-
Contact:
Post
by jacque » Fri Feb 08, 2019 6:23 pm
The error "file is not a stack" usually means it was saved in a format that LC can't read. This can happen if the stack was saved in a version of LC that is newer than the LC version trying to open it.
Did you save the source stack using the same version you used to build the standalone?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
-
lohill
- Posts: 770
- Joined: Tue Dec 08, 2009 6:37 pm
Post
by lohill » Fri Feb 08, 2019 6:37 pm
Many thanks Klaus,
That revealed the culprit. My source stack file was named "Giving Main.livecode" and not "Giving_Main.livecode". I hate it when I do that to myself and I am glad you did not run out of ideas.
Larry
-
Klaus
- Posts: 14192
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Fri Feb 08, 2019 7:44 pm
Great you found it!
Well, that was in fact my last idea on this issue.

-
bogs
- Posts: 5480
- Joined: Sat Feb 25, 2017 10:45 pm
Post
by bogs » Fri Feb 08, 2019 8:01 pm
jacque wrote: ↑Fri Feb 08, 2019 6:23 pm
The error "file is not a stack" usually means it was saved in a format that LC can't read. This can happen if the stack was saved in a version of LC that is newer than the LC version trying to open it.
Just to clarify that, in the 6.x series and previous, if you try to open a stack that was saved in a newer format, you will see the message "file is not a stack".
In 7.x and later, the message will read "There was a problem opening that stack: stack was produced by a newer version"