Error when importing ASE palette file #104401

Closed
opened 2023-02-08 20:24:37 +01:00 by Mohamed · 2 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

Blender Version
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-02-04 21:44, hash: rBb2196ebe287f
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Import Palettes (1, 0, 0)
Author: Antonio Vazquez

Short description of error
When I try to import an ASE palette in 3.4.1 and 3.5 I get this error message:

 Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons\io_import_palette\__init__.py", line 64, in execute
    return import_ase.load(context, self.properties.filepath)
  File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons\io_import_palette\..\io_import_palette\import_ase.py", line 111, in load
    data = elm['data']
KeyError: 'data'

Exact steps for others to reproduce the error

  • Enable the Import Palettes addon,
  • File ‣ Import Palettes

I tried the same palette in Photoshop and it loaded just fine.

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94 **Blender Version** Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-02-04 21:44, hash: `rBb2196ebe287f` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Import Palettes (1, 0, 0) Author: Antonio Vazquez **Short description of error** When I try to import an ASE palette in 3.4.1 and 3.5 I get this error message: ``` Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons\io_import_palette\__init__.py", line 64, in execute return import_ase.load(context, self.properties.filepath) File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons\io_import_palette\..\io_import_palette\import_ase.py", line 111, in load data = elm['data'] KeyError: 'data' ``` **Exact steps for others to reproduce the error** - Enable the Import Palettes addon, - File ‣ Import Palettes I tried [the same palette](/attachments/4ab41d6e-b735-40a6-a6fe-0787e915b8db) in Photoshop and it loaded just fine.
Mohamed added the
Type
Report
label 2023-02-08 20:24:37 +01:00
Germano Cavalcante added the
Status
Confirmed
label 2023-02-09 15:16:00 +01:00
Contributor

Proposed fix:
#104405

Proposed fix: https://projects.blender.org/blender/blender-addons/pulls/104405
Member

Closing after #104405 was merged.

@KevinCBurke You need to use Fix #<issue>:, with the hash sign, for the task to close automatically :)

Closing after #104405 was merged. @KevinCBurke You need to use `Fix #<issue>:`, with the hash sign, for the task to close automatically :)
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-02-13 11:10:06 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104401
No description provided.