blender-xatlas icon indicating copy to clipboard operation
blender-xatlas copied to clipboard

Running results in Broken pipe on Debian Linux

Open muhuk opened this issue 5 years ago • 2 comments

I tried both with Pack Only turned on and off, result is the same:

Python: Traceback (most recent call last):
  File "/home/muhuk/.config/blender/2.92/scripts/addons/blender_xatlas/__init__.py", line 329, in execute
    Unwrap_Lightmap_Group_Xatlas_2.execute(self, context)
  File "/home/muhuk/.config/blender/2.92/scripts/addons/blender_xatlas/__init__.py", line 513, in execute
    stdin.write(value)
BrokenPipeError: [Errno 32] Broken pipe

location: <unknown location>:-1

I'm on Debian Buster (stable), using Blender 2.92 official release and blender-xatlas 0.8.0.

$ ls -la ~/.config/blender/2.92/scripts/addons/blender_xatlas/xatlas/
total 284
drwxr-xr-x 2 muhuk muhuk   4096 Mar 10 22:24 .
drwxr-xr-x 4 muhuk muhuk   4096 Mar 10 22:24 ..
-rwxr--r-- 1 muhuk muhuk 280880 Mar 10 22:24 xatlas-blender

The scene I am testing has a single object like this (already unwrapped using builtin algo):

image

muhuk avatar Mar 10 '21 19:03 muhuk

Hi, thanks for reporting the issue. I'll see if I can recreate it, and find out what's happening ASAP!

mattedicksoncom avatar Mar 11 '21 16:03 mattedicksoncom

I've run the same test on Blender 2.93-beta and got this error:

Python: Traceback (most recent call last):
  File "/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/__init__.py", line 329, in execute
    Unwrap_Lightmap_Group_Xatlas_2.execute(self, context)
  File "/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/__init__.py", line 600, in execute
    obTest.obName = safe_dict[obTest.obName] #probably shouldn't just replace it
AttributeError: 'NoneType' object has no attribute 'obName'

location: <unknown location>:-1

I have also noticed that it triangulates my default cube.

This is the full output in the console:

muhuk@Workstation:~/lib/blender/blender-2.93.0-fa8d566c3b12-linux64$ ./blender
Read prefs: /home/muhuk/.config/blender/2.93/config/userpref.blend
/run/user/1000/gvfs/ non-existent directory
False
256
2
True
False
0
0.0
0.0
0.0
2.0
0.009999999776482582
6.0
4.0
0.5
2.0
1
 -resolution 256 -padding 2 -bilinear -maxChartSize 0 -texelsPerUnit 0.0 -maxChartArea 0.0 -maxBoundaryLength 0.0 -normalDeviationWeight 2.0 -roundnessWeight 0.009999999776482582 -straightnessWeight 6.0 -normalSeamWeight 4.0 -textureSeamWeight 0.5 -maxCost 2.0 -maxIterations 1 -atlasLayout OVERLAP
/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/xatlas/xatlas-blender: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/xatlas/xatlas-blender)
Applying the UVs----------------------------------------
Python: Traceback (most recent call last):
  File "/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/__init__.py", line 329, in execute
    Unwrap_Lightmap_Group_Xatlas_2.execute(self, context)
  File "/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/__init__.py", line 600, in execute
    obTest.obName = safe_dict[obTest.obName] #probably shouldn't just replace it
AttributeError: 'NoneType' object has no attribute 'obName'

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
  File "/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/__init__.py", line 329, in execute
    Unwrap_Lightmap_Group_Xatlas_2.execute(self, context)
  File "/home/muhuk/.config/blender/2.93/scripts/addons/blender_xatlas/__init__.py", line 600, in execute
    obTest.obName = safe_dict[obTest.obName] #probably shouldn't just replace it
AttributeError: 'NoneType' object has no attribute 'obName'


Even if I choose multiple objects this line is never printed. I suspect xatlas-blender execution results in an error or empty response.

muhuk avatar Apr 21 '21 18:04 muhuk