Bug 713346

Summary: Blender UV as svg export is missing python3-xml dependency
Product: [openSUSE] openSUSE 11.4 Reporter: David Sarif <icarus.globalnode>
Component: OtherAssignee: Dave Plater <davejplater>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Sarif 2011-08-21 18:45:29 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

The Blender 2.56 package from the official repos doesn't include python3-xml as dependency, yet it is needed so the UV-Tools work properly: Without it Blender can't export UVs as svg.
It's also needed for some Addons(at least "Import Images as Planes")



Reproducible: Always

Steps to Reproduce:
1. Install Blender 2.56 from OpenSUSE-11.4-OSS Repository
2. Open up Blender
3. Unwrap Object
4. Export UV Layout with svg as filetype
Actual Results:  
Blender gives the following error message as output.
    Traceback (most recent call last):
      File "/usr/share/blender/2.56/scripts/op/uv.py", line 343, in execute
        func(fw, mesh, self.size[0], self.size[1], self._face_uv_iter(context))
      File "/usr/share/blender/2.56/scripts/op/uv.py", line 27, in write_svg
        from xml.sax.saxutils import escape
    ImportError: No module named xml.sax.saxutils

Expected Results:  
-

Manually installing python3-xml fixes the issue.
Comment 2 Dave Plater 2011-09-06 18:22:48 UTC
I'll add python3-xml as a requirement and will make blender-2.59 available in my home project. Unfortunately I can't push it to 11.4 due to it's python3-3.2 requirement. I'll try though. Should be available by the weekend when I will use this bug to notify you.
Comment 3 Dave Plater 2011-09-07 20:20:31 UTC
blender-2.59 is building in home:plater:blender you need to add repository :
http://download.opensuse.org/repositories/home:/plater:/blender/openSUSE_11.4
It should be ready in the morning.
Comment 4 Dave Plater 2011-09-08 20:20:20 UTC
Please try blender-2.59 from the repository mentioned in comment #3
Comment 5 David Sarif 2011-09-09 18:48:21 UTC
When I try to install blender 2.59 from your repo YaST says it can't get

"libjpeg.so.62(64Bit)" from any of my repositories:
- Standard-Repos 
- openSUSE BuildService - KDE:Extra
- Packman
Comment 6 Dave Plater 2011-09-11 20:44:26 UTC
It builds against the graphics repo's libraries, although 11.4 should have libjpeg.so.62, try enabling :
http://download.opensuse.org/repositories/graphics/openSUSE_11.4
There is another bug open about this problem which, I now suspect is a libjpeg package problem. bnc# 714023 because the requirement is automatically made by rpm.
Comment 7 Dave Plater 2014-09-19 11:26:18 UTC
This bug is very old and openSUSE is currently at 13.1