Debian Bug report logs - #495011
[snowballz] crashes with TypeError

version graph

Package: snowballz; Maintainer for snowballz is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for snowballz is src:snowballz (PTS, buildd, popcon).

Reported by: Simon Wenner <wenners@student.ethz.ch>

Date: Wed, 13 Aug 2008 19:39:01 UTC

Severity: serious

Found in version snowballz/0.9.5.1-1

Fixed in version snowballz/0.9.5.1-2

Done: Miriam Ruiz <little_miry@yahoo.es>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to Simon Wenner <wenners@student.ethz.ch>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Simon Wenner <wenners@student.ethz.ch>
To: submit@bugs.debian.org
Subject: [snowballz] crashes with TypeError
Date: Wed, 13 Aug 2008 21:36:06 +0200
[Message part 1 (text/plain, inline)]
Package: snowballz
Version: 0.9.5.1-1
Severity: serious

I played several levels (with default settings) and all of them crash
after about one minute of playing with the following Python Type Error:

File "rabbyt._anims.pyx", line 230, in rabbyt._anims.AnimSlot.anim.__set__
TypeError: Cannot convert float to rabbyt._anims.Anim

See file for the full console output.


--- System information. ---
Architecture: i386
Kernel: Linux 2.6.25-2-686

Debian Release: lenny/sid
900 testing security.debian.org
900 testing mirror.switch.ch
900 testing debian.netcologne.de
500 stable mirror.switch.ch

--- Package information. ---
Depends (Version) | Installed
==============================-+-===========
python (>= 2.4) | 2.5.2-1
python-imaging | 1.1.6-3
python-numeric | 24.2-9
python-opengl | 3.0.0~b3-1
python-pygame | 1.7.1release-4.2
python-rabbyt | 0.8.1-1
ttf-tamil-fonts | 1:0.5.4


[console.log (text/x-log, inline)]
simon@simonpc:~$ snowballz 
/usr/share/games/snowballz/font.py:3: UserWarning: 
*******************************************************************************
The rabbyt.fonts module is deprecated and will be removed in a future version
of rabbyt.  I recommend using pyglet for font rendering.

If you still want to use pygame fonts, check out the ``pygame_font.py`` example
included with rabbyt.
*******************************************************************************

  import rabbyt.fonts
/usr/share/games/snowballz/font.py:3: UserWarning: 
The rabbyt.vertexarrays module is deprecated and will be removed in a future
version of rabbyt.

  import rabbyt.fonts
/usr/share/games/snowballz/font.py:35: UserWarning: set_gl_color is deprecated.  Use glColor4f instead.
  self.sprite.render()
/usr/share/games/snowballz/font.py:24: UserWarning: set_gl_color is deprecated.  Use glColor4f instead.
  def render(self, x, y, string, color=(1,1,1)):
Traceback (most recent call last):
  File "snowballz.py", line 648, in <module>
    main.lobby(mapname)
  File "snowballz.py", line 79, in lobby
    self.run()
  File "snowballz.py", line 201, in run
    self.run_loop()
  File "snowballz.py", line 208, in run_loop
    self.loop()
  File "snowballz.py", line 363, in loop
    display.draw(self, dt)
  File "/usr/share/games/snowballz/display.py", line 261, in draw
    data.snowflakes.run(True)
  File "/usr/share/games/snowballz/data.py", line 311, in run
    self.add_flake()
  File "/usr/share/games/snowballz/data.py", line 322, in add_flake
    f = Flake(self.bounds)
  File "/usr/share/games/snowballz/data.py", line 290, in __init__
    self.x = rabbyt.wrap(bounds[0], x, static=False)
  File "/var/lib/python-support/python2.5/rabbyt/anims.py", line 579, in wrap
    return AnimWrap(bounds, parent, static)
  File "rabbyt._anims.pyx", line 693, in rabbyt._anims.AnimWrap.__init__
  File "rabbyt._anims.pyx", line 230, in rabbyt._anims.AnimSlot.anim.__set__
TypeError: Cannot convert float to rabbyt._anims.Anim
simon@simonpc:~$
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to "Justy Burdick" <justyb@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 495011@bugs.debian.org (full text, mbox, reply):

From: "Justy Burdick" <justyb@gmail.com>
To: 495011@bugs.debian.org
Subject: WAR for this bug
Date: Thu, 14 Aug 2008 12:47:27 -0700
[Message part 1 (text/plain, inline)]
Apparently, this error can be avoided by installing the previous version of
Rabbyt

You can try installing an older version:
http://pypi.python.org/pypi/Rabbyt/0.7

thread here:

http://groups.google.com/group/snowballz-fans/t/d3dcb78e479df639
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to "Joey Marshall" <joey@arcticpaint.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 495011@bugs.debian.org (full text, mbox, reply):

