Blender 2.64 crashes on startup #33072

Closed
opened 10 years ago by trespassersw · 29 comments

Duplicates: #33072

%%%I'm running Windows XP Home SP3.
Graphics card: NVidia GeForce GTS450.

Blender 2.63 runs just fine.
When I try to run 2.64 or 2.64a, I get the following message:

Runtime Error!
Program: C:...\blender.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

No .blend file is necessary. It crashes on start up.%%%

**Duplicates**: #33072 %%%I'm running Windows XP Home SP3. Graphics card: NVidia GeForce GTS450. Blender 2.63 runs just fine. When I try to run 2.64 or 2.64a, I get the following message: Runtime Error! Program: C:\...\blender.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. No .blend file is necessary. It crashes on start up.%%%
Poster

Changed status to: 'Open'

Changed status to: 'Open'
Ton commented 10 years ago
Collaborator

%%%This is not much information... but we had a similar report pointing at the Python.dll in our distro:
http://projects.blender.org/tracker/?func=detail&atid=498&aid=33066&group_id=9

I will reopen the other one, and link this report there.

Note that we can only fix bugs if there are ways for a developer to redo the problem... it's the reporter's job to investigate how :)%%%

%%%This is not much information... but we had a similar report pointing at the Python.dll in our distro: http://projects.blender.org/tracker/?func=detail&atid=498&aid=33066&group_id=9 I will reopen the other one, and link this report there. Note that we can only fix bugs if there are ways for a developer to redo the problem... it's the reporter's job to investigate how :)%%%
Ton commented 10 years ago
Collaborator

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Ton closed this issue 10 years ago
Ton commented 10 years ago
Collaborator

%%%Hi,

The other report was most likely not related to your crash - but you could check.

Also check on our bug reporting guidelines;

  • try other versions of blender (did it ever run?)
  • is your graphics ok for a heavy opengl app like blender?
  • test it on another computer to compare%%%
%%%Hi, The other report was most likely not related to your crash - but you could check. Also check on our bug reporting guidelines; - try other versions of blender (did it ever run?) - is your graphics ok for a heavy opengl app like blender? - test it on another computer to compare%%%
Poster

%%%Thank you, Ton.
It does seem that Python is related to my crash. The console window says the following (the caret is pointing to the comma):

found bundled python: C:\Program Files\Blender Foundation\BlenderOld\2.64\python

Fatal Python error: Py_Initialize: unable to load the file system codec

File "C:\Programs\PYTHON26\LIB\encodings\__init__.py", line 123
  raise CodecRegistryError,\
                          ^

SyntaxError: invalid syntax%%%

%%%Thank you, Ton. It does seem that Python is related to my crash. The console window says the following (the caret is pointing to the comma): found bundled python: C:\Program Files\Blender Foundation\BlenderOld\2.64\python Fatal Python error: Py_Initialize: unable to load the file system codec ``` File "C:\Programs\PYTHON26\LIB\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ ``` SyntaxError: invalid syntax%%%
Poster

%%%Just a note. After seeing the other bug report, I tried installing the newer version of Python (2.73), but that didn't help. I get the same error message as above but pointing to the new Python location.

And to quickly answer your other questions:
Yes, earlier versions of Blender run just fine for me. Every version up to 2.63 I have had no problem with and I've been using it for years.
Yes, my graphics card is OK for a heavy OpenGL app like Blender. NVidia GeForce GTS450.
I don't have another computer immediately handy to test with. Sorry.%%%

%%%Just a note. After seeing the other bug report, I tried installing the newer version of Python (2.73), but that didn't help. I get the same error message as above but pointing to the new Python location. And to quickly answer your other questions: Yes, earlier versions of Blender run just fine for me. Every version up to 2.63 I have had no problem with and I've been using it for years. Yes, my graphics card is OK for a heavy OpenGL app like Blender. NVidia GeForce GTS450. I don't have another computer immediately handy to test with. Sorry.%%%
Collaborator

%%%Joseph, why did you try Python 2.x? Blender works only with Python 3.2.
%%%

%%%Joseph, why did you try Python 2.x? Blender works only with Python 3.2. %%%
Poster

%%%OK. I've found the problem.
This (and probably 33072) is related to issue 31506.
If you have an external Python install, and the PYTHONPATH system variable is set to point to that, then Blender will use the external Python build which is incompatible and causes the crash.

Thanks for your help in sorting this out. I have to say, for a free program, this is pretty excellent customer service!%%%

%%%OK. I've found the problem. This (and probably 33072) is related to issue 31506. If you have an external Python install, and the PYTHONPATH system variable is set to point to that, then Blender will use the external Python build which is incompatible and causes the crash. Thanks for your help in sorting this out. I have to say, for a free program, this is pretty excellent customer service!%%%
Poster

%%%Ah. I wasn't aware of that.
Thank you Shinsuke.%%%

%%%Ah. I wasn't aware of that. Thank you Shinsuke.%%%

%%%Hi I do have the Same Problem the output looks like this:

C:\Users\Wasi>"C:\Program Files\Blender Foundation\Blender\blender.exe"
found bundled python: C:\Program Files\Blender Foundation\Blender\2.67\python
Fatal Python error: Py_Initialize: unable to load the file system codec

File "C:\GitStack\python\lib\encodings\__init__.py", line 123
  raise CodecRegistryError,\
                          ^

SyntaxError: invalid syntax

To change the PYTHONPATH is no option to me because this variable is used by an other program.%%%

