addons tab disappears while installing any addon if system user name consists of a non-latin character #36642

Closed
opened 2013-09-02 22:46:00 +02:00 by Michael Soluyanov · 6 comments

Relates to: #31555

%%%problem appears only on windows
problem appears only if system user name consists of a non-latin character

- Blender version with error ---

2.68
Here the screenshots from vk.com/blender_3d in attachments.

- Short description of error ---

addons tab disappears while installing any addon, using "install from file..." button in user preferences window

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

you can reproduce the error:

  1. if your windows system using rare codepage with non-latin characters (tested on cp1251 (Russian) .

  2. Your system user name consists of a non-latin character

    • Workaround ---
      once addon installed, blender create a new directory, like:

Windows 7, 8 - C:\Users\РђРЅРЅР°\AppData\Roaming\Blender Foundation\Blender\2.6x\scripts\addons
Windows XP - C:\Documents and Settings\РђРЅРЅР°\Application Data\Blender Foundation\Blender\2.6x\scripts\addons
where РђРЅРЅР° - user name in wrong encoding.

If you remove this folder, addons tab appears

%%%

**Relates to**: #31555 %%%problem appears only on windows problem appears only if system user name consists of a non-latin character - Blender version with error --- 2.68 Here the screenshots from vk.com/blender_3d in attachments. - Short description of error --- addons tab disappears while installing any addon, using "install from file..." button in user preferences window - Steps for others to reproduce the error (preferably based on attached .blend file) --- you can reproduce the error: 1) if your windows system using rare codepage with non-latin characters (tested on cp1251 (Russian) . 2) Your system user name consists of a non-latin character - Workaround --- once addon installed, blender create a new directory, like: Windows 7, 8 - C:\Users\РђРЅРЅР°\AppData\Roaming\Blender Foundation\Blender\2.6x\scripts\addons Windows XP - C:\Documents and Settings\РђРЅРЅР°\Application Data\Blender Foundation\Blender\2.6x\scripts\addons where РђРЅРЅР° - user name in wrong encoding. If you remove this folder, addons tab appears %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%Thanks for the report, I was under the impression that pythons repr() was a safe way to get a string without encoding issues but it seems this is not the case.

A simple fix is to use %a rather then %r. but there are other areas that would give problems too.

Will investigate a fix.%%%

%%%Thanks for the report, I was under the impression that pythons repr() was a safe way to get a string without encoding issues but it seems this is not the case. A simple fix is to use %a rather then %r. but there are other areas that would give problems too. Will investigate a fix.%%%

%%%this is a duplicate of [#31555].%%%

%%%this is a duplicate of [#31555].%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author
Member

%%%Campbell Barton, it's not a duplicate - different version of blender, and bug appears only with addon tab, only on installing addon%%%

%%%Campbell Barton, it's not a duplicate - different version of blender, and bug appears only with addon tab, only on installing addon%%%

%%%@michael-123 Soluyanov,

Even though the error is different - the reason its a duplicate is the error is caused by windows not having the right encoding set,
blender sets the encoding for python but this fails to work on windows.

once [#31555] is resolved, this will be too.%%%

%%%@michael-123 Soluyanov, Even though the error is different - the reason its a duplicate is the error is caused by windows not having the right encoding set, blender sets the encoding for python but this fails to work on windows. once [#31555] is resolved, this will be too.%%%
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#36642
No description provided.