Problems with software

A place, especially for newcomers, to ask questions and learn the basics.
User avatar
R2INT
Posts: 811
Joined: July 2nd, 2024, 7:42 pm

Re: Problems with software

Post by R2INT »

What does this output text in my apgluxe mean?
(I am currently censusing b2cei3eiy4cikqtw5aciqr6ei7es2ack3-cejr4inqwyz5-k6aik78/C2_4)
Attachments
strange.png
strange.png (26.22 KiB) Viewed 2172 times
Range-2 INT
R2INT's Rule Collection

Travelling Ts has surpassed LeapLife in post count, but not yet in technology.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Problems with software

Post by confocaloid »

R2INT wrote: March 24th, 2025, 12:13 pm What does this output text in my apgluxe mean? [...]
It is rare, at least in my experience, but otherwise normal. It simply means that the program does automatic garbage collection.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
User avatar
R2INT
Posts: 811
Joined: July 2nd, 2024, 7:42 pm

Re: Problems with software

Post by R2INT »

confocaloid wrote: March 24th, 2025, 12:17 pm
R2INT wrote: March 24th, 2025, 12:13 pm What does this output text in my apgluxe mean? [...]
It is rare, at least in my experience, but otherwise normal. It simply means that the program does automatic garbage collection.
So why does apgluxe sometimes do automatic garbage collection?

EDIT: A problem haul is k_32GfCA8fqv8j. Run it for about 300K soups.
Range-2 INT
R2INT's Rule Collection

Travelling Ts has surpassed LeapLife in post count, but not yet in technology.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Problems with software

Post by confocaloid »

It may or may not be some kind of a problem with the choice of the CA to search ("pathological soups", unusual growth, and so on) However, it is unlikely to be a problem with software. https://gitlab.com/apgoucher/lifelib/-/ ... heads#L166
R2INT wrote: March 24th, 2025, 12:20 pm
confocaloid wrote: March 24th, 2025, 12:17 pm
R2INT wrote: March 24th, 2025, 12:13 pm What does this output text in my apgluxe mean? [...]
It is rare, at least in my experience, but otherwise normal. It simply means that the program does automatic garbage collection.
So why does apgluxe sometimes do automatic garbage collection?

EDIT: A problem haul is k_32GfCA8fqv8j. Run it for about 300K soups.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
User avatar
R2INT
Posts: 811
Joined: July 2nd, 2024, 7:42 pm

Re: Problems with software

Post by R2INT »

When I try to compile apgsearch for b01c3s23, it gives me an error:

Code: Select all

Downloading CAViewer...
Unzipping...
Download complete!
Traceback (most recent call last):
  File "/home/R2INT/apgmera/mkparams.py", line 121, in <module>
    main()
  File "/home/R2INT/apgmera/mkparams.py", line 46, in main
    set_rules(rulestring)
  File "/home/R2INT/apgmera/lifelib/autocompile.py", line 428, in set_rules
    reset_tree(list(rules), throw_error=True)
  File "/home/R2INT/apgmera/lifelib/autocompile.py", line 415, in reset_tree
    generate_code(rule, clean_before=True)
  File "/home/R2INT/apgmera/lifelib/autocompile.py", line 451, in generate_code
    genera.create_rule(r)
  File "/home/R2INT/apgmera/lifelib/genera/__init__.py", line 34, in create_rule
    rule_property(rulestring, 'create_rule')
  File "/home/R2INT/apgmera/lifelib/genera/__init__.py", line 29, in rule_property
    attr = attr(rulestring)
  File "/home/R2INT/apgmera/lifelib/genera/isotropic_other.py", line 23, in create_rule
    raise Exception(out[1].decode("utf-8"))
Exception: /bin/sh: line 1: /home/R2INT/apgmera/lifelib/genera/bin/CAViewer: cannot execute binary file: Exec format error
Range-2 INT
R2INT's Rule Collection

Travelling Ts has surpassed LeapLife in post count, but not yet in technology.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Problems with software

Post by confocaloid »

(not an answer, but possibly helpful or interesting)

There were earlier cases where people had some kind of issues with B0 involving CAViewer, for example viewtopic.php?p=176537#p176537 (although the error was apparently different in that case).

Interestingly, an old haul (2023) was not yet processed: https://catagolue.hatsya.com/haul/b02-m3-os0h/C1 I remember there were several other cases like this one.

So far there was little investigation of B0 that is visible on Catagolue:
https://catagolue.hatsya.com/rules/isotropic_other
https://catagolue.hatsya.com/rules/isotropic_other-hex
https://catagolue.hatsya.com/rules/isogeny_other
https://catagolue.hatsya.com/rules/isogeny_other-hex

At least, there is always the possibility of creating a .rule file with a ruletable implementing three-state CA (cellstates 0/1 in even generations, cellstates 0/2 in odd generations) to emulate two-state B0 explicitly. Tools like apgsearch/lifelib should support the usual Golly-compatible .rule files without needing CAViewer download.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
User avatar
R2INT
Posts: 811
Joined: July 2nd, 2024, 7:42 pm

Re: Problems with software

Post by R2INT »

The Catagolue object page seems to be missing its LifeViewer.
Range-2 INT
R2INT's Rule Collection

Travelling Ts has surpassed LeapLife in post count, but not yet in technology.
User avatar
confocaloid
Posts: 6697
Joined: February 8th, 2022, 3:15 pm
Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms

Re: Problems with software

Post by confocaloid »

R2INT wrote: April 28th, 2025, 8:53 pm The Catagolue object page seems to be missing its LifeViewer.
Confirmed; not only that, but the glider synthesis/glider gun viewer is missing too.
gun_19 (archive link)
xq4_153 (archive link)

This may be some kind of one-time error during an update, at least I don't see any recent commits that look like they could be related:
https://gitlab.com/hatsya/open-source/c ... type=HEADS
https://github.com/rowett/lifeviewer/commits/master/
and there were viewers when I looked a few hours ago, and it might fix itself later.
(edit: apparently it did fix itself a few hours later.)
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
User avatar
CARuler
Posts: 1345
Joined: July 30th, 2024, 5:38 pm
Location: A rule-verse in floor rule-verse of the CGOL skyscraper

Re: Problems with software

Post by CARuler »

help i can't get CA viewer where is it
likes interesting rules
vist my rules here
also likes weird growth patterns in CA
hyperbolic CA!!!
ADHD user
mostly inactive
User avatar
PK22
Posts: 612
Joined: January 25th, 2025, 11:38 am
Location: United Kingdom
Contact:

Re: Problems with software

Post by PK22 »

CARuler wrote: October 29th, 2025, 8:06 pm help i can't get CA viewer where is it
https://jedlimlx.github.io/Cellular-Aut ... /Home.html
User:PK22
Learning miscellaneous programming languages.
User avatar
CARuler
Posts: 1345
Joined: July 30th, 2024, 5:38 pm
Location: A rule-verse in floor rule-verse of the CGOL skyscraper

Re: Problems with software

Post by CARuler »

but how i install it?
likes interesting rules
vist my rules here
also likes weird growth patterns in CA
hyperbolic CA!!!
ADHD user
mostly inactive
User avatar
johamwit
Posts: 115
Joined: September 12th, 2021, 6:58 am

python

Post by johamwit »

Hi. I'm trying to get started with Python, and I thought it was going to be as easy as lua. But lua comes as a pre-packaged binary with the golly installation.

My system:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"


Python works perfectly on the terminal:
Python 3.8.10 (default, Mar 18 2025, 20:04:55)
[GCC 9.4.0] on linux

But when I try to run any of the included python scripts, I get this:
Image

Any hint ?
Attachments
Capt_20260301D013414.png
Capt_20260301D013414.png (16.43 KiB) Viewed 1818 times
Oh my God! -- it's full of search space!
Sokwe
Moderator
Posts: 3375
Joined: July 9th, 2009, 2:44 pm

Re: python

Post by Sokwe »

johamwit wrote: February 28th, 2026, 9:00 pm Hi. I'm trying to get started with Python...

My system:
NAME="Ubuntu"
...

Python works perfectly on the terminal:
Python 3.8.10 (default, Mar 18 2025, 20:04:55)
In the dialog box try adding ".so" to the name and clicking OK. That is, your dialog box should say

Code: Select all

libpython3.8.10.so
If that doesn't work, figure out the correct name of the libpython3 shared object (.so) file by running the following command in the terminal:

Code: Select all

ldconfig -p | grep libpython
If just the name of the shared object isn't enough, you will need to put the full path to the file in the dialog box.
-Matthias Merzenich
User avatar
johamwit
Posts: 115
Joined: September 12th, 2021, 6:58 am

Re: python

Post by johamwit »

Sokwe wrote: March 1st, 2026, 3:31 am
If that doesn't work, figure out the correct name of the libpython3 shared object (.so) file by running the following command in the terminal:

Code: Select all

ldconfig -p | grep libpython
It was "libpython3.8.so.1.0". I should have figured it out myself. Thx!
Oh my God! -- it's full of search space!
User avatar
b-engine
Posts: 3762
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: python

Post by b-engine »

