Page MenuHome

BAM pack failing with fpelem_block_path not found
Closed, ResolvedPublic

Description

With the last version of BAM, when running bam pack, we get:

scanning deps: b'/media/data/gooseberry-svn/scenes/01_island/01_meet_franck/01_01_01_G/01_01_01_G.lighting.blend'...
Traceback (most recent call last):
  File "/shared/software/bam/bam_cli.py", line 8, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/shared/software/bam/bam/cli.py", line 1883, in main
    args.func(args)
  File "/shared/software/bam/bam/cli.py", line 1726, in <lambda>
    filename_filter=args.exclude,
  File "/shared/software/bam/bam/cli.py", line 1374, in pack
    filename_filter=filename_filter,
  File "/shared/software/bam/bam/blend/blendfile_pack.py", line 305, in pack
    blendfile_level_cb_exit,
  File "/shared/software/bam/bam/blend/blendfile_path_walker.py", line 419, in visit_from_blend
    yield from FilePath.from_block(block, basedir, extra_info, level)
  File "/shared/software/bam/bam/blend/blendfile_path_walker.py", line 515, in from_block
    yield from fn(block, basedir, extra_info, level)
  File "/shared/software/bam/bam/blend/blendfile_path_walker.py", line 572, in _from_block_CL
    yield fpelem_block_path(basedir, level, (block, b'input_filepath')), extra_info
NameError: name 'fpelem_block_path' is not defined
Created a 88.48 KB BAM archive
Sending 88.48 KB file to server...
Done

Do you have any suggestion?
Thanks!

Details

Type
Bug

Event Timeline

Francesco Siddi (fsiddi) set Type to Bug.
Francesco Siddi (fsiddi) created this task.
Francesco Siddi (fsiddi) raised the priority of this task from to Needs Triage by Developer.