Maniphest T47916

Blendutils addon : python import error
Closed, Resolved

Assigned To
Brendon Murphy (meta-androcto)
Authored By
Manuel Rais (g-lul)
Mar 24 2016, 3:45 PM
Tags
  • Add-ons (Community)
Subscribers
Bastien Montagne (mont29)
Brendon Murphy (meta-androcto)
Campbell Barton (campbellbarton)
Manuel Rais (g-lul)

Description

System Information
Windows 7 x64

Blender Version
Blender 2.77 windows 64
When packing into zip a blendfile through the blender UI (not in "background"), there's an import error.
I guess it's in blendfile_path_walker.py (in the blend folder) at line 630
I just replaced "import blendfile" by "from blend import blendfile" and it worked.

Exact steps for others to reproduce the error
Open blender with the default scene, activate the blendutils addon.
Click on File/External Data/Pack Blend To Archive.

Related Objects

Mentioned In
T48048: Blend File Utils fails with "ImportError: No module named 'blendfile' "
Mentioned Here
rBAc24359d93a4d: Correct import (missed when moving from BAM)

Event Timeline

Manuel Rais (g-lul) created this task.Mar 24 2016, 3:45 PM
Manuel Rais (g-lul) raised the priority of this task from to 90.
Manuel Rais (g-lul) updated the task description.
Manuel Rais (g-lul) added a project: Add-ons (Community).
Manuel Rais (g-lul) edited a custom field.
Manuel Rais (g-lul) added a subscriber: Manuel Rais (g-lul).
Manuel Rais (g-lul) added a comment.Mar 24 2016, 3:50 PM

My tiny little patch (please don't laugh :) ):

Bastien Montagne (mont29) assigned this task to Campbell Barton (campbellbarton).Mar 26 2016, 1:11 PM
Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).
Campbell Barton (campbellbarton) removed Campbell Barton (campbellbarton) as the assignee of this task.Aug 11 2016, 6:34 AM
Campbell Barton (campbellbarton) added a subscriber: Campbell Barton (campbellbarton).
Brendon Murphy (meta-androcto) changed the task status from Unknown Status to Resolved.Sep 3 2016, 12:26 PM
Brendon Murphy (meta-androcto) claimed this task.
Brendon Murphy (meta-androcto) added a subscriber: Brendon Murphy (meta-androcto).

was resolved by c24359d93a4d
closing