Error submitting job to manager. #104183

Closed
opened 2023-02-09 16:03:21 +01:00 by Nitin-Rawat-1 · 0 comments
Contributor

System Information
Operating System(s): Windows 10

Flamenco Version
Is Broken: 3.2-beta
Worked OK: 3.2-alpha

Short description of error
Error packing with BAT: 'Packer' object has no attribute 'actual_checkout_path'
Error performing BAT pack: 'Packer' object has no attribute 'actual_checkout_path'
Error: Error performing BAT pack: 'Packer' object has no attribute 'actual_checkout_path'

Exact steps for others to reproduce the error

  1. Make a flamenco build from main branch of flamenco repository.
  2. Try to submit simple blender render job to flamenco manager from flamenco addon using the file system not shaman.

What according to you might be going wrong

The object of PackerTread class, defined in addon/flamenco/bat/interface.py file, can be initialised with two type of packer instances, (submodules.pack.Packer) instance and (bat_shaman.Packer) instance.
Only bat_shaman.Packer instance has an attribute called actual_checkout_path. So when PackerTread object is initialised with an instance of
(submodules.pack.Packer), (which happens when the user if using filesystem as a storage solution instead of shaman), in _run() method of PackerTread class, to
create MsgDone object we are accessing the packer.actual_checkout_path attribute regardless if our packer instance has said attribute or not which
results in an exception in run method of PackerThread class, saying ->
Error packing with BAT: 'Packer' object has no attribute 'actual_checkout_path'.

**System Information** Operating System(s): Windows 10 **Flamenco Version** Is Broken: 3.2-beta Worked OK: 3.2-alpha **Short description of error** Error packing with BAT: 'Packer' object has no attribute 'actual_checkout_path' Error performing BAT pack: 'Packer' object has no attribute 'actual_checkout_path' Error: Error performing BAT pack: 'Packer' object has no attribute 'actual_checkout_path' **Exact steps for others to reproduce the error** 1. Make a flamenco build from main branch of flamenco repository. 2. Try to submit simple blender render job to flamenco manager from flamenco addon using the file system not shaman. **What according to you might be going wrong** The object of PackerTread class, defined in addon/flamenco/bat/interface.py file, can be initialised with two type of packer instances, (submodules.pack.Packer) instance and (bat_shaman.Packer) instance. Only bat_shaman.Packer instance has an attribute called `actual_checkout_path`. So when PackerTread object is initialised with an instance of (submodules.pack.Packer), (which happens when the user if using filesystem as a storage solution instead of shaman), in _run() method of PackerTread class, to create MsgDone object we are accessing the packer.actual_checkout_path attribute regardless if our packer instance has said attribute or not which results in an exception in run method of PackerThread class, saying -> Error packing with BAT: 'Packer' object has no attribute 'actual_checkout_path'.
Nitin-Rawat-1 added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-02-09 16:03:22 +01:00
Sybren A. Stüvel added
Status
Resolved
Type
Bug
and removed
Status
Needs Triage
Type
Report
labels 2023-02-17 11:07:09 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 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: studio/flamenco#104183
No description provided.