MonZop / BioBlender

AddOn for Blender to do molecular work
BSD 2-Clause "Simplified" License
113 stars 20 forks source link

[SOLVED] Blender Crashes on program load #10

Closed zeffii closed 9 years ago

zeffii commented 9 years ago

This could be many things, but i'll ignore that and try to get you to use a builder.blender.org version (it will be slightly newer and have some bugfixes over the official 2.73a, it may also have new and exciting bugs...)

image

what happens if you click on that blender.exe ?

If it still crashes, it may be worth trying to launch blender from a command prompt / terminal, to see if there are any error messages.

MonZop commented 9 years ago

With the help of a colleague, we did just that, plus area more attempts. the result is invariably that blender starts and crashes immediately. in the blender report there is no help,either...

zeffii commented 9 years ago

ok.. all is not lost yet!

C:\Users\your_user_name\AppData\Roaming\Blender Foundation\Blender\2.73

delete all content in that folder

zeffii commented 9 years ago

When you start blender from a command prompt, what does it say? image

image

zeffii commented 9 years ago

reading through the bug tracker of blender.org, there's a scenario which appears much like the one you describe. It involves something called a (forgive the caps) PYTHONPATH.

in a console/terminal type: SET or set and windows will spit out a bunch of environmental variables. image

If PYTHONPATH is among those, and it points to a 2.6 or 2.7 version of Python, this may indicate the problem and a solution

MonZop commented 9 years ago

Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windo ws\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Python27;C:\Pyth on27\Scripts

There is not a specific PYTHONPATH; Python is mentioned in the lines copied above

zeffii commented 9 years ago

hmm, nope that's not it then.. i'll do some more digging

MonZop commented 9 years ago

Following another clue (http://blenderartists.org/forum/showthread.php?359439-Blender-2-73-Crashes-at-Startup) , I updated Windows to the latest ; unfortunately the result is the same: immediate crash of Blender (maybe this is an issue for the BF developers?)

zeffii commented 9 years ago

it's win7 64bit? Do you have admin rights, can you freely install stuff. Uni computers tend to come with certain restrictions, and sometimes background monitoring processes that close programs which are not in some white-list of allowed executables.

i'd be interested to know a few more things, before doing a bug report to BF developers.

MonZop commented 9 years ago

Yeas, I do have full control on the pc. It is a Windows7, 64 bits (I even tried to install the 32 bit, but it crashes).

With blender-app.exe same result

MonZop commented 9 years ago

with blender.exe --debug-all I get what you said. How do I paste here the copy of command window? However the last lines are: (....) ED_screen_refresh: set screen ghost_event_proc: ghost redraw 1 ghost_event_proc: ghost redraw 1 GL error: enumeratore non valido Writing: C:\Users\Monica\AppData\Local\Temp\blender.crash.txt

The file crash.txt says

# Blender 2.73 (sub 0), Commit date: 2015-01-20 18:16, Hash bbf09d9
bpy.ops.wm.splash()  # Operator

# backtrace
MonZop commented 9 years ago

Ops, sorry about the size: i have no control of it

MonZop commented 9 years ago

The line fomr the black window that says: GL error:enumeratore non valido means invalid enumerator might this be the problem?

MonZop commented 9 years ago

senzanome

zeffii commented 9 years ago

no, GL_errors are most probably false positives. The --debug-all is like a fishing net which also catches the occasional octopus.

zeffii commented 9 years ago

The first thing the guys in Blender's bug tracker will ask is to try with a latest builder-bot version too. The error you pasted (not the image) shows the last blender.crash.txt was generated by a blender.exe which was created 2015-1-20 (two weeks ago).

At this point you have several 64bit versions of 2.73 on your machine, but the most interesting feedback will be if you do a debug from one of the builder-bot versions. (the zips, like: blender-2.73-280ed32-win64, where 280ed32 is the hash / unique identifier.

literally:

This is a real pain. The solution should be torturously simple.

MonZop commented 9 years ago

Done: blackwindow2

MonZop commented 9 years ago

repeated without mistake (space between --debug and -all) blackwindow3

zeffii commented 9 years ago

Cool! i'll ask around. At this point it beyond what I know how to fix

MonZop commented 9 years ago

Thanks (in the meanwhile, I have to remove all 2.73, and re-install 2.70, if I want to do some work!)

zeffii commented 9 years ago

you can have multiple blender installations on the same machine, you can set up shortcuts to each of the executables..

zeffii commented 9 years ago

<mont29> zeffii: Please:

MonZop commented 9 years ago

I'll need a day only to understand all of this! ;-) But will try OS fully updated, already done...

MonZop commented 9 years ago

BINGO!! I updated the NVIDIA driver. I thought that all updates were done automatically, but clearly this was not the case. Inow have Blebder 273, and can start checking BioBledner Jumps up and down!!

zeffii commented 9 years ago

AWESOME/.

now we ROK ON!

zeffii commented 9 years ago

still, advice is to use the latest builder bot version or 2.73a (I tend to use the builder bot because it fixes tonnes of bugs in-between the major releases)

mernstackman commented 5 years ago

I got the same problem, and after I tried to run from command prompt, I found that it was trying to open a file named quit.blend located on my Temp directory.

C:/Users/My Username/AppData/Local/Temp/quit.blend

I deleted that file and blender launched normally.