Runtime Error when Locale is not valid #43544

Closed
opened 2015-02-03 10:17:23 +01:00 by Gabriel Caraballo · 7 comments

System Information
Linux Xubuntu 14.10 - Command line Only

Blender Version
Broken: blender-2.72-b5399de / gooseberry-blender-2.73-b0c5622
Worked: ?

If the Linux Locale configuration is invalid, rendering with Blender in background mode in some point return a runtime error.

Fra:141 Mem:395.61M (0.00M, Peak 625.28M) | Mem:0.00M, Peak0.00M | Scene, RenderLayer |Updating Shaders
terminate called after throwing an instance of 'std::runtime_error'
 what(): locale::facet::_S_create_c_locale name not valid
Aborted

An easy way to know if locale setting is failing is running:
perl

that returns:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_PAPER = "nl_NL.UTF-8",
        LC_ADDRESS = "nl_NL.UTF-8",
        LC_MONETARY = "nl_NL.UTF-8",
        LC_NUMERIC = "nl_NL.UTF-8",
        LC_TELEPHONE = "nl_NL.UTF-8",
        LC_IDENTIFICATION = "nl_NL.UTF-8",
        LC_MEASUREMENT = "nl_NL.UTF-8",
        LC_TIME = "nl_NL.UTF-8",
        LC_NAME = "nl_NL.UTF-8",
        LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

Exact steps for others to reproduce the error
Make the locale configuration invalid, run blender in background mode and make it render a sequence

./blender --background untitled.blend --render-output "//#####" --frame-start 1 --frame-end 10 --render-format PNG --render-anim
**System Information** Linux Xubuntu 14.10 - Command line Only **Blender Version** Broken: blender-2.72-b5399de / gooseberry-blender-2.73-b0c5622 Worked: ? If the Linux Locale configuration is invalid, rendering with Blender in background mode in some point return a runtime error. ``` Fra:141 Mem:395.61M (0.00M, Peak 625.28M) | Mem:0.00M, Peak0.00M | Scene, RenderLayer |Updating Shaders terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted ``` An easy way to know if locale setting is failing is running: ```perl``` that returns: ``` perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_PAPER = "nl_NL.UTF-8", LC_ADDRESS = "nl_NL.UTF-8", LC_MONETARY = "nl_NL.UTF-8", LC_NUMERIC = "nl_NL.UTF-8", LC_TELEPHONE = "nl_NL.UTF-8", LC_IDENTIFICATION = "nl_NL.UTF-8", LC_MEASUREMENT = "nl_NL.UTF-8", LC_TIME = "nl_NL.UTF-8", LC_NAME = "nl_NL.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). ``` **Exact steps for others to reproduce the error** Make the locale configuration invalid, run blender in background mode and make it render a sequence ``` ./blender --background untitled.blend --render-output "//#####" --frame-start 1 --frame-end 10 --render-format PNG --render-anim ```

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @GabrielCaraballo

Added subscriber: @GabrielCaraballo

Added subscriber: @fsiddi

Added subscriber: @fsiddi

Hi @fsiddi

Hi @fsiddi

This issue was referenced by 701a7dcc87

This issue was referenced by 701a7dcc87f312a207b6652a2afc2e32fe236f34

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 701a7dcc87.

Closed by commit 701a7dcc87.
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
3 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#43544
No description provided.