I think I fixed it... There is a file called 'Image.py' in src/gui and it seems to be imported instead of PIL... renaming that file, and then adding pygame to PopupBox fxed my problems.
On Wed, Feb 18, 2004 at 10:37:32PM -0500, Aubin Paul wrote: > Hey Dischi, > > I'm trying the new GUI code and thought I'd report my results. It > looked like something easy to fix, but there is more going on than that. > > 1. CRASH > > File "/usr/lib/python2.3/site-packages/freevo/gui/PopupBox.py", line > 155, in set_icon > self.icon = pygame.image.load(image).convert_alpha() > NameError: global name 'pygame' is not defined > > So I imported pygame in Popupbox.py. That didn't help, it just gave me a > new, and more confusing error. > > File "/usr/lib/python2.3/site-packages/freevo/skins/main/listing_area.py", line > 59, in ? > from skin_utils import * > File "/usr/lib/python2.3/site-packages/freevo/skins/main/skin_utils.py", line 55, > in ? > import ImageFile > File "/usr/lib/python2.3/site-packages/PIL/ImageFile.py", line 56, in ? > class ImageFile(Image.Image): > AttributeError: 'module' object has no attribute 'Image' > > Those are the only two I'm seeing right now... They only arise when using the > PopupBox, not the listview. > > Last point; I notice that you're using a white border around the popupbox. It would > be a > a good idea normally, but thin white lines cause a lot of flicker on most TVs... > I've tried > using them in the past, but the result was always fairly difficult to look at. I had > to > change mine to 0x000000 for the border and it was much more tolerable. > > Aubin > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
