Re: [Ifeffit] python accesses outlook PST files during X-ray larch binary installation on Windows 10 computer

2023-06-06 Thread Voegelin, Andreas
Dear Matt

Thank you for your prompt response.  I will install version 0.9.70 next week 
and check with our IT if the issue appears again.
One thing I noted:  Of several pst files in one folder, only two were accessed 
by python during the installation of Larch. These files happen to be the ones 
which are also accessed by outlook whenever I run outlook on the same computer.

Best, Andreas

From: Ifeffit  On Behalf Of Matt 
Newville
Sent: Montag, 5. Juni 2023 20:32
To: XAFS Analysis using Ifeffit 
Subject: Re: [Ifeffit] python accesses outlook PST files during X-ray larch 
binary installation on Windows 10 computer

This e-mail was sent to you by someone outside Eawag.
You should only click on links or attachments if you are certain that the 
e-mail is genuine and the content is safe.
Hi Andreas,

Sorry for the trouble.  We are not purposefully trying to launch Outlook - I 
would not wish that on anyone! I have seen a similar issue on some Windows 
machines in the past, where either the default mail program, such as Outlook, 
or web browser, or sometimes the system Calculator would be launched, possibly 
in the background, but that might prompt the user to sign-in or set up the 
mail/browser system.  When I looked into this (now ~5 years ago), I could get 
this to happen and narrowed it down to certain wxPython components, but ones 
that we do use regularly.

Slightly "in the weeds":  At the suggestion of wxPython developers,  I added a 
wrapper around Python opening a process or doing the equivalent of a Windows 
"Start" command that would print out a message before doing such a "start".   
In a classic debugging story, adding that wrapper never showed the actual 
problem, but also made the problem appear to go away.  I have not seen this bug 
in years.  About a year ago, I was doing some "cleanup" and removed this 
wrapper.  I have not seen or heard of the problem since.  But, I will add this 
back.  With that back in place, if you (or anyone else) sees this happen, 
please look at the Windows cmd shell for any messages that might show up and 
let me know.

I'm hoping to tag and push 0.9.69 out to PyPI today or early tomorrow, and this 
will be included.   FWIW, 0.9.69 will be a "beta"-like pre-release and not yet 
pushed out as an automatic update, and a more official release of 0.9.70 
probably by next Monday.  In fact, one of the problems to solve is the failure 
of automatic updates on Windows.  I'll send out more complete announcements for 
both of these.


On Mon, Jun 5, 2023 at 9:26 AM Voegelin, Andreas 
mailto:andreas.voege...@eawag.ch>> wrote:
Dear All

I apologize for this question related to IT safety rather than science and the 
use of Larch.

Today, I installed Larch for Windows on an institute computer using the latest 
Windows 64-bit binary installer (0.9.68).  Now I got the following alert from 
our IT security:
“The process c:\users\%USER%\appdata\local\xraylarch\python.exe accessed 
Outlook files.  The user who ran the process was  .  The accessed files 
were: .pst, .pst”.

It seems that during the installation of Larch, python.exe accessed some 
outlook archive files in another folder on the C drive, and I do not know if 
this should be a matter of concern.
Has anyone experienced a similar behavior before, or does anyone with 
Larch/python skills have an explanation for this?

Cheers, Andreas




___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov<mailto:Ifeffit@millenia.cars.aps.anl.gov>
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit

___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] python accesses outlook PST files during X-ray larch binary installation on Windows 10 computer

2023-06-05 Thread Matt Newville
Hi Andreas,

Sorry for the trouble.  We are not purposefully trying to launch Outlook -
I would not wish that on anyone! I have seen a similar issue on some
Windows machines in the past, where either the default mail program, such
as Outlook, or web browser, or sometimes the system Calculator would be
launched, possibly in the background, but that might prompt the user to
sign-in or set up the mail/browser system.  When I looked into this (now ~5
years ago), I could get this to happen and narrowed it down to certain
wxPython components, but ones that we do use regularly.

Slightly "in the weeds":  At the suggestion of wxPython developers,  I
added a wrapper around Python opening a process or doing the equivalent of
a Windows "Start" command that would print out a message before doing such
a "start".   In a classic debugging story, adding that wrapper never showed
the actual problem, but also made the problem appear to go away.  I have
not seen this bug in years.  About a year ago, I was doing some "cleanup"
and removed this wrapper.  I have not seen or heard of the problem since.
But, I will add this back.  With that back in place, if you (or anyone
else) sees this happen, please look at the Windows cmd shell for any
messages that might show up and let me know.

I'm hoping to tag and push 0.9.69 out to PyPI today or early tomorrow, and
this will be included.   FWIW, 0.9.69 will be a "beta"-like pre-release and
not yet pushed out as an automatic update, and a more official release of
0.9.70 probably by next Monday.  In fact, one of the problems to solve is
the failure of automatic updates on Windows.  I'll send out more complete
announcements for both of these.


On Mon, Jun 5, 2023 at 9:26 AM Voegelin, Andreas 
wrote:

> Dear All
>
> I apologize for this question related to IT safety rather than science and
> the use of Larch.
>
> Today, I installed Larch for Windows on an institute computer using the
> latest Windows 64-bit binary installer (0.9.68).  Now I got the following
> alert from our IT security:
> “The process c:\users\%USER%\appdata\local\xraylarch\python.exe accessed
> Outlook files.  The user who ran the process was  .  The accessed files
> were: .pst, .pst”.
>
> It seems that during the installation of Larch, python.exe accessed some
> outlook archive files in another folder on the C drive, and I do not know
> if this should be a matter of concern.
> Has anyone experienced a similar behavior before, or does anyone with
> Larch/python skills have an explanation for this?
>
> Cheers, Andreas
>
>
>
>
> ___
> Ifeffit mailing list
> Ifeffit@millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
>
>
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


[Ifeffit] python accesses outlook PST files during X-ray larch binary installation on Windows 10 computer

2023-06-05 Thread Voegelin, Andreas
Dear All

I apologize for this question related to IT safety rather than science and the 
use of Larch.

Today, I installed Larch for Windows on an institute computer using the latest 
Windows 64-bit binary installer (0.9.68).  Now I got the following alert from 
our IT security:  
“The process c:\users\%USER%\appdata\local\xraylarch\python.exe accessed 
Outlook files.  The user who ran the process was  .  The accessed files 
were: .pst, .pst”.

It seems that during the installation of Larch, python.exe accessed some 
outlook archive files in another folder on the C drive, and I do not know if 
this should be a matter of concern.
Has anyone experienced a similar behavior before, or does anyone with 
Larch/python skills have an explanation for this?

Cheers, Andreas




___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit