[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] BUG: load_xbm won't take 1 argument
- To: pygame-users@xxxxxxxx
- Subject: [pygame] BUG: load_xbm won't take 1 argument
- From: inhahe <inhahe@xxxxxxxxx>
- Date: Thu, 11 Oct 2007 17:42:47 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 11 Oct 2007 17:42:56 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=T7j8XXxS7NSv3h53BjkYvlklgVe3WHRoXMdYOKSC1Hg=; b=WryWLqkMiGKA61i4PTzF9cx9vJNQ7+rbYZWEiv23Ejg4gawR6lW+7P93i6uNDygBRZzk105MeZiMOfxKD0u6MbeqWKxIaXr7odzwjbBddcKXlekMf3E4ENfIuHUMbefZ0pFn1E8px7+c6NiKyQBMX16629xC3K59Ndg+56Noskk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cfWS3rTwfXmXzoiB6uzllZDkpwIGHZ7jNq8vOB+AnCKN/4kbD/8UTqSXS2kAYzGw661QVrG5OEgjcYvodSf76IFChv/9JqXxSrtCRo2DDVLAFc7vKhN5s4tfVyursEP65YwJHZGw0C6BSIw5Iwnu1pTp1oXM+FutAOZTzKcUFAs=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
my OS is Windows XP SP2
my Python version is 2.5
my pygame version is '1.7.1release'
I get this error when trying to load an xbm file:
pygame.cursors.load_xbm("windowsno.xbm")
TypeError: load_xbm() takes exactly 2 arguments (1 given)
i also tried pygame.cursors.load_xbm("windowsno.xbm", None) (even
though the second argument should default to None according to the
documentation), and it said NoneType has no attribute readline. so
it insists on having a second file, but i only have one file i want to
load.