<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/childsplay/patches/" rel="alternate"/><link href="https://sourceforge.net/p/childsplay/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/childsplay/patches/</id><updated>2007-12-14T12:03:49Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>[PATCH] Fix for NameError: global name 'name' is not defined</title><link href="https://sourceforge.net/p/childsplay/patches/3/" rel="alternate"/><published>2007-12-14T12:03:49Z</published><updated>2007-12-14T12:03:49Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netcc0f1703ee333a14dd2d55eb93f0174d89903245</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;In version childsplay-0.90.1 After start program I try click to last icon with fox and have error message in console:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;
File "/usr/share/childsplay/childsplay.py", line 962, in main&lt;br /&gt;
game = apply(obj,(c.screen,c.backgr,\
File "/usr/share/childsplay/lib/letterFlashcard.py", line 180, in __init__&lt;br /&gt;
self._setup()&lt;br /&gt;
File "/usr/share/childsplay/lib/letterFlashcard.py", line 298, in _setup&lt;br /&gt;
sndobject = load_music(os.path.join(crysounddir,k[:-4] + '.ogg'))&lt;br /&gt;
File "/usr/share/childsplay/utils.py", line 271, in load_music&lt;br /&gt;
print &amp;gt;&amp;gt; sys.stderr, 'Cannot load music: %s \n%s' %&lt;br /&gt;
(name,pygame.get_error())&lt;br /&gt;
NameError: global name 'name' is not defined&lt;br /&gt;
Please send a bug report with this stuff to,&lt;br /&gt;
childsplay@users.sourceforge.net&lt;br /&gt;
************************************************************&lt;br /&gt;
********************** ERROR *********************&lt;br /&gt;
A error occured in module None  LineNo: None&lt;br /&gt;
Info: None&lt;br /&gt;
The original error message is:&lt;br /&gt;
global name 'name' is not defined&lt;br /&gt;
**************************************************&lt;br /&gt;
del called&lt;/p&gt;
&lt;p&gt;This bug was posted to ALT Linux bugzilla as &lt;a href="https://bugzilla.altlinux.org/show" rel="nofollow"&gt;https://bugzilla.altlinux.org/show&lt;/a&gt;_bug.cgi?id=13571 (in Russian). During investigation I made trivial fix for this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>fix for install.sh to make it more portable</title><link href="https://sourceforge.net/p/childsplay/patches/2/" rel="alternate"/><published>2005-02-18T17:42:49Z</published><updated>2005-02-18T17:42:49Z</updated><author><name>Dmitry S. Makovey</name><uri>https://sourceforge.net/u/dmakovey/</uri></author><id>https://sourceforge.netd5b7fafc39568762b2b1373e535f5c9820b1d88f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Original install.sh mechanizm was quite cranky when it&lt;br /&gt;
came to custom install (which I needed and I bet if&lt;br /&gt;
anyone is doing packaging for this software they've&lt;br /&gt;
faces same problem). &lt;/p&gt;
&lt;p&gt;So in this patch I added couple of new features:&lt;br /&gt;
install.cfg which describes all needed directories and&lt;br /&gt;
config.py which generates list of variable definitions&lt;br /&gt;
for python and bash so both are using same directories&lt;br /&gt;
throughout. Also original install.sh and couple ofother&lt;br /&gt;
files where modified to take advantage from implemented&lt;br /&gt;
mechanizm.&lt;/p&gt;
&lt;p&gt;I guess ideal solution would be to use python's&lt;br /&gt;
distutils but I have not time for this and current&lt;br /&gt;
solution at least lets you modify thing or two making&lt;br /&gt;
install more FHS compliant or whatever FH standard you use.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Provide a default locale</title><link href="https://sourceforge.net/p/childsplay/patches/1/" rel="alternate"/><published>2004-07-10T20:54:10Z</published><updated>2004-07-10T20:54:10Z</updated><author><name>Shane Hathaway</name><uri>https://sourceforge.net/u/hathawsh/</uri></author><id>https://sourceforge.net661412b52913e8519b387a3c683f533537f0c1b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The locale on many systems is set to "C".  A couple of&lt;br /&gt;
games in Childsplay break when the locale is set to&lt;br /&gt;
"C".  The attached patch fixes the problems by assuming&lt;br /&gt;
that when the default locale is "C", it should really&lt;br /&gt;
be "en".&lt;/p&gt;
&lt;p&gt;BTW, great work on Childsplay.  My kids like it a lot.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>