From: "Joey Marshall" <joey@arcticpaint.com>
To: 495011@bugs.debian.org
Subject: Snowballz 1.0 status
Date: Thu, 14 Aug 2008 15:35:29 -0500
[Message part 1 (text/plain, inline)]
I am currently working on merging the old gameplay with a better codebase.
You can check out the progress (that would be a nice little pun if it was
SVN instead of hg :) at http://freehg.org/u/joey/snowballz/
(requires pyglet, rabbyt, PIL, numpy and iniparse to run)

My goal here is to get the game to a point where it is easy for others to
contribute graphics, maps, AIs etc.

There is already a new map format that supports a custom scripting language
designed for snowballz maps. Also a map editor that allows you to place
static and dynamic map objects, paths and buildings.

The AI has been immensely improved to the point where it will be easy for
others to extend and improve.
For now I have removed networking as that takes a lot of time and energy
better spent on making it a good single play.

There is still a lot of work to be done before a beta is ready but I intend
to start opening it up to contributions soon.

Until it's ready I created a linux binary of the old code that includes most
of it's dependancies (find it at arcticpaint.com). All it requires to be
installed and run is, as far as I know, python 2.5 and pygame.

Note that this version I'm working on is unrelated to the "next" version of
snowballz which will be in 3D and much different game-play. What I'm working
on here is completeing the old gameplay that was in the 0.9.x versions and
making it so others can easily extend it.

Regards,
Joey
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to little_miry@yahoo.es:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #20 received at 495011@bugs.debian.org (full text, mbox, reply):

From: Miriam Ruiz <little_miry@yahoo.es>
To: 495011@bugs.debian.org, Joey Marshall <joey@arcticpaint.com>
Subject: Re: Bug#495011: Snowballz 1.0 status
Date: Thu, 14 Aug 2008 21:20:50 +0000 (GMT)
Any suggestion on what to do about this bug then? Shall I replace the game in Debian from the latest version in Hg? It might be too soon for that. Would it be possible to have a small patch that corrects it while we wait for a newer release to come out?

Thanks,
Miry


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to "Joey Marshall" <joey@arcticpaint.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #25 received at 495011@bugs.debian.org (full text, mbox, reply):

From: "Joey Marshall" <joey@arcticpaint.com>
To: little_miry@yahoo.es
Cc: 495011@bugs.debian.org
Subject: Re: Bug#495011: Snowballz 1.0 status
Date: Thu, 14 Aug 2008 16:41:15 -0500
[Message part 1 (text/plain, inline)]
Hi Miriam,

If putting the binary in isn't an option (I don't really know much about
debian packaging) all we can do is wait. The old code base, both for the
game and the GUI library, relies heavily on pretty much all of rabbyt's
deprecated features. The new code I'm working on actually is somewhat of a
complete rewrite (mostly parts of the code from the 3d version and some new
stuff). Getting the old code to run with the latest rabbyt is rather
unrealistic. Sorry.

And I would not recomend pulling anything from the development repo until at
least the first beta.

To give you a rough time frame I'm hoping to get a beta out in one or two
months. Depends on how much time I get to work on it.

Best Regards,
Joey

On Thu, Aug 14, 2008 at 4:20 PM, Miriam Ruiz <little_miry@yahoo.es> wrote:

> Any suggestion on what to do about this bug then? Shall I replace the game
> in Debian from the latest version in Hg? It might be too soon for that.
> Would it be possible to have a small patch that corrects it while we wait
> for a newer release to come out?
>
> Thanks,
> Miry
>
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.yahoo.es
>
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to little_miry@yahoo.es:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #30 received at 495011@bugs.debian.org (full text, mbox, reply):

From: Miriam Ruiz <little_miry@yahoo.es>
To: Joey Marshall <joey@arcticpaint.com>
Cc: 495011@bugs.debian.org
Subject: Re: Bug#495011: Snowballz 1.0 status
Date: Thu, 14 Aug 2008 22:42:35 +0000 (GMT)


--- El jue, 14/8/08, Joey Marshall <joey@arcticpaint.com> escribió:

> De: Joey Marshall <joey@arcticpaint.com>
> Asunto: Re: Bug#495011: Snowballz 1.0 status
> Para: little_miry@yahoo.es
> CC: 495011@bugs.debian.org
> Fecha: jueves, 14 agosto, 2008 11:41
> Hi Miriam,
> 
> If putting the binary in isn't an option (I don't
> really know much about
> debian packaging) all we can do is wait. The old code base,
> both for the
> game and the GUI library, relies heavily on pretty much all
> of rabbyt's
> deprecated features. The new code I'm working on
> actually is somewhat of a
> complete rewrite (mostly parts of the code from the 3d
> version and some new
> stuff). Getting the old code to run with the latest rabbyt
> is rather
> unrealistic. Sorry.
> 
> And I would not recomend pulling anything from the
> development repo until at
> least the first beta.
> 
> To give you a rough time frame I'm hoping to get a beta
> out in one or two
> months. Depends on how much time I get to work on it.
> 
> Best Regards,
> Joey

