Flamenco WinError 267 the directory name is invalid and ValueError: WindowsPath('.') has an empty name #103495

Open
opened 2022-12-27 19:43:46 +01:00 by Nathan · 16 comments

System Information
Operating system: Windows 10
Graphics card: RTX 4090

Blender Version
Broken: 3.4.1
Worked: (optional)

Short description of error
So I have been using Flamenco for the past couple of weeks without issues. I come back today to start another batch job and each and every time I start I get this error:

Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\\Users\\Nathan\\AppData\\Local\\Temp\\bat-qgrn7b_t-batpack\\bat-5sanqsg4-Animation.flamenco.blend'

I haven't changed blender or flamenco. I haven't touched any of the blend files. It just keeps persisting.

I decided to open a blank blend file to test and see if it might be something to do with the project. I start a render and I then get this.

Python: Traceback (most recent call last):
  File "C:\Users\Nathan\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\flamenco\operators.py", line 164, in invoke
    filepath = self._save_blendfile(context)
  File "C:\Users\Nathan\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\flamenco\operators.py", line 269, in _save_blendfile
    filepath = Path(context.blend_data.filepath).with_suffix(".flamenco.blend")
  File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\pathlib.py", line 782, in with_suffix
    raise ValueError("%r has an empty name" % (self,))
ValueError: WindowsPath('.') has an empty name

I have no idea what is happening or what to do to fix it

Exact steps for others to reproduce the error

  • open a blank blend file
  • start a render
**System Information** Operating system: Windows 10 Graphics card: RTX 4090 **Blender Version** Broken: 3.4.1 Worked: (optional) **Short description of error** So I have been using Flamenco for the past couple of weeks without issues. I come back today to start another batch job and each and every time I start I get this error: ``` Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\\Users\\Nathan\\AppData\\Local\\Temp\\bat-qgrn7b_t-batpack\\bat-5sanqsg4-Animation.flamenco.blend' ``` I haven't changed blender or flamenco. I haven't touched any of the blend files. It just keeps persisting. I decided to open a blank blend file to test and see if it might be something to do with the project. I start a render and I then get this. ``` Python: Traceback (most recent call last): File "C:\Users\Nathan\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\flamenco\operators.py", line 164, in invoke filepath = self._save_blendfile(context) File "C:\Users\Nathan\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\flamenco\operators.py", line 269, in _save_blendfile filepath = Path(context.blend_data.filepath).with_suffix(".flamenco.blend") File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\pathlib.py", line 782, in with_suffix raise ValueError("%r has an empty name" % (self,)) ValueError: WindowsPath('.') has an empty name ``` I have no idea what is happening or what to do to fix it **Exact steps for others to reproduce the error** - open a blank blend file - start a render
Author

Added subscriber: @NathanRivera

Added subscriber: @NathanRivera

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Thanks for the report. This is something to address in Flamenco for sure. If anything, it should tell you what's wrong instead of producing this ;-)

Could you check two things for me?

  • Did you save the file to disk?
  • Did you enter a job name?

Again, in both cases Flamenco should just tell you what's wrong & how to solve it (something like "save the file to disk before submitting" or "a job name is required"). These questions are just for me to understand your situation better.

Thanks for the report. This is something to address in Flamenco for sure. If anything, it should tell you what's wrong instead of producing this ;-) Could you check two things for me? - Did you save the file to disk? - Did you enter a job name? Again, in both cases Flamenco should just tell you what's wrong & how to solve it (something like "save the file to disk before submitting" or "a job name is required"). These questions are just for me to understand your situation better.
Author

Hello Sybren,

Thank you for reaching out,

The blend file and the stored batch jobs are saved on a network drive that I have mapped to the other workers.

All of my devices are able to write to the drive no issues.

And yes I entered a job name In this case "Animation" was the name

