<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Python3 updates to the setup scripts are making their way into a future release of FLASH, but I’d be happy to provide a diff patch if someone needs it now. The caveat here is that it has not been extensively tested.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--Austin<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><flash-users-bounces@flash.uchicago.edu> on behalf of Jason Galyardt <jason.galyardt@gmail.com><br>
<b>Date: </b>Sunday, December 30, 2018 at 12:41 PM<br>
<b>To: </b>Kawa Noman <knoman@uni-potsdam.de><br>
<b>Cc: </b>flash-users <flash-users@flash.uchicago.edu><br>
<b>Subject: </b>Re: [FLASH-USERS] Setup failure on linux<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">This is a Python 3 error: some of the lines in setup.py use spaces for indentation, while other lines use tabs. Try using Python 2.7 instead of Python 3.x and see if it goes away. A virtual environment such as pipenv can help with this
without requiring administrator priveleges.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Going forward, the FLASH Python scripts will need to be updated for Python 3. A good linter such as pylint can help spot these problems. The linter should interface with your Python IDE; I know for sure that this works with the freely available
Microsoft Visual Studio Code, but it should work with anything from Emacs to Atom.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Jason<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Sun, Dec 30, 2018 at 12:12 PM Kawa Noman <<a href="mailto:knoman@uni-potsdam.de">knoman@uni-potsdam.de</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Dear Flash-users,<br>
<br>
<br>
I am working on Macbook Air laptop and I have been encountering a problem <br>
with setup.py file when i try to set up the confiure file ./setup Sedov <br>
-auto ,i got<br>
<br>
<br>
File "/Users/kawanoman/Downloads/FLASH4.5/bin/setup.py", line 131<br>
print("Using Makefile.h: " + tmp_makefilePathSites)<br>
^<br>
TabError: inconsistent use of tabs and spaces in indentation<br>
<br>
<br>
I have taken a snapshot and yo can clearly see the code . Any hints for <br>
seting up the code or advice on how to counter this problem will be much <br>
appreciated . Happy new year .<br>
<br>
<br>
WIth kind regards,<br>
kawa<o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>