python sys.stdout encoding errors (was "Unable to export with .obj") #32750

Closed
opened 2012-10-03 22:37:25 +02:00 by Brandon Phoenix · 10 comments

%%%This is with the newest 2.64 release (r51026).

Win 7 x64, Core 2 Duo 3.0GHz, nVidia 9600GT, 8 GB RAM. This issue has persisted on multiple machines.

I am not able to reproduce this in another file starting from scratch, but with the file I'm currently working on I get an error when exporting any geometry (even freshly created cubes). It may be important to note that this file was created originally in 2.64 RC1.

You can see the error and export settings in the attached files. The actual .blend is also attached. %%%

%%%This is with the newest 2.64 release (r51026). Win 7 x64, Core 2 Duo 3.0GHz, nVidia 9600GT, 8 GB RAM. This issue has persisted on multiple machines. I am not able to reproduce this in another file starting from scratch, but with the file I'm currently working on I get an error when exporting any geometry (even freshly created cubes). It may be important to note that this file was created originally in 2.64 RC1. You can see the error and export settings in the attached files. The actual .blend is also attached. %%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%Problem persists when I append all groups into a new scene. %%%

%%%Problem persists when I append all groups into a new scene. %%%

%%%After some more experimentation, no export scripts seem to be working. Attached a sample from FBX (error_02.jpg)%%%

%%%After some more experimentation, no export scripts seem to be working. Attached a sample from FBX (error_02.jpg)%%%

%%%I am unable to upload another file to the tracker, but it's available here: http://www.pasteall.org/pic/show.php?id=38450%%%

%%%I am unable to upload another file to the tracker, but it's available here: http://www.pasteall.org/pic/show.php?id=38450%%%

%%%This is a duplicate of [#31555], but leaving open for now, think we could try fix for release.
%%%

%%%This is a duplicate of [#31555], but leaving open for now, think we could try fix for release. %%%

%%%This is a known issue with python. see [#31555] for details.

The problem is the path you are exporting to doesn't fit into pythons defailt encoding.

A workaround for this is to set this environment variable in windows (or start blender with a bat file that sets the env var)

PYTHONIOENCODING=utf-8:surrogateescape%%%

%%%This is a known issue with python. see [#31555] for details. The problem is the path you are exporting to doesn't fit into pythons defailt encoding. A workaround for this is to set this environment variable in windows (or start blender with a bat file that sets the env var) PYTHONIOENCODING=utf-8:surrogateescape%%%

%%%Hey Campbell,

I tried the env variable workaround and it enabled the file export, but unfortunately it rendered the file unusable for import in any program I tried (Blender, Max, Maya, ZBrush). When importing into Blender, this is the error I received: http://www.pasteall.org/pic/show.php?id=38822%%%

%%%Hey Campbell, I tried the env variable workaround and it enabled the file export, but unfortunately it rendered the file unusable for import in any program I tried (Blender, Max, Maya, ZBrush). When importing into Blender, this is the error I received: http://www.pasteall.org/pic/show.php?id=38822%%%

%%%I was unable to attach the .obj output of this file, so I've hosted it. http://dim.blenderge.com/Temp/B%C5%82yskawica_07.obj%%%

%%%I was unable to attach the .obj output of this file, so I've hosted it. http://dim.blenderge.com/Temp/B%C5%82yskawica_07.obj%%%

%%%since this is a duplicate of [#31555], closing.%%%

%%%since this is a duplicate of [#31555], closing.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 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#32750
No description provided.