From christine.shannon at centre.edu Tue May 3 14:12:57 2011 From: christine.shannon at centre.edu (Christine A. Shannon) Date: Tue May 3 13:45:34 2011 Subject: [Pyro-users] reinforcement learning Message-ID: I am having some problems with images in trying to load RLWorld.py . It may be noteworthy that the image on the curriculum pages dealing with RL also does not appear on the web page. Thanks for your help on this Christine Using PYROBOT on posix with CPU 0 in '/usr/local/pyrobot'... Attempting to import 'RLWorld'... Loaded '/usr/local/pyrobot/plugins/worlds/Pyrobot/RLWorld.pyc'! Traceback (most recent call last): File "/usr/local/pyrobot/plugins/simulators/PyrobotSimulator", line 83, in gui = INIT(worldFile) File "/usr/local/pyrobot/plugins/simulators/PyrobotSimulator", line 26, in INIT retval = userspace.INIT() File "/usr/local/pyrobot/plugins/worlds/Pyrobot/RLWorld.py", line 372, in INIT return GUI(root, 240, 240) #375, 375) File "/usr/local/pyrobot/plugins/worlds/Pyrobot/RLWorld.py", line 75, in __init__ pitImage = pitImage.resize( [self.square_height-2, self.square_width-2] ) File "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 1290, in resize self.load() File "/usr/lib/python2.6/dist-packages/PIL/ImageFile.py", line 201, in load raise IOError("image file is truncated (%d bytes not processed)" % len(b)) IOError: image file is truncated (2 bytes not processed) Christine Shannon Margaret V. Haggin Professor of Mathematics and Computer Science Centre College 600 W. Walnut Danville, KY 40422 859 238 5406 From dblank at cs.brynmawr.edu Wed May 4 15:11:22 2011 From: dblank at cs.brynmawr.edu (Douglas S. Blank) Date: Wed May 4 14:35:26 2011 Subject: [Pyro-users] reinforcement learning In-Reply-To: References: Message-ID: <4DC1A4DA.4080906@cs.brynmawr.edu> On 05/03/2011 02:12 PM, Christine A. Shannon wrote: > I am having some problems with images in trying to load RLWorld.py . > It may be noteworthy that the image on the curriculum pages dealing > with RL also does not appear on the web page. > > Thanks for your help on this Christine > > Using PYROBOT on posix with CPU 0 in '/usr/local/pyrobot'... > Attempting to import 'RLWorld'... Loaded > '/usr/local/pyrobot/plugins/worlds/Pyrobot/RLWorld.pyc'! Traceback > (most recent call last): File > "/usr/local/pyrobot/plugins/simulators/PyrobotSimulator", line 83, > in gui = INIT(worldFile) File > "/usr/local/pyrobot/plugins/simulators/PyrobotSimulator", line 26, in > INIT retval = userspace.INIT() File > "/usr/local/pyrobot/plugins/worlds/Pyrobot/RLWorld.py", line 372, in > INIT return GUI(root, 240, 240) #375, 375) File > "/usr/local/pyrobot/plugins/worlds/Pyrobot/RLWorld.py", line 75, in > __init__ pitImage = pitImage.resize( [self.square_height-2, > self.square_width-2] ) File > "/usr/lib/python2.6/dist-packages/PIL/Image.py", line 1290, in > resize self.load() File > "/usr/lib/python2.6/dist-packages/PIL/ImageFile.py", line 201, in > load raise IOError("image file is truncated (%d bytes not processed)" > % len(b)) IOError: image file is truncated (2 bytes not processed) Christine, This looks like the same issue you reported a few months ago (right?), to which I replied: There were some corrupted images when we migrated from CVS to SVN, but those have been fixed thanks to Debbie Burhans. You can get those images from: http://svn.cs.brynmawr.edu/viewvc/pyrobot/trunk/images/ Click each image link, and then (download) saving (as root) into /usr/local/pyrobot/images/. -Doug > > > Christine Shannon Margaret V. Haggin Professor of Mathematics and > Computer Science Centre College 600 W. Walnut Danville, KY 40422 859 > 238 5406 > > _______________________________________________ Pyro-users mailing > list Pyro-users@pyrorobotics.org > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > -- Douglas S. Blank Associate Professor, Computer Science, Bryn Mawr College http://cs.brynmawr.edu/~dblank (610)526-6501