Bug 189011 - Can't save xmi file
Summary: Can't save xmi file
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 07:24 UTC by Mike
Modified: 2009-05-08 20:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2009-04-07 07:24:23 UTC
Version:           2.2.2 (using 4.2.2 (KDE 4.2.2), MS Visual Studio 2005 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

When saving xmi file (or in autosave) program reporting this error:
"Save error: There was a problem savig file: D:\project\example.xmi".
Comment 1 Roland Hieber 2009-04-11 18:17:56 UTC
Same for me with 2.2.0 and KDE 4.2.0, using the precompiled versions through the KDE Windows Installer. Except the message displayed uses normal slashes (/) instead of backslashes (\) as path separator; maybe this is already the cause?

Please change severity to critical, since it is not possible to save your work otherwise.
Comment 2 Fritz Kiffmeyer 2009-04-16 00:11:18 UTC
(In reply to comment #0)
> Version:           2.2.2 (using 4.2.2 (KDE 4.2.2), MS Visual Studio 2005 SP1)
> Compiler:          cl.exe
> OS:                Microsoft Windows (i686) release 5.1 (XP Professional)
> When saving xmi file (or in autosave) program reporting this error:
> "Save error: There was a problem savig file: D:\project\example.xmi".
I also am experiencing this error.  Too bad, since Umbrello is a great tool!

I believe this error is only seen on Windows (I have not seen in Ubuntu).  Has anyone tried to build from Umbrello source under Windows?

Also, has anyone else seen this type of error with any other KDE/Win app?  It might help pinpoint the root cause of this error.
Comment 3 Roland Hieber 2009-04-16 00:18:38 UTC
I tried to save something in Kate, and everything worked. So I suppose it is Umbrello-specific.
Comment 4 Mike 2009-04-16 07:11:58 UTC
(In reply to comment #1)
> Same for me with 2.2.0 and KDE 4.2.0, using the precompiled versions through
> the KDE Windows Installer. Except the message displayed uses normal slashes (/)
> instead of backslashes (\) as path separator; maybe this is already the cause?
> 
> Please change severity to critical, since it is not possible to save your work
> otherwise.

It's not work. Program reporting "Bad filename".
Comment 5 Mike 2009-04-16 07:38:42 UTC
(In reply to comment #2)
> I also am experiencing this error.  Too bad, since Umbrello is a great tool!
> 
> I believe this error is only seen on Windows (I have not seen in Ubuntu).  Has
> anyone tried to build from Umbrello source under Windows?

Umbrello use KDE-specific libs. I try this http://winkde.org/pub/kde/ports/win32/

> Also, has anyone else seen this type of error with any other KDE/Win app?  It
> might help pinpoint the root cause of this error.

In other apps I havent seen this error.
Comment 6 Mike 2009-04-16 08:00:56 UTC
I have downgrade KDE to version 4.2.1. In this version saving works fine.
Comment 7 Gajanan 2009-04-22 15:15:45 UTC
I have installed umbrello through KDE Windows Installer and I am facing same problem of saving xmi files and unable to use the umbrello.

problem statement: There was a problem saving file: C:/trial/trial.xmi
Other details about my operating environment are,
kde 4.2.2
umbrello 2.2.2
os : windows xp sp2

if you people have found solution on this problem please let me know
Thanking you!
Comment 8 Ralf Habacker 2009-04-29 20:06:52 UTC
This issue is located somewhere in the kdelibs source - i downgraded kdelibs-msvc only to 4.2.1 and the problem has been gone.
Comment 9 Ralf Habacker 2009-04-30 15:19:45 UTC
Please ignore the previous comment 

downgrading kdelibs-msvc-bin to 4.2.1 using the kdewin-installer-gui also downgraded kdewin32-msvc-bin to 0.3.8. 

Upgrading then only kdelibs-msvc-bin to 4.2.2 let umbrello works too. Upgrading kdewin-0.3.8 to kdewin-0.3.9 shows the above mentioned issue, so the problem must be located in kdewin32 library 0.3.9
Comment 10 Ralf Habacker 2009-04-30 15:35:53 UTC
in kdewin32 0.3.9 the implementation of the realpath() function was changed - see http://websvn.kde.org/trunk/kdesupport/kdewin32/src/realpath.c?r1=798263&r2=942889 for more informations.
Comment 11 Christian Ehrlicher 2009-05-08 20:37:49 UTC
The problem was/is in qt 4.4.x - it's fixed in 4.5 and the latest 4.4.x binary packages available for windows from winkde.org
It just revealed because in kdewin 0.3.9 realpath() now returns correct values... nice bug.