Author Topic: Error while opening QATK in windows 11  (Read 39027 times)

0 Members and 1 Guest are viewing this topic.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: in
  • Reputation: 4
    • View Profile
Error while opening QATK in windows 11
« on: May 23, 2025, 05:25 »
Dear admin,
How to resolve error?

I cant open ATK GUI on Windows 11 :

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Program Files\QuantumATK\QuantumATK-W-2024.09-SP1\bin\quantumatk.exe\__main__.py", line 7, in <module>
    sys.exit(start_quantumatk())
             ^^^^^^^^^^^^^^^^^^
  File "zipdir/ATKExecutables/atkwrappers\__init__.py", line 811, in start_quantumatk
  File "zipdir\NL\__init__.py", line 10, in <module>
  File "zipdir\NL\GUI\Main\Main.py", line 207, in main
  File "zipdir\NL\GUI\Main\ApplicationManager.py", line 11, in <module>
  File "zipdir\NL\GUI\Preferences\Preferences.py", line 17, in <module>
  File "zipdir\NL\GUI\Tools\Builder\Stash\StashConstants.py", line 3, in <module>
  File "zipdir\NL\CommonConcepts\Configurations\BulkConfiguration.py", line 19, in <module>
  File "zipdir\NL\CommonConcepts\Configurations\AtomicConfiguration.py", line 13, in <module>
  File "zipdir\NL\Calculators\ExternalCalculators\ClassicalCalculators\PotentialBuilderUtilities.py", line 13, in <module>
  File "build/atkpython/Lib/site-packages/tremolox\TremoloXPotentialSet.py", line 19, in <module>
  File "build/atkpython/Lib/site-packages/tremolox\potentials\analyzer.py", line 42, in <module>
  File "build/atkpython/Lib/site-packages/tremolox\pymolo.py", line 8, in <module>
  File "build/atkpython/Lib/site-packages/tremolox\pymolo_avx.py", line 10, in <module>
ImportError: DLL load failed while importing _pymolo_avx: The specified procedure could not be found.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5743
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
Re: Error while opening QATK in windows 11
« Reply #1 on: May 23, 2025, 21:40 »
Looks like a broken installation. Try to reinstall

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: in
  • Reputation: 4
    • View Profile
Re: Error while opening QATK in windows 11
« Reply #2 on: May 26, 2025, 09:13 »
Issue resolved. Turns out there were some quantumatk files from previous version. Had to uninstall and delete all Quantumatk files and reinstall.
« Last Edit: May 26, 2025, 19:33 by AsifShah »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5743
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
Re: Error while opening QATK in windows 11
« Reply #3 on: May 27, 2025, 20:53 »
Probably the files themselves were not the issue, but you may have set a PATH that points to these files, which get picked up preferentially by the newer installation. This is actually an interesting question that maybe we need to pay some attention to, since we stopped automatically updating the PATH with newer versions, so lingering legacy installations can become a problem in this way. To help us improve this for other users, can you share which old version you had installed, and share your PATH variable?

Also, how dud you obtain the traceback on Windows - normally error messages go to a (non-existent) terminal, and are unfortunately hard to capture for a user. Did these errors appear in a popup, and if so, at what stage of the startup sequence?

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: in
  • Reputation: 4
    • View Profile
Re: Error while opening QATK in windows 11
« Reply #4 on: June 2, 2025, 15:18 »
Dear Anders Blom,

The older version was from 2023.
The files that were causing trouble were in the path: C:\Users\Lenovo\.quantumatk
It was the .quantumatk folder that was causing the trouble.

Yes, there was a popup just after I double clicked the QuantumATK icon.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5743
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
Re: Error while opening QATK in windows 11
« Reply #5 on: June 3, 2025, 23:44 »
Interesting! I suppose you no longer have the offending files, but in case you do, you can share them with us to include in our testing, to avoid this issue in the future.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: in
  • Reputation: 4
    • View Profile
Re: Error while opening QATK in windows 11
« Reply #6 on: June 4, 2025, 18:24 »
Sadly no. I deleted them all :(

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5743
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys
Re: Error while opening QATK in windows 11
« Reply #7 on: June 4, 2025, 20:37 »
At least this thread can serve as a guide for people experiencing the same issue,