johamwit wrote: March 1st, 2026, 8:08 pm It was "libpython3.8.so.1.0". I should have figured it out myself. Thx!
Maybe rename it to libpython3.8.so or whatever.
User avatar
CARuler
Posts: 1345
Joined: July 30th, 2024, 5:38 pm
Location: A rule-verse in floor rule-verse of the CGOL skyscraper

Re: Problems with software

Post by CARuler »

Life viewer won't run in normal speed on mobile and sometimes my laptop as well
likes interesting rules
vist my rules here
also likes weird growth patterns in CA
hyperbolic CA!!!
ADHD user
mostly inactive
User avatar
NNlk05
Posts: 597
Joined: January 14th, 2026, 8:42 pm
Location: Exploring in the Jungle of the INT Rulespace
Contact:

Re: Problems with software

Post by NNlk05 »

CARuler wrote: July 5th, 2026, 3:39 am Life viewer won't run in normal speed on mobile and sometimes my laptop as well
Maybe your devices are too old or slow. (Although LV is fine on the iPhone 7 I’m writing this on.
Feci quod potui, faciant meliora potentes.

Code: Select all

x = 10, y = 3, rule = B34twz/S23
b2o4b2o$obo4bobo$2bo4bo!
[[ AUTOSTART AUTOHIDEGUI TRACK 0 -47/270 ZOOM 4 GPS 45 STEP 3 THEME BOOK ]]
https://nnlk05.github.io

=3
User avatar
NNlk05
Posts: 597
Joined: January 14th, 2026, 8:42 pm
Location: Exploring in the Jungle of the INT Rulespace
Contact:

Re: Problems with software

Post by NNlk05 »

These warnings show up when I'm on Mac, but not on my Linux box.

Code: Select all

./includes/../lifelib/soup/sha256.h:201:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(buf+i*2, "%02x", digest[i]);
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11  includes/md5.cpp -o includes/md5.o
includes/md5.cpp:342:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    sprintf(buf+i*2, "%02x", digest[i]);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11  includes/happyhttp.cpp -o includes/happyhttp.o
includes/happyhttp.cpp:390:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf( buf, "%d", numericvalue );
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
Feci quod potui, faciant meliora potentes.

Code: Select all

x = 10, y = 3, rule = B34twz/S23
b2o4b2o$obo4bobo$2bo4bo!
[[ AUTOSTART AUTOHIDEGUI TRACK 0 -47/270 ZOOM 4 GPS 45 STEP 3 THEME BOOK ]]
https://nnlk05.github.io

=3
User avatar
Katrina
Posts: 161
Joined: September 26th, 2024, 3:23 am

Re: Problems with software

Post by Katrina »

How are people using apgsearch with B0 rules? Whenever I run them I always get an error.

A lot of hauls seem to be from apgsearch version 5, as recently as 2021-2022.
https://catagolue.hatsya.com/rules/lifelike
https://catagolue.hatsya.com/rules/lifelike
apgsearch_b0.png (16.87 KiB) Viewed 158 times
apgsearch_error.png
apgsearch_error.png (24.27 KiB) Viewed 158 times
User avatar
NNlk05
Posts: 597
Joined: January 14th, 2026, 8:42 pm
Location: Exploring in the Jungle of the INT Rulespace
Contact:

Re: Problems with software

Post by NNlk05 »

I can't compile EPE for some reason

Code: Select all

nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ make Rot4ReflMoore
make: 'Rot4ReflMoore' is up to date.
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ git reset --hard HEAD
HEAD is now at 7ef9b9d Bugfixes
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ make Rot4ReflMoore
make: 'Rot4ReflMoore' is up to date.
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ gcc --version; make --version
gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GNU Make 4.4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ 
Feci quod potui, faciant meliora potentes.

Code: Select all

x = 10, y = 3, rule = B34twz/S23
b2o4b2o$obo4bobo$2bo4bo!
[[ AUTOSTART AUTOHIDEGUI TRACK 0 -47/270 ZOOM 4 GPS 45 STEP 3 THEME BOOK ]]
https://nnlk05.github.io

=3
User avatar
speedydelete
Posts: 113
Joined: October 7th, 2025, 9:44 pm
Contact:

Re: Problems with software

Post by speedydelete »

NNlk05 wrote: August 17th, 2026, 8:02 pm I can't compile EPE for some reason
There's no file named "EPE" in your current directory? If so, try reinstalling and recompiling...
I manage the 5S project, which collects all known spaceship speeds in certain rulespaces.
User avatar
NNlk05
Posts: 597
Joined: January 14th, 2026, 8:42 pm
Location: Exploring in the Jungle of the INT Rulespace
Contact:

Re: Problems with software

Post by NNlk05 »

speedydelete wrote: August 17th, 2026, 8:27 pm There's no file named "EPE" in your current directory? If so, try reinstalling and recompiling...

Code: Select all

nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ cd ..
nnlk05@nnlk05-Bellator-5060:~/ca$ rm -rf EnumPattEvo/
nnlk05@nnlk05-Bellator-5060:~/ca$ git clone https://github.com/AforAmpere/EnumPattEvo.git
Cloning into 'EnumPattEvo'...
remote: Enumerating objects: 266, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 266 (delta 7), reused 10 (delta 3), pack-reused 249 (from 1)
Receiving objects: 100% (266/266), 122.69 KiB | 485.00 KiB/s, done.
Resolving deltas: 100% (128/128), done.
nnlk05@nnlk05-Bellator-5060:~/ca$ cd EnumPattEvo/
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ make Rot4ReflMoore
make: 'Rot4ReflMoore' is up to date.
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ ls
HROTSymm  IDEAS.txt  Makefile  NoSymmMoore  README.md  Rot4ReflMoore  Rot6ReflHex  example.txt  filter-epe.py  src
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ 
nnlk05@nnlk05-Bellator-5060:~/ca/EnumPattEvo$ git log
commit 7ef9b9d85c8297f69570cab0e95b8ed8c228648b (HEAD -> main, origin/main, origin/HEAD)
Author: AforAmpere <alex.pendris@gmail.com>
Date:   Sun Aug 9 00:33:23 2026 -0400

    Bugfixes

commit 41ab0f349bf9905ddaf1eaf4ece2b3b7093553c1
Author: AforAmpere <alex.pendris@gmail.com>
Date:   Thu Jul 30 17:57:21 2026 -0400

    Another fix

commit 835b46134ea2488bf6831fd5117d5ea333d7a308
Author: AforAmpere <alex.pendris@gmail.com>
Date:   Thu Jul 30 17:40:10 2026 -0400

    Fix prune and filter docs
...
Feci quod potui, faciant meliora potentes.

Code: Select all

x = 10, y = 3, rule = B34twz/S23
b2o4b2o$obo4bobo$2bo4bo!
[[ AUTOSTART AUTOHIDEGUI TRACK 0 -47/270 ZOOM 4 GPS 45 STEP 3 THEME BOOK ]]
https://nnlk05.github.io

=3
User avatar
speedydelete
Posts: 113
Joined: October 7th, 2025, 9:44 pm
Contact:

Re: Problems with software

Post by speedydelete »

NNlk05 wrote: August 17th, 2026, 8:30 pm
speedydelete wrote: August 17th, 2026, 8:27 pm There's no file named "EPE" in your current directory? If so, try reinstalling and recompiling...
Oh, try "make INT" instead.
I manage the 5S project, which collects all known spaceship speeds in certain rulespaces.
User avatar
NNlk05
Posts: 597
Joined: January 14th, 2026, 8:42 pm
Location: Exploring in the Jungle of the INT Rulespace
Contact:

Re: Problems with software

Post by NNlk05 »

speedydelete wrote: August 17th, 2026, 9:11 pm Oh, try "make INT" instead.
Yep, that worked. Thanks.
Feci quod potui, faciant meliora potentes.

Code: Select all

x = 10, y = 3, rule = B34twz/S23
b2o4b2o$obo4bobo$2bo4bo!
[[ AUTOSTART AUTOHIDEGUI TRACK 0 -47/270 ZOOM 4 GPS 45 STEP 3 THEME BOOK ]]
https://nnlk05.github.io

=3
User avatar
I6_I6
Posts: 999
Joined: July 26th, 2025, 8:44 pm
Location: Here, there, somewhere, anywhere, everywhere.
Contact:

Re: Problems with software

Post by I6_I6 »

NNlk05 wrote: July 5th, 2026, 6:21 am
CARuler wrote: July 5th, 2026, 3:39 am Life viewer won't run in normal speed on mobile and sometimes my laptop as well
Maybe your devices are too old or slow. (Although LV is fine on the iPhone 7 I’m writing this on.
It might also be because your devices are on low power mode or low battery or energy saving mode or something.

Code: Select all

#C [[ THEME Golly ]]
x = 27, y = 15, rule = LifeHistory
8.A$A6.A.A$3A4.BA2B.B2D$3.A4.2B.2B2DB$2.2A2.3B.6B2.3B$2.20B$4.19B$4.2B
C10BD4B$4.2B2C10BD4B$4.B2C11B2D3B$4.13B2D4B$5.12BD3B.B2A$6.13B3.BA.A$
6.3B.B3.B10.A$25.2A!
RuleEdit: A .rule file editing tool
Post Reply