You are here

Dia Portable 0.97.1-1 fails to open under Win7

18 posts / 0 new
Last post
JLR
Offline
Last seen: 8 years 7 months ago
Joined: 2009-01-05 23:44
Dia Portable 0.97.1-1 fails to open under Win7

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 5 min 53 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
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!

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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.

JLR
Offline
Last seen: 8 years 7 months ago
Joined: 2009-01-05 23:44
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

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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 = ...)?

JLR
Offline
Last seen: 8 years 7 months ago
Joined: 2009-01-05 23:44
no, that file does not exist

no, that file does not exist

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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)?

JLR
Offline
Last seen: 8 years 7 months ago
Joined: 2009-01-05 23:44
nothing like that enabled.

nothing like that enabled.

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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.

JLR
Offline
Last seen: 8 years 7 months ago
Joined: 2009-01-05 23:44
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.

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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 Wink

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
?

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

JLR
Offline
Last seen: 8 years 7 months ago
Joined: 2009-01-05 23:44
it is 1.6.4.0

it is 1.6.4.0

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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.

ggsz
Offline
Last seen: 12 years 4 months ago
Joined: 2011-11-17 07:24
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.

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Path?

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

ggsz
Offline
Last seen: 12 years 4 months ago
Joined: 2011-11-17 07:24
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.

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
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! Smile

Log in or register to post comments