Bug with enabling themes or specific addons #52204

Closed
opened 2017-07-27 19:50:46 +02:00 by Mike Swanston · 12 comments

System Information
Windows 10, GTX 980

Blender Version
Broken: (2.78c, 2.78.5)
Worked: (2.8)

Short description of error
Something is wrong with enabling specific addons as well as themes.

  • ANT Landscape will not enable in 2.78.5
  • Changing to a new theme does not work in 2.78c and 2.78.5
  • Receive an error each time
  • Theme Error:

Traceback (most recent call last):

File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\startup\bl_operators\presets.py", line 234, in execute
  preset_class.preset_xml_map)
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\modules\rna_xml.py", line 375, in xml_file_run
  xml_nodes = xml.dom.minidom.parse(filepath)
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\xml\dom\minidom.py", line 1957, in parse
  from xml.dom import expatbuilder
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\xml\dom\expatbuilder.py", line 32, in <module>
  from xml.parsers import expat
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\xml\parsers\expat.py", line 4, in <module>
  from pyexpat import *

ImportError: DLL load failed: %1 is not a valid Win32 application.

location: :-1

  • Addon error:

Traceback (most recent call last):

File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\modules\addon_utils.py", line 331, in enable
  mod = __import__(module_name)
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\__init__.py", line 42, in <module>
  from ant_landscape import add_mesh_ant_landscape
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\add_mesh_ant_landscape.py", line 33, in <module>
  from .ant_functions import (
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\ant_functions.py", line 769, in <module>
  from .eroder import Grid
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\eroder.py", line 29, in <module>
  import numpy as np
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\__init__.py", line 180, in <module>
  from . import add_newdocs
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
  from numpy.lib import add_newdoc
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
  from .type_check import *
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
  import numpy.core.numeric as _nx
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\core\__init__.py", line 21, in <module>
  from . import _internal  # for freeze programs
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\core\_internal.py", line 14, in <module>
  import ctypes
File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\ctypes\__init__.py", line 7, in <module>
  from _ctypes import Union, Structure, Array

ImportError: DLL load failed: %1 is not a valid Win32 application.

I tried uninstalling and reinstalling, downloading latest builds, doing factory reset and saving the default startup file.

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

Open user preferences,
Click themes tab,
Choose different theme

Open user preferences,
Click addons tab,
Click check box next to Add Mesh: A.N.T.Landscape

**System Information** Windows 10, GTX 980 **Blender Version** Broken: (2.78c, 2.78.5) Worked: (2.8) **Short description of error** Something is wrong with enabling specific addons as well as themes. - ANT Landscape will not enable in 2.78.5 - Changing to a new theme does not work in 2.78c and 2.78.5 - Receive an error each time - Theme Error: Traceback (most recent call last): ``` File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\startup\bl_operators\presets.py", line 234, in execute preset_class.preset_xml_map) File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\modules\rna_xml.py", line 375, in xml_file_run xml_nodes = xml.dom.minidom.parse(filepath) File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\xml\dom\minidom.py", line 1957, in parse from xml.dom import expatbuilder File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\xml\dom\expatbuilder.py", line 32, in <module> from xml.parsers import expat File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\xml\parsers\expat.py", line 4, in <module> from pyexpat import * ``` ImportError: DLL load failed: %1 is not a valid Win32 application. location: <unknown location>:-1 - Addon error: Traceback (most recent call last): ``` File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\modules\addon_utils.py", line 331, in enable mod = __import__(module_name) File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\__init__.py", line 42, in <module> from ant_landscape import add_mesh_ant_landscape File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\add_mesh_ant_landscape.py", line 33, in <module> from .ant_functions import ( File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\ant_functions.py", line 769, in <module> from .eroder import Grid File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\scripts\addons\ant_landscape\eroder.py", line 29, in <module> import numpy as np File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\__init__.py", line 180, in <module> from . import add_newdocs File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\add_newdocs.py", line 13, in <module> from numpy.lib import add_newdoc File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\lib\__init__.py", line 8, in <module> from .type_check import * File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\lib\type_check.py", line 11, in <module> import numpy.core.numeric as _nx File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\core\__init__.py", line 21, in <module> from . import _internal # for freeze programs File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\site-packages\numpy\core\_internal.py", line 14, in <module> import ctypes File "C:\Users\Valued Customer\Desktop\Blender Builds\blender-2.78.0-git.5c96312-windows64\2.78\python\lib\ctypes\__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ``` ImportError: DLL load failed: %1 is not a valid Win32 application. I tried uninstalling and reinstalling, downloading latest builds, doing factory reset and saving the default startup file. **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps Open user preferences, Click themes tab, Choose different theme Open user preferences, Click addons tab, Click check box next to Add Mesh: A.N.T.Landscape
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @mswanston

Added subscriber: @mswanston

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

Did you download the Experimental Build Branch by VS 2015 build?
From the section marked as 2) here:

download_section.jpg

If so, please chose a build from the 1st section marked with the Official tag to see if the error is present.
The VS2015 builds are still experimental as they can have some issues not present in the officially supported compiler.

Marked as incomplete until additional information is provided.

Did you download the `Experimental Build Branch by VS 2015` build? From the section marked as 2) here: ![download_section.jpg](https://archive.blender.org/developer/F681488/download_section.jpg) If so, please chose a build from the 1st section marked with the Official tag to see if the error is present. The VS2015 builds are still experimental as they can have some issues not present in the officially supported compiler. Marked as incomplete until additional information is provided.
Author

I tried all of the versions actually, the only one that seemed to work correctly was the 2.8 branch. All other versions had the same errors.

I tried all of the versions actually, the only one that seemed to work correctly was the 2.8 branch. All other versions had the same errors.

Added subscribers: @LazyDodo, @Sergey

Added subscribers: @LazyDodo, @Sergey
Ray molenkamp was assigned by Sergey Sharybin 2017-07-28 10:40:02 +02:00

I can not reproduce the issue on Windows 7 laptop. Don't currently have access to Windows 10.

@LazyDodo, mind having a test here? Thanks!

I can not reproduce the issue on Windows 7 laptop. Don't currently have access to Windows 10. @LazyDodo, mind having a test here? Thanks!
Member

I'm also still on 7, and can't seem to repro either, but since this seems limited to 2.78 and your system, i'm suspecting there's something wonky in your profile folder, can you try

  1. Shut down blender.

  2. rename C:\Users[your username]\AppData\Roaming\Blender Foundation\Blender\2.78

to

C:\Users[your username]\AppData\Roaming\Blender Foundation\Blender\2.78.bak

  1. restart blender.
I'm also still on 7, and can't seem to repro either, but since this seems limited to 2.78 and your system, i'm suspecting there's something wonky in your profile folder, can you try 1) Shut down blender. 2) rename C:\Users\[your username]\AppData\Roaming\Blender Foundation\Blender\2.78 to C:\Users\[your username]\AppData\Roaming\Blender Foundation\Blender\2.78.bak 3) restart blender.
Author

Wow thank you very much, that definitely worked! So adding the .bak is a way to completely reset Blender?

Wow thank you very much, that definitely worked! So adding the .bak is a way to completely reset Blender?
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

i didn't want to delete anything, so i had you rename it, but yeah if you remove/rename/move the 2.78 folder it'll start over with a clean slate.

i didn't want to delete anything, so i had you rename it, but yeah if you remove/rename/move the 2.78 folder it'll start over with a clean slate.
Author

Oh gotcha, well thanks again. That was driving me crazy!

Oh gotcha, well thanks again. That was driving me crazy!
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
4 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#52204
No description provided.