Importing and exporting icons

Has something gone haywire? Let us know about it!
Post Reply
twinb7
Posts: 190
Joined: February 11th, 2014, 8:08 pm
Location: Ames, Iowa

Importing and exporting icons

Post by twinb7 » March 6th, 2014, 2:26 pm

I'm making a rule and I wanted to create some icons, but upon running icon-importer.py I am told there isn't a module called 'make_text' in glife. Specifically:

Traceback(most recent call last):
File "<string>",line 1, in<module>
File "/Users/ChristianManahl/Desktop/golly-2.6-mac109/Scripts/Python/Rule-Generators/icon-importer.py", line 7, in <module>
ImportError: No module named text

User avatar
Andrew
Moderator
Posts: 933
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Importing and exporting icons

Post by Andrew » March 6th, 2014, 5:57 pm

That script works fine on my Mac OS 10.6 system (with Python 2.6 and 2.7) so I'm not sure what is going wrong. I'll need more clues, so please answer the following questions:

It looks like you are using Mac OS 10.9 -- is that correct?
What is the output from typing "which python" in Terminal.app?
Does your golly-2.6-mac109/Scripts/Python/glife/ folder contain a file called text.py?
Do you get the same error if you run Scripts/Python/pop-plot.py?
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

twinb7
Posts: 190
Joined: February 11th, 2014, 8:08 pm
Location: Ames, Iowa

Re: Importing and exporting icons

Post by twinb7 » March 6th, 2014, 8:35 pm

Andrew wrote:That script works fine on my Mac OS 10.6 system (with Python 2.6 and 2.7) so I'm not sure what is going wrong. I'll need more clues, so please answer the following questions:

It looks like you are using Mac OS 10.9 -- is that correct?
What is the output from typing "which python" in Terminal.app?
Does your golly-2.6-mac109/Scripts/Python/glife/ folder contain a file called text.py?
Do you get the same error if you run Scripts/Python/pop-plot.py?
In order:
1) Uh, no, actually- 10.8.4 :o
2) Uhm, I could normally totally do that, but not on this particular computer for reasons I don't really wanna get all the way in to.
3) Yes!
4) No!

EDIT:
Currently I am getting a similar error, without the module for BuiltInIcons. Even though the file is there.

User avatar
Andrew
Moderator
Posts: 933
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Importing and exporting icons

Post by Andrew » March 7th, 2014, 2:00 am

twinb7 wrote:1) Uh, no, actually- 10.8.4
The golly-2.6-mac109.zip file you got is really only for 10.9 users (I'm surprised it even started up on 10.8!).

Go to http://sourceforge.net/projects/golly/f ... golly-2.6/ and download golly-2.6-mac106.zip which is for 10.6 to 10.8. Let us know if the Python scripts work properly with that build. If not, I will need to know which Python version is installed on your system, so copy the following code to the clipboard, switch to Golly and select File > Run Clipboard.

Code: Select all

import golly, sys 
golly.note(sys.version)
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

Post Reply