Skip to content

[Bug]: Building after saving sprites with attributes gives All rows must have the same number of elements #23

Open
@kendouglas

Description

@kendouglas

Contact Details

@zxspectrum1984

IDE version

1.6.0-beta4

What happened?

When in the Sprite editor and have a set of sprites with Attributes (Colour) and mode is ZX Spectrum, if you export the sprite and tick Export Attributes and then build it works okay.

If though you click on Export Attributes and click save options, then go back to the export the sprite, you will see the Export Attributes ticked. When you click Export now, this will generate a similar error as :-

Building precompilation documents...
Project path: D:\development\zxGraphics
Building program D:\development\zxGraphics\view4.bas
Building starts at 20/06/2025 08:56:30
zxbc "D:\development\zxGraphics\view4.bas" -O 3 -H 2048
D:/development/zxGraphics/SpritesV2.spr.bas:107: error: All rows must have the same number of elements
D:/development/zxGraphics/SpritesV2.spr.bas:196: error: All rows must have the same number of elements

Error and Warning messages

Building precompilation documents...
Project path: D:\development\zxGraphics\
Building program D:\development\zxGraphics\view4.bas
Building starts at 20/06/2025 08:56:30
zxbc "D:\development\zxGraphics\view4.bas" -O 3 -H 2048
D:/development/zxGraphics/SpritesV2.spr.bas:107: error: All rows must have the same number of elements
D:/development/zxGraphics/SpritesV2.spr.bas:196: error: All rows must have the same number of elements

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions