Golly bugs
- EvinZL
- Posts: 597
- Joined: November 8th, 2018, 4:15 pm
- Location: A tungsten pool travelling towards the sun
- Contact:
Golly bugs
Since there seems to be way too many golly bug threads, I decided to make a unified thread for golly bugs.
For me, If Golly's stored rule or whatever has the wrong case, then it refuses to open. I can't seem to wipe it either, the layer with that rule had rule changed, I saved a pattern in another rule, I closed that layer, I made a new layer in a different rule, did another rule change, but it still has the same stored rule. Due to Golly's layer limit, this makes me unable to do stuff.
For me, If Golly's stored rule or whatever has the wrong case, then it refuses to open. I can't seem to wipe it either, the layer with that rule had rule changed, I saved a pattern in another rule, I closed that layer, I made a new layer in a different rule, did another rule change, but it still has the same stored rule. Due to Golly's layer limit, this makes me unable to do stuff.
- ihatecorderships
- Posts: 276
- Joined: April 11th, 2021, 12:54 pm
- Location: Falls Church, VA
Re: Golly bugs
Renaming a rule of your own is sometimes buggy. For example, I name another OCA X, but then I delete the X name and add the name Y. It sometimes will still show the X name.
-- Kalan Warusa
Notable Discoveries: none as of yet
Notable Discoveries: none as of yet

- ihatecorderships
- Posts: 276
- Joined: April 11th, 2021, 12:54 pm
- Location: Falls Church, VA
Re: Golly bugs
(Double post cuz unrelated)
Why is switch engine ping pong in Life/Breeders and not the Hashlife folder? Catacryst, Gotts-dots and wedge grow are all there.
Why is switch engine ping pong in Life/Breeders and not the Hashlife folder? Catacryst, Gotts-dots and wedge grow are all there.
-- Kalan Warusa
Notable Discoveries: none as of yet
Notable Discoveries: none as of yet

