Re: GIMP 1.2.0 and IRIX
On Thu, Dec 28, 2000 at 01:12:28AM +0100, Sven Neumann wrote: Hi, Albert Chin-A-Young [EMAIL PROTECTED] writes: On IRIX 6.2 and 6.5 with GIMP 1.2.0: $ gimp /opt/TWWfsw/gimp12/bin/gimp: Failed to load one of the brushes in the brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih" /opt/TWWfsw/gimp12/bin/gimp: Warning: Failed to load brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih" /opt/TWWfsw/gimp12/bin/gimp: Failed to load one of the brushes in the brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-16.gih" /opt/TWWfsw/gimp12/bin/gimp: Warning: Failed to load brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-16.gih" /opt/TWWfsw/gimp12/bin/gimp: Failed to load one of the brushes in the brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-32.gih" /opt/TWWfsw/gimp12/bin/gimp: Warning: Failed to load brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-32.gih" $ ls -ld /opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih -rw-r--r--1 root sys20818 Dec 26 22:32 /opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih The fix is to revert to data/brushes/SketchBrush* from 1.1.32. Any reason the version of these three files in 1.2.0 is different than from 1.1.32? Yes, the old format was braindead and while the new is still bad, it does not suck that much. We tried to keep backward-compatibility with the old format and this piece of code might bite you here. I can not reproduce the problem here, but you could help me to locate it by explicetely checking if you can load and use the pepper.gbr file (which provides the "Pepper" pixmap brush). I can successfully use pepper.gbr. File-Open loads it in just fine and I can select the brush in File-Dialogs-Brushes. FYI, I have no problems with Solaris 8/SPARC nor Tru64 UNIX 4.0D/5.0. Trying to File-Open SketchBrush-16.gih returns: Couldn't load one brush in the pipe, giving up. Ditto for SketchBrush-32.gih and SketchBrush-64.gih. -- albert chin ([EMAIL PROTECTED])
Re: GIMP 1.2.0 and IRIX
Albert Chin-A-Young wrote: On Thu, Dec 28, 2000 at 01:12:28AM +0100, Sven Neumann wrote: Hi, snipped... Yes, the old format was braindead and while the new is still bad, it does not suck that much. We tried to keep backward-compatibility with the old format and this piece of code might bite you here. I can not reproduce the problem here, but you could help me to locate it by explicetely checking if you can load and use the pepper.gbr file (which provides the "Pepper" pixmap brush). I can successfully use pepper.gbr. File-Open loads it in just fine and I can select the brush in File-Dialogs-Brushes. FYI, I have no problems with Solaris 8/SPARC nor Tru64 UNIX 4.0D/5.0. snipped... Hi Al, Sven Just this evening (GMT -5.00) I've observed this phenomenon, on the same brushes that gave Al problems. Not on the Linux laptop, but on the SGI O2 and Indigo (Irix 6.5.8 and 6.5.4 respectively). I can spend some time isolating it, but not until this weekend. If I don't obtain resolution, I'll make summary comments in a bug report. Be good, be well Garry
Re: GIMP 1.2.0 and IRIX
Hi, "Garry R. Osgood" [EMAIL PROTECTED] writes: I can successfully use pepper.gbr. File-Open loads it in just fine and I can select the brush in File-Dialogs-Brushes. FYI, I have no problems with Solaris 8/SPARC nor Tru64 UNIX 4.0D/5.0. snipped... Just this evening (GMT -5.00) I've observed this phenomenon, on the same brushes that gave Al problems. Not on the Linux laptop, but on the SGI O2 and Indigo (Irix 6.5.8 and 6.5.4 respectively). I can spend some time isolating it, but not until this weekend. If I don't obtain resolution, I'll make summary comments in a bug report. I think the problem is that we seek backwards in the file since we try to read in a pattern header after we have read a grayscale brush. This is to remain backward compatibility (something we should probably not have done). If no pattern can be found, we seek back to read the data again as the next brush. Obviously something goes wrong here on some platforms. The best way to solve this problem is most probably to drop backward compatibility in the core. For the plug-in, I can think of a way to avoid the seek, but retain the possibility to read old brushes: Parse the data in the pattern header struct to recreate the brush header from it and continue reading the next brush. I wouldn't want this hack in the core however. The question is: can we afford to drop the backwards compatibility of the core when it comes to read old .gpb and .gih files? And can we do this in the 1.2 branch? Remember: Users can always use the gbr and gih plug-ins to convert old brushes into the new format. Salut, Sven
Re: GIMP 1.2.0 and IRIX
On Wed, Dec 27, 2000 at 01:16:26AM -0600, Albert Chin-A-Young wrote: On IRIX 6.2 and 6.5 with GIMP 1.2.0: $ gimp /opt/TWWfsw/gimp12/bin/gimp: Failed to load one of the brushes in the brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih" /opt/TWWfsw/gimp12/bin/gimp: Warning: Failed to load brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih" /opt/TWWfsw/gimp12/bin/gimp: Failed to load one of the brushes in the brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-16.gih" /opt/TWWfsw/gimp12/bin/gimp: Warning: Failed to load brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-16.gih" /opt/TWWfsw/gimp12/bin/gimp: Failed to load one of the brushes in the brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-32.gih" /opt/TWWfsw/gimp12/bin/gimp: Warning: Failed to load brush pipe "/opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-32.gih" $ ls -ld /opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih -rw-r--r--1 root sys20818 Dec 26 22:32 /opt/TWWfsw/gimp12/share/gimp/1.2/brushes/SketchBrush-64.gih The fix is to revert to data/brushes/SketchBrush* from 1.1.32. Any reason the version of these three files in 1.2.0 is different than from 1.1.32? Oops, I mean 1.1.30. 1.1.32 has the same SketchBrush* files as in 1.2.0. -- albert chin ([EMAIL PROTECTED])