Avogadro 2 does not start

I believe this to be a bug with Avogadro

Environment Information

Avogadro version: Avogadro 2. 1.100
Operating system and version:
Windows 11 Pro Version 21H2

After installing Avogadro2 1.100, the program does not start. Log judge, the program complains that there is no correct path to the Python interpreter. At the same time, I installed both the Current Release and the Nightly Build, and still no one works. I also recently reinstalled python, but it also doesn’t help. Attach logs to the post

avogadro2.log (6.5 KB)

I have same problem with Win 10, I also tried both classic and Nightly version.
First time it showed message like if I donť mind installing Python, so I agreed, but nothing happened neither after installing Python 3.13 fom MS store and reinstalling
avogadro2.log (7.3 KB)

Ugh. Sorry to both of you.

So if I understand correctly, it popped up a dialog about installing Python, you did that, but you never see an actual editor window? Even when it had the message about installing Python?

The challenge has been figuring out what part of the code is causing problems. So it helps to know at least what parts of the code work before it evidently crashes.

As I mentioned in another thread, I’m pretty busy this week, but will try to get another debug / test build to see if we can fix the issue. Not all Windows users seem to be affected (e.g., it works for students in my research group fine)

I had the same thing as @LordGnarlord. During the first launch, I was offered, like, to install Python, I agreed, after which this window just closed, and Avogadro 2 appears in the task manager, but almost immediately it finishes working.

1 Like

Hello,

I installed Avogadro2 on Windows11, but the program opening takes too long. But it opens…

In my case, it doesn’t open at all. In the task manager, it just shuts down, and if it had turned on again later, that would have happened, since I was still working on the computer. Of course, if it turns on after 10 hours, but then there is a question of convenience)

I had major problems tracking down why Avogaro2 crashed on startup in Windows 10 - even the older versions wouldn’t start.
Eventually I found a registry entry titled OpenChemistry under HKEY_USERS that wasn’t removed during an uninstall. Uninstalling, deleting that key and finally reinstalling version 1.100 works perfectly. I should have twigged earlier as the window always appeared on my second monitor after every reinstallation

1 Like

Interesting. Sounds like resetting the settings worked for you. Let me think about how to detect a crashed startup and offer to reset settings on the next launch…

1 Like

I have the same problem on Windows 11. Avogadro2 nightly build does not open after installation.

1 Like

Sorry to warm up this topic again, but I’m also still facing the same problem. :confused:
I already tried the registry hint of whitfieldp, but unfortunately, this didn’t help anything.

So far, I had installed version 1.97.0, but this version has some issues when trying to use generators like Gaussian, as already discussed here:
https://discuss.avogadro.cc/t/trouble-with-generators-in-1-97/4711
Therefore I tried to update to newer Avogadro versions.

But as I found out, no newer Avogadro version works on my system (Win 10 Enterprise 22H2 Build 19045.5608). I installed 1.98.0, 1.98.1, 1.99.0, and 1.100.0.
After trying to start Avogadro, I can see Avogadro2 for a few seconds in the background processes of the task manager, then it vanishes, and no program window ever opens.

Of course, I also tried a complete computer restart after every Avogadro installation, but Avogadro still won’t start.

Both Python and Avogadro were added to the Windows PATH variable.

Curiously enough, when I return to version 1.97.0, the software runs again as expected, but still with the old “Error running script…python313…” issue when using gaussian.

I’d be grateful for any idea, what I could try else.

Thanks - that’s really helpful. It suggests at least for you that the problem is between 1.97 and 1.98. That’s definitely easier to chase down: Comparing 1.97.0...1.98.0 · OpenChemistry/avogadrolibs · GitHub

(Many of the changes are translation updates, so there are fewer actual code changes.)

Let me see how hard it would be to provide builds to track down the change.