Hello Sybren, Thank you for reaching out, The blend file and the stored batch jobs are saved on a network drive that I have mapped to the other workers. All of my devices are able to write to the drive no issues. And yes I entered a job name In this case "Animation" was the name

What was the path of the blend file when you submitted it to Flamenco?

I just now notice that the steps to reproduce don't include actually submitting to Flamenco. I'm guessing "start a render" is indicating that, but it's hard to reliably reproduce a bug when I have to guess.

What was the path of the blend file when you submitted it to Flamenco? I just now notice that the steps to reproduce don't include actually submitting to Flamenco. I'm guessing "start a render" is indicating that, but it's hard to reliably reproduce a bug when I have to guess.
Author

Here is a screenshot if it helps at all

But the path that I am submitting to is

Z:\Documents\Batch-Jobs

reading into the error logs it looks like it's having issues with a file in my temp directory?

image.png

Here is a screenshot if it helps at all But the path that I am submitting to is Z:\Documents\Batch-Jobs reading into the error logs it looks like it's having issues with a file in my temp directory? ![image.png](https://archive.blender.org/developer/F14111328/image.png)

Can you show the output on the system console (Window -> Toggle System Console)? I can't reproduce the issue with just a blank file.

Can you show the output on the system console (Window -> Toggle System Console)? I can't reproduce the issue with just a blank file.
Author

Hello Sybren,

Here is the output from the system console,

thank you for your help!

Read blend: Z:\Documents\Assets\Scenes\Xbox style commerical\Animation.blend
Info: Read library: 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent ''
Info: Cannot find lib 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend'
Info: LIB: Collection: 'Front Bracket Opening' missing from 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD\HDD.blend', 'Z:\Documents\Assets\Objects\HDD\HDD.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\M8X\M8X.blend', '//....\Objects\M8X\M8X.blend', parent ''
Info: Cannot find lib 'Z:\Documents\Assets\Objects\M8X\M8X.blend'
Info: LIB: Collection: 'M8X' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent ''
Info: LIB: Collection: 'PCI Cover' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent ''
Warning: Unable to open 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend': No such file or directory
Info: Cannot find lib 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend'
Info: LIB: Collection: 'Front Bracket Opening' missing from 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\HDD\HDD.blend', 'Z:\Documents\Assets\Objects\HDD\HDD.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\M8X\M8X.blend', '//....\Objects\M8X\M8X.blend', parent ''
Warning: Unable to open 'Z:\Documents\Assets\Objects\M8X\M8X.blend': No such file or directory
Info: Cannot find lib 'Z:\Documents\Assets\Objects\M8X\M8X.blend'
Info: LIB: Collection: 'M8X' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent ''
Info: LIB: Collection: 'PCI Cover' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', parent ''
Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', parent ''
Warning: 2 libraries and 3 linked data-blocks are missing (including 0 ObjectData and 0 Proxies), please check the Info and Outliner editors for details

MeasureIt: Cleaning data
Info: Saved "Animation.flamenco.blend"
Missing file: Z:\Documents\Assets\Objects\M8X\M8X.blend
Library Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend does not exist
Missing file: Z:\Documents\Assets\Objects\M8X\M8X.blend
Library Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend does not exist
Library Z:\Documents\Assets\Objects\M8X\M8X.blend does not exist
Library Z:\Documents\Assets\Objects\M8X\M8X.blend does not exist
Error packing with BAT: [WinError 267] The directory name is invalid: 'C:\Users\Nathan\AppData\Local\Temp\bat-topc_i3v-batpack\bat-sylshfc_-Animation.flamenco.blend'
Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\Users\Nathan\AppData\Local\Temp\bat-topc_i3v-batpack\bat-sylshfc_-Animation.flamenco.blend'
Error: Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\Users\Nathan\AppData\Local\Temp\bat-topc_i3v-batpack\bat-sylshfc_-Animation.flamenco.blend'