Thanks Joey, I'll ask the ftpmasters to remove it from Lenny so that it won't get into the stable release as it is. I'll keep it as it is in unstable for the moment, please ping me if there is something new :)

Thanks a lot,
Miry


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to "Miriam Ruiz" <miriam@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #35 received at 495011@bugs.debian.org (full text, mbox, reply):

From: "Miriam Ruiz" <miriam@debian.org>
To: ftpmasters <ftpmaster@debian.org>, ftpmaster@ftp-master.debian.org
Cc: 495011@bugs.debian.org
Subject: remove snowballz from Lenny
Date: Fri, 15 Aug 2008 00:45:12 +0200
Could you please remove the package snowballz from Lenny? It is not in
a releasable state.

Thanks,
Miry




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#495011; Package snowballz. (full text, mbox, link).


Acknowledgement sent to "Miriam Ruiz" <miriam@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #40 received at 495011@bugs.debian.org (full text, mbox, reply):

From: "Miriam Ruiz" <miriam@debian.org>
To: ftpmasters <ftpmaster@debian.org>, ftpmaster@ftp-master.debian.org
Cc: 495011@bugs.debian.org
Subject: Re: remove snowballz from Lenny
Date: Fri, 15 Aug 2008 00:58:14 +0200
2008/8/15 Miriam Ruiz <miriam@debian.org>:
> Could you please remove the package snowballz from Lenny? It is not in
> a releasable state.

Sorry for the noise, please don't remove it yet, we think we have come
with a short patch to fix it.

Miry




Reply sent to Miriam Ruiz <little_miry@yahoo.es>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Simon Wenner <wenners@student.ethz.ch>:
Bug acknowledged by developer. (full text, mbox, link).


Message #45 received at 495011-close@bugs.debian.org (full text, mbox, reply):

From: Miriam Ruiz <little_miry@yahoo.es>
To: 495011-close@bugs.debian.org
Subject: Bug#495011: fixed in snowballz 0.9.5.1-2
Date: Thu, 14 Aug 2008 23:47:06 +0000
Source: snowballz
Source-Version: 0.9.5.1-2

We believe that the bug you reported is fixed in the latest version of
snowballz, which is due to be installed in the Debian FTP archive:

snowballz_0.9.5.1-2.diff.gz
  to pool/main/s/snowballz/snowballz_0.9.5.1-2.diff.gz
snowballz_0.9.5.1-2.dsc
  to pool/main/s/snowballz/snowballz_0.9.5.1-2.dsc
snowballz_0.9.5.1-2_all.deb
  to pool/main/s/snowballz/snowballz_0.9.5.1-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 495011@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Miriam Ruiz <little_miry@yahoo.es> (supplier of updated snowballz package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 15 Aug 2008 01:09:22 +0200
Source: snowballz
Binary: snowballz
Architecture: source all
Version: 0.9.5.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Miriam Ruiz <little_miry@yahoo.es>
Description: 
 snowballz  - fun RTS game featuring snowball fights with penguins
Closes: 478464 495011
Changes: 
 snowballz (0.9.5.1-2) unstable; urgency=low
 .
   [ Barry deFreese ]
   * Depend on python-numpy not python-numeric. (Closes: #478464).
   * Bump Standards Version to 3.8.0. (No changes needed).
 .
   [ David Martínez Martí ]
   * Added typeerror_crash.patch to fix a TypeError bug. Closes: #495011
Checksums-Sha1: 
 0a7973b0eb006e0dea90276305a7e818b2db6991 1311 snowballz_0.9.5.1-2.dsc
 3e83e8e838832703a1120d36906f548ba3e2c278 19506 snowballz_0.9.5.1-2.diff.gz
 58674bf928809559a023918b74c3325d09a522ab 10058182 snowballz_0.9.5.1-2_all.deb
Checksums-Sha256: 
 a3cb3fb26ce77511904627ace337a0d9d1a986c99eacf09f6e3694c263472bf4 1311 snowballz_0.9.5.1-2.dsc
 e763cc5cbb5f5e8f4c1bfc7c84483f245bad74b896dc74e723fdcf22f6111c26 19506 snowballz_0.9.5.1-2.diff.gz
 299941b97c42d4d748a69191ac240d78b6a6989c73e85e41547cee017a4b9c69 10058182 snowballz_0.9.5.1-2_all.deb
Files: 
 8f183be4ff90e8d178a5a918a5cb0f92 1311 games extra snowballz_0.9.5.1-2.dsc
 52747774132c108af89079144c0a5c3f 19506 games extra snowballz_0.9.5.1-2.diff.gz
 7dac9fcae1f218f94854dbe03ce396f7 10058182 games extra snowballz_0.9.5.1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkikvlkACgkQfbltLjbuCGFpJgCgo3rAvjQ9cG8NufTK3S/PgCd3
PXgAnR+6030aocIYXghlFryELDy8NVf2
=2rNE
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 23 Sep 2008 07:26:50 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 14:21:26 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.