Skip to content

Project: AutoPlay Projects

Codes that start with A2C:P: are about reading and rewriting an AutoPlay project and its .autoplay2c project file.

Numbers What
0001 to 0099 Errors
0100 to 0199 Warnings

A2C:P:E:0001 xml

The .autoplay file isn't well-formed XML. The message gives the line and what is wrong. AutoPlay Media Studio always saves well-formed files, so the file was probably changed by hand or by another tool, or it is cut short. Open it in AutoPlay Media Studio and save it again, or restore a copy.

A2C:P:E:0002 not-a-project

The file is XML, but not an AutoPlay project: its root element isn't DocumentData. Check that you picked the .autoplay file.

A2C:P:E:0003 project-file

The .autoplay2c project file isn't valid JSON of the right form, or it names no project or Lua file to build.

A2C:P:E:0004 no-globals

The project has no global functions script, which is where the compiled module is loaded. Add a (possibly empty) script under Project > Global Functions in AutoPlay Media Studio.

A2C:P:E:0005 no-on-show

A page or dialog has objects to serialize, but no On Show event to create them in. Give it an On Show event, even an empty one, or exclude its objects.

A2C:P:E:0006 script-encoding

A script has a character that Windows-1252, the code page AutoPlay Media Studio runs scripts in, doesn't have. The message names the character and the script. Write it as an escape in a string, or as a character Windows-1252 has.

A2C:P:E:0007 project-target

The target doesn't suit the project: a Setup Factory target (projects are AutoPlay Media Studio's), a target other than the release that saved the project, or no target for a project that doesn't say which release saved it.

A2C:P:W:0100 data-folder

The project publishes its data folder under another name than the one its scripts are made to use. See The Data Folder.

A2C:P:W:0101 object-character

A serialized object's text has a character that Windows-1252 doesn't have, so it can't be written into the script that creates the object. The message names the object.