WINE Trying to load JPEG picture, but JPEG supported not compiled in.

Bug #144419 reported by Adam Wannamaker
14
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
Fix Released
Medium
Scott Ritchie

Bug Description

Binary package hint: wine

I have been unable to load any jpegs with any version of wine for Fiesty 7.04 AMD 64. I receive the following error:

fixme:ole:OleLoadPictureEx (0xa8ea84,31583,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33f5d4), partially implemented.
err:ole:OLEPictureImpl_LoadJpeg Trying to load JPEG picture, but JPEG supported not compiled in.

Revision history for this message
Alec Wright (alecjw) wrote :

What windows program were you using to try and open the JPEG? Are you sure it isn't a bug in the windows app?

Revision history for this message
gamebasic (gamebasic) wrote : Re: [Bug 144419] Re: WINE Trying to load JPEG picture, but JPEG supported not compiled in.

Its a program of my own written in Visual Basic. I can assure you there
are no errors as it works fine in windows. I am using VBs LoadPicture
function to load the jpegs.

Adam

Alec Wright wrote:
> What windows program were you using to try and open the JPEG? Are you
> sure it isn't a bug in the windows app?
>
>

Revision history for this message
Alec Wright (alecjw) wrote :

Did you use exactly the same binary for both windows and wine or id you compile it with something else?

If they are the same, any chance you could send me it and tell me exactly how to reproduce it so i can confirm this bug?
(Binary please, I've not the faintest idea how to compile visual basic xD)

Or if you don't want to give me the program itself, just a small program incorporating the offending code will do.

Revision history for this message
gamebasic (gamebasic) wrote :

http://www.gamebasic.com/downloads/demos

Thanks,

Adam

Alec Wright wrote:
> Did you use exactly the same binary for both windows and wine or id you
> compile it with something else?
>
> If they are the same, any chance you could send me it and tell me exactly how to reproduce it so i can confirm this bug?
> (Binary please, I've not the faintest idea how to compile visual basic xD)
>
> Or if you don't want to give me the program itself, just a small program
> incorporating the offending code will do.
>
>

Revision history for this message
Alec Wright (alecjw) wrote :

I get a completely differnet error:
alec@Jupiter:/tmp$ wine GameBasic3D.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"Z:\\tmp\\GameBasic3D.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\tmp\\GameBasic3D.exe" failed, status c0000135

But i just realised - you're using 64 bit (i didn't read that the first time round, sorry!). I shouldn't think that would matter, but can any 64 bit users confirm this?

Revision history for this message
gamebasic (gamebasic) wrote :

You did not install the VB6 runtime files.

http://support.microsoft.com/kb/192461

Hope this helps,

Adam

Alec Wright wrote:
> I get a completely differnet error:
> alec@Jupiter:/tmp$ wine GameBasic3D.exe
> fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
> err:module:import_dll Library MSVBVM60.DLL (which is needed by L"Z:\\tmp\\GameBasic3D.exe") not found
> err:module:LdrInitializeThunk Main exe initialization for L"Z:\\tmp\\GameBasic3D.exe" failed, status c0000135
>
> But i just realised - you're using 64 bit (i didn't read that the first
> time round, sorry!). I shouldn't think that would matter, but can any 64
> bit users confirm this?
>
>

Revision history for this message
Alec Wright (alecjw) wrote :

WFFM now that ive got that installed. It's probably an AMD64 specific issue, which an AMD64 user will have to investigate.

Revision history for this message
gamebasic (gamebasic) wrote :

I think you're correct; the jpegs load fine on 32bit versions of Ubuntu.

Unfortunately recompiling wine did not help either...

Thanks again,

Adam

Alec Wright wrote:
> WFFM now that ive got that installed. It's probably an AMD64 specific
> issue, which an AMD64 user will have to investigate.
>
>

Revision history for this message
Alec Wright (alecjw) wrote :

If you've the patience, you could try running it under linux32 and see if that makes any difference. I'm not sure how much help that'll be though.

Revision history for this message
muncrief (rmuncrief) wrote :

I can confirm that the same error occurs when installing World of Warcraft under wine in Ubuntu 7.10 AMD64:

"err:ole:OLEPictureImpl_LoadJpeg Trying to load JPEG picture, but JPEG supported not compiled in."

My hardware -
Motherboard: Gigabyte GA-K8N Pro-SLI (Nvidia nForce4 based)
CPU: Athlon 64 3000+
DRAM: 3GB DDR
Video Card: Nvidia 7800GT PCI-X16
Hard Drives: SATA WDC WD1200JS-00M, SATA Maxtor 6V200E0
CD/DVD: Liteon DVDRW LH-18A1P, Sony CD-ROM CDU5221

Revision history for this message
Alec Wright (alecjw) wrote :

Confirmed due to muncrief's comment.

Changed in wine:
status: New → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Have a fix on the way...

Changed in wine:
assignee: nobody → scottritchie
status: Confirmed → In Progress
Revision history for this message
Nick White (nick-white) wrote :

I have the same issue with another windows application, ICC Dasher (available from http://www.chessclub.com/helpcenter/interface/Dasher.html).

I have wine 0.9.46 installed on an Acer Aspire 5050, an AMD64 laptop.

The error I get is:
err:ole:OLEPictureImpl_LoadJpeg Trying to load JPEG picture, but JPEG supported not compiled in.

This occurs three times and the application does not load.

If you need more information please ask.

Revision history for this message
topynate (ndc26) wrote :

I get the same error with the Everest Poker installer, (http://www.everestpoker.com/en/dload/). Running Gutsy, AMD65, wine 0.9.52. Output:

err:ole:OLEPictureImpl_LoadJpeg Trying to load JPEG picture, but JPEG supported not compiled in.
fixme:ole:OLEPictureImpl_Render type -1 not implemented

Changed in wine:
importance: Undecided → Medium
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Right,

it looks like that some libs are not linked correctly or are not found during configure on amd64.
Some of the missing libs can be fixed with the correct symlink in debian/rules, but e.g. libpng detection is totally broken in configure/configure.ac
The check tries to link against -lpng but the library is named libpng12 so this needs to be fixed first...

Working on it...

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Ok,

I prepared a new package for hardy (0.9.54-0ubuntu2) which fixes at least cups, png and jpeg issues.
There are still some libs missing in ia32-libs and I'm trying to push them into the ia32-libs package.

Regards,

\sh

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

This bug was fixed in the package wine - 0.9.54-0ubuntu2

---------------
wine (0.9.54-0ubuntu2) hardy; urgency=low

  * debian/rules:
    - amd64 specific:
      + added symlink for libjpeg (LP: #144419)
      + added symlink for libcups (LP: #155665)
      + added symlink for libxml2 (LP: #135417)
  * debian/control:
    - add quilt to build-dep as patch system
  * debian/patches/01_ubuntu_fix_libpng_check.patch:
    - added patch to fix the libpng check to actually catch libpng12
  * debian/patches/90_ubuntu_update_configure.patch:
    - configure patch after "autoconf" run to use the updated libpng12 fix
  * debian/wine-*.desktop
    - Added Swedish Translation (LP: #152745)
    - Added German Translation

 -- Stephan Hermann <email address hidden> Sun, 27 Jan 2008 16:35:13 +0100

Changed in wine:
status: In Progress → Fix Released
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.