Hello Sybren, Here is the output from the system console, thank you for your help! > Read blend: Z:\Documents\Assets\Scenes\Xbox style commerical\Animation.blend > Info: Read library: 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent '<direct>' > Info: Cannot find lib 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend' > Info: LIB: Collection: 'Front Bracket Opening' missing from 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD\HDD.blend', 'Z:\Documents\Assets\Objects\HDD\HDD.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\M8X\M8X.blend', '//..\..\Objects\M8X\M8X.blend', parent '<direct>' > Info: Cannot find lib 'Z:\Documents\Assets\Objects\M8X\M8X.blend' > Info: LIB: Collection: 'M8X' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent '<direct>' > Info: LIB: Collection: 'PCI Cover' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', 'Z:\Documents\Assets\Objects\10 Port USB Hub\10 Port.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', 'Z:\Documents\Assets\Objects\120mm fan\120mm Fan.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', 'Z:\Documents\Assets\Objects\ATX Power Supply\ATX Power Supply.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', 'Z:\Documents\Assets\Objects\Blueray Drive\Blueray.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent '<direct>' > Warning: Unable to open 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend': No such file or directory > Info: Cannot find lib 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend' > Info: LIB: Collection: 'Front Bracket Opening' missing from 'Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', 'Z:\Documents\Assets\Objects\Front Brackets\Bracket with opening.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', 'Z:\Documents\Assets\Objects\Dual CPU Motherboard\Dual CPU Motherboard.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', 'Z:\Documents\Assets\Objects\EX-S3C\ex-s3c.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', 'Z:\Documents\Assets\Objects\HDD Fan Bracket\Fan Bracket.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', 'Z:\Documents\Assets\Objects\Five Bay\Five Bay.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', 'Z:\Documents\Assets\Objects\Four Bay SSD\Four Bay SSD.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', 'Z:\Documents\Assets\Objects\Four Port USB\Four Port USB.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', 'Z:\Documents\Assets\Objects\HDD Caddie\HDD Caddie.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', 'Z:\Documents\Assets\Objects\HDD Fan Cover\HDD Fan Cover.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\HDD\HDD.blend', 'Z:\Documents\Assets\Objects\HDD\HDD.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', 'Z:\Documents\Assets\Objects\M8X-VIZ\M8X-VIZ.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\M8X\M8X.blend', '//..\..\Objects\M8X\M8X.blend', parent '<direct>' > Warning: Unable to open 'Z:\Documents\Assets\Objects\M8X\M8X.blend': No such file or directory > Info: Cannot find lib 'Z:\Documents\Assets\Objects\M8X\M8X.blend' > Info: LIB: Collection: 'M8X' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent '<direct>' > Info: LIB: Collection: 'PCI Cover' missing from 'Z:\Documents\Assets\Objects\M8X\M8X.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', 'Z:\Documents\Assets\Objects\M8X Case\M8X.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', 'Z:\Documents\Assets\Objects\Power and Reset Switch\Power and Reset Switch.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', 'Z:\Documents\Assets\Objects\RTX 4090\RTX 4090.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', 'Z:\Documents\Assets\Objects\Write Blocker TUB\TUB.blend', parent '<direct>' > Info: Read library: 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', 'Z:\Documents\Assets\Objects\Write Blocker\Write Blocker.blend', parent '<direct>' > Warning: 2 libraries and 3 linked data-blocks are missing (including 0 ObjectData and 0 Proxies), please check the Info and Outliner editors for details > > MeasureIt: Cleaning data > Info: Saved "Animation.flamenco.blend" > Missing file: Z:\Documents\Assets\Objects\M8X\M8X.blend > Library Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend does not exist > Missing file: Z:\Documents\Assets\Objects\M8X\M8X.blend > Library Z:\Documents\Assets\Objects\Front Bracket with Opening\Bracket with opening.blend does not exist > Library Z:\Documents\Assets\Objects\M8X\M8X.blend does not exist > Library Z:\Documents\Assets\Objects\M8X\M8X.blend does not exist > Error packing with BAT: [WinError 267] The directory name is invalid: 'C:\\Users\\Nathan\\AppData\\Local\\Temp\\bat-topc_i3v-batpack\\bat-sylshfc_-Animation.flamenco.blend' > Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\\Users\\Nathan\\AppData\\Local\\Temp\\bat-topc_i3v-batpack\\bat-sylshfc_-Animation.flamenco.blend' > Error: Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\\Users\\Nathan\\AppData\\Local\\Temp\\bat-topc_i3v-batpack\\bat-sylshfc_-Animation.flamenco.blend'

