Blend File Utils fails with any .blend file #47995

Closed
opened 2016-03-29 22:06:35 +02:00 by Moon Caine · 7 comments

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
**System Information** Operating system and graphics card OS X 10.10.5, AMD FirePro [D500](https://archive.blender.org/developer/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 ```
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @mooncaine

Added subscriber: @mooncaine

Added subscriber: @NikoLeopold

Added subscriber: @NikoLeopold

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?

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?

Closed as duplicate of blender/blender#46623

Closed as duplicate of blender/blender#46623

Added subscriber: @mont29

Added subscriber: @mont29

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

Thanks, issue is actually with blender on OSX reporting a wrong python executable path… merged in original report.
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#47995
No description provided.