|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Unable to read JPEG imagesTwo weeks ago I installed GRAMPS 3.1.1-1 on a new laptop (Windows XP)
and copied my data over from the previous one without any issues. I also made some changes to the database and exported a new backup, and everything was well. Today however, it doesn't seem to load any JPG images anymore. The external viewer still works, but inside the program I get no previews and when I access the export function I get this message: 11375: ERROR: gramps.py: line 160: Unhandled exception Traceback (most recent call last): File "C:\Program Files\gramps\ViewManager.py", line 1327, in export_data ExportAssistant.ExportAssistant(self.state, self.uistate) File "C:\Program Files\gramps\ExportAssistant.py", line 132, in __init__ self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg) GError: Failed to load image 'C:\Program Files\gramps\images\splash.jpg': Error interpreting JPEG image file (JPEG parameter struct mismatch: library thinks size is 432, caller expects 464) I found a discussion about a similar message on this list a couple of months back, between Aaron Short and Peter Landgren, but no clear resolution. The error seems to indicate a mismatch the library reading the JPG file (libjpeg presumably) and the library using this function. Since the laptop is new I installed quite a few software packages in the past weeks, and I suspect one of them caused this mismatch, but I don't know where to look. I could of course try to uninstall/reinstall GRAMPS and the packages it depends on, but I thought it might be more useful to try to find the cause first. I started the GRAMPS 3.1.1-1 installer again and it lists the same dependencies I installed 2 weeks ago as still being there: Python 2.5.4 GTK-dev-2.12.9 pygtk-2.12.1 pygobject-2.12.3 pycairo-1.2.6 Could anyone point me in the right direction? Arnout ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Gramps-windows mailing list Gramps-windows@... https://lists.sourceforge.net/lists/listinfo/gramps-windows |
|
|
Re: Unable to read JPEG imagesTo answer my own question: I ended up reinstalling GRAMPS and all
dependencies, with no difference. Then I remembered about Process Explorer (Microsoft/Sysinternals) to find which DLL's GRAMPS was using. As it turns out it used a C:\WINDOWS\jpeg62.dll instead of the C:\GTK\bin\jpeg62.dll it would have liked better. So I renamed the one under C:\WINDOWS and now all is well again. Except I still don't have a clue which application felt the need to put this DLL directly under C:\WINDOWS ... Arnout > Two weeks ago I installed GRAMPS 3.1.1-1 on a new laptop (Windows XP) > and copied my data over from the previous one without any issues. I also > made some changes to the database and exported a new backup, and > everything was well. > Today however, it doesn't seem to load any JPG images anymore. The > external viewer still works, but inside the program I get no previews > and when I access the export function I get this message: > > 11375: ERROR: gramps.py: line 160: Unhandled exception > Traceback (most recent call last): > File "C:\Program Files\gramps\ViewManager.py", line 1327, in export_data > ExportAssistant.ExportAssistant(self.state, self.uistate) > File "C:\Program Files\gramps\ExportAssistant.py", line 132, in __init__ > self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg) > GError: Failed to load image 'C:\Program > Files\gramps\images\splash.jpg': Error interpreting JPEG image file > (JPEG parameter struct mismatch: library thinks size is 432, caller > expects 464) > > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Gramps-windows mailing list Gramps-windows@... https://lists.sourceforge.net/lists/listinfo/gramps-windows |
|
|
Re: Unable to read JPEG imagesI had almost the same problem as Arnout. I wasn't able to export my tree because splash.jpg didn't load. But the only jpeg62.dll I had was the one from GTK+.
In the end, I got around the bug by converting splash.jpg (from the "images" directory of Gramps) into PNG and saving that PNG file as "splash.png". Now the splash image is displayed correctly, and I can export my tree.
|
| Free embeddable forum powered by Nabble | Forum Help |