Added subscriber: @DeJev

Added subscriber: @DeJev

Hello Nathan,

I had the error "ValueError: WindowsPath('.') has an empty name" only when I had a new file by opening blender or creating a new one via Files-New and did not save it before submitting a job to flamenco.

Hello Nathan, I had the error "ValueError: WindowsPath('.') has an empty name" only when I had a new file by opening blender or creating a new one via Files-New and did not save it before submitting a job to flamenco.
Author

It looks like It may be an issue with the Blend file itself. I started a few other projects and those seem to start up just fine. Unfortunately I still have no idea what specifically in that blend file is causing it to trip.

It looks like It may be an issue with the Blend file itself. I started a few other projects and those seem to start up just fine. Unfortunately I still have no idea what specifically in that blend file is causing it to trip.

Hi, sorry for bringing up a dead post from 2 years ago. A google search for this exact problem I'm having brought me here, but I keep getting this error on Blender 4.0.2 and Flamenco 3.5.

I seem to be getting the problem when I'm opening old projects for clients (dating right back to projects originally made in Blender 2.79) and trying to submit them to Flamenco. It happens a lot in scenes where I've linked things from other blend files.

As with the OP, sometimes Blender/Flamenco falls over at BAT pack stage stating the directory name is invalid and a message like:
"Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\Users\matt\AppData\Local\Temp\bat-2halytyl-batpack\bat-zsuis9g0-Factory IO Board.blend'"

Notably, all of the forward slashes in the file path on the error message are doubled up \ which doesn't show here on the webpage, but it does in the text editor.

