ChiantiPy icon indicating copy to clipboard operation
ChiantiPy copied to clipboard

KeyError on windows 10

Open taniavsn opened this issue 2 years ago • 4 comments

I had a key error regarding the ['HOME'] variable in the code (files Gui/init.py and tools/io.py). Changing this variable to ['USERPROFILE'] fixed the problem.

taniavsn avatar Mar 02 '22 23:03 taniavsn

Hi, thanks for letting me know. what platform are you on, Windows, Mac because on linux I do not have such as variable but can change the code to look for both

kdere avatar Mar 03 '22 14:03 kdere

Hello,

I am working on Windows 10. I think that this error doesn't occur on Linux indeed. Thank you for your quick reply !

All the best,

Tania Varesano

De: "Ken Dere" @.> À: "chianti-atomic/ChiantiPy" @.> Cc: "Tania Varesano" @.>, "Author" @.> Envoyé: Jeudi 3 Mars 2022 07:54:47 Objet: Re: [chianti-atomic/ChiantiPy] KeyError on windows 10 (Issue #329)

Hi, thanks for letting me know. what platform are you on, Windows, Mac because on linux I do not have such as variable but can change the code to look for both

— Reply to this email directly, [ https://github.com/chianti-atomic/ChiantiPy/issues/329#issuecomment-1058122544 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ATMKO7RS3QOFY77S6ZT7TZ3U6DHDPANCNFSM5PY2T6OA | unsubscribe ] . Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] . You are receiving this because you authored the thread. Message ID: <chianti-atomic/ChiantiPy/issues/329/1058122544 @ github . com>

taniavsn avatar Mar 03 '22 16:03 taniavsn

Hello,

I seem to have some trouble with my mail box, so just in case you didn't recieved my last email, I do work with Windows 10. I am sorry for the inconvenience.

All the best,

Tania Varesano

De: "Ken Dere" @.> À: "chianti-atomic/ChiantiPy" @.> Cc: "Tania Varesano" @.>, "Author" @.> Envoyé: Jeudi 3 Mars 2022 07:54:47 Objet: Re: [chianti-atomic/ChiantiPy] KeyError on windows 10 (Issue #329)

Hi, thanks for letting me know. what platform are you on, Windows, Mac because on linux I do not have such as variable but can change the code to look for both

— Reply to this email directly, [ https://github.com/chianti-atomic/ChiantiPy/issues/329#issuecomment-1058122544 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ATMKO7RS3QOFY77S6ZT7TZ3U6DHDPANCNFSM5PY2T6OA | unsubscribe ] . Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] . You are receiving this because you authored the thread. Message ID: <chianti-atomic/ChiantiPy/issues/329/1058122544 @ github . com>

taniavsn avatar Mar 10 '22 04:03 taniavsn

HI Tania,

yes, I did get your email.

I am in the process of working on a fix for Windows. Should be released soon

regards, Ken


From: Tania Varesano @.> Sent: Wednesday, March 9, 2022 11:22 PM To: chianti-atomic/ChiantiPy @.> Cc: Kenneth P Dere @.>; Comment @.> Subject: Re: [chianti-atomic/ChiantiPy] KeyError on windows 10 (Issue #329)

Hello,

I seem to have some trouble with my mail box, so just in case you didn't recieved my last email, I do work with Windows 10. I am sorry for the inconvenience.

All the best,

Tania Varesano

De: "Ken Dere" @.> À: "chianti-atomic/ChiantiPy" @.> Cc: "Tania Varesano" @.>, "Author" @.> Envoyé: Jeudi 3 Mars 2022 07:54:47 Objet: Re: [chianti-atomic/ChiantiPy] KeyError on windows 10 (Issue #329)

Hi, thanks for letting me know. what platform are you on, Windows, Mac because on linux I do not have such as variable but can change the code to look for both

— Reply to this email directly, [ https://github.com/chianti-atomic/ChiantiPy/issues/329#issuecomment-1058122544 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ATMKO7RS3QOFY77S6ZT7TZ3U6DHDPANCNFSM5PY2T6OA | unsubscribe ] . Triage notifications on the go with GitHub Mobile for [ https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | iOS ] or [ https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | Android ] . You are receiving this because you authored the thread. Message ID: <chianti-atomic/ChiantiPy/issues/329/1058122544 @ github . com>

— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1itPmpjkLJ1Q1XteZHja3irpAAojIT27xCG0-5ja9UNoZSV-fmjFJEYE78C9Jvwn8RwKmZlVwDKNcnB8qva16JTX8_HfXlYbYxtAM8x8BvUEGY6Oc5wXBWTa1dD8jqSdsn9J7AVa9TkmWJmB8FRiagQcQFegRys5qSj34rg5DA4OKmc4IJPfemxU0tRBxmVzt3ueWoqiAnIDCJGcaofi5nE-zND6wjUiTr0h-e62CDngKztXljCtLMApyZ_pLrUyhWTg4FnpCZ1CF4AGh2WECg_Y1qBBxGE2CgyGYFmadf3Btz7yDam8bSND7O7X4CJIpBiz0Tid06cEAtPAWaWjGjJYE-gLw_IE9ZSigM8soPvP5pooWgOcmIBiQP3HWFnaZXwgwapL3I0TUqfHyBb6mN_lSk_67Ink9uVj81HcJ35G1sesQuz4qjLnlMJigHNXt/https%3A%2F%2Fgithub.com%2Fchianti-atomic%2FChiantiPy%2Fissues%2F329%23issuecomment-1063650433, or unsubscribehttps://secure-web.cisco.com/1305PXP9OsAjsAhpkCzk2N-JRWfk_Ql5zwE7ZD56ytAf1I4l3LuKAwnuQxSR82urkHvMmeL-4Yo_xb21nApPBtdEyZZV8QakGi9RZGOaRJsmg3u68cG6PtADFQW6z6szMILigd6P5SvjylschXvG-FKdhuPOW6Qs--fZS9YIa59S2mV9o4LH_TuaK7k_MZgXueOYA9HXctd_RRCnqq9rD7XiQkH4QvGOO31CPbKlZoaUSE4HewUCBXFd_uCDzPH_WWG-ZfHMVnQ7wfwi4ozFIYmx0bXn2ck1fVaxZEHwPxMPlu7BA2672t0HGAKnIfm5k5qrWaAP7yk7hy1JZgoLeTXdK3hIvG3fBRFQwFTxvYNJ9daf9gVSEKJgMn4KcXy4mMhV1FKdBqUG-bnojiEt4VgwFLcvNdVbT-8RmBNQGjY5if81JxEhM3oA_VaS6a3W7/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAFUQVSJTB37EYJ33IQJLETU7F2IFANCNFSM5PY2T6OA. Triage notifications on the go with GitHub Mobile for iOShttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Ckdere%40gmu.edu%7C4b737951ab1047c9200d08da024d95cf%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637824829502432889%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rtMtljAJHK8F0FTttmWT15MlPA2xZ6b7ANfR6uQ8iNs%3D&reserved=0 or Androidhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Ckdere%40gmu.edu%7C4b737951ab1047c9200d08da024d95cf%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637824829502432889%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=nyU%2FlmJQ%2Bn4uREEa0EzysqH1R9a1Y4KqP7tdIqY18DQ%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

kdere avatar Mar 10 '22 14:03 kdere

@taniavsn thanks for posting your solution!

jtskowronek avatar Sep 25 '22 00:09 jtskowronek