QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: payam on September 29, 2016, 01:19

Title: Fails to start
Post by: payam on September 29, 2016, 01:19
Dear ATK Users,
The ATK was running and after a while it crashed. Now, it fails to start and after clicking on the VNL icon  nothing happens. Only the logo appears and then it disappears.
Could you please let me know what to do?

Best regards,
Payam
Title: Re: Fails to start
Post by: Ulrik G. Vej-Hansen on September 29, 2016, 08:56
Could you start it from a terminal and post the error message here?
Title: Re: Fails to start
Post by: payam on September 29, 2016, 16:02
Thank you for your attention.
I put VNL in terminal then the VNL logo appeared and disappeared with no message!
I remember it happened once in before and I removed a file and it became healthy. I do not remember that procedure now.

Best regards,
Payam

Title: Re: Fails to start
Post by: payam on September 29, 2016, 16:23
By the way, this is what I found in crash.log:

Traceback (most recent call last):
  File "./zipdir/NL/GUI/Main/Main.py", line 114, in main
  File "./zipdir/NL/GUI/MainWindow/MainStack.py", line 21, in __init__
  File "./zipdir/NL/GUI/MainWindow/MainStack.py", line 114, in readSettings
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-4: ordinal not in range(128)
Title: Re: Fails to start
Post by: Anders Blom on September 29, 2016, 16:35
Generally speaking ATK and VNL do not work in environments where you use other characters than the English ones (a-Z and numbers) in username, project directory name, installation dir, etc. So somewhere in your environment or (as it seems) main.ini file such a file or directory is present. A simple solution for the moment is to rename $HOME/.vnl/main.ini to something else and attempt to start VNL. You will lose all your projects (not the projects themselves, but the list of them), but you can easily rebuild that. Alternatively, you can look inside main.ini and try to find where you are using an odd character. If all else fails, send main.ini to us for autopsy.
Title: Re: Fails to start
Post by: payam on September 29, 2016, 17:26
Dear Anders,
Thank you for your response.
Is $home/.vnl an address? I could not find main.ini file. Could you please clarify it?

Best regards,
Payam
Title: Re: Fails to start
Post by: payam on September 29, 2016, 17:30
Dear Anders,
I resolved it and it works. Thank you very much.

Best regards,
Payam