Golly Python not working on linux

For scripts to aid with computation or simulation in cellular automata.
Post Reply
yaochen2
Posts: 52
Joined: September 5th, 2018, 11:48 pm

Golly Python not working on linux

Post by yaochen2 »

When I try to run a python file in Golly using Linux, it says Unexpected extension in script file: mattPatch2.py

Code: Select all

x = 7, y = 7, rule = B2cek3-cjk4cjkq5ijn6i7e8/S1c2-an3q4aqt5ejn6ei
o$obo$o2$5bo2$4b3o!
User avatar
Resu
Posts: 811
Joined: May 23rd, 2025, 10:47 am
Location: UTC+14:00
Contact:

Re: Golly Python not working on linux

Post by Resu »

yaochen2 wrote: August 18th, 2025, 3:42 pm When I try to run a python file in Golly using Linux, it says Unexpected extension in script file: mattPatch2.py
What python script are you trying to run?
Also, shouldn't this go in the Scripts subforum instead?

Code: Select all

x = 31, y = 13, rule = C
8.2X2.3X.3X.X.X$8.X.X.X3.X3.X.X$8.X.X.3X.3X.X.X$8.2X2.X5.X.X.X$8.X.X.
3X.3X.3X$M2.M$4.M$M3.M$.4M$27.2M$27.M.M$29.M$29.2M! [[ AUTOSTART GPS 10 ]]
User avatar
dvgrn
Moderator
Posts: 12025
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Golly Python not working on linux

Post by dvgrn »

Resu wrote: August 18th, 2025, 4:06 pm
yaochen2 wrote: August 18th, 2025, 3:42 pm When I try to run a python file in Golly using Linux, it says Unexpected extension in script file: mattPatch2.py
What python script are you trying to run?
Also, shouldn't this go in the Scripts subforum instead?
I'll move this thread over to the Scripts forum in a day or so. If it disappears from here, don't worry, it didn't get deleted.

@yaochen2, when you write an error report along these lines, please be very careful to copy/paste as much of the exact text of the error messages you're seeing, as you possibly can. And include as much context as you can about everything that you were doing before you saw the error.

In this case, I'm thinking you might have re-typed the error message. "mattPatch2.py" doesn't sound familiar, whereas "matchPatt2.py" does have some matches in wildmyron's modified Rulesrc. Someone can help a lot more quickly if they have detailed and accurate information. Always copy/pasting instead of retyping avoids a lot of potential confusion.

The first question that seems worth asking in a thread called "Golly Python not working on Linux" is this: can you run the Python scripts that are packaged with Golly? Does goto.py work, for example?
Post Reply