Anyway, the reason I'm bringing up this dead post is for anyone that is looking for a workaround to fix the issue... I've found one.

  1. Open a new empty scene
  2. Go to File > Append
  3. Navigate to and double click your original blend file
  4. Double click Scene
  5. Highlight the scene(s) from this original file you want to bring into the new blend file
  6. Click the cog in top right and uncheck 'Localise all'
  7. Click Append
  8. In the top right of the new blend file, navigate to the scene browser and select your imported scene from the list
    (Perhaps delete the default 'Scene' in this list at this stage so it doesn't interfere with your render options and compositing)
  9. Save your NEW file with a new filename
  10. Submit to the job to Flamenco and everything will just work.

(Stage 6 is only only really important if you use linked content from other blend files. Localising stuff seems to break the links which is annoying if you want to update the source files later)

I hope this solution helps people. If anyone knows a better way or a proper fix, I'd love to hear it.

Hi, sorry for bringing up a dead post from 2 years ago. A google search for this exact problem I'm having brought me here, but I keep getting this error on Blender 4.0.2 and Flamenco 3.5. I seem to be getting the problem when I'm opening old projects for clients (dating right back to projects originally made in Blender 2.79) and trying to submit them to Flamenco. It happens a lot in scenes where I've linked things from other blend files. As with the OP, sometimes Blender/Flamenco falls over at BAT pack stage stating the directory name is invalid and a message like: "Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\\Users\\matt\\AppData\\Local\\Temp\\bat-2halytyl-batpack\\bat-zsuis9g0-Factory IO Board.blend'" Notably, all of the forward slashes in the file path on the error message are doubled up \\ which doesn't show here on the webpage, but it does in the text editor. Anyway, the reason I'm bringing up this dead post is for anyone that is looking for a workaround to fix the issue... I've found one. 1. Open a new empty scene 2. Go to File > Append 3. Navigate to and double click your original blend file 4. Double click Scene 5. Highlight the scene(s) from this original file you want to bring into the new blend file 6. Click the cog in top right and uncheck 'Localise all' 7. Click Append 8. In the top right of the new blend file, navigate to the scene browser and select your imported scene from the list (Perhaps delete the default 'Scene' in this list at this stage so it doesn't interfere with your render options and compositing) 9. Save your NEW file with a new filename 10. Submit to the job to Flamenco and everything will just work. (Stage 6 is only only really important if you use linked content from other blend files. Localising stuff seems to break the links which is annoying if you want to update the source files later) I hope this solution helps people. If anyone knows a better way or a proper fix, I'd love to hear it.

I seem to be getting the problem when I'm opening old projects for clients (dating right back to projects originally made in Blender 2.79) and trying to submit them to Flamenco. It happens a lot in scenes where I've linked things from other blend files.

Can you find a commonality between those cases? Or maybe minimize a file that has this problem? With "minimize" I mean that you remove anything and everything that can be removed, while it still producing the error. That will help a lot in finding the root cause of this problem.

As with the OP, sometimes Blender/Flamenco falls over at BAT pack stage stating the directory name is invalid and a message like:
"Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\Users\matt\AppData\Local\Temp\bat-2halytyl-batpack\bat-zsuis9g0-Factory IO Board.blend'"

That error is what you get when using a file path where a directory path is expected. Looks like a bug, but I'd have to know how to reproduce the issue in order to make that assessment.

Notably, all of the forward slashes in the file path on the error message are doubled up \ which doesn't show here on the webpage, but it does in the text editor.

This is quite common (not just in Flamenco). I've written an explanation in https://flamenco.blender.org/faq/#why-are-all-the--doubled

Anyway, the reason I'm bringing up this dead post is for anyone that is looking for a workaround to fix the issue... I've found one.

It's strange that this would work, as it basically makes a new blend file with the old scene in it. Do you save that workaround-blendfile in the same directory as the broken one?

> I seem to be getting the problem when I'm opening old projects for clients (dating right back to projects originally made in Blender 2.79) and trying to submit them to Flamenco. It happens a lot in scenes where I've linked things from other blend files. Can you find a commonality between those cases? Or maybe minimize a file that has this problem? With "minimize" I mean that you remove anything and everything that can be removed, while it still producing the error. That will help a lot in finding the root cause of this problem. > As with the OP, sometimes Blender/Flamenco falls over at BAT pack stage stating the directory name is invalid and a message like: > "Error performing BAT pack: [WinError 267] The directory name is invalid: 'C:\\Users\\matt\\AppData\\Local\\Temp\\bat-2halytyl-batpack\\bat-zsuis9g0-Factory IO Board.blend'" That error is what you get when using a file path where a directory path is expected. Looks like a bug, but I'd have to know how to reproduce the issue in order to make that assessment. > Notably, all of the forward slashes in the file path on the error message are doubled up \\ which doesn't show here on the webpage, but it does in the text editor. This is quite common (not just in Flamenco). I've written an explanation in https://flamenco.blender.org/faq/#why-are-all-the--doubled > Anyway, the reason I'm bringing up this dead post is for anyone that is looking for a workaround to fix the issue... I've found one. It's strange that this would work, as it basically makes a new blend file with the old scene in it. Do you save that workaround-blendfile in the same directory as the broken one?

Thank you for the feedback

I'll keep my eye on this issue and if I can share something with the issue for analysis I will, but so far these are all scenes for various clients and I'm subject to NDA's as the scenes contain their products or assets.

The file path in the example above is the path of a linked in asset. Once I migrate the entire scene to a new blend file (whilst maintaining that linked file at the same path) it works fine. It seems like the linked assets aren't the problem but how some blend files are recording their path is. Again, in the example above, that Factory IO Board.blend file stored on my X:\ drive, so I assume the ...appdata\local\temp... is a duplicate used during the packing process or where it exists whilst the scene is open or something??

The workaround-blendfile is saved in the same directory and in most cases I will save the original buggy-blend file as it's name and add on _oldversion ("filename_oldversion"), then open a new blend file, append the contents from it as described in my previous post and save the NEW file with the old file's original name in its original folder and it works fine. I have the _oldversion file as a backup just in case.

Thank you for the feedback I'll keep my eye on this issue and if I can share something with the issue for analysis I will, but so far these are all scenes for various clients and I'm subject to NDA's as the scenes contain their products or assets. The file path in the example above is the path of a linked in asset. Once I migrate the entire scene to a new blend file (whilst maintaining that linked file at the same path) it works fine. It seems like the linked assets aren't the problem but how some blend files are recording their path is. Again, in the example above, that Factory IO Board.blend file stored on my X:\ drive, so I assume the ...appdata\local\temp... is a duplicate used during the packing process or where it exists whilst the scene is open or something?? The workaround-blendfile is saved in the same directory and in most cases I will save the original buggy-blend file as it's name and add on _oldversion ("filename_oldversion"), then open a new blend file, append the contents from it as described in my previous post and save the NEW file with the old file's original name in its original folder and it works fine. I have the _oldversion file as a backup just in case.

I'll keep my eye on this issue and if I can share something with the issue for analysis I will, but so far these are all scenes for various clients and I'm subject to NDA's as the scenes contain their products or assets.

To resolve this issue, I need to know how to reproduce it. An example setup would help tremendously. If possible, please just make a dummy setup that follows your workflow, but uses simple cubes and other non-NDA-covered things.

The file path in the example above is the path of a linked in asset. Once I migrate the entire scene to a new blend file (whilst maintaining that linked file at the same path) it works fine. It seems like the linked assets aren't the problem but how some blend files are recording their path is. Again, in the example above, that Factory IO Board.blend file stored on my X:\ drive, so I assume the ...appdata\local\temp... is a duplicate used during the packing process or where it exists whilst the scene is open or something??

When submitting a job, Flamenco tries to reproduce the project directory structure, so that relative, in-project references remain valid when the files are rendered on the farm. When linking assets outside (what is detected as) the project directory, Flamenco/BAT will have to change any references to it. That's done by copying the blend file to a temp location and editing it; that path you see points to that temporary copy.

You can see this by looking at the job directory -- if it has an _outside_project directory, that will contain those files from outside the project.

> I'll keep my eye on this issue and if I can share something with the issue for analysis I will, but so far these are all scenes for various clients and I'm subject to NDA's as the scenes contain their products or assets. To resolve this issue, I need to know how to reproduce it. An example setup would help tremendously. If possible, please just make a dummy setup that follows your workflow, but uses simple cubes and other non-NDA-covered things. > The file path in the example above is the path of a linked in asset. Once I migrate the entire scene to a new blend file (whilst maintaining that linked file at the same path) it works fine. It seems like the linked assets aren't the problem but how some blend files are recording their path is. Again, in the example above, that Factory IO Board.blend file stored on my X:\ drive, so I assume the ...appdata\local\temp... is a duplicate used during the packing process or where it exists whilst the scene is open or something?? When submitting a job, Flamenco tries to reproduce the project directory structure, so that relative, in-project references remain valid when the files are rendered on the farm. When linking assets outside (what is detected as) the project directory, Flamenco/BAT will have to change any references to it. That's done by copying the blend file to a temp location and editing it; that path you see points to that temporary copy. You can see this by looking at the job directory -- if it has an `_outside_project` directory, that will contain those files from outside the project.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#103495
No description provided.