Re: Golly bugs
The putcells() Python command is broken with respect to its "copy" mode; specifying it does not change the paste behaviour from the default "or". To illustrate:
Running this in an empty universe gives a pattern with 2 cells instead of the expected 1. putcells() should also take keyword arguments as per the documentation – g.putcells(clist, mode="copy") should work, for example.
The "and" mode of the same function is also broken: it doesn't do anything at all. There should be documentation about how the different paste modes work, especially with respect to multi-state rules (the "not" paste mode of putcells() is not available in the GUI, and does an ANDNOT function apparently).
There should also be "add" and "subtract" paste modes. If a is the cell state already there, b is the cell state pasted in and n is the number of states in the current rule, the cell state after the paste should be (a+b) mod n for add and (a-b) mod n for subtract. This would allow arbitrary regions to be replaced with arbitrary other regions.
Code: Select all
import golly as g
g.putcells(g.parse("bo!"))
g.putcells(g.parse("ob!"), 0, 0, 1, 0, 0, 1, "copy")
The "and" mode of the same function is also broken: it doesn't do anything at all. There should be documentation about how the different paste modes work, especially with respect to multi-state rules (the "not" paste mode of putcells() is not available in the GUI, and does an ANDNOT function apparently).
There should also be "add" and "subtract" paste modes. If a is the cell state already there, b is the cell state pasted in and n is the number of states in the current rule, the cell state after the paste should be (a+b) mod n for add and (a-b) mod n for subtract. This would allow arbitrary regions to be replaced with arbitrary other regions.
Princess of Science, Parcly Taxel
Code: Select all
x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!
Re: Golly bugs
This is a common problem to run into, but it isn't quite true that "copy" has the same behavior as "or". The problem is more that the parse() command doesn't work the way you expect. If parse() by default produced a multistate list of every cell in the bounding box, listing the OFF cells as state 0 and the ON cells as state 1, then the "copy" command would do as you expect. For example:Freywa wrote: ↑September 20th, 2021, 9:08 amThe putcells() Python command is broken with respect to its "copy" mode; specifying it does not change the paste behaviour from the default "or". To illustrate:Running this in an empty universe gives a pattern with 2 cells instead of the expected 1.Code: Select all
import golly as g g.putcells(g.parse("bo!")) g.putcells(g.parse("ob!"), 0, 0, 1, 0, 0, 1, "copy")
Code: Select all
import golly as g
bo = [0,0,0,1,0,1,0]
ob = [0,0,1,1,0,0,0]
# ob! overlays bo! in "copy" mode, leaving just one cell
g.putcells(bo)
g.putcells(ob, 0, 0, 1, 0, 0, 1, "copy")
# ob! adds a cell to bo! in "or" mode, producing two cells
g.putcells(bo,0,10)
g.putcells(ob, 0, 10, 1, 0, 0, 1, "or")
This means that if you want to use the "copy" option, you'll have to build your own state-0 cell list, or a function that makes the multistate list of state-0 cells and state-1 cells for you.
Re: Golly bugs
(pardon me if this has already been reported)
The Golly "basic rakes" pattern has a bug, per LifeViewer. Discovered this while scrolling through thumbnails in PatMan 1.2 (a feature not yet released).
The last label has an extra parameter. I believe it should read:
#C [[ LABEL 60 20 7 "sample higher-period forerake (p240),\nbased on a repeatably ignited blinker fuse" ]]
The Golly "basic rakes" pattern has a bug, per LifeViewer. Discovered this while scrolling through thumbnails in PatMan 1.2 (a feature not yet released).
The last label has an extra parameter. I believe it should read:
#C [[ LABEL 60 20 7 "sample higher-period forerake (p240),\nbased on a repeatably ignited blinker fuse" ]]
Re: Golly bugs
Oops, looks like we missed that one -- LifeViewer label syntax underwent some simplification a while back, so that's notation that used to work but now isn't needed. Chris Rowett actually noticed the problem back on July 25th, but I forgot to fix it for Golly 4.1. The change is checked in now.
- LaundryPizza03
- Posts: 1819
- Joined: December 15th, 2017, 12:05 am
- Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"
Re: Golly bugs
Why did the dock icon for Golly 4.1 suddenly change from yellow to green?
Code: Select all
x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
The latest edition of new-gliders.db.txt and oscillators.db.txt have 35296 spaceships and 1451 oscillators from outer-totalistic rules. You are invited to help!
Re: Golly bugs
Not sure. Maybe Big Sur automatically changes the icon color to help distinguish different versions of the same app.LaundryPizza03 wrote: ↑February 4th, 2022, 2:10 amWhy did the dock icon for Golly 4.1 suddenly change from yellow to green?
- LaundryPizza03
- Posts: 1819
- Joined: December 15th, 2017, 12:05 am
- Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"
Re: Golly bugs
No, it appeared suddenly well after I had opened it and went away when I restarted the computer (for unrelated reasons).Andrew wrote: ↑February 4th, 2022, 7:33 amNot sure. Maybe Big Sur automatically changes the icon color to help distinguish different versions of the same app.LaundryPizza03 wrote: ↑February 4th, 2022, 2:10 amWhy did the dock icon for Golly 4.1 suddenly change from yellow to green?
Code: Select all
x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
The latest edition of new-gliders.db.txt and oscillators.db.txt have 35296 spaceships and 1451 oscillators from outer-totalistic rules. You are invited to help!
- LaundryPizza03
- Posts: 1819
- Joined: December 15th, 2017, 12:05 am
- Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"
Re: Golly bugs
Is this the correct place to report bugs in Golly scripts? oscar.lua misidentifies the period and speed of B0 patterns where an odd phase has the same shape as an even phase. For example, this 2c/6d is misidentified as co:
Code: Select all
x = 3, y = 2, rule = B012c3acinq4inqwyz5ejny6i78/S01e2aek4ceijty5eny6eik
obo$2bo!
Code: Select all
x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
The latest edition of new-gliders.db.txt and oscillators.db.txt have 35296 spaceships and 1451 oscillators from outer-totalistic rules. You are invited to help!
- GUYTU6J
- Posts: 1850
- Joined: August 5th, 2016, 10:27 am
- Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
- Contact:
Re: Golly bugs
Last year a new LifeWiki page named "index.php" was created for no clear reason, and was soon deleted (see User talk:JsfasdF248). Just now I found the unexplained reason: it was linked to in Golly's Help documents, where the URL is written as
But the correct syntax is either
or the shorter
A quick scan suggests that this error appears in credits.html and refs.html.
Code: Select all
http://www.conwaylife.com/wiki/index.php?title=Main_Page
Code: Select all
https://conwaylife.com/w/index.php?title=Main_Page
Code: Select all
https://conwaylife.com/wiki/Main_Page
Why do most natural OCA rules tend to get a diminishing span of interest and go into oblivion, like a lost civilization leaving little records for its beauty and power?
I have been focusing on this rule, now in industrial era:
熠熠种花 - Glimmering Garden
I have been focusing on this rule, now in industrial era:
熠熠种花 - Glimmering Garden
Re: Golly bugs
Easy fix: turn that B0 rule into an alternating ruletable.LaundryPizza03 wrote: ↑April 2nd, 2022, 11:32 pmIs this the correct place to report bugs in Golly scripts? oscar.lua misidentifies the period and speed of B0 patterns where an odd phase has the same shape as an even phase. For example, this 2c/6d is misidentified as co:Code: Select all
x = 3, y = 2, rule = B012c3acinq4inqwyz5ejny6i78/S01e2aek4ceijty5eny6eik obo$2bo!
Make b38s23/C1 great again!
https://catagolue.hatsya.com/census/b3a ... a4ity6c/C1
救救kench
Working on a spaceship search program…
Stop turning this forum into a place for politics. Please.
https://catagolue.hatsya.com/census/b3a ... a4ity6c/C1
救救kench
Working on a spaceship search program…
Stop turning this forum into a place for politics. Please.
Code: Select all
x=4,y=3,rule=B3S2-i3-a4ciz5j6c8
bo$3o$ob2o!
Golly bug?
Hi there, I'm quite a golly noob, and I'm really fascinated with Cellular autonoma. I have a pretty good pc, yet it stutters sometimes. This does not happen with the computers at my high school. Am i supposed to set a priority for golly to fix this?
- dani
- Posts: 1154
- Joined: October 27th, 2017, 3:43 pm
- Location: Somewhere in a Sparse Life soup, forming into a giant space-clearing replicator.
- Contact:
Re: Golly bug?
It might be your refresh rate. My monitor is 144Hz and the population count stutters a lot. I'm not sure how to fix it.
i am danielle
#1 switch engine fan
#1 switch engine fan
Re: Golly bugs
How do I compile Golly 3.4 on a Raspberry Pi (32-bit)? I tried downloading the Linux tar file from Sourceforge, but apparently that was compiled for x86, not ARM. 3.3 has a few bugs, but that is the latest version in the apt repos. I am a Python3/Javascript guy and know nothing about C++ or compiling stuff.