%%%Hi I do have the Same Problem the output looks like this: C:\Users\Wasi>"C:\Program Files\Blender Foundation\Blender\blender.exe" found bundled python: C:\Program Files\Blender Foundation\Blender\2.67\python Fatal Python error: Py_Initialize: unable to load the file system codec ``` File "C:\GitStack\python\lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ ``` SyntaxError: invalid syntax To change the PYTHONPATH is no option to me because this variable is used by an other program.%%%

Added subscriber: @KonstantinosPsychas

Added subscriber: @KonstantinosPsychas

This is actually a bug and it is not fixed.
I had to delete my PYTHONPATH variable to make it work.
I don't know if it's hard for the startup script to ignore environment variable if python version is 2.
I am using the latest version of Blender (2.70 currently).
I think the issue should be reopened.

This is actually a bug and it is not fixed. I had to delete my PYTHONPATH variable to make it work. I don't know if it's hard for the startup script to ignore environment variable if python version is 2. I am using the latest version of Blender (2.70 currently). I think the issue should be reopened.

Added subscriber: @alahiri

Added subscriber: @alahiri

The root cause of this problem is that a different version of Python exists on the Windows system (probably 2.6 or 2.7).

I fixed this on my Windows installation by creating a Blender,bat file (windows batch file) in the blender-2.71-windows64 directory, with the following contents:

set PYTHONPATH=""
blender

Hope this helps someone!

The root cause of this problem is that a different version of Python exists on the Windows system (probably 2.6 or 2.7). I fixed this on my Windows installation by creating a Blender,bat file (windows batch file) in the blender-2.71-windows64 directory, with the following contents: set PYTHONPATH="" blender Hope this helps someone!
RogersChris commented 9 years ago (Migrated from localhost:3001)
Collaborator

Added subscriber: @RogersChris

Added subscriber: @RogersChris
RogersChris commented 9 years ago (Migrated from localhost:3001)
Collaborator

I'm having this problem but don't know how to resolve it, I need to set the "PYTHONPATH =" but have no idea how to

I'm having this problem but don't know how to resolve it, I need to set the "PYTHONPATH =" but have no idea how to
RogersChris commented 9 years ago (Migrated from localhost:3001)
Collaborator

Got it working

Got it working

Added subscriber: @domeylp

Added subscriber: @domeylp

I HAVE THE SOLUTION

It worked for me.

Download the newest python version.
Locate you python and you blender path.
3.Go to YOUBLENDERPATH/YOURBLENDERVERSION.

4.There should be a folder called python.

Make a copy of that folder.
Copy you WHOLE Python Folder(That you have downloaded/installed) into the YOUBLENDERPATH/YOURBLENDERVERSION folder.
Blender should work now.

I HAVE THE SOLUTION It worked for me. Download the newest python version. Locate you python and you blender path. 3.Go to YOUBLENDERPATH/YOURBLENDERVERSION. 4.There should be a folder called python. Make a copy of that folder. Copy you WHOLE Python Folder(That you have downloaded/installed) into the YOUBLENDERPATH/YOURBLENDERVERSION folder. Blender should work now.

Added subscriber: @tineras

Added subscriber: @tineras

I know this is old, but I wanted to provide an alternate solution to those who do not wish to remove their PYTHONPATH environment variable. I am on version 2.75a and this solves my crash on startup issue.

  1. Make a batch file somewhere like your desktop
  • To do so, create a blank .txt document and name it blender.bat (MAKE SURE THE EXTENSION IS .bat and not .txt)
  1. Edit blender.bat and add the text below

INCLUDE EVERYTHING BELOW (NOT THIS LINE)

set PYTHONPATH=""
cd C:\Program Files\Blender Foundation\Blender
start blender.exe

INCLUDE EVERYTHING ABOVE (NOT THIS LINE)

  1. Your blender path may be different, so make sure you find the correct path
  2. run blender.bat

This will temporarily set the PYTHONPATH to "" (nothing) during your blender session but is restored after you close.

I know this is old, but I wanted to provide an alternate solution to those who do not wish to remove their PYTHONPATH environment variable. I am on version 2.75a and this solves my crash on startup issue. 1. Make a batch file somewhere like your desktop - To do so, create a blank .txt document and name it blender.bat (MAKE SURE THE EXTENSION IS .bat and not .txt) 2. Edit blender.bat and add the text below INCLUDE EVERYTHING BELOW (NOT THIS LINE) set PYTHONPATH="" cd C:\Program Files\Blender Foundation\Blender\ start blender.exe INCLUDE EVERYTHING ABOVE (NOT THIS LINE) 3. Your blender path may be different, so make sure you find the correct path 4. run blender.bat This will temporarily set the PYTHONPATH to "" (nothing) during your blender session but is restored after you close.
Pawl commented 8 years ago

Added subscribers: @aaron-14, @Pawl

Added subscribers: @aaron-14, @Pawl
Pawl commented 8 years ago

@aaron-14 Great solution! Fixed my crash on startup.

@aaron-14 Great solution! Fixed my crash on startup.
Owner

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Owner
Added to manual https://www.blender.org/manual/troubleshooting/startup.html#python-crashes-on-startup

Added subscriber: @POI-OEZD

Added subscriber: @POI-OEZD

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
POI-OEZD reopened this issue 5 years ago

The above solutions didn't help me. I still get the found bundled python error and the blender window freezes on startup with just the sillhoutes visible....

The above solutions didn't help me. I still get the found bundled python error and the blender window freezes on startup with just the sillhoutes visible....
brecht commented 4 years ago
Owner

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
brecht closed this issue 4 years ago
brecht self-assigned this 4 years ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Sculpt, Paint & Texture
legacy module/User Interface
legacy module/VFX & Video
legacy project/BF Blender: 2.8
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/OpenGL Error
legacy project/Retrospective
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
13 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#33072
Loading…
There is no content yet.