Thanks dkasak.
Search Criteria
Package Details: golpy 0.2.0-1
Package Actions
| Package Base: | golpy |
|---|---|
| Description: | A Conway's Game of Life Simulator written in Python |
| Upstream URL: | https://github.com/fsquillace/ |
| Category: | science |
| Licenses: | |
| Submitter: | feel |
| Maintainer: | feel |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2012-01-30 18:47 |
| Last Updated: | 2012-09-06 00:00 |
Dependencies (3)
Required by (0)
Sources
Latest Comments
Comment by feel
Comment by dkasak
The build fails because /bin/gzip doesn't exist. Please change to /usr/bin/gzip.
Comment by feel
You need to execute it with python2.
Try "golpy --no-gpu".
So far, the gpu version doens't work well.
Anonymous comment
I was getting the following error:
"Traceback (most recent call last):
File "/usr/bin/golpy", line 458, in onTimer
self.pg.grid.next()
File "/opt/golpy/ca.py", line 201, in next
if self.__next_state(self.old_live_cells, coords, True):
File "/opt/golpy/ca.py", line 231, in __next_state
neigs_cells = self.__get_neighbors(coords)
File "/opt/golpy/ca.py", line 223, in __get_neighbors
neigs = set([ ( (m[0]+coords[0])%self.dim[0] (m[1]+coords[1])%self.dim[1]) for m in moore])
TypeError: 'int' object is not callable"
Corrected it by changing line 223 of /opt/golpy/ca.py to the following "neigs = set([ ( (m[0]+coords[0])%self.dim[0], (m[1]+coords[1])%self.dim[1]) for m in moore])"
Cheers