Page MenuHome

Blend File Utils fails with any .blend file
Closed, DuplicatePublic

Description

System Information
Operating system and graphics card
OS X 10.10.5, AMD FirePro D500 3072 MB

Blender Version
Broken: 2.77 release
Worked: (optional)

Short description of error
Blend File Utils fails to create an Archive from a Blend file

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Any .blend file I tried will do, even one that has 1 cam, 1 sun lamp, 1 null and 1 cube.

Enable the addon.

Use it as directed.

Note that no ZIP is created.

Look in Info window in blender and see:

SyntaxError: can not delete variable '_src_dir' referenced in nested scope

Event Timeline

Moon Caine (mooncaine) raised the priority of this task from to 90.
Moon Caine (mooncaine) updated the task description. (Show Details)
Moon Caine (mooncaine) edited a custom field.
mangostaniko added a subscriber: mangostaniko.EditedMar 30 2016, 2:14 AM

What is your Python version?
e.g. Help -> Save System Info, then just drag the file into the comment text field here to upload.

This should be a limitation removed as of Python 3.2.
https://stackoverflow.com/questions/12338713/python-nested-scopes-with-dynamic-features

If a variable is referenced in an enclosed scope, it is an error to delete the name. The compiler will raise a SyntaxError for 'del name'.

In io_blend_utils/blendfile_pack.py, lines 380–386:
https://developer.blender.org/diffusion/BA/browse/master/io_blend_utils/blendfile_pack.py;e42f47d181a4d725b95200fd33d873fc85be6704$380-386

Then however Blender 2.7x should need Python 3.5 anyway?

Thanks, issue is actually with blender on OSX reporting a wrong python executable path… merged in original report.