Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

Dia Portable 0.97.1-1 fails to open under Win7

JLR - March 20, 2010 - 4:00pm

I am successfully using an older PortableApps.com version of Dia Portable v0.97 with Win7. Downloading and trying to run the latest 0.97.1-1 fails to open.

After installing, when trying to run, a few boxes open, many with no text.
Dia Warning (title of window) no text inside
diaw.exe has stopped working (window)
Diagram1.dia (window) blank white screen

reverting to the older 0.97 version works just fine.

I have not tried it under a different OS.


( categories: )

Works For Me

I just fired up Dia 0.97.1-1 under Windows 7 Ultimate x64 and it worked just fine.

Where do you have it installed? X:\PortableApps\DiaPortable as normal? Have you tried installing and running it to another drive or on another PC?

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

Hmmm,

John asked that already, but where do you have it installed?
I think Dia doesn't like paths with localized characters. And you need write-access to your installation path.
I get similar warnings with a wrong "gdk-pixbuf.loaders"-file. A fresh installation or deletion of the file "\DiaPortable\App\Dia\etc\gtk-2.0\gdk-pixbuf.loaders" should resolve the issue.

tried in 2 different

tried in 2 different locations

the standard C:\Portables\DiaPortable
and a longer one in my downloads folder.

and another. As above, the standard 0.97 works, just not the 0.97.1-1
I am using win7 x32

gdk-pixbuf.loaders

Does the above mentioned file exist in your installation? Could you open it with a text editor and share the 5th line (LoaderDir = ...)?

no, that file does not exist

no, that file does not exist

Ok,

normally the Dia Portable launcher generates that file.
Do you have write-access? Do you (or Win7) have some weird COMSPEC redirection? Maybe your anti-virus software prevents the generation (could you try Dia Portable with disabled protection)?

nothing like that enabled.

nothing like that enabled.

Hmmm,

I don't know why it isn't creating that file. Strange. Alright, let's try a workaround:
Navigate to the folder "\DiaPortable\App\Dia\bin" and create a new batch file (gdk-pixbuf-query-loaders.bat).
Add the following line, save and run it.

.\gdk-pixbuf-query-loaders.exe > ..\etc\gtk-2.0\gdk-pixbuf.loaders

After that, launch DiaPortable.exe.

That worked!

That worked!

Seems tied to the specific folder now. When moving to the existing portable/dia folder, I had to re-run the bat script for it to open correctly.

Yeah,

but I have no clue why the launcher doesn't work for you.
It does the exactly same thing (if file doesn't exist or if directories/paths change).
Your computer has something special Eye-wink

?

What's the file version of your DiaPortable.exe? Just to be sure, but it should be 1.6.4.0.

it is 1.6.4.0

it is 1.6.4.0

Ok, thanks

I still have no clue why the launcher doesn't work and the batch-file workaround does. Also I can't reproduce the behaviour.
The same problem has been reported once on the Windows installer too.

I have the exact same problem

I have the exact same problem with dia version 0.97.1 on win7 home premium. However on applying the fix mentioned here the problem goes away.

Path?

Hi, what's the exact path of your installation?

My version is installed at:

My version is installed at: C:\Program Files\Dia\bin

I have only tried the windows installer, hence not sure about the portable version. Probably the space in "Program Files" is the culprit. Also I have Python 2.6.6 installed, but dia installer does not allow installation of python plugin, says only 2.3 is supported.

Ah, ok

so you have no problems with Dia Portable?
About Python: Yes, Dia on Windows supports 2.3 only, see #.
And welcome at PortableApps.com! Smiling