[FLASH-USERS] Setup error

Adam Reyes adam.reyes at rochester.edu
Mon Jan 16 11:57:11 EST 2023


You could also check out the new FLASH4.7. Setup and other included python
scripts have been updated to be compatible with newer versions of python3.

*************************************************************************
Adam Reyes

Code Group Leader, Flash Center for Computational Science
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu
Web https://flash.rochester.edu
 (he / him / his)

*************************************************************************

On Mon, Jan 16, 2023 at 11:42 AM Matthew Trantham <mtrantha at umich.edu>
wrote:

> Python 3.9 and 3.10, are not compatible with FLASHX.X.X/bin/setup.py
>
> You could use an older version of Python or replace the offending
> functions as I did below:
>
> The sys.getcheckinterval() and sys.setcheckinterval() functions have been
> removed from Python. They were deprecated since Python 3.2 (and don't work
> after 3.7 or 3.8 at all). Use sys.getswitchinterval()
> <https://docs.python.org/3/library/sys.html#sys.getswitchinterval> and
> sys.setswitchinterval()
> <https://docs.python.org/3/library/sys.html#sys.setswitchinterval>
>  instead.
>
> If you run into problems with the setup command in FLASH find and replace sys.setcheckinterval(10000)
> with sys.setswitchinterval(
> <https://docs.python.org/3/library/sys.html#sys.setswitchinterval>10000)
>
>
>
> On Mon, Jan 16, 2023 at 11:26 AM kiyarash Taghiniyarami <
> kiyarash.niyarami at gmail.com> wrote:
>
>> Dear all FLASH users,
>>
>> I tried to setup simple sedov problem with the command of
>> ./setup Sedov -auto
>> but I got the following error:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *A setup internal error has occured, if possible please email the
>> followingdebugging info to flash-bugs at flash.uchicago.edu
>> <flash-bugs at flash.uchicago.edu>Arguments:
>> ['/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py', 'Sedov', '-auto']Python
>> Version: 3.10.6Platform Details: linuxTraceback (most recent call last):
>> File "/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py", line 315, in <module>
>> raise e  File "/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py", line 300, in
>> <module>    main()  File "/home/ubuntu/FLASH/FLASH4.6.2/bin/setup.py", line
>> 16, in main    sys.setcheckinterval(10000) # this is not threaded
>> applicationAttributeError: module 'sys' has no attribute
>> 'setcheckinterval'. Did you mean: 'setswitchinterval'?*
>> could anyone help what causes the error?
>>
>> best,
>> Kiya
>> _______________________________________________
>> flash-users mailing list
>> flash-users at flash.rochester.edu
>>
>> For list info, including unsubscribe:
>> https://flash.rochester.edu/mailman/listinfo/flash-users
>>
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20230116/9da29a5e/attachment-0001.htm>


More information about the flash-users mailing list