Golly 4.0b1
Golly 4.0b1
EDIT: Golly 4.0 is now available from sourceforge:
https://sourceforge.net/projects/golly/ ... golly-4.0/
https://sourceforge.net/projects/golly/ ... golly-4.0/
Re: Golly 4.0b1
Why is there an "untitled" option in the Layers menu?
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
anythingsonata wrote:July 2nd, 2020, 8:33 pmconwaylife signatures are amazing[citation needed]
Re: Golly 4.0b1
It's not an option. Just the name of the current layer. If there are multiple layers then it's useful to see a tick mark next to the current layer.
Re: Golly 4.0b1
Every time I click a link in the mini-help-menu in the set rule dialog, I get an error like this
However they work fine in the main help menu (when accessed from the Help button in the top bar)
The "links" that set the rules are also fine.
Code: Select all
[Window Title]
Golly Error
[Content]
Unable to open requested HTML document: file:///D:/Saka/golly-4.0b1-win-64bit/golly-4.0b1-win-64bit/%23gaussian
[OK]
The "links" that set the rules are also fine.
Re: Golly 4.0b1
Yep, I see the same error, but only on Windows (the links work fine on Mac and Linux). I'll look into it but if it's caused by a bug in wxMSW then it might be hard to fix. Thanks for the report!
EDIT: Managed to fix the bug. Should be no problems in the final 4.0 release.
Re: Golly 4.0b1
Golly 4.0b1 "randomly" crashes for me. It seems to happen when switching between layers and then quickly doing an operation such as copying or pasting, however I haven't been able to reproduce it 100% reliably. User "bubblegum" has also confirmed this.
I am on Windows 10 version 1903.
I am on Windows 10 version 1903.
Re: Golly 4.0b1
Hmm, that's rather puzzling, given that the code for layer switching and copy/paste hasn't changed from Golly 3.4 to 4.0b1. Did you also get those random crashes when using 3.4?
To be able to fix this bug I'll need to reproduce the bug on my Win10 system. Even if not 100% reproducible, you'll need to provide me with more detailed information and steps:
Which algorithm and rule are you using?
Does it happen more often after loading a particular pattern?
(Preferably one of Golly's supplied patterns so I can easily load the same one.)
How exactly are you switching layers?
By selecting a layer at the bottom of the Layer menu?
Or by clicking a button in the layer bar?
Or by clicking in a tiled layer?
How exactly are you doing the copy or paste?
By selecting Copy/Paste from the Edit Menu?
Or by typing ctrl-C or ctrl-V (or just V)?
I'll need that level of detail to have any hope of fixing the bug.
Re: Golly 4.0b1
Alright,Andrew wrote: ↑October 18th, 2020, 2:10 am
Which algorithm and rule are you using?
Does it happen more often after loading a particular pattern?
(Preferably one of Golly's supplied patterns so I can easily load the same one.)
How exactly are you switching layers?
By selecting a layer at the bottom of the Layer menu?
Or by clicking a button in the layer bar?
Or by clicking in a tiled layer?
How exactly are you doing the copy or paste?
By selecting Copy/Paste from the Edit Menu?
Or by typing ctrl-C or ctrl-V (or just V)?
I'll need that level of detail to have any hope of fixing the bug.
This random crashing has happened 4 times so far.
Which algorithm and rule are you using?
I was using the HROT algorithm at least 3 out of the 4 times, I forgot what I was using the first time it happened.
Does it happen more often after loading a particular pattern?
No, I was doing various things when the crash happened.
How exactly are you switching layers?
Clicking the layer tabs at the layer bar.
How exactly are you doing the copy or paste?
With the keyboard shortcuts, Ctrl+C and Ctrl+V
I'm not sure about what bubblegum did exactly to reproduce the bug.
I'm not sure if this is helpful, but Golly freezes for a bit before closing itself when this happens.
EDIT: I did not get these in Golly 3.4
Re: Golly 4.0b1
Ok, I assume you meant you were using a HROT rule in the Larger than Life algorithm.
It would help to know *exactly* which HROT rule you're using.
HROT support is new in 4.0b1, so there might be a bug in that new code that is causing the crash. To rule that out, please quit Golly, restart and switch to an old algo like Generations and see if you can do similar layer switching etc to reproduce the crash. If not then it's strong evidence the bug is somewhere in the HROT code.
Re: Golly 4.0b1
Yes, I meant using an HROT rule with the Larger Than Life algorithm. I do not remember the exact ones now, but one of them was an "N2" neighborhood range 10 rule.
I haven't been able to reproduce the crash again, strangely (both in the LTL algorithm with an HROT rule and other algorithms), but I will get back to you if I do.
Also, another detail I just noticed: Every time golly 4.0b1 closes by crashing and I reopen it, it asks me for the path to the python DLL when I try to run a script. However if Golly closes normally it does not ask again for the path to the Python DLL.
I recently also just experienced 2 crashes. The first happened when I switched a layer via the layers bar. This time I wasn't doing any fast copying / actions. The second was when I ran a python script to test it. However, when I ran the same python script again, it did not crash and give a normal python error message.
My python version is 3.9, 64-bit. In the second crash I ran the script from the clipboard. Unfortunately I'm unable to give the exact python script that caused the crash.
I haven't been able to reproduce the crash again, strangely (both in the LTL algorithm with an HROT rule and other algorithms), but I will get back to you if I do.
Also, another detail I just noticed: Every time golly 4.0b1 closes by crashing and I reopen it, it asks me for the path to the python DLL when I try to run a script. However if Golly closes normally it does not ask again for the path to the Python DLL.
I recently also just experienced 2 crashes. The first happened when I switched a layer via the layers bar. This time I wasn't doing any fast copying / actions. The second was when I ran a python script to test it. However, when I ran the same python script again, it did not crash and give a normal python error message.
My python version is 3.9, 64-bit. In the second crash I ran the script from the clipboard. Unfortunately I'm unable to give the exact python script that caused the crash.
Re: Golly 4.0b1
Thanks for the information. The crash should now be fixed.
LifeViewer https://lazyslug.com/lifeviewer
Re: Golly 4.0b1
Wow, already done when I was offline, kudos!
Re: Golly 4.0b1
I've updated the links in the top post to point to builds for Golly 4.0b2. This version should fix the HROT-related crashes.
I'm still worried by Saka's report of crashes when running Python scripts so if anybody can reproduce those crashes in 4.0b2 please let us know ASAP.
I'm still worried by Saka's report of crashes when running Python scripts so if anybody can reproduce those crashes in 4.0b2 please let us know ASAP.
Re: Golly 4.0b1
2 more crashes just happened in Golly 4.0b2 in similar circumstances. I forgot the second one but I can give a detailed account of the second.
I was in the set rule dialog. The mini-help-menu was open. The algorithm was set to Larger than Life, and I had this in the "Enter a new rule:" textbox
R2,C0,S,B,W9090901110910190111090909
Then I clicked between "B" and "," with my cursor and typed "3" on my keyboard, then Golly froze and quickly closed itself. I had 4 untitled layers open, all on an HROT rule.
The first crash was very similar and also happened while I was typing in the rule textbox. I am not sure how to reproduce it yet.
EDIT:
I've found it. The rulestring above is a bit wrong. Pasting this into the "Enter a new rule:" textbox crashes golly after a while (try running a pattern with the rule if it doesnt crash immediately):
I was in the set rule dialog. The mini-help-menu was open. The algorithm was set to Larger than Life, and I had this in the "Enter a new rule:" textbox
R2,C0,S,B,W9090901110910190111090909
Then I clicked between "B" and "," with my cursor and typed "3" on my keyboard, then Golly froze and quickly closed itself. I had 4 untitled layers open, all on an HROT rule.
The first crash was very similar and also happened while I was typing in the rule textbox. I am not sure how to reproduce it yet.
EDIT:
I've found it. The rulestring above is a bit wrong. Pasting this into the "Enter a new rule:" textbox crashes golly after a while (try running a pattern with the rule if it doesnt crash immediately):
Code: Select all
R2,C0,S2,3,18,27,B3,27,NW09000900090001010100090100010900010101000900090009
Re: Golly 4.0b1
The Super algorithm's description should mention that state-6 cells kill neighbouring live cells, not just block them.
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
anythingsonata wrote:July 2nd, 2020, 8:33 pmconwaylife signatures are amazing[citation needed]
Re: Golly 4.0b1
Fixed, thanks for the report!Saka wrote: ↑October 18th, 2020, 10:46 pmI've found it. The rulestring above is a bit wrong. Pasting this into the "Enter a new rule:" textbox crashes golly after a while (try running a pattern with the rule if it doesnt crash immediately):Code: Select all
R2,C0,S2,3,18,27,B3,27,NW09000900090001010100090100010900010101000900090009
LifeViewer https://lazyslug.com/lifeviewer
Re: Golly 4.0b1
Thank you to Andrew, rowett, Scorbie, dvgrn, and everyone else involved for their great work on the next Golly release.
I'm trying out v4 on my MacBook at the moment and I've been unable to get Python working with HomeBrew's Python3. I'm using Golly v4.0b2 on MacOS Catalina v10.15.6 and HomeBrew's python3 v3.8.5. The path to the .dylib is "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/Python", but when I put this path in, the "Could not load the Python library" dialog just pops up again. There's also a link to this lib which is "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/libpython3.8.dylib" but using that instead doesn't help. I've also tried escaping the @ character but that doesn't seem to help either. Terminal reports my locale as "en_AU.UTF-8".
I don't really understand much about shared libs on MacOS, but stumbling about I came across some info about dylibs needing to have the correct information about where they are located. According to otool these don't match up for the Python dylib:
Stumbling further about I came across some information about install_name_tool and tried the following:
But that didn't seem to help/do anything at all. At this point I feel like I'm making things worse.
I'm trying out v4 on my MacBook at the moment and I've been unable to get Python working with HomeBrew's Python3. I'm using Golly v4.0b2 on MacOS Catalina v10.15.6 and HomeBrew's python3 v3.8.5. The path to the .dylib is "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/Python", but when I put this path in, the "Could not load the Python library" dialog just pops up again. There's also a link to this lib which is "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/libpython3.8.dylib" but using that instead doesn't help. I've also tried escaping the @ character but that doesn't seem to help either. Terminal reports my locale as "en_AU.UTF-8".
I don't really understand much about shared libs on MacOS, but stumbling about I came across some info about dylibs needing to have the correct information about where they are located. According to otool these don't match up for the Python dylib:
Code: Select all
$ pwd
/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8
$ file Python
Python: Mach-O 64-bit dynamically linked shared library x86_64
$ otool -L Python
Python:
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python (compatibility version 3.8.0, current version 3.8.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1675.129.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
Code: Select all
$ install_name_tool -change /usr/local/Cellar/python\@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/Python /usr/local/opt/python\@3.8/Frameworks/Python.framework/Versions/3.8/Python /Users/<username>/golly-4.0b2-mac/Golly.app/Contents/MacOS/Golly
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.
Semi-active here - recovering from a severe case of LWTDS.
Semi-active here - recovering from a severe case of LWTDS.
Re: Golly 4.0b1
After updating my graphics drivers both Golly 3.4 and Golly 4.0b2 crash on startup with the following error messages:
4.0b2:
3.4:
4.0b2:
Code: Select all
The program 'golly' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 39834 error_code 2 request_code 151 minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Code: Select all
The program 'golly' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 39036 error_code 2 request_code 151 minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
moment
Re: Golly 4.0b1
Try entering the path reported by otool:
Code: Select all
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/Python
Code: Select all
/Library/Frameworks/Python.framework/Versions/3.9/Python
Re: Golly 4.0b1
Sorry, but I've really got no idea why you would get those errors. It looks like you're using Linux, so which flavor and version?
All I can suggest is reverting to your old drivers, or if that's not possible try building Golly using the src tar ball (follow the instructions in docs/Build.html).
Re: Golly 4.0b1
I've updated the links in the top post to point to builds for Golly 4.0b3. This fixes the crash Saka reported as well as a couple of other minor bugs. There are now some examples of Super algo patterns in Patterns/Super.
I'm hoping this will be the last beta release of Golly 4.0.
I'm hoping this will be the last beta release of Golly 4.0.
Re: Golly 4.0b1
Update on this: 3.4 works again, as does 4.0b2 (which makes me assume that there was a bug in the updated driver that was quickly noted and fixed)
moment
Re: Golly 4.0b1
Good to hear -- thanks for letting us know.
Re: Golly 4.0b1
Re: Graphics drivers
It seems to work after rebooting (if you didn't after you updated your graphics driver)
Just for future reference, I had that one too.
It seems to work after rebooting (if you didn't after you updated your graphics driver)
Just for future reference, I had that one too.