so.JPEGReadWriter2Plugin not bundled - jpegs fail to load

Bug #1277940 reported by JamesRichardson
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
scratch (Debian)
New
Unknown
scratch (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using scratch on ubuntu 13, jpeg images fail to load, either in the thumbnail view or as "stages" or "sprites"

I ran strace, and it looks like a plugin hasn't been bundled:

[pid 7317] open("/home/user/somefile.jpg", O_RDONLY) = 5

[pid 7317] open("/lib/x86_64-linux-gnu/JPEGReadWriter2Plugin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] open("/usr/lib/x86_64-linux-gnu/JPEGReadWriter2Plugin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] open("/lib/JPEGReadWriter2Plugin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] open("/usr/lib/JPEGReadWriter2Plugin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] munmap(0x7f2a793f9000, 88132) = 0
[pid 7317] open("/usr/lib/scratch/plugins//so.JPEGReadWriter2Plugin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] stat("/usr/lib/scratch/plugins//so.JPEGReadWriter2Plugin", 0x7fff4d9bf560) = -1 ENOENT (No such file or directory)
[pid 7317] open("/usr/lib/squeak/4.10.2-2614//so.JPEGReadWriter2Plugin", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] stat("/usr/lib/squeak/4.10.2-2614//so.JPEGReadWriter2Plugin", 0x7fff4d9bf560) = -1 ENOENT (No such file or directory)
[pid 7317] open("/lib/x86_64-linux-gnu/libJPEGReadWriter2Plugin.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] open("/usr/lib/x86_64-linux-gnu/libJPEGReadWriter2Plugin.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] open("/lib/libJPEGReadWriter2Plugin.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] open("/usr/lib/libJPEGReadWriter2Plugin.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 7317] munmap(0x7f2a793f9000, 88132) = 0
[pid 7317] close(5) = 0

so we can see that the plugin failed to load, and that the jpeg file wasn't read.

looking in the /usr/lib/squeak/plugins/4.10.2-2614 and /usr/lib/scratch/plugins directory, this plugin isn't listed.

please could the packaging be updated.

my daughter thanks you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in scratch (Ubuntu):
status: New → Confirmed
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

This bug could be related to Debian bug 744289 - according to comments at Debbug 744289 this problem can be easily fixed:

Me and Tim discussed this, and I've found a fix. The issue is due tothe Debian package inheriting a patch from the original Debian packager making it link against the system libjpeg (rather than libjpeg bundled in the squeak-vm sources). For some reason, it seems squeak-vm isn't happy working with the newer libjpeg, so I've removed that patch and it all seems well.
I'll post here when the updated squeak-vm is added to the PI repository, which should be tomorrow, see http://www.raspberrypi.org/forums/viewtopic.php?f=77&t=15583&start=25
Also this problem is discussed here: http://www.raspberrypi.org/forums/viewtopic.php?t=15583&p=184058

Changed in scratch (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.