question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Armory Bake - Apply broken

See original GitHub issue

Description Pressing Properties - Render - Armory Bake - Apply throws:

File "/armory/blender/arm/props_bake.py", line 253, in execute
    bpy.data.images[img_name].pack(as_png=True)
TypeError: Image.pack(): was called with invalid keyword argument(s) (as_png), expected (data, data_len)

To Reproduce Example at https://github.com/armory3d/armory_examples/blob/master/material_examples/baked.blend

System Blender: 2.8 Armory: 2019.8 OS: Windows 10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
luboslencocommented, Sep 16, 2019

Pushed a fix at https://github.com/armory3d/armory/commit/32da177143b88e7c69a5d7d7d86ae7d75b5d13ee.

Not sure about the Blender crash though, maybe something to do with dependency graph. Python should not crash Blender. Is it the same in b2.81?

0reactions
luboslencocommented, Nov 12, 2019

Please reopen if issue persists in recent Blender builds.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bake and Share Amazon Machine Images Across Accounts |
This guide shows you how to configure Spinnaker to share an AMI created where Spinnaker lives with the AWS account where your applications...
Read more >
ArmorPaint -- Substance Painter Alternative? - YouTube
ArmorPaint is an open source PBR workflow based texturing package built on top of the Armory3D game engine (and thus Blender).
Read more >
Epee and Foil - How to Remove The Wire From Your Weapon
Fencing Armory - Epee and Foil - How to Remove The Wire From Your Weapon. 1.5K views 4 years ago. CyrusofChaos. CyrusofChaos.
Read more >
HDR Lightmaps [Addon] - Showcase - Armory 3D
Don't use underscores for material or object names, it breaks the ... Info: Once baked, hit 'Armory Bake - Apply' to pack lightmaps....
Read more >
Sneak Peek: The Armory St. Louis Combines Local Eats and ...
Star's owner Nikki Ahmadi broke the news on her pastry business' Facebook page, Bake.with.nikki, on December 16, citing "personal affairs" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found