You are here

[Fixed] GIMP Portable 2.8.0 Rev 4 - Unknown image file type errors

20 posts / 0 new
Last post
RRRob
Offline
Last seen: 11 years 10 months ago
Joined: 2010-10-14 19:44
[Fixed] GIMP Portable 2.8.0 Rev 4 - Unknown image file type errors

I'm unable to get GIMP to recognize any image file format other than its own .XCF format. Any way I try to open an image file (file open dialog, drag and drop, set GIMP to be default editor, etc.), GIMP simply responds with an "Unknown file type" error. Image files other than .XCF don't appear in the file open dialog unless the "All Files" option is selected, and even then GIMP can't generate thumbnail previews of them.

I've checked the preferences to make sure GIMP is pointed at the correct plug-ins directory (D:\\PortableApps\PortableApps\GIMPPortable\App\gimp\lib\gimp\2.0\plug-ins, in my case) for the file format translators, but everything looks fine. Am I missing something?

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Works Fine Here

It works just fine here. All images should be the default and all show up for me as expected. No previews are created until you click to create them in the right pane as expected. And the images open up fine in GIMP when I click on them.

I would suggest a fresh install to ensure you have no corruption anywhere or corrupted settings. If that fails, please report back more information like your operating system, antivirus, software firewall, etc. Also make sure your antivirus isn't being 'helpful' and automatically deleting stuff.

Sometimes, the impossible can become possible, if you're awesome!

account32762578
Offline
Last seen: 11 years 10 months ago
Joined: 2012-05-18 23:54
Same problem...

Had Rev 3 installed. Tried some scanning. Suddenly twain-plugin.exe crashed. From that on also the png import plugin crashed.

Reinstall...

Now no plugin crashs, but plugin rescanning during every startup and no more file types than xcf.

Changed to Rev 4. Same Problem.

Same folder works in fresh VM without any problems, even scanning works again.

VERY strange behaviour... Never seen before. There must remain something very strange inside the registry or somewhere else.

Maybe you'll find a quick solution. Smile

Thanks in advance.

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Reinstall

A reinstall doesn't reset your settings unless you fully delete the GIMPPortable directory. Nothing is left behind in the registry or app data.

Sometimes, the impossible can become possible, if you're awesome!

RRRob
Offline
Last seen: 11 years 10 months ago
Joined: 2010-10-14 19:44
I've tried a fresh install

I've tried a fresh install (manually deleted GIMP's folder in the PortableApps directory and reinstalled using the PortableApps Directory installer) with the same results.

I'm running this on my work machine:

  • Windows XP Pro SP3. Machine configured to support multiple user accounts, each with its own profile directory. OS runs on its own logical volume, user profile directories stored on a separate logical volume and created as needed when a user logs in on that machine for the first time. Default user document directory is on a network share to simplify backup and access, but users have access to the rest of the data volume on a machine. This is where I have my PortableApps directory set; I'm not running it from a flash drive.
  • No administrative rights
  • Symantec Endpoint Protection (whatever the latest version is, along with the latest definition files)
  • Bit9. I had to click "Approve" ~400 times -- literally! Bit9 numbers user actions -- the first time GIMP ran, once for every .DLL and plugin GIMP accesses during startup. This isn't the first time I've encountered this sort of behavior, though, so I'm sure I didn't deny GIMP access to anything.
  • Strict firewall. All Internet traffic/protocols must go through a single port of a proxy server using basic HTTP authentication.

I can't do anything about the firewall, antivirus, Bit9, or the lack of admin rights. It's pretty much your standard high-end corporate network environment.

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Bit9

If you have to manually approve each plugin, I'd wager they won't end up loading correctly. As GIMP uses plugins for every single file type, that would likely be your issue.

Sometimes, the impossible can become possible, if you're awesome!

RRRob
Offline
Last seen: 11 years 10 months ago
Joined: 2010-10-14 19:44
Bit9

Bit9 approvals are a one-time issue to teach the program that the file access is legitimate, so I don't see how it would impact GIMP when running it again later. I'll be the first to admit, however, that with 400-odd approvals, I could have screwed one up despite the care I was taking not to. Does GIMP store a more detailed error log somewhere, so I can see if some dependency is failing to load or run?

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Error Log

You could check in GIMPPortable\App\gimp\bin or somewhere in data. You can also check the error console. If you don't mind storing settings locally (just foe now), you can run GIMP directly in that bin directory to ensure it isn't an issue with the portablization then later delete the .gimp directory in USERPROFILE.

Sometimes, the impossible can become possible, if you're awesome!

RRRob
Offline
Last seen: 11 years 10 months ago
Joined: 2010-10-14 19:44
Plugins definitely not loading

Looks like something (Bit9?) is interfering with the plugins loading. Launching GIMP directly from GIMPPortable\App\gimp\bin\gimp-2.8.exe generates hundreds of "The application failed to initialize properly (0xc0000142)" errors, each referring to a specific plugin. This doesn't occur when launching GIMPPortable.exe, however, and GIMP itself loads and runs either way.

The GIMP error console is pretty useless for this, though. For example, there's no detail on why an image file won't open, only "Opening '<path to file>' failed: Unknown file type".

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Bit9

It would seem then that Bit9 simply won't let it properly run. As such a specific (and rare) issue, it's not something we can fix from our end.

Sometimes, the impossible can become possible, if you're awesome!

account32762578
Offline
Last seen: 11 years 10 months ago
Joined: 2012-05-18 23:54
Maybe a Windows restart problem...

Hello John,

thanks for your efforts. I've tried using Rev 4 again and have had a Windows restart since my last try. Now it worked. Maybe there was something strange left in memory which led to the mysterious behaviour. I will keep this problem in mind, maybe it can be reproduced in some time. The problem had been there after a problem with the scanning plugin - maybe this crash had changed something temporarily...

Other question: How does Portable Apps earn its money?

Best regards
Volker

cbj0129
Offline
Last seen: 3 years 1 month ago
Joined: 2006-04-03 21:59
Same problem

WinXP SP3 current patches patches. Installed non-portable version and got continual

xxxx.exe - Entry Point Not Found
The procedure entry point gzdirect could not be located in the dynamic link library zlib1.dll.

The problem seems to be an older zlib1.dll in the path.
Copied C:\Program Files\GIMP 2\bin\zlib1.dll
to
C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\
per discussion at http://gimper.net/viewtopic.php?f=53&t=11996&start=0

Fixed both normal install and Gimp Portable

Clair

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Change PATH line

For anyone affected, could you please try editing the GIMPPortable.ini file within GIMPPortable\App\AppInfo\Launcher. In the [Environment] section, change the PATH= line to read:

PATH=%PAL:AppDir%\gimp\bin;%PAL:AppDir%\GIMP\lib\gimp\2.0\plug-ins;%PATH%;

If it still doesn't work, you can try this:

PATH=%PAL:AppDir%\gimp\bin;%PAL:AppDir%\GIMP\lib\gimp\2.0\plug-ins;

Sometimes, the impossible can become possible, if you're awesome!

cbj0129
Offline
Last seen: 3 years 1 month ago
Joined: 2006-04-03 21:59
Doesn't work fo me

Fresh install of GimpPortable.
Neither change to the GIMPPortable.ini file works, I have to move the zlib1.dll file to the plugin directory.

Doesn't make sense.

Clair

RRRob
Offline
Last seen: 11 years 10 months ago
Joined: 2010-10-14 19:44
Missing zlib1.dll in plugin directory?

I tried the same procedure:

  1. Fresh install of GIMP Portable
  2. Tried suggested edits to GIMPPortable.ini

No change, so I reverted back to the original GIMPPortable.ini file and went to check the modification dates of zlib1.dll in \GIMPPortable\App\gimp\bin and \GIMPPortable\App\gimp\lib\gimp\2.0\plug-ins. I discovered that zlib1.dll wasn't installed in the plugin directory at all! Putting a copy of it in the plugin directory solved the problem for me as well.

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Try This New Build

Please try this new GIMP Portable 2.80 Rev 5 Dev Test 1 build to see if this works for you:
https://portableapps.com/node/34156

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 2.8.2

This should be fixed for the small subset of users affected in today's 2.8.2 release. I did a combination of internal PATH adjustments and duplicating the zlib1.dll file to ensure it should work on most machines, even ones where PATH variable adjustments internal to a single app and anything it launches don't work.

Sometimes, the impossible can become possible, if you're awesome!

heinrichs
heinrichs's picture
Offline
Last seen: 11 years 6 months ago
Joined: 2012-08-28 17:01
Not fixed!

In 2.8.2 I'm getting the unknown file type error. tried all the above fixes, still not working for me. Any other ideas?

Thanks, Don.

John T. Haller
John T. Haller's picture
Online
Last seen: 18 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Something Else

Then it would appear something else is up with your PC as the fixes used by others above that worked for them are all incorporated in the 2.8.2 release. Please post a new bug (just a forum post with [Bug] as the start of the title) with the exact error you see, your operating system version, full path to the install, whether it was a fresh install or an upgrade, anything else you can think of that is running and may interfere (antivirus, etc) and anything else you think of. Post that right here in the GIMP Support forum and we'll get starting on troubleshooting your issue.

Sometimes, the impossible can become possible, if you're awesome!

siger
Offline
Last seen: 3 years 4 weeks ago
Joined: 2012-08-03 08:36
New Bug Posted
Log in or register to post comments