GNOME Bugzilla – Bug 436958
Can't save to mapped network drive
Last modified: 2008-04-12 10:11:56 UTC
Please describe the problem: Tried to save document to my network folder, received error: "No allowed to write temporary files in H:\". This error does not tell me the file could not be saved; it tells me temp files couldn't be saved. In fact, nothing is saved. Exporting to png, etc. seems ok to this drive. Steps to reproduce: 1. Map drive to network folder 2. save .dia file 3. see error message Actual results: Error message, file not saved. Expected results: File saved, no error message. Does this happen every time? Yes. Other information: Otherwise, the program is awesome.
(In reply to comment #0) For what it's worth, this just happened to me trying to save a document to the local drive. So, whatever it is, it's not a drive mapping issue. In my case, the file was created by version 0.95, but I don't know if this could make any difference. > Other information: > Otherwise, the program is awesome. Indeed.
Just an idea: Sometimes network-drives are "read-only". Could you check if that's the case for you? Also local files can sometimes be read-only.
Shouldn't be read only, that folder is the mapped version of the my documents folder so I have full access. I'll try again and mess with it. I hope to be doing some more work in it soon, and of course evangelizing to my coworkers about it.
I recently installed DIA too. It's an awesome program, but it doesn't allow saving diagrams to My Documents directory on the local drive, or any directory underneath. It gives the same error about not being able to write Temporaries. When I create a new root directory, say "DiaWorkDiagrams", and save my diagrams there, there is no problem. I would however like to be able to save my diagrams to my own documents directory.
I'm unable to reproduce both your problems. * I'm able to save files to a network folder. * I'm able to save files to "My Documents" Could you retry using Dia version 0.96.1-7?
(In reply to comment #5) > I'm unable to reproduce both your problems. > > * I'm able to save files to a network folder. > * I'm able to save files to "My Documents" > > Could you retry using Dia version 0.96.1-7? > Hi Steffen, Thank you for your reply. I am using Dia now on a regular basis, and I like the program very much. I am a software developer myself, and Dia helps me visualize my software for me and others in our company. As you suggested, I downloaded and installed the latest version of Dia 0.96.1-7, but found the same problem. Dia states that it is not allowed to write temporary files in: D:\Documents and Settings\Wiljo de Ruiter\Mijn Documenten\ See this link (just 169KB): http://home.planet.nl/~ruit0126/Dia/DiaError.bmp Probably, because I reside in the netherlands, and the path is to a dutch named directory. I don't know. Besides, the program has a completely dutch interface, so that shouldn't matter. It can write files in the user directory just above "Mijn Documenten". I have administrator rights, so even that should not be problematic. I have Windows XP Professional Version 2002 Service Pack 2, and my machine has a Core Duo Pentium at 3.2GHz with 2GB of memory. I hope this information helps you track down the problem. Keep up the good work. Dia is a great program, with a great future ahead of it. Best regards, Wiljo de Ruiter, The Netherlands.
I created c:\Documents and Settings\Wiljo de Ruiter\Mijn Documenten and saved/loaded a Dia file successfully there. Using Windows 2000 on VMWare. Is this NTFS? Are you applying any special access rights? Even as an adminstrator, they can be tricky sometimes. What is the name of the file you are trying to save? Compressed or uncompressed? I assume that you use the native Dia format. Is D: a network drive? Could you try to save things under a different filename?
Thanks again for your reply. Here are my answers. Just creating a directory like that, would probably not result in any problem. Did you define me as a new user? Come to think of that, the documents directory would probably be called "My Documents", so what you tested would always work!! Yes we have NTFS. No special access rights, I just want to save and load files to my own documents directory. Any other program does not have any problem with that. Even I am puzzled by this, being a software developer myself! Offcourse I have tried different file names, but they all result in the same error. Thus another filename does not make any difference. The D: drive is the active Windows drive on my home PC. At my work the active Windows drive is C:, and Dia gives the same errors there. A colleague of my has the same problem. It does not matter if Dia files are compressed or not. This doesn't really help, I know. But I hope you can track down what is going wrong anyway. Good luck, Wiljo de Ruiter
Being a software developer yourself you could check what's going wrong with Process Explorer (www.sysinternals.com). There may be something going wrong with Dia's handling of temp files used during storage. Or some smart extra setting regarding temporary files.
Dia is a great program. I'm having the exact same problem. Has anyone nailed this one down yet? If I figure it out I'll post it back. It would seem, it must be a windows problem with windows settings.
As already noted somebody having that problem should further investigate it. Having the full failing filename and the status it is failing with could give some needed hints. Here is the deep link of the tool mentioned above: http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx Hint: you don't need to be a software developer to use it.
*** Bug 485329 has been marked as a duplicate of this bug. ***
I tried to reproduce the problem using a folder name "Unità" like in #485329 in a VMWare shared folder, but things just worked fine (Could not reproduce the problem). Tried 0.96.1-3 and the current SVN version.
*** Bug 490073 has been marked as a duplicate of this bug. ***
Created attachment 97834 [details] filemon log of saving a new diagram to h:\ The log is filtered to just show access by diaw.exe, and i've removed sensitive filenames from the log. What I did: Opened dia, created a new diagram, drew a circle, hit save as, navigated to h:\, hit save. Got the error message. My username here is tim, and the thing I notice which is odd is that accesses to "H:\tim\" which doesn't exist. This is presumably because windows is lying to me, and H: isn't really mapped to \\server\homedirs$\tim like I thought, it's actually mapped to \\server\homedirs$, and then all access to h:\ are somehow redirected to h:\tim (ie \\server\homedirs$\tim).
*** Bug 495110 has been marked as a duplicate of this bug. ***
Looking at your log there are two things to notice: 1) a lot of access to h:\tim actually succeeds, you share is mapped to h:\tim 2) there is some activity writing to C:\DOCUME~1\tim\LOCALS~1\Temp\dia--0.96.1.log (the redirected console messages) which may be helpful to look at. But the main issue seems to be the same as in bug #504469 recently fixed in SVN. *** This bug has been marked as a duplicate of 504469 ***