Skip to content

Error in .pxo files due to Pixelorama file structure change #34

@Hot-key

Description

@Hot-key

Description

After a recent file structure change in Pixelorama, .pxo files created with the new version cannot be opened. This is preventing users from accessing their newly created work.

Error Message

  Parse JSON failed. Error at line 0: Expected 'true','false' or 'null', got 'PK'.
  res://addons/nklbdev.importality/export/pixelorama.gd:191 - Trying to assign value of type 'Nil' to a variable of type 'Dictionary'.
  core/io/image.cpp:3323 - Condition "data.is_empty()" is true. Returning: USED_CHANNELS_RGBA
  modules/webp/webp_common.cpp:49 - Condition "p_image.is_null() || p_image->is_empty()" is true. Returning: Vector<uint8_t>()

Steps to Reproduce

  1. Open the latest version of Pixelorama
  2. Create and save a new .pxo file
  3. Try to reopen the newly created .pxo file
  4. Observe the error message

Additional Information

Pixelorama version: [v1.0.2] - 2024-08-21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions