[Durian-svn] [2238] Fixed 05.4, modified the findLiberror script slightly, nicer output
dolf
institute at blender.org
Tue Apr 20 18:24:50 CEST 2010
Revision: 2238
https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=2238
Author: dolf
Date: 2010-04-20 18:24:50 +0200 (Tue, 20 Apr 2010)
Log Message:
-----------
Fixed 05.4, modified the findLiberror script slightly, nicer output
Modified Paths:
--------------
pro/scenes/05.4_foggyrocks/05.4_layout_01.blend
pro/scripts/utilities/findLibError.py
Modified: pro/scenes/05.4_foggyrocks/05.4_layout_01.blend
===================================================================
(Binary files differ)
Modified: pro/scripts/utilities/findLibError.py
===================================================================
--- pro/scripts/utilities/findLibError.py 2010-04-20 16:17:36 UTC (rev 2237)
+++ pro/scripts/utilities/findLibError.py 2010-04-20 16:24:50 UTC (rev 2238)
@@ -36,11 +36,12 @@
# search = '/media/data/peach/production'
# Done...
# SCENES
-# 01_ambushfight, 02_shaman, 3.2 bandaging, 3.3 sleeping, 04.1 ziggurat, 04.2 except for not finding rig, 04.3 we're ignoring cause it's not being used
+# 01, 02, 3.2, 3.3, 04.1, 04.2 except for not finding rig, 04.3 ignored
# 05.1 needs to be fixed, but colin is being a director
+# 05.3
-search = '/media/data/durian/pro/scenes/05.3_mountains'
+search = '/media/data/durian/pro/scenes/05.4_foggyrocks'
# blender_bin = '/render/blender_$(whoami)/blender/blender'
blender_cmd = 'LD_LIBRARY_PATH=/shared/software/exr/lib /media/data/blender_guest/blender/blender'
@@ -55,18 +56,18 @@
errors = {}
error_count = 0
+ error_total = 0
error_path = []
tot = len(file_blends)
for i, line in enumerate(file_blends):
line = line.strip()
- if VERBOSE:
- print 'Loading', line, str(int( (float(i)/tot) * 100.0 )) + '% done, error count:', error_count
-
line = line.strip()
#os.system('export ')
+ error_count = 0
+
# RUN Blender to find Library errors AND run a script that looks broken paths!
## os.system('LD_LIBRARY_PATH=/shared/software/exr/lib /render/blender_$(whoami)/blender/blender -b %s 1> %s 2>&1' % (line, tempf))
@@ -92,7 +93,12 @@
elif out_line.startswith('LIB ERROR: '):
errors.setdefault(line, ({}, []))[0].setdefault(context_lib, []).append(out_line.strip())
error_count += 1
+ error_total += error_count
+
+ if VERBOSE:
+ print 'Loaded', line, str(int( (float(i)/tot) * 100.0 )) + '% done, errors:', error_count
+ print 'error total', error_total
# Repor errors
out = open(outfile, 'w')
More information about the Durian